Home
last modified time | relevance | path

Searched refs:blacklist (Results 1 – 25 of 29) 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/services/robotests/src/com/android/server/location/
DGnssSatelliteBlacklistHelperTest.java50 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/
DWifiNetworkSelectorTest.java282 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 …]
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 …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DHighRefreshRateBlacklistTest.java42 HighRefreshRateBlacklist blacklist = new HighRefreshRateBlacklist( in testBlacklist() local
64 assertTrue(blacklist.isBlacklisted("com.android.sample1")); in testBlacklist()
65 assertTrue(blacklist.isBlacklisted("com.android.sample2")); in testBlacklist()
66 assertFalse(blacklist.isBlacklisted("com.android.sample3")); in testBlacklist()
71 HighRefreshRateBlacklist blacklist = new HighRefreshRateBlacklist( in testNoBlacklist() local
84 assertFalse(blacklist.isBlacklisted("com.android.sample1")); in testNoBlacklist()
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DComputeThresholdAction.java43 private Pattern blacklist; field in ComputeThresholdAction
51 String blacklist) { in ComputeThresholdAction() argument
55 if (blacklist != null) { in ComputeThresholdAction()
56 this.blacklist = Pattern.compile(blacklist); in ComputeThresholdAction()
88 Set<String> result = fromThreshold(uses, blacklist, threshold); in run()
101 private Set<String> fromThreshold(Map<String, Set<String>> classUses, Pattern blacklist, in fromThreshold() argument
107 if (blacklist == null || !blacklist.matcher(e.getKey()).matches()) { in fromThreshold()
DComputeThresholdXAction.java25 String blacklist) { in ComputeThresholdXAction() argument
26 super(name, dataTableModel, 1, blacklist); in ComputeThresholdXAction()
/frameworks/base/services/core/java/com/android/server/location/
DGnssSatelliteBlacklistHelper.java51 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()
DGeofenceManager.java120 public GeofenceManager(Context context, LocationBlacklist blacklist) { in GeofenceManager() argument
127 mBlacklist = blacklist; in GeofenceManager()
/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…
/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.java194 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() argument
196 mBlacklist = blacklist; in Filter()
249 ArraySet<String> blacklist = new ArraySet<String>(); in parse() local
254 blacklist.add(token); in parse()
259 return new Filter(whitelist, blacklist); in parse()
DRefreshRatePolicy.java34 HighRefreshRateBlacklist blacklist) { in RefreshRatePolicy() argument
36 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/base/services/core/java/com/android/server/gpu/
DGpuService.java284 for (Blacklist blacklist : blacklists) { in setBlacklist()
285 if (blacklist.getVersionCode() == mGameDriverVersionCode) { in setBlacklist()
288 String.join(",", blacklist.getPackageNamesList())); in setBlacklist()
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java83 String[] blacklist = blackListStr.split(","); in getIconBlacklist() local
84 for (String slot : blacklist) { in getIconBlacklist()
/frameworks/base/libs/androidfw/
DAndroid.bp106 blacklist: "libandroidfw_blacklist.txt",
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsBackupTest.java751 Set<String> settings, Set<String> settingsToBackup, Set<String> blacklist) { in checkSettingsBackedUpOrBlacklisted() argument
753 Set<String> settingsNotBackedUpOrBlacklisted = difference(settingsNotBackedUp, blacklist); in checkSettingsBackedUpOrBlacklisted()
761 intersect(settingsToBackup, blacklist), in checkSettingsBackedUpOrBlacklisted()

12