/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityHelperTest.java | 212 ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE); in verifySetFirmwareRoamingConfigurationWithGoodInput() local 213 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithGoodInput() 216 whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE - 3); in verifySetFirmwareRoamingConfigurationWithGoodInput() 217 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithGoodInput() 227 ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE); in verifySetFirmwareRoamingConfigurationWithNullInput() local 228 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(null, whitelist)); in verifySetFirmwareRoamingConfigurationWithNullInput() 239 ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE); in verifySetFirmwareRoamingConfigurationWithIncorrectBlacklist() local 240 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithIncorrectBlacklist() 250 ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE + 1); in verifySetFirmwareRoamingConfigurationWithIncorrectWhitelist() local 251 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithIncorrectWhitelist() [all …]
|
/frameworks/native/include/binder/ |
D | IInterface.h | 325 constexpr bool inList(const char* a, const char* const* whitelist) { in inList() argument 326 if (*whitelist == nullptr) return false; in inList() 327 if (equals(a, *whitelist)) return true; in inList() 328 return inList(a, whitelist + 1); in inList()
|
/frameworks/native/libs/binder/include/binder/ |
D | IInterface.h | 325 constexpr bool inList(const char* a, const char* const* whitelist) { in inList() argument 326 if (*whitelist == nullptr) return false; in inList() 327 if (equals(a, *whitelist)) return true; in inList() 328 return inList(a, whitelist + 1); in inList()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PolicyControl.java | 198 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() argument 199 mWhitelist = whitelist; in Filter() 252 ArraySet<String> whitelist = new ArraySet<String>(); in parse() 260 whitelist.add(token); in parse() 263 return new Filter(whitelist, blacklist); in parse()
|
D | LockTaskController.java | 681 String[] whitelist; in isPackageWhitelisted() local 682 whitelist = mLockTaskPackages.get(userId); in isPackageWhitelisted() 683 if (whitelist == null) { in isPackageWhitelisted() 686 for (String whitelistedPkg : whitelist) { in isPackageWhitelisted()
|
/frameworks/base/core/proto/android/server/ |
D | forceappstandbytracker.proto | 41 // App ids that are in power-save whitelist. 44 // App ids that are in power-save user whitelist. 47 // App ids that are in temporary power-save whitelist.
|
/frameworks/base/data/etc/ |
D | Android.bp | 25 name: "hiddenapi-package-whitelist.xml", 27 src: "hiddenapi-package-whitelist.xml", 30 // Privapp permission whitelist files
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LockTaskControllerTest.java | 536 String[] whitelist = {TEST_PACKAGE_NAME, TEST_PACKAGE_NAME_2}; in testUpdateLockTaskPackages_taskRemoved() local 537 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, whitelist); in testUpdateLockTaskPackages_taskRemoved() 548 whitelist = new String[] {TEST_PACKAGE_NAME}; in testUpdateLockTaskPackages_taskRemoved() 549 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, whitelist); in testUpdateLockTaskPackages_taskRemoved() 560 whitelist = new String[] {}; in testUpdateLockTaskPackages_taskRemoved() 561 mLockTaskController.updateLockTaskPackages(TEST_USER_ID, whitelist); in testUpdateLockTaskPackages_taskRemoved()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 89 TransportManager(@UserIdInt int userId, Context context, Set<ComponentName> whitelist, in TransportManager() argument 93 mTransportWhitelist = Preconditions.checkNotNull(whitelist); in TransportManager() 103 Set<ComponentName> whitelist, in TransportManager() argument 108 mTransportWhitelist = Preconditions.checkNotNull(whitelist); in TransportManager()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 173 private void setPowerWhiteListed(boolean whitelist) throws RemoteException { in setPowerWhiteListed() argument 174 if (whitelist) { in setPowerWhiteListed()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 600 final String[] whitelist; in restoreSettings() local 603 whitelist = concat(Settings.Secure.SETTINGS_TO_BACKUP, in restoreSettings() 607 whitelist = concat(Settings.System.SETTINGS_TO_BACKUP, in restoreSettings() 611 whitelist = concat(Settings.Global.SETTINGS_TO_BACKUP, in restoreSettings() 625 final int whiteListSize = whitelist.length; in restoreSettings() 627 String key = whitelist[i]; in restoreSettings()
|
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 223 const FileDescriptorWhitelist* whitelist = FileDescriptorWhitelist::Get(); in CreateFromFd() local 231 if (!whitelist->IsAllowed(socket_name)) { in CreateFromFd() 274 if (!whitelist->IsAllowed(file_path)) { in CreateFromFd()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 708 String whitelist = overrideWhitelist != null ? overrideWhitelist : defaultWhitelist; in isPackageSelectedToRunOobInternal() local 709 if ("ALL".equals(whitelist)) { in isPackageSelectedToRunOobInternal() 712 for (String oobPkgName : whitelist.split(",")) { in isPackageSelectedToRunOobInternal()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 259 public void removeJobsOfNonUsers(int[] whitelist) { in removeJobsOfNonUsers() argument 260 mJobSet.removeJobsOfNonUsers(whitelist); in removeJobsOfNonUsers() 1138 public void removeJobsOfNonUsers(final int[] whitelist) { in removeJobsOfNonUsers() argument 1140 job -> !ArrayUtils.contains(whitelist, job.getSourceUserId()); in removeJobsOfNonUsers() 1142 job -> !ArrayUtils.contains(whitelist, job.getUserId()); in removeJobsOfNonUsers()
|
/frameworks/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 762 final List<String> whitelist = in chooseDriverInternal() local 764 if (!isOptIn && whitelist.indexOf(GAME_DRIVER_WHITELIST_ALL) != 0 in chooseDriverInternal() 765 && !whitelist.contains(appPackageName)) { in chooseDriverInternal()
|
/frameworks/base/data/etc/car/ |
D | Android.bp | 17 // Privapp permission whitelist files
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 861 final String[] whitelist = mBmgr.getTransportWhitelist(); in doPrintWhitelist() local 862 if (whitelist != null) { in doPrintWhitelist() 863 for (String transport : whitelist) { in doPrintWhitelist()
|
/frameworks/base/apex/ |
D | Android.bp | 29 // TODO: modularize this so not every module has the same whitelist
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 651 int[] whitelist = mDeviceIdleController.getAppIdWhitelistExceptIdle(); in updatePowerSaveWhitelistUL() local 653 if (whitelist != null) { in updatePowerSaveWhitelistUL() 654 for (int uid : whitelist) { in updatePowerSaveWhitelistUL() 658 whitelist = mDeviceIdleController.getAppIdWhitelist(); in updatePowerSaveWhitelistUL() 660 if (whitelist != null) { in updatePowerSaveWhitelistUL() 661 for (int uid : whitelist) { in updatePowerSaveWhitelistUL()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 726 final List<String> whitelist = mPM.getWhitelistedRestrictedPermissions( in getWhitelistedRestrictedPermissions() local 728 if (whitelist != null) { in getWhitelistedRestrictedPermissions() 729 return new ArraySet<>(whitelist); in getWhitelistedRestrictedPermissions()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 5341 final List<String> whitelist = in getAlwaysOnVpnLockdownWhitelist() local 5343 return whitelist == null ? null : new HashSet<>(whitelist); in getAlwaysOnVpnLockdownWhitelist()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6110 final int[] whitelist = allowExceptIdleToo in isOnDeviceIdleWhitelistLocked() local 6114 return Arrays.binarySearch(whitelist, appId) >= 0 in isOnDeviceIdleWhitelistLocked() 7750 final int[] whitelist = mBackgroundAppIdWhitelist; in uidOnBackgroundWhitelist() local 7751 final int N = whitelist.length; in uidOnBackgroundWhitelist() 7753 if (appId == whitelist[i]) { in uidOnBackgroundWhitelist()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6344 // FIELD: Target doze whitelist tag 7272 // whitelist request). 7277 // whitelist request).
|