/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/base/services/core/java/com/android/server/ |
D | BinderCallsStatsService.java | 81 final ArraySet<Integer> whitelist = mAppIdWhitelist; in dump() local 82 for (Integer appId : whitelist) { in dump() 93 final ArraySet<Integer> whitelist = new ArraySet<>(); in createAppidWhitelist() local 96 whitelist.add(UserHandle.getAppId(Process.myUid())); in createAppidWhitelist() 109 whitelist.add(appId); in createAppidWhitelist() 114 return whitelist; in createAppidWhitelist()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PolicyControl.java | 194 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() argument 195 mWhitelist = whitelist; in Filter() 248 ArraySet<String> whitelist = new ArraySet<String>(); in parse() 256 whitelist.add(token); in parse() 259 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccProfileTest.java | 185 String whitelist = ""; in testParseWhitelistMapFromString() local 186 Map<String, String> parsedMap = UiccProfile.parseToCertificateToPackageMap(whitelist); in testParseWhitelistMapFromString() 189 whitelist = "nokey;value;separation"; in testParseWhitelistMapFromString() 190 parsedMap = UiccProfile.parseToCertificateToPackageMap(whitelist); in testParseWhitelistMapFromString() 193 whitelist = "KEY1:value1"; in testParseWhitelistMapFromString() 194 parsedMap = UiccProfile.parseToCertificateToPackageMap(whitelist); in testParseWhitelistMapFromString() 197 whitelist = "KEY1:value1; KEY2:value2 ;KEY3:value3"; in testParseWhitelistMapFromString() 198 parsedMap = UiccProfile.parseToCertificateToPackageMap(whitelist); in testParseWhitelistMapFromString()
|
/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 | 586 final String[] whitelist; in restoreSettings() local 589 whitelist = concat(Settings.Secure.SETTINGS_TO_BACKUP, in restoreSettings() 593 whitelist = concat(Settings.System.SETTINGS_TO_BACKUP, in restoreSettings() 597 whitelist = concat(Settings.Global.SETTINGS_TO_BACKUP, in restoreSettings() 611 final int whiteListSize = whitelist.length; in restoreSettings() 613 String key = whitelist[i]; in restoreSettings()
|
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 202 const FileDescriptorWhitelist* whitelist = FileDescriptorWhitelist::Get(); in CreateFromFd() local 210 if (!whitelist->IsAllowed(socket_name)) { in CreateFromFd() 253 if (!whitelist->IsAllowed(file_path)) { in CreateFromFd()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 574 static const unsigned whitelist[] = { in checkAndSetPerformanceModePre() local 583 for (unsigned i = 0; i < sizeof(whitelist)/sizeof(whitelist[0]); ++i) { in checkAndSetPerformanceModePre() 584 if (mph == whitelist[i]) { in checkAndSetPerformanceModePre()
|
D | AudioPlayer_to_android.cpp | 1550 static const unsigned whitelist[] = { in checkAndSetPerformanceModePre() local 1564 for (unsigned i = 0; i < sizeof(whitelist)/sizeof(whitelist[0]); ++i) { in checkAndSetPerformanceModePre() 1565 if (mph == whitelist[i]) { in checkAndSetPerformanceModePre()
|
/frameworks/base/core/java/android/net/ |
D | network-policy-restrictions.md | 3 …ing on the status of Data Saver mode, Battery Saver mode, and the app's whitelist on those restric…
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 737 String whitelist = overrideWhitelist != null ? overrideWhitelist : defaultWhitelist; in isPackageSelectedToRunOobInternal() local 738 if ("ALL".equals(whitelist)) { in isPackageSelectedToRunOobInternal() 741 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/data/etc/car/ |
D | Android.bp | 17 // Privapp permission whitelist files
|
/frameworks/base/core/java/android/os/ |
D | GraphicsEnvironment.java | 760 final List<String> whitelist = in chooseDriverInternal() local 762 if (!isOptIn && whitelist.indexOf(GAME_DRIVER_WHITELIST_ALL) != 0 in chooseDriverInternal() 763 && !whitelist.contains(appPackageName)) { in chooseDriverInternal()
|
/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/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 646 int[] whitelist = mDeviceIdleController.getAppIdWhitelistExceptIdle(); in updatePowerSaveWhitelistUL() local 648 if (whitelist != null) { in updatePowerSaveWhitelistUL() 649 for (int uid : whitelist) { in updatePowerSaveWhitelistUL() 653 whitelist = mDeviceIdleController.getAppIdWhitelist(); in updatePowerSaveWhitelistUL() 655 if (whitelist != null) { in updatePowerSaveWhitelistUL() 656 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 | 5319 final List<String> whitelist = in getAlwaysOnVpnLockdownWhitelist() local 5321 return whitelist == null ? null : new HashSet<>(whitelist); in getAlwaysOnVpnLockdownWhitelist()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/docs/swift/ |
D | DesignDoc.md | 27 a whitelist similar to the Objective-C compiler plugin to handle commonly
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6081 final int[] whitelist = allowExceptIdleToo in isOnDeviceIdleWhitelistLocked() local 6085 return Arrays.binarySearch(whitelist, appId) >= 0 in isOnDeviceIdleWhitelistLocked() 7719 final int[] whitelist = mBackgroundAppIdWhitelist; in uidOnBackgroundWhitelist() local 7720 final int N = whitelist.length; in uidOnBackgroundWhitelist() 7722 if (appId == whitelist[i]) { in uidOnBackgroundWhitelist()
|