Home
last modified time | relevance | path

Searched refs:allowlist (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/libs/binder/rust/
DAndroid.bp110 "--allowlist-type",
112 "--allowlist-type",
114 "--allowlist-type",
116 "--allowlist-type",
118 "--allowlist-type",
120 "--allowlist-type",
122 "--allowlist-type",
124 "--allowlist-type",
126 "--allowlist-function",
/frameworks/proto_logging/stats/express/catalog/
Dbattery.cfg13 display_name: "App power allowlist addition events"
14 description: "Number of times any app is added to the power allowlist"
23 display_name: "App power allowlist removal events"
24 description: "Number of times any app is removed from the power allowlist"
/frameworks/native/libs/input/
DAndroid.bp67 "--allowlist-var=AMOTION_EVENT_FLAG_CANCELED",
68 "--allowlist-var=AMOTION_EVENT_ACTION_CANCEL",
69 "--allowlist-var=AMOTION_EVENT_ACTION_UP",
70 "--allowlist-var=AMOTION_EVENT_ACTION_POINTER_DOWN",
71 "--allowlist-var=AMOTION_EVENT_ACTION_DOWN",
72 "--allowlist-var=AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT",
73 "--allowlist-var=MAX_POINTER_ID",
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DEventLogTags.logtags8 # Set the package and activity allowlist
10 # Get the current allowlist
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/
DAndroid.bp15 "--allowlist-function",
17 "--allowlist-function",
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionAllowlist.java129 ArrayMap<String, ArrayMap<String, Boolean>> allowlist = in getApexPrivilegedAppAllowlistState() local
131 if (allowlist == null) { in getApexPrivilegedAppAllowlistState()
134 ArrayMap<String, Boolean> permissions = allowlist.get(packageName); in getApexPrivilegedAppAllowlistState()
/frameworks/native/libs/binder/rust/tests/
DAndroid.bp119 "--allowlist-type", "Transaction",
120 "--allowlist-var", "TESTDATA_.*",
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DInstallConstraintsTagParser.java53 Set<String> allowlist = SystemConfig.getInstance().getInstallConstraintsAllowlist(); in parseInstallConstraints() local
54 if (!allowlist.contains(pkg.getPackageName())) { in parseInstallConstraints()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java561 String[] allowlist = {TEST_PACKAGE_NAME, TEST_PACKAGE_NAME_2}; in testUpdateLockTaskPackages_taskRemoved() local
562 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, allowlist); in testUpdateLockTaskPackages_taskRemoved()
573 allowlist = new String[] {TEST_PACKAGE_NAME}; in testUpdateLockTaskPackages_taskRemoved()
574 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, allowlist); in testUpdateLockTaskPackages_taskRemoved()
585 allowlist = new String[] {}; in testUpdateLockTaskPackages_taskRemoved()
586 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, allowlist); in testUpdateLockTaskPackages_taskRemoved()
748 String[] allowlist = new String[] { TEST_PACKAGE_NAME }; in testIsActivityAllowed() local
749 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, allowlist); in testIsActivityAllowed()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java1617 @NonNull ArrayMap<String, ArrayMap<String, Boolean>> allowlist) in readPrivAppPermissions() argument
1619 readPermissionAllowlist(parser, allowlist, "privapp-permissions"); in readPrivAppPermissions()
1675 @NonNull ArrayMap<String, ArrayMap<String, Boolean>> allowlist, @NonNull String tagName) in readPermissionAllowlist() argument
1684 ArrayMap<String, Boolean> permissions = allowlist.get(packageName); in readPermissionAllowlist()
1709 allowlist.put(packageName, permissions); in readPermissionAllowlist()
1861 ArrayMap<String, ArrayMap<String, Boolean>> allowlist = allowlists.get(moduleName); in readApexPrivAppPermissions() local
1862 if (allowlist == null) { in readApexPrivAppPermissions()
1863 allowlist = new ArrayMap<>(); in readApexPrivAppPermissions()
1864 allowlists.put(moduleName, allowlist); in readApexPrivAppPermissions()
1866 readPrivAppPermissions(parser, allowlist); in readApexPrivAppPermissions()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp540 static const unsigned allowlist[] = { in checkAndSetPerformanceModePre() local
549 for (unsigned i = 0; i < sizeof(allowlist)/sizeof(allowlist[0]); ++i) { in checkAndSetPerformanceModePre()
550 if (mph == allowlist[i]) { in checkAndSetPerformanceModePre()
DAudioPlayer_to_android.cpp1500 static const unsigned allowlist[] = { in checkAndSetPerformanceModePre() local
1514 for (unsigned i = 0; i < sizeof(allowlist)/sizeof(allowlist[0]); ++i) { in checkAndSetPerformanceModePre()
1515 if (mph == allowlist[i]) { in checkAndSetPerformanceModePre()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.md55 Temp-allowlist is also used in various other situations.
77 in the temp-allowlist (by calling `DeviceIdleInternal.addPowerSaveTempWhitelistApp()`)
81 Temp-allowlist will grant the app network access even if the device is in doze or in battery
/frameworks/base/core/jni/
Dfd_utils.cpp224 const FileDescriptorAllowlist* allowlist = FileDescriptorAllowlist::Get(); in CreateFromFd() local
232 if (!allowlist->IsAllowed(socket_name)) { in CreateFromFd()
274 if (!allowlist->IsAllowed(file_path)) { in CreateFromFd()
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java846 String[] allowlist; in isPackageAllowlisted() local
847 allowlist = mLockTaskPackages.get(userId); in isPackageAllowlisted()
848 if (allowlist == null) { in isPackageAllowlisted()
851 for (String allowlistedPkg : allowlist) { in isPackageAllowlisted()
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md3 …ing on the status of Data Saver mode, Battery Saver mode, and the app's allowlist on those restric…
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java814 final List<String> allowlist = in chooseDriverInternal() local
817 if (!isOptIn && allowlist.indexOf(UPDATABLE_DRIVER_ALLOWLIST_ALL) != 0 in chooseDriverInternal()
818 && !allowlist.contains(appPackageName)) { in chooseDriverInternal()
/frameworks/base/core/java/android/permission/
DPermissionManager.java770 final List<String> allowlist = mPermissionManager.getAllowlistedRestrictedPermissions( in getAllowlistedRestrictedPermissions() local
772 if (allowlist == null) { in getAllowlistedRestrictedPermissions()
775 return new ArraySet<>(allowlist); in getAllowlistedRestrictedPermissions()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkManagementService.java1151 private void setUidOnMeteredNetworkList(int uid, boolean allowlist, boolean enable) { in setUidOnMeteredNetworkList() argument
1158 quotaList = allowlist ? mUidAllowOnMetered : mUidRejectOnMetered; in setUidOnMeteredNetworkList()
1169 if (allowlist) { in setUidOnMeteredNetworkList()
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto470 repeated int32 allowlist = 10; field
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java8287 final List<String> allowlist = in getAlwaysOnVpnLockdownWhitelist() local
8289 return allowlist == null ? null : new HashSet<>(allowlist); in getAlwaysOnVpnLockdownWhitelist()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6196 final int[] allowlist = allowExceptIdleToo in isOnDeviceIdleAllowlistLOSP() local
6200 return Arrays.binarySearch(allowlist, appId) >= 0 in isOnDeviceIdleAllowlistLOSP()
6897 final int[] allowlist = mBackgroundAppIdAllowlist; in uidOnBackgroundAllowlistLOSP() local
6898 for (int i = 0, len = allowlist.length; i < len; i++) { in uidOnBackgroundAllowlistLOSP()
6899 if (appId == allowlist[i]) { in uidOnBackgroundAllowlistLOSP()
/frameworks/proto_logging/stats/
Datoms.proto5380 // uid of the app that set the temp-allowlist, INVALID_UID (-1) if not in any
5381 // temp-allowlist.