/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CertBlacklisterTest.java | 54 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testClearBlacklistPubkey() local 56 assertEquals("", blacklist); in testClearBlacklistPubkey() 65 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testSetBlacklistPubkey() local 67 assertEquals(badPubkey, blacklist); in testSetBlacklistPubkey() 75 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testChangeBlacklistPubkey() local 76 assertEquals(badPubkey, blacklist); in testChangeBlacklistPubkey() 82 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testMultiBlacklistPubkey() local 83 assertEquals(badPubkey, blacklist); in testMultiBlacklistPubkey() 89 String blacklist = IoUtils.readFileAsString(PUBKEY_PATH); in testInvalidMultiBlacklistPubkey() local 90 assertEquals(badPubkey, blacklist); in testInvalidMultiBlacklistPubkey() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | HighRefreshRateBlacklistTest.java | 55 HighRefreshRateBlacklist blacklist = in testDefaultBlacklist() local 57 assertTrue(blacklist.isBlacklisted("com.android.sample1")); in testDefaultBlacklist() 58 assertTrue(blacklist.isBlacklisted("com.android.sample2")); in testDefaultBlacklist() 59 assertFalse(blacklist.isBlacklisted("com.android.sample3")); in testDefaultBlacklist() 65 HighRefreshRateBlacklist blacklist = in testNoDefaultBlacklist() local 67 assertFalse(blacklist.isBlacklisted("com.android.sample1")); in testNoDefaultBlacklist() 75 HighRefreshRateBlacklist blacklist = new HighRefreshRateBlacklist(r, config); in testDefaultBlacklistIsOverriddenByDeviceConfig() local 76 assertFalse(blacklist.isBlacklisted("com.android.sample1")); in testDefaultBlacklistIsOverriddenByDeviceConfig() 77 assertTrue(blacklist.isBlacklisted("com.android.sample2")); in testDefaultBlacklistIsOverriddenByDeviceConfig() 78 assertTrue(blacklist.isBlacklisted("com.android.sample3")); in testDefaultBlacklistIsOverriddenByDeviceConfig() [all …]
|
/frameworks/base/services/robotests/src/com/android/server/location/ |
D | GnssSatelliteBlacklistHelperTest.java | 50 String blacklist = "3,0,5,24"; in blacklistOf2Satellites_callbackIsCalled() local 51 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in blacklistOf2Satellites_callbackIsCalled() 56 String blacklist = "3, 11"; in blacklistWithSpaces_callbackIsCalled() local 57 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in blacklistWithSpaces_callbackIsCalled() 62 String blacklist = ""; in emptyBlacklist_callbackIsCalled() local 63 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in emptyBlacklist_callbackIsCalled() 68 String blacklist = "3,0,5"; in blacklistWithOddNumberOfValues_callbackIsNotCalled() local 69 updateBlacklistAndNotifyContentObserver(blacklist); in blacklistWithOddNumberOfValues_callbackIsNotCalled() 75 String blacklist = "3,-11"; in blacklistWithNegativeValue_callbackIsNotCalled() local 76 updateBlacklistAndNotifyContentObserver(blacklist); in blacklistWithNegativeValue_callbackIsNotCalled() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTest.java | 282 HashSet<String> blacklist = new HashSet<String>(); in emptyScanResults() local 284 blacklist, mWifiInfo, false, true, false); in emptyScanResults() 312 HashSet<String> blacklist = new HashSet<String>(); in verifyMinimumRssiThreshold() local 314 blacklist, mWifiInfo, false, true, false); in verifyMinimumRssiThreshold() 343 HashSet<String> blacklist = new HashSet<String>(); in verifyMinimumTimeGapWhenConnected() local 345 blacklist, mWifiInfo, false, true, false); in verifyMinimumTimeGapWhenConnected() 352 blacklist, mWifiInfo, true, false, false); in verifyMinimumTimeGapWhenConnected() 383 HashSet<String> blacklist = new HashSet<String>(); in verifyNoMinimumTimeGapWhenDisconnected() local 385 blacklist, mWifiInfo, false, true, false); in verifyNoMinimumTimeGapWhenDisconnected() 393 blacklist, mWifiInfo, false, true, false); in verifyNoMinimumTimeGapWhenDisconnected() [all …]
|
D | WifiConnectivityHelperTest.java | 211 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE); in verifySetFirmwareRoamingConfigurationWithGoodInput() local 213 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithGoodInput() 215 blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE - 2); in verifySetFirmwareRoamingConfigurationWithGoodInput() 217 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithGoodInput() 226 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE); in verifySetFirmwareRoamingConfigurationWithNullInput() local 229 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, null)); in verifySetFirmwareRoamingConfigurationWithNullInput() 238 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE + 1); in verifySetFirmwareRoamingConfigurationWithIncorrectBlacklist() local 240 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithIncorrectBlacklist() 249 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE); in verifySetFirmwareRoamingConfigurationWithIncorrectWhitelist() local 251 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithIncorrectWhitelist() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssSatelliteBlacklistHelper.java | 51 String blacklist = Settings.Global.getString( in updateSatelliteBlacklist() local 54 if (blacklist == null) { in updateSatelliteBlacklist() 55 blacklist = ""; in updateSatelliteBlacklist() 57 Log.i(TAG, String.format("Update GNSS satellite blacklist: %s", blacklist)); in updateSatelliteBlacklist() 61 blacklistValues = parseSatelliteBlacklist(blacklist); in updateSatelliteBlacklist() 84 static List<Integer> parseSatelliteBlacklist(String blacklist) throws NumberFormatException { in parseSatelliteBlacklist() argument 85 String[] strings = blacklist.split(BLACKLIST_DELIMITER); in parseSatelliteBlacklist()
|
D | GeofenceManager.java | 120 public GeofenceManager(Context context, LocationBlacklist blacklist) { in GeofenceManager() argument 127 mBlacklist = blacklist; in GeofenceManager()
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourceFilter_test.cpp | 40 std::unordered_set<ResourceName> blacklist = { in TEST() local 45 ASSERT_TRUE(ResourceFilter(blacklist).Consume(context.get(), table.get())); in TEST() 64 std::unordered_set<ResourceName> blacklist = { in TEST() local 68 ASSERT_TRUE(ResourceFilter(blacklist).Consume(context.get(), table.get())); in TEST()
|
D | ResourceFilter.cpp | 23 ResourceFilter::ResourceFilter(const std::unordered_set<ResourceName>& blacklist) in ResourceFilter() argument 24 : blacklist_(blacklist) { in ResourceFilter()
|
D | ResourceFilter.h | 31 explicit ResourceFilter(const std::unordered_set<ResourceName>& blacklist);
|
/frameworks/base/config/ |
D | generate-preloaded-classes.sh | 34 blacklist=$2 39 LC_ALL=C sort "$input" "${extra_classes_files[@]}" | uniq | grep -f "$blacklist" -v -F -x | grep -v…
|
D | Android.bp | 16 name: "preloaded-classes-blacklist", 17 srcs: ["preloaded-classes-blacklist"],
|
D | hiddenapi-greylist-max-o.txt | 102615 Lcom/android/org/conscrypt/TrustManagerImpl;->blacklist:Lcom/android/org/conscrypt/CertBlacklist;
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 80 String blacklist = getValue(); in writeBlacklist() local 81 if (blacklist != null) { in writeBlacklist() 91 out.write(blacklist.getBytes()); in writeBlacklist()
|
D | NetworkManagementService.java | 1310 private void setUidOnMeteredNetworkList(int uid, boolean blacklist, boolean enable) { in setUidOnMeteredNetworkList() argument 1317 quotaList = blacklist ? mUidRejectOnMetered : mUidAllowOnMetered; in setUidOnMeteredNetworkList() 1327 if (blacklist) { in setUidOnMeteredNetworkList() 2182 void setUidOnMeteredNetworkList(boolean blacklist, int uid, boolean enable) { in setUidOnMeteredNetworkList() argument 2184 if (blacklist) { in setUidOnMeteredNetworkList()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PolicyControl.java | 198 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() argument 200 mBlacklist = blacklist; in Filter() 253 ArraySet<String> blacklist = new ArraySet<String>(); in parse() local 258 blacklist.add(token); in parse() 263 return new Filter(whitelist, blacklist); in parse()
|
D | RefreshRatePolicy.java | 34 HighRefreshRateBlacklist blacklist) { in RefreshRatePolicy() argument 36 mHighRefreshRateBlacklist = blacklist; in RefreshRatePolicy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | StatusBarSwitch.java | 83 private void setList(Set<String> blacklist) { in setList() argument 86 TextUtils.join(",", blacklist), ActivityManager.getCurrentUser()); in setList()
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 284 for (Blacklist blacklist : blacklists) { in setBlacklist() 285 if (blacklist.getVersionCode() == mGameDriverVersionCode) { in setBlacklist() 288 String.join(",", blacklist.getPackageNamesList())); in setBlacklist()
|
/frameworks/base/tools/preload-check/ |
D | Android.bp | 18 java_resources: [":preloaded-classes-blacklist"],
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconController.java | 83 String[] blacklist = blackListStr.split(","); in getIconBlacklist() local 84 for (String slot : blacklist) { in getIconBlacklist()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 766 Set<String> settings, Set<String> settingsToBackup, Set<String> blacklist) { in checkSettingsBackedUpOrBlacklisted() argument 768 Set<String> settingsNotBackedUpOrBlacklisted = difference(settingsNotBackedUp, blacklist); in checkSettingsBackedUpOrBlacklisted() 776 intersect(settingsToBackup, blacklist), in checkSettingsBackedUpOrBlacklisted()
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 452 // Game Driver - List of blacklists, each blacklist is a blacklist for
|