/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/robotests/src/com/android/server/location/ |
D | GnssSatelliteBlacklistHelperTest.java | 61 String blacklist = "3,0,5,24"; in blacklistOf2Satellites_callbackIsCalled() local 62 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in blacklistOf2Satellites_callbackIsCalled() 67 String blacklist = "3, 11"; in blacklistWithSpaces_callbackIsCalled() local 68 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in blacklistWithSpaces_callbackIsCalled() 73 String blacklist = ""; in emptyBlacklist_callbackIsCalled() local 74 updateBlacklistAndVerifyCallbackIsCalled(blacklist); in emptyBlacklist_callbackIsCalled() 79 String blacklist = "3,0,5"; in blacklistWithOddNumberOfValues_callbackIsNotCalled() local 80 updateBlacklistAndNotifyContentObserver(blacklist); in blacklistWithOddNumberOfValues_callbackIsNotCalled() 86 String blacklist = "3,-11"; in blacklistWithNegativeValue_callbackIsNotCalled() local 87 updateBlacklistAndNotifyContentObserver(blacklist); in blacklistWithNegativeValue_callbackIsNotCalled() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTest.java | 216 HashSet<String> blacklist = new HashSet<String>(); in emptyScanResults() local 218 blacklist, mWifiInfo, false, true, false); in emptyScanResults() 246 HashSet<String> blacklist = new HashSet<String>(); in verifyMinimumRssiThreshold() local 248 blacklist, mWifiInfo, false, true, false); in verifyMinimumRssiThreshold() 277 HashSet<String> blacklist = new HashSet<String>(); in verifyMinimumTimeGapWhenConnected() local 279 blacklist, mWifiInfo, false, true, false); in verifyMinimumTimeGapWhenConnected() 286 blacklist, mWifiInfo, true, false, false); in verifyMinimumTimeGapWhenConnected() 317 HashSet<String> blacklist = new HashSet<String>(); in verifyNoMinimumTimeGapWhenDisconnected() local 319 blacklist, mWifiInfo, false, true, false); in verifyNoMinimumTimeGapWhenDisconnected() 327 blacklist, mWifiInfo, false, true, false); in verifyNoMinimumTimeGapWhenDisconnected() [all …]
|
D | WifiConnectivityHelperTest.java | 208 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE); in verifySetFirmwareRoamingConfigurationWithGoodInput() local 210 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithGoodInput() 212 blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE - 2); in verifySetFirmwareRoamingConfigurationWithGoodInput() 214 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithGoodInput() 223 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE); in verifySetFirmwareRoamingConfigurationWithNullInput() local 226 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, null)); in verifySetFirmwareRoamingConfigurationWithNullInput() 235 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE + 1); in verifySetFirmwareRoamingConfigurationWithIncorrectBlacklist() local 237 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithIncorrectBlacklist() 246 ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE); in verifySetFirmwareRoamingConfigurationWithIncorrectWhitelist() local 248 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist)); in verifySetFirmwareRoamingConfigurationWithIncorrectWhitelist() [all …]
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | ComputeThresholdAction.java | 43 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()
|
D | ComputeThresholdXAction.java | 25 String blacklist) { in ComputeThresholdXAction() argument 26 super(name, dataTableModel, 1, blacklist); in ComputeThresholdXAction()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssSatelliteBlacklistHelper.java | 52 String blacklist = Settings.Global.getString( in updateSatelliteBlacklist() local 55 if (blacklist == null) { in updateSatelliteBlacklist() 56 blacklist = ""; in updateSatelliteBlacklist() 59 Log.d(TAG, String.format("Update GNSS satellite blacklist: %s", blacklist)); in updateSatelliteBlacklist() 64 blacklistValues = parseSatelliteBlacklist(blacklist); in updateSatelliteBlacklist() 87 static List<Integer> parseSatelliteBlacklist(String blacklist) throws NumberFormatException { in parseSatelliteBlacklist() argument 88 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/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
|
/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 | 1711 private void setUidOnMeteredNetworkList(int uid, boolean blacklist, boolean enable) { in setUidOnMeteredNetworkList() argument 1718 final String chain = blacklist ? "naughtyapps" : "niceapps"; in setUidOnMeteredNetworkList() 1725 quotaList = blacklist ? mUidRejectOnMetered : mUidAllowOnMetered; in setUidOnMeteredNetworkList() 2769 void setUidOnMeteredNetworkList(boolean blacklist, int uid, boolean enable) { in setUidOnMeteredNetworkList() argument 2771 if (blacklist) { in setUidOnMeteredNetworkList()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PolicyControl.java | 192 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { in Filter() argument 194 mBlacklist = blacklist; in Filter() 247 ArraySet<String> blacklist = new ArraySet<String>(); in parse() local 252 blacklist.add(token); in parse() 257 return new Filter(whitelist, blacklist); in parse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | StatusBarSwitch.java | 82 private void setList(Set<String> blacklist) { in setList() argument 85 TextUtils.join(",", blacklist), ActivityManager.getCurrentUser()); in setList()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 525 static const unsigned blacklist[] = { in checkAndSetPerformanceModePre() local 533 for (unsigned i = 0; i < sizeof(blacklist)/sizeof(blacklist[0]); ++i) { in checkAndSetPerformanceModePre() 534 if (IsInterfaceInitialized(&ar->mObject, blacklist[i])) { in checkAndSetPerformanceModePre() 541 if (blacklist[i] != MPH_ANDROIDEFFECT) { in checkAndSetPerformanceModePre() 542 switch (blacklist[i]) { in checkAndSetPerformanceModePre()
|
D | AudioPlayer_to_android.cpp | 1523 static const unsigned blacklist[] = { in checkAndSetPerformanceModePre() local 1535 for (unsigned i = 0; i < sizeof(blacklist)/sizeof(blacklist[0]); ++i) { in checkAndSetPerformanceModePre() 1536 if (IsInterfaceInitialized(&pAudioPlayer->mObject, blacklist[i])) { in checkAndSetPerformanceModePre()
|
/frameworks/rs/tests/lldb/ |
D | config.py | 85 def blacklist(self): member in Config
|
D | run_tests.py | 177 self.blacklist = _choice(args.blacklist, config.blacklist) 725 and not item in state.blacklist):
|
D | README.txt | 45 [--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/ |
D | StatusBarIconController.java | 81 String[] blacklist = blackListStr.split(","); in getIconBlacklist() local 82 for (String slot : blacklist) { in getIconBlacklist()
|
/frameworks/base/libs/androidfw/ |
D | Android.bp | 102 blacklist: "libandroidfw_blacklist.txt",
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 646 Set<String> settings, Set<String> settingsToBackup, Set<String> blacklist) { in checkSettingsBackedUpOrBlacklisted() argument 648 Set<String> settingsNotBackedUpOrBlacklisted = difference(settingsNotBackedUp, blacklist); in checkSettingsBackedUpOrBlacklisted() 656 intersect(settingsToBackup, blacklist), in checkSettingsBackedUpOrBlacklisted()
|
/frameworks/base/ |
D | Android.mk | 1004 LOCAL_SRC_FORCE_BLACKLIST := frameworks/base/config/hiddenapi-force-blacklist.txt
|