summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)Author
2019-11-21Merge "Add OWNERS for frameworks/base/config/hiddenapi*." am: 2c3312dda8 am: ↵satayev
677b6b6c3c am: cc37f4bdf6 Change-Id: I4cd6adf9ce5e1888f14074b0e93a5628b751bf60
2019-11-21Add OWNERS for frameworks/base/config/hiddenapi*.Artur Satayev
Test: N/A Change-Id: Iaf914899686ea6e8be7462f0c1df0646c4fa69b0 Merged-In: Iaf914899686ea6e8be7462f0c1df0646c4fa69b0
2019-11-20Move resource IDs to greylist-max-q.Artur Satayev
go/cleanup-greylist-txt Bug: 137350495 Test: m, manual inspection of out/soong/hiddenapi/hiddenapi-flags.csv Change-Id: I851236a8060e05724833d9dbcd4c5a79763d4c40 Merged-In: I851236a8060e05724833d9dbcd4c5a79763d4c40
2019-11-20Move resource IDs to greylist-max-q.Artur Satayev
go/cleanup-greylist-txt Bug: 137350495 Test: m, manual inspection of out/soong/hiddenapi/hiddenapi-flags.csv Change-Id: I851236a8060e05724833d9dbcd4c5a79763d4c40
2019-11-19Add @UnsupportedAppUsage annotations for greylist.Artur Satayev
go/cleanup-greylist-txt These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code. This is partial merge of aosp/Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09. Telephony greylist cleanup has been done separately. Note that annotations outside of frameworks/base/ have been merged from AOSP. Bug: 137350495 Test: m Exempt-From-Owner-Approval: merge Change-Id: I015c466e8b69cc0fed5e9d394ba865aad11d8ba6
2019-11-08Add @UnsupportedAppUsage annotations for greylist.Artur Satayev
go/cleanup-greylist-txt These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code. Bug: 137350495 Test: m Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09 Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
2019-11-08Add @UnsupportedAppUsage annotations for max-p.Artur Satayev
See go/UnsupportedAppUsage for more details. These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code. Bug: 137350495 Test: m Change-Id: I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1 Merged-In: I5aa29a49b193db47aaee4d3a756c17f48cc9f0b1
2019-11-08Merge "Add a new system service for blob store management."Sudheer Shanka
2019-11-07Add a new system service for blob store management.Sudheer Shanka
This change adds a bare-bones system service, implementation will follow later. Bug: 143559646 Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java Change-Id: Idf21dfcd11dd32a42b62c6ad965d6f5ad7eed1b4
2019-11-07wifi: Formalize wifi resource usagesRoshan Pius
Move all wifi specific resources (only used from within wifi stack) from framework core to wifi APK. Also, mark some resources as @SystemApi which are used by the wifi stack & other parts of the system. Bug: 143464763 Test: Compiles Change-Id: Ide9708c87c2a9b3c943744decff639ad1dfde985
2019-11-04Merge "Create @SystemApi CarrierMessagingServiceWrapper."Amit Mahajan
2019-11-04Create @SystemApi CarrierMessagingServiceWrapper.Amit Mahajan
This is primarily a wrapper over ICarrierMessagingService that to create a stable API to communicate with CarrierMessagingService. Test: basic messaging sanity Bug: 143609473 Merged-in: I67fda8bab3902b358c483f992633dbdfe3a8cda2 Change-Id: I67fda8bab3902b358c483f992633dbdfe3a8cda2 (cherry picked from commit 92642659e81b2358dce0969661003287564ace03)
2019-11-04Merge "new TelephonyRegistryManager"Chen Xu
2019-11-01new TelephonyRegistryManagerChen Xu
today telephonyRegistry lives in system process this is intended to persists all telephony listeners when phone process crash. Telephony today notify system server by using AIDL APIs directly. Instead, we are exposing a proper API surface: telephonyRegistryManager where only phone app and carrier privileged apps are allowed to use APIs in TelephonyRegistryManger to notify telephony related status update. Bug: 140908357 Test: Build & Manaul Change-Id: I1b750751148925b4a7bd94553318907654012fc1 (cherry picked from commit 288b71c8c11dc25fa1dab4aadc1525d0c576008a) Merged-in: I1b750751148925b4a7bd94553318907654012fc1
2019-11-01Move mms related code from opt/telephony to base/telephony.Amit Mahajan
In an effort to remove it from telephony-common as that will not be accessible to other modules, and some of them need mms code like MmsService, TelephonyProvider, Bluetooth. Test: basic sanity Bug: 140763963 Merged-in: I03eda5a5dbd003659a90e2b9f6be9d4c2b767add Change-Id: I03eda5a5dbd003659a90e2b9f6be9d4c2b767add (cherry picked from commit fda8bc058c24c70a2800454f945b9528c5b87699)
2019-11-01Undo the jobscheduler / device idle initialization with callbacksMakoto Onuki
We'll be able to expose system APIs from jobscheduler-framework.jar and use them from framework-minus-apex.jar, so these elaborated initialization will not be needed. Bug: 142281756 Test: boot, "dumpsys batterstats" Change-Id: I957642fc2573818d138450747e0690d7176636ad
2019-10-21make CallerInfo as SystemAPIChen Xu
1. move CallerInfo from telephony.internal to andorid.telephony package 2. expose APIs inside CallerInfo which are consumed by non-telephony code. Bug: 140908357 Test: Build Change-Id: Ie95897c77e97e40f5357c107aede82edfea44d5a (cherry picked from commit b9a1eefec66e8c2cd5ab9dab512bb729ef2caae8) Merged-in: Ie95897c77e97e40f5357c107aede82edfea44d5a
2019-10-01Create frameworks/base/telephony/common for common non-mainline telephony code.Amit Mahajan
And move mms util code to the new folder. Test: basic sanity Bug: 140763963 Change-Id: I0d92ed3fca1fc186484ea8d3c5d17b6e332e7d22
2019-10-01Revert "Deprecate PackageParser#Package"Winson Chiu
This reverts commit 243e7ea14b32747b3d12b1e83625eddb917c5990. Reason for revert: b/141854898 Exempt-From-Owner-Approval: Revert for failure to boot Change-Id: Id6812e5ecf7d88504706b2c4110d83f1034ab85c
2019-09-26Deprecate PackageParser#PackageWinson
Replaces PackageParser#Package and it's related structures with ParsingPackage, ParsedPackage, and AndroidPackage. This is a large scoped CL, the first step in an eventual goal to refactor how data is handled in the package parsing and install process. It introduces as few logic changes as necessary. Mostly migrating to interfaces and renaming, moving parsing data calls into 3 separate interfaces that outline the intended flow for parsing. ParsingPackage is built and used during what was PackageParser, now replaced by ApkParseUtils and it's related classes. This is almost exactly what was parsed from the XML/files on disk. ParsedPackage is used when the object exits PackageParser and is adjusted by PackageManagerService to what is considered the final "parsed" state, adjusted from literal values, but consistent given the same APK on disk. This should eventually be moved out of PMS and possibly collapsed into the previous interface entirely. AndroidPackage is the final state of the package after parsing and adjustment has completed and no more mutations should be expected. There are a few exceptions to this, included in AndroidPackageWrite, which will eventually be refactored into PackageSetting or another state class. This marks PackageParser#Package and all the old infrastructure with @Deprecated, as none of them are used internally. All usages were converted, and the legacy Package is only built for un-converted tests and @UnsupportedAppUsage methods. There are numerous TODOs still outstanding, but addressing them in this initial CL would introduce several logic changes. They've been marked with the bug number and will be handled in follow ups. This is being merged with caution thrown to the wind because testing this on devices and in development will be the best way to debug differences introduced by the migration. Getting it merged as early as possible gives the most amount of time to fix regressions. Waiting for tests of all the functionality could take literal years before covering enough to merge this with all regressions verified. Given a sample size of 4 heap dumps and the caveat it was taken very early in the migration, there is a memory overhead of about 200 KB versus the legacy implementation. This should be verified more accurately and addressed in follow ups. This CL also kills child/parent package support, since that's broken already, and difficult to support with the new interface structure. Bug: 135203078 Test: booted an emulator, works generally as expected Specific tests which failed / failed to build were fixed, but because not all tests are currently passing before this change, not all were verified. Change-Id: I4ba050c228e6c60b8f63a9e3347b1f9a57ef794a
2019-09-26Merge "Revert "remove symbols from greylist""Chen Xu
2019-09-25Merge "Add Executor APIs to LocationManager"Soonil Nagarkar
2019-09-25Add Executor APIs to LocationManagerSoonil Nagarkar
Add executor support for all LM APIs and consolidate various GNSS listeners. Also fixes some edge cases around multithreaded listener callback delivery. Bug: 136212299 Test: Manual Change-Id: I2e863e41de846e739654362e859b58a5ed45c673
2019-09-23Revert "remove symbols from greylist"Chen Xu
This reverts commit 27c4e658b3fedee791835a40f5f28a6c60e89dd3. Reason for revert: <potential performance regression. revert for now and looking for possible optimization from ART team> Change-Id: I5bf728e4f6789d7e6398cf90f22fbf3a24d481c2
2019-09-22new TelephonyRegistryManagerChen Xu
today telephonyRegistry lives in system process this is intended to persists all telephony listeners when phone process crash. Telephony today notify system server by using AIDL APIs directly. Instead, we are exposing a proper API surface: telephonyRegistryManager where only phone app and carrier privileged apps are allowed to use APIs in TelephonyRegistryManger to notify telephony related status update. Bug: 140908357 Test: Build & Manaul Change-Id: I1b750751148925b4a7bd94553318907654012fc1
2019-09-18Merge "Move mms related code from opt/telephony to base/telephony."Amit Mahajan
2019-09-12make CallerInfo as SystemAPIChen Xu
1. move CallerInfo from telephony.internal to andorid.telephony package 2. expose APIs inside CallerInfo which are consumed by non-telephony code. Bug: 140908357 Test: Build Change-Id: Ie95897c77e97e40f5357c107aede82edfea44d5a
2019-09-12Move mms related code from opt/telephony to base/telephony.Amit Mahajan
In an effort to remove it from telephony-common as that will not be accessible to other modules, and some of them need mms code like MmsService, TelephonyProvider, Bluetooth. Test: basic sanity Bug: 140763963 Change-Id: I03eda5a5dbd003659a90e2b9f6be9d4c2b767add
2019-09-12Merge "Remove android.permission.PermissionManager from blacklist" am: ↵Mathieu Chartier
cbc3d5d0ea am: e52e78ba8e am: fb05e52a9d am: 637868ad54 Change-Id: I8e3ddf4e175c3681884930bc894fadc9e076a7fe
2019-09-12Remove android.permission.PermissionManager from blacklistMathieu Chartier
This is getting pulled in from somewhere, removing to fix PreloadCheck test. Bug: 140912480 Test: atest PreloadCheck Change-Id: I8eea07930732865cc72fea0e352a1704d1c26118
2019-09-04Merge "remove symbols from greylist"Chen Xu
2019-09-04remove symbols from greylistChen Xu
telephony-common is not intended to used by any apps and being in boot class is not updatability friendly. We are removing telephony-common from bootclass and apply <uses-library> in manifest instead. for apps targeting < R will auto load telephony-common lib for app compatibility. For apos >=R, only allow usage for phone UID. Bug: 135955937 Test: Build Change-Id: Ia318661546df6d8516328886e5cc0c54d5cfafe6
2019-09-03Merge "Change CellBroadcast APIs to SystemApi"Jordan Liu
am: 82454e029f Change-Id: Ic39446ab84f910b0f5225ad42f061e2a525ec868
2019-09-03Change CellBroadcast APIs to SystemApiJordan Liu
Bug: 135956699 Test: atest SmsManagerPermissionTest Change-Id: Ibbb22505a80567d1c08cffe9b7a7fdbd10890abe Merged-In: Ibbb22505a80567d1c08cffe9b7a7fdbd10890abe
2019-09-02Merge "More classes in profile"Nicolas Geoffray
2019-08-31Merge "Change CellBroadcast APIs to SystemApi"Jordan Liu
2019-08-30Change CellBroadcast APIs to SystemApiJordan Liu
Bug: 135956699 Test: atest SmsManagerPermissionTest Change-Id: Ibbb22505a80567d1c08cffe9b7a7fdbd10890abe
2019-08-30More classes in profileNicolas Geoffray
Add arrays and classes that are referenced by compiled code. Test: boot Change-Id: Iabc1789dc28e45901cb7052765655073bd37467e
2019-08-29Merge "Revert "[DO NOT MERGE] Disable ↵TreeHugger Robot
com.android.preload.check.PreloadCheck#testBlackList"" into stage-aosp-master
2019-08-29Merge "Make DPM.isActivePasswordSufficient() synchronous again"Rubin Xu
2019-08-29Revert "[DO NOT MERGE] Disable ↵Ian Kasprzak
com.android.preload.check.PreloadCheck#testBlackList" This reverts commit 869b47338876897d9bc89f5e8fcc9c92ad438218. Reason for revert: Test is fixed. Change-Id: I7f305f428a0f39a09e0d31512e4efa752e39b1bd
2019-08-28Framework: Clean up blacklistAndreas Gampe
Remove entries that should not be in the blacklist. Partially reverts commit 00b23d3cb1ac527b6f61d23bdff998946c6ee3e1. Test: m Merged-In: I658f31f1df299eb06fb353e8bba118470112d80b Change-Id: I658f31f1df299eb06fb353e8bba118470112d80b
2019-08-27[DO NOT MERGE] Disable com.android.preload.check.PreloadCheck#testBlackListIan Kasprzak
Disabling in preparation for merge to aosp-master (Q release). Test: Forrest - go/forrest_run/L13300000358776692 BUG: 139540082 BUG: 139305203 Change-Id: I2da5daf011bfe44648aa6e3cc969db2689d79b76
2019-08-23Merge "Don't refer to DeviceIdle from SystemServiceRegistry"TreeHugger Robot
2019-08-23Make DPM.isActivePasswordSufficient() synchronous againRubin Xu
At the moment isActivePasswordSufficient() can return stale result immediately after a password change since the latest password metrics information is pushed from LSS to DPMS asynchronously (this is to avoid deadlock between LSS and DPMS due to lock inversion). Fix this by moving the password metrics ground truth to LSS, and make DPMS query LSS about the password metrics when needed. Bug: 37090873 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest Test: atest com.android.server.locksettings Test: atest DeviceAdminHostSideTestApi24#testResetPassword_nycRestrictions Test: atest DeviceAdminHostSideTestApi24#testRunDeviceOwnerPasswordTest Test: atest MixedManagedProfileOwnerTest#testPasswordQualityWithoutSecureLockScreen Test: atest MixedManagedProfileOwnerTest#testResetPasswordWithToken Test: atest MixedManagedProfileOwnerTest#testPasswordSufficientInitially Change-Id: Ib1d1716024b8a6a6554afdb4ee9824d457ed8308
2019-08-15Add @UnsupportedAppUsage annotations to telephony-common.Artur Satayev
See go/UnsupportedAppUsage for more details. This is needed to not lose greylist information, by moving telephony-common from bootclasspath in ag/9025572. Bug: 137350495 Bug: 139336111 Test: m Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
2019-08-13Don't refer to DeviceIdle from SystemServiceRegistryMakoto Onuki
In preparation of mainline. Test: atest cts/tests/tests/batterysaving/src/android/os/cts/deviceidle/DeviceIdleTest.java Bug: 137763703 Change-Id: Id3088ba65682722ff4c2808bdc86a0ade18a4ab5
2019-08-12New version of boot profiles.Nicolas Geoffray
This time taken with JIT profiling: include all warmup methods that execute at boot. Test: boot Bug: 119800099 Change-Id: I7f4aa58ca520e6d10b60246f070aaaa9c35c48ae
2019-08-06Update boot profiles for zygote and system server.Nicolas Geoffray
Same simpleperf input than previous version, but: - Look at all threads of system server instead of the main one. - Order by execution order instead of hotness order. Test: boot Bug: 119800099 Change-Id: I2830c16e488c261f9e05a4733ab2f220f9d645c1
2019-08-05Merge "Initial seed for boot profiles."Nicolas Geoffray