Home
last modified time | relevance | path

Searched refs:blacklist (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/
DCertBlacklisterTest.java54 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/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java62 KeyRevocationList blacklist; in testFromJsonString() local
63 blacklist = KeyRevocationList.fromJsonString(sBlacklistJsonString); in testFromJsonString()
64 Assert.assertNotNull(blacklist); in testFromJsonString()
65 Assert.assertFalse(blacklist.mEntries.isEmpty()); in testFromJsonString()
66 blacklist = KeyRevocationList.fromJsonString("{}"); in testFromJsonString()
67 Assert.assertNotNull(blacklist); in testFromJsonString()
68 Assert.assertTrue(blacklist.mEntries.isEmpty()); in testFromJsonString()
100 KeyRevocationList blacklist = KeyRevocationList.fromUrl(mockUrl); in testFromUrl() local
101 Assert.assertNotNull(blacklist); in testFromUrl()
102 Assert.assertFalse(blacklist.mEntries.isEmpty()); in testFromUrl()
[all …]
/frameworks/base/services/robotests/src/com/android/server/location/gnss/
DGnssSatelliteBlacklistHelperTest.java67 String blacklist = "3,0,5,24"; in blacklistOf2Satellites_callbackIsCalled() local
68 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in blacklistOf2Satellites_callbackIsCalled()
73 String blacklist = "3, 11"; in blacklistWithSpaces_callbackIsCalled() local
74 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in blacklistWithSpaces_callbackIsCalled()
79 String blacklist = ""; in emptyBlacklist_callbackIsCalled() local
80 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in emptyBlacklist_callbackIsCalled()
85 String blacklist = "3,0,5"; in blacklistWithOddNumberOfValues_callbackIsNotCalled() local
86 updateBlacklistAndNotifyContentObserver(blacklist); in blacklistWithOddNumberOfValues_callbackIsNotCalled()
92 String blacklist = "3,-11"; in blacklistWithNegativeValue_callbackIsNotCalled() local
93 updateBlacklistAndNotifyContentObserver(blacklist); in blacklistWithNegativeValue_callbackIsNotCalled()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityHelperTest.java211 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 …]
DWifiNetworkSelectorTest.java335 HashSet<String> blacklist = new HashSet<String>(); in emptyScanResults() local
337 scanDetails, blacklist, mWifiInfo, false, true, false); in emptyScanResults()
366 HashSet<String> blacklist = new HashSet<String>(); in verifyMinimumRssiThreshold() local
368 scanDetails, blacklist, mWifiInfo, false, true, false); in verifyMinimumRssiThreshold()
398 HashSet<String> blacklist = new HashSet<String>(); in verifyMinimumTimeGapWhenConnected() local
400 scanDetails, blacklist, mWifiInfo, false, true, false); in verifyMinimumTimeGapWhenConnected()
408 scanDetails, blacklist, mWifiInfo, true, false, false); in verifyMinimumTimeGapWhenConnected()
442 HashSet<String> blacklist = new HashSet<String>(); in verifyNoMinimumTimeGapWhenDisconnected() local
444 scanDetails, blacklist, mWifiInfo, false, true, false); in verifyNoMinimumTimeGapWhenDisconnected()
453 scanDetails, blacklist, mWifiInfo, false, true, false); in verifyNoMinimumTimeGapWhenDisconnected()
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssSatelliteBlacklistHelper.java67 String blacklist = Settings.Global.getString( in updateSatelliteBlacklist() local
70 if (blacklist == null) { in updateSatelliteBlacklist()
71 blacklist = ""; in updateSatelliteBlacklist()
73 Log.i(TAG, String.format("Update GNSS satellite blacklist: %s", blacklist)); in updateSatelliteBlacklist()
77 blacklistValues = parseSatelliteBlacklist(blacklist); in updateSatelliteBlacklist()
100 static List<Integer> parseSatelliteBlacklist(String blacklist) throws NumberFormatException { in parseSatelliteBlacklist() argument
101 String[] strings = blacklist.split(BLACKLIST_DELIMITER); in parseSatelliteBlacklist()
/frameworks/base/tools/aapt2/optimize/
DResourceFilter_test.cpp40 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()
DResourceFilter.cpp23 ResourceFilter::ResourceFilter(const std::unordered_set<ResourceName>& blacklist) in ResourceFilter() argument
24 : blacklist_(blacklist) { in ResourceFilter()
DResourceFilter.h31 explicit ResourceFilter(const std::unordered_set<ResourceName>& blacklist);
/frameworks/base/config/
Dgenerate-preloaded-classes.sh34 blacklist=$2
39 LC_ALL=C sort "$input" "${extra_classes_files[@]}" | uniq | grep -f "$blacklist" -v -F -x | grep -v…
DAndroid.bp16 name: "preloaded-classes-blacklist",
17 srcs: ["preloaded-classes-blacklist"],
/frameworks/base/services/core/java/com/android/server/
DCertBlacklister.java80 String blacklist = getValue(); in writeBlacklist() local
81 if (blacklist != null) { in writeBlacklist()
91 out.write(blacklist.getBytes()); in writeBlacklist()
/frameworks/base/services/core/java/com/android/server/wm/
DPolicyControl.java202 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() argument
204 mBlacklist = blacklist; in Filter()
257 ArraySet<String> blacklist = new ArraySet<String>(); in parse() local
262 blacklist.add(token); in parse()
267 return new Filter(whitelist, blacklist); in parse()
DRefreshRatePolicy.java58 HighRefreshRateBlacklist blacklist) { in RefreshRatePolicy() argument
60 mHighRefreshRateBlacklist = blacklist; in RefreshRatePolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DStatusBarSwitch.java83 private void setList(Set<String> blacklist) { in setList() argument
86 TextUtils.join(",", blacklist), ActivityManager.getCurrentUser()); in setList()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp526 static const unsigned blacklist[] = { in checkAndSetPerformanceModePre() local
534 for (unsigned i = 0; i < sizeof(blacklist)/sizeof(blacklist[0]); ++i) { in checkAndSetPerformanceModePre()
535 if (IsInterfaceInitialized(&ar->mObject, blacklist[i])) { in checkAndSetPerformanceModePre()
542 if (blacklist[i] != MPH_ANDROIDEFFECT) { in checkAndSetPerformanceModePre()
543 switch (blacklist[i]) { in checkAndSetPerformanceModePre()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java297 for (Blacklist blacklist : blacklists) { in setBlacklist()
298 if (blacklist.getVersionCode() == mGameDriverVersionCode) { in setBlacklist()
301 String.join(",", blacklist.getPackageNamesList())); in setBlacklist()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DHighRefreshRateBlacklistTest.java163 void setBlacklist(String blacklist) { in setBlacklist() argument
165 KEY_HIGH_REFRESH_RATE_BLACKLIST, blacklist); in setBlacklist()
/frameworks/rs/tests/lldb/
Dconfig.py85 def blacklist(self): member in Config
Drun_tests.py177 self.blacklist = _choice(args.blacklist, config.blacklist)
725 and not item in state.blacklist):
DREADME.txt45 [--blacklist BLACKLIST [BLACKLIST ...]]
78 --blacklist BLACKLIST [BLACKLIST ...]
79 Provide a test blacklist for skipping specific tests.
80 To specify the blacklist from the command line the
81 following can be used: --blacklist test1.py test2.py
/frameworks/base/tools/preload-check/
DAndroid.bp18 java_resources: [":preloaded-classes-blacklist"],
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java627 final ArrayMap<String, Set<String>> blacklist = in determineWhitelistedPackagesForUserTypes() local
629 for (int i = 0; i < blacklist.size(); i++) { in determineWhitelistedPackagesForUserTypes()
630 final String pkgName = blacklist.keyAt(i).intern(); in determineWhitelistedPackagesForUserTypes()
631 final long nonTypesBitSet = getTypesBitSet(blacklist.valueAt(i), baseTypeBitSets); in determineWhitelistedPackagesForUserTypes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java91 String[] blacklist = blackListStr == null in getIconBlacklist() local
94 for (String slot : blacklist) { in getIconBlacklist()
/frameworks/base/libs/androidfw/
DAndroid.bp104 blacklist: "libandroidfw_blacklist.txt",

12