summaryrefslogtreecommitdiff
path: root/api/system-lint-baseline.txt
AgeCommit message (Collapse)Author
2020-10-27Merge SP1A.201015.001Scott Lobdell
Change-Id: Ie33f12a2f4c73443640c28ad128be96b3533fd8c
2020-10-14Update and expose ModemActivityInfoHall Liu
Update ModemActivityInfo to present a nicer API surface and expose it as a SystemApi. Also change clients in BatteryStats to match the new surface. This is part 1. Part 2 will modify the methods in TelephonyManager to use a more up-to-standards threading model. Bug: 170427831 Test: atest ModemActivityInfoTest Change-Id: I762ed949342861c75d94eafce88335e7bd8c9139
2020-10-09Merge SP1A.200921.001Scott Lobdell
Change-Id: I6a8d7215f874fed05e9fec71b17c8a3d1e2c94e0
2020-10-06[NetworkSuggestion] Allow app to set subId for the suggestionNate Jiang
SubId will be used to identify which SIM/subscription to use for this suggestion. Same network with different SubIds will be consider different suggestions. Also add a system API in WifiConfiguration to help data calculation for different SIM. Bug: 169275787 Test: atest android.net.wifi Change-Id: I093c0661e28cc2df5e97391342101e8ecc331a0f
2020-09-16Baseline existing API lint warningsAnton Hansson
We are making warnings behave as errors (i.e. break the build). Rather than fixing all the current warnings, just baseline them. This CL is the result of $ m $ cp \ out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/api_lint_baseline.txt \ frameworks/base/api/system-lint-baseline.txt $ cp \ out/soong/.intermediates/frameworks/base/test-api-stubs-docs/android_common/api_lint_baseline.txt \ frameworks/base/api/test-lint-baseline.txt" Bug: 154317059 Test: m Change-Id: Idf8f7dbcaa1c136781175fd5e66eed3525d21722
2020-09-09Merge SP1A.200727.001Daniel Norman
Change-Id: Ibb86a528ed692cde325705779c7fa57e4b4de682
2020-05-26Update api-lint baseline for NO_SETTINGS_PROVIDERMakoto Onuki
Bug: 151454839 Test: See the other CL in the topic Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
2020-03-19Merge RP1A.200318.001Steven Laver
Change-Id: I9ac0911d2ed21f7d7f028d5274bd40578935c5e0
2020-03-12Revert "Expose hidden resources used in telephony/common"Sarah Chin
This reverts commit a63e69cf94e5c6ea9de5eb312d36c96818711a2d. Reason for revert: Remove mainline API for R Test: build Bug: 148174114 Change-Id: I712958984254ca6f16a9604d2aab532500dc1ca9
2020-03-02Merge RP1A.200221.003Bill Peckham
Conflicts: api/system-current.txt core/jni/AndroidRuntime.cpp core/res/res/values/symbols.xml packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelViewController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java services/core/java/com/android/server/ConnectivityService.java services/core/java/com/android/server/am/ActivityManagerConstants.java services/core/java/com/android/server/connectivity/NetworkAgentInfo.java services/core/java/com/android/server/display/LocalDisplayAdapter.java telecomm/java/android/telecom/Call.java telecomm/java/android/telecom/Connection.java telecomm/java/android/telecom/ConnectionService.java wifi/java/android/net/wifi/SoftApConfiguration.java Change-Id: I2405f392c9e65b868e5901dedaa3ce6c90609cd8
2020-02-18Merge RP1A.200214.001Steven Laver
Change-Id: Id5ee82843b287332c41409e587bbdd33b5872ecd
2020-02-15[WifiNl80211] Rename WifiNl80211Manager namespaceEtan Cohen
Finish the renaming process from wificond -> nl80211. Bug: 149105833 Test: atest android.net.wifi Test: atest com.android.server.wifi Change-Id: Icf94799b560da66a5366743fd2a33b0f152da335
2020-02-14Merge changes from topic "api-review-requirepmf"David Su
* changes: SettingsLib: Rename requirePMF to requirePmf Wifi: Rename requirePMF to requirePmf
2020-02-13Merge RP1A.200204.001Steven Laver
Change-Id: I1e6c199dbee77379f84675965391c839eae04961
2020-02-12Wifi: Rename requirePMF to requirePmfDavid Su
Rename to conform to API guidelines. Bug: 146046526 Test: compiles Change-Id: If8089bcbf9e18d4fadfe8abe7fdab418f8c1bbca
2020-02-10[WIFICOND] Rename to nl80211Etan Cohen
per API council feedback. Bug: 149105833 Bug: 148680192 Test: atest android.net.wifi Test: atest com.android.server.wifi Change-Id: I1d6bbd126ae0eb06068ff962573021fdec590735
2020-02-06Merge changes from topic "wificond"Etan Cohen
* changes: [WIFICOND][API] Replace capability BitSet by an int [WIFICOND][API] Update documentation [WIFICOND][API] Simplify initialization sequence [WIFICOND][API] Documentation clarification for AP callback registration [WIFICOND][API] Clarify time usage
2020-02-05[WIFICOND][API] Replace capability BitSet by an intEtan Cohen
The capability bit set is standard constrained - 16 bits and no more. Can use a simpler/lighter int. Per API council feedback. Bug: 148680192 Test: atest android.net.wifi Test: atest com.android.server.wifi Change-Id: I47e8458d64f998da2e9743ad850687bc56a24cf6
2020-02-04WifiConfiguration: unmark apBand as @SystemApiDavid Su
SoftApConfiguration is the new official API for storing Soft AP configurations. Thus, remove @SystemApi for WifiConfiguration#apBand. Bug: 148424108 Bug: 146046526 Test: compiles Change-Id: I39d2a664ac336998322b63a64e174d6802b1ac54
2020-02-04wifi: promote wifi APIs to @SystemApiSteven Laver
With 439175f1b93090c2f44292a508d9d37828fca085, frameworks/base/wifi is now built separately from the rest of the framework. This requires providing @SystemApi visibility for various added wifi APIs. Also, minor changes to use already-exposed methods. Bug: 148537496 Change-Id: I02fd3354003ea492cd10e1c382fcef854ec31cd1
2020-02-04Merge RP1A.200123.001Steven Laver
Change-Id: I16a4437d9876db7a6a2b07231b4584df4564bee4
2020-01-24Merge "Expose hidden resources used in telephony/common"Sooraj Sasindran
2020-01-22Expose hidden resources used in telephony/commonSarah Chin
Test: atest GsmAlphabetTest, CarrierAppUtilsTest Bug: 148174114 Change-Id: Iff28c13e3470ea9b2e03cba33bf9489a089f8add
2020-01-23Merge "Make TetheringManager to system API"Remi NGUYEN VAN
2020-01-22Merge RP1A.200106.001Steven Laver
Change-Id: I321486af27bd4665b73da2c51d88e293b54f3a4c
2020-01-23Make TetheringManager to system APImarkchien
Also deprecated tethering APIs in ConnectivityManager. Will have follow up change to remove @hide tethering function in ConnectivityManager. Bug: 145093446 Bug: 148038547 Test: -build, flash, boot -atest TetheringTests Change-Id: Ia432057bf9056727c4a0ca97d160a49274d33581
2020-01-21Custom dark theme schedulingJay Aliomer
allows the use to set the start and end automatic dark theme activation within a day. Fixes: 147649309 Test: atest UiModeManagerServiceTest UiModeManagerTest Change-Id: Iaa3593d4e8863412e3703ce9f089b88dd4df1225
2020-01-03Merge RP1A.191212.001Steven Laver
Change-Id: Ib2e174d6b8488cb1b904c452e712a1fd14326972
2019-12-19[WIFICOND] Formalize the wificond AIDL interfaceEtan Cohen
The wificond daemon provides an interface for the framework to interact with the operating system when managing Wi-Fi. Since wificond is outside the mainline module, the AIDL interface has to be formalized as an API surface. Bug: 140062898 Test: atest android.net.wifi Test: atest com.android.server.wifi.aware Test: (CTS) atest android.net.wifi.cts Test: scan, association, SoftAP operations manually tested, kill wificond Change-Id: Iee0fef6a454fdd84b1d0c59516d4746ddc2a4ce5
2019-12-11Merge RP1A.191203.001Steven Laver
Change-Id: I75d5a3e97c8babb1cb711f25797163e70c21642e
2019-12-10Hide integrity @IntDefsAnton Hansson
Typedefs aren't meant to be exposed in the stubs. Bug: 145982314 Test: m Change-Id: I95a5040e2a83c21b736c1b79cf0f492076dfe67a
2019-12-10Whitelist new lint errorsAnton Hansson
These typedefs were incorrectly made public since the linter wasn't catching the errors. Bug: 145982314 Test: m Change-Id: Id89b15ba34df01584d3d5afe9d4112fad9613dbc
2019-11-27Merge RP1A.191120.001Steven Laver
Change-Id: I861114a47121f0c4cfb375680e22b957bd9988fb
2019-11-26Expose additional WifiScanner @SystemApisDavid Su
Exposed scan type, HiddenNetwork, and register/unregisterScanListener(). Bug: 143614759 Test: atest FrameworkWifiApiTests Change-Id: Ie926dc8d75266dad13e5d1589f8e14011a856a01
2019-11-25Expose WifiConfiguration @hide APIs as @SystemApiDavid Su
These APIs are mostly used by Settings. Bug: 143892601 Bug: 129482052 Bug: 115717178 Test: atest FrameworksWifiApiTests Change-Id: Ie801fdc6ed716007802fe77b8db3decd37813c58
2019-11-22Merge RP1A.191114.001Steven Laver
Change-Id: I30dd2dce3b0c2fcd635381413a213fe3e97be97b
2019-11-18WifiManager/Scanner: Expose @hide APIs as @SystemApiDavid Su
Expose @hide APIs in WifiManager/WifiScanner as @SystemApi so that they can be referenced by external callers (mostly Settings). Bug: 143970861 Test: atest FrameworksWifiApiTests Change-Id: I956290e2a3aca3f4946da52d7e271082824dd06c
2019-11-15Expose Wifi P2P @hide APIs as @SystemApiDavid Su
These APIs are mostly used by Settings. Bug: 143892817 Test: atest FrameworksWifiApiTests Change-Id: I27061280b0c49677fa651c6f9799e48b78e4c109
2019-11-10Merge RP1A.191031.003Steven Laver
Change-Id: I2751812b51577030b0197ddc22e7208da2ed8516
2019-11-09Update api/system-lint-baseline.txtDaniel Norman
Bug: 144105310 Change-Id: If8d4c6ee6edc1746063ee9835c9ec770af82d01b
2019-11-04Merge "API Lint: update baseline for new checks" am: 6c089ac042 am: 4bbb2aaff2Adrian Roos
am: b1a57f75e7 Change-Id: Iae083753bbbaa3f9279f5e5ea6b087732e8bb146
2019-11-04API Lint: update baseline for new checksAdrian Roos
Test: make checkapi Change-Id: Ie55af30767936c1cc1c1543a0b5838a732b82c59
2019-10-29Configurable SoftAP: Add System API.Patrik Fimml
This adds a facility for system apps (with NETWORK_SETUP_WIZARD or NETWORK_SETTINGS permission) to have more control over hotspot parameters, while allowing them to use local-only mode and the LOHS callback API for status updates. Linters give conflicting advice about parameter ordering. With startLocalOnlyHotspot(config, executor, callback), we satisfy (+) put callback last (enforced at compile time) (+) use Executor instead of Handler (+) put most meaningful argument first while we're not satisfying (-) put executor last as it is a SAM (doesn't seem to make much sense to instantiate executor as SAM anyway, users are more likely to get an instance from elsewhere) (-) for overloads, add new arguments at the end. Bug: 132705022 Test: atest SoftApConfigurationTest android.net.wifi.WifiManagerTest Test: atest android.net.wifi.cts.WifiManagerTest (not tested due to failures on emulator b/143120756) Change-Id: Ia189b3664b47a253e160acb71eafab4f217649eb
2019-10-18[DO NOT MERGE] Add CellBroadcastService and related permissionsJordan Liu
CellBroadcastService is bound to by the platform to handle cell broadcasts. Bug: 135956699 Test: manual Change-Id: I865c09d6d246779b706c06371df685d415618699
2019-10-16API Lint: Fix system-lint-baseline.txtAdrian Roos
Bug: 142459906 Test: make checkapi Change-Id: Ib0fc79c7983712f0a7e30a13a78708dba1b256cb
2019-10-14API Lint: Fix system-lint-baseline.txtAdrian Roos
Bug: 142459906 Test: make checkapi Change-Id: Ib0fc79c7983712f0a7e30a13a78708dba1b256cb Merged-In: Ib0fc79c7983712f0a7e30a13a78708dba1b256cb
2019-10-12API: enable API lint on public and system APIsAdrian Roos
Bug: 142459906 Test: make checkapi Change-Id: I1457917dbdff1c1738c17b4d9683a79add971b34 Merged-In: I1457917dbdff1c1738c17b4d9683a79add971b34
2019-10-12Revert "Revert "API: enable API lint on public and system APIs""Adrian Roos
This reverts commit fbaa860e03f3b3581f86271ec1441a7a31ebd9f1 and relands b4f91321d1fc2074df9656787338e9f466c56aea, with updated baselines. Bug: 142459906 Test: make droid Change-Id: I7736b2caa1c06db7ac837e53fffa8d3b38c4b579
2019-10-11Revert "API: enable API lint on public and system APIs"Aurimas Liutikas
This reverts commit b4f91321d1fc2074df9656787338e9f466c56aea. Reason for revert: broke the build. New errors got added in the meantime https://android-build.googleplex.com/builds/submitted/5935261/aosp_blueline-userdebug/latest/view/logs/build_error.log Change-Id: I540f0464588f7558ec9a6c898d81753c3bb1dea9
2019-10-11API: enable API lint on public and system APIsAdrian Roos
Bug: 142459906 Test: make checkapi Change-Id: I1457917dbdff1c1738c17b4d9683a79add971b34