summaryrefslogtreecommitdiff
path: root/core/java/android/os/SystemConfigManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Change getEnabledComponentOverrides return typeWilliam Escande2021-10-111-3/+3
| | | | | | | | | | Use ComponentName type Use module systemApi Bug: 200698832 Tag: #refactor Test: Build Change-Id: I0b6057c0b03f40607eb0eb8a7556dea1d4a7d962
* New API for getting enabledcomponentwescande2021-09-141-0/+18
| | | | | | | | | | Bluetooth can no longer call SystemConfig and need to use the manager. Bug: 190440540 Bug: 199279027 Test: Manual Tag: #refactor Change-Id: I065ab407c83cd2edf2244e4170496b0979ac562c
* New API for getting uids have specific permissions from SystemConfigpaulhu2021-02-091-0/+18
| | | | | | | | | | | | | SysetmConfig is internal service for frameworks only which cannot use by Connectivity mainline module, but PermissionMonitor which is part of the module needs to get uids that have been granted INTERNET/UPDATE_DEVICE_STATS permission from SystemConfig. Therefore, add a new API to SystemConfigManager that can get these uids from SysetmConfig. Bug: 177188455 Test: atest SystemConfigTest Change-Id: I62bdd969b1b813631ed6223df97bda21a39aec2c
* Remove @TestApi from @SystemApi symbolsAnton Hansson2020-10-191-2/+0
| | | | | | | | | | | | | | I ran these commands: cd frameworks/base grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs' grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs' Bug: 171179806 Test: m checkapi Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789 Merged-In: I772790b783b0a8730b8bf680c9e569a886b8d789
* Add new "addedInSdk" attribute to carrier-associated apps.Hunter Knepshield2020-06-161-0/+25
| | | | | | | | | | | | | | Previously, the sysconfig wasn't capable of understanding carrier-associated apps that were added after a device's initial launch (i.e. via OTA) because the logic in CarrierAppUtils explicitly avoids disabling such apps a second time. Most of this change is just plumbing everything through. For now, it's all @hide due to R API deadlines. It will be made public in S. Bug: 154872019 Test: manual, QA, atest FrameworksTelephonyTests:CarrierAppUtilsTest Change-Id: I530a4f73146b09879547ca2e0c26428957fef37a
* Add system service for accessing SystemConfigHall Liu2020-01-071-0/+91
Add SystemConfigService and associated AIDLs and permissions for accessing SystemConfig. The service returns values obtained from a static instance of com.android.server.SystemConfig. Bug: 143112379 Test: atest SystemConfigTest Change-Id: I1a863ae9f53db21d698376008e5b1da83309b141