Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/rust/
DAndroid.bp105 "--allowlist-type",
107 "--allowlist-type",
109 "--allowlist-type",
111 "--allowlist-type",
113 "--allowlist-type",
115 "--allowlist-type",
117 "--allowlist-type",
119 "--allowlist-type",
121 "--allowlist-function",
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DEventLogTags.logtags8 # Set the package and activity allowlist
10 # Get the current allowlist
/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/native/libs/binder/rust/tests/
DAndroid.bp119 "--allowlist-type", "Transaction",
120 "--allowlist-var", "TESTDATA_.*",
/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/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.cpp1507 static const unsigned allowlist[] = { in checkAndSetPerformanceModePre() local
1521 for (unsigned i = 0; i < sizeof(allowlist)/sizeof(allowlist[0]); ++i) { in checkAndSetPerformanceModePre()
1522 if (mph == allowlist[i]) { in checkAndSetPerformanceModePre()
/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/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/services/core/java/com/android/server/wm/
DLockTaskController.java842 String[] allowlist; in isPackageAllowlisted() local
843 allowlist = mLockTaskPackages.get(userId); in isPackageAllowlisted()
844 if (allowlist == null) { in isPackageAllowlisted()
847 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.java744 final List<String> allowlist = in chooseDriverInternal() local
747 if (!isOptIn && allowlist.indexOf(UPDATABLE_DRIVER_ALLOWLIST_ALL) != 0 in chooseDriverInternal()
748 && !allowlist.contains(appPackageName)) { in chooseDriverInternal()
/frameworks/base/core/java/android/permission/
DPermissionManager.java758 final List<String> allowlist = mPermissionManager.getAllowlistedRestrictedPermissions( in getAllowlistedRestrictedPermissions() local
760 if (allowlist == null) { in getAllowlistedRestrictedPermissions()
763 return new ArraySet<>(allowlist); in getAllowlistedRestrictedPermissions()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1150 private void setUidOnMeteredNetworkList(int uid, boolean allowlist, boolean enable) { in setUidOnMeteredNetworkList() argument
1157 quotaList = allowlist ? mUidAllowOnMetered : mUidRejectOnMetered; in setUidOnMeteredNetworkList()
1168 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.java7940 final List<String> allowlist = in getAlwaysOnVpnLockdownWhitelist() local
7942 return allowlist == null ? null : new HashSet<>(allowlist); in getAlwaysOnVpnLockdownWhitelist()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6134 final int[] allowlist = allowExceptIdleToo in isOnDeviceIdleAllowlistLOSP() local
6138 return Arrays.binarySearch(allowlist, appId) >= 0 in isOnDeviceIdleAllowlistLOSP()
6639 final int[] allowlist = mBackgroundAppIdAllowlist; in uidOnBackgroundAllowlistLOSP() local
6640 for (int i = 0, len = allowlist.length; i < len; i++) { in uidOnBackgroundAllowlistLOSP()
6641 if (appId == allowlist[i]) { in uidOnBackgroundAllowlistLOSP()
/frameworks/proto_logging/stats/
Datoms.proto5425 // uid of the app that set the temp-allowlist, INVALID_UID (-1) if not in any
5426 // temp-allowlist.