Searched refs:whitelist (Results 1 - 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConnectivityHelperTest.java179 * is supported but returned invalid max SSID whitelist size. Firmware roaming capabilty values
199 * Verify that correct size BSSID blacklist and SSID whitelist are accepted.
205 ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE);
206 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist));
209 whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE - 3);
210 assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist));
214 * Verify that null BSSID blacklist or SSID whitelist is rejected.
220 ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE);
221 assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(null, whitelist));
232 ArrayList<String> whitelist
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPolicyControl.java190 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { argument
191 mWhitelist = whitelist;
219 dump("whitelist", mWhitelist, pw); pw.print(',');
244 ArraySet<String> whitelist = new ArraySet<String>();
252 whitelist.add(token);
255 return new Filter(whitelist, blacklist);
/frameworks/base/core/jni/
H A Dfd_utils.cpp34 // Static whitelist of open paths that the zygote is allowed to keep open.
58 // Check the static whitelist path.
64 // Check any paths added to the dynamic whitelist.
132 const FileDescriptorWhitelist* whitelist = FileDescriptorWhitelist::Get(); local
140 if (!whitelist->IsAllowed(socket_name)) {
170 if (!whitelist->IsAllowed(file_path)) {
509 // A newly opened file is not on the whitelist. Flag an error and
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTransportManager.java94 TransportManager(Context context, Set<ComponentName> whitelist, String defaultTransport, argument
98 mTransportWhitelist = (whitelist != null) ? whitelist : new ArraySet<>();
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp518 // The alternative, to check a whitelist of compatible interfaces, is
573 static const unsigned whitelist[] = { local
582 for (unsigned i = 0; i < sizeof(whitelist)/sizeof(whitelist[0]); ++i) {
583 if (mph == whitelist[i]) {
H A DAudioPlayer_to_android.cpp1516 // The alternative, to check a whitelist of compatible interfaces, is
1548 static const unsigned whitelist[] = { local
1562 for (unsigned i = 0; i < sizeof(whitelist)/sizeof(whitelist[0]); ++i) {
1563 if (mph == whitelist[i]) {
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java577 final String[] whitelist;
579 whitelist = Settings.Secure.SETTINGS_TO_BACKUP;
581 whitelist = Settings.System.SETTINGS_TO_BACKUP;
583 whitelist = Settings.Global.SETTINGS_TO_BACKUP;
595 final int whiteListSize = whitelist.length;
597 String key = whitelist[i];
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java135 if ("whitelist".equals(op)) {
716 final String[] whitelist = mBmgr.getTransportWhitelist();
717 if (whitelist != null) {
718 for (String transport : whitelist) {
/frameworks/base/services/core/java/com/android/server/job/
H A DJobStore.java176 * Remove the jobs of users not specified in the whitelist.
177 * @param whitelist Array of User IDs whose jobs are not to be removed.
179 public void removeJobsOfNonUsers(int[] whitelist) { argument
180 mJobSet.removeJobsOfNonUsers(whitelist);
851 // Remove the jobs all users not specified by the whitelist of user ids
852 public void removeJobsOfNonUsers(int[] whitelist) { argument
855 // check if job's user id is not in the whitelist
856 if (!ArrayUtils.contains(whitelist, jobUserId)) {
/frameworks/support/buildSrc/
H A Ddiff_and_docs.gradle196 File whitelist = null) {
210 whitelistErrorsFile = whitelist
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java284 private static final String TAG_WHITELIST = "whitelist";
457 // TODO: keep whitelist of system-critical services that should never have
518 int[] whitelist = mDeviceIdleController.getAppIdWhitelistExceptIdle();
520 if (whitelist != null) {
521 for (int uid : whitelist) {
525 whitelist = mDeviceIdleController.getAppIdWhitelist();
527 if (whitelist != null) {
528 for (int uid : whitelist) {
538 * revoke the whitelist.
581 + "background whitelist
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java809 * Non-persistent appId whitelist for background restrictions
8414 + " on background whitelist; not restricted in background");
8419 // Is this app on the battery whitelist?
8423 + " on idle whitelist; not restricted in background");
12192 final int[] whitelist = mBackgroundAppIdWhitelist;
12193 final int N = whitelist.length;
12195 if (appId == whitelist[i]) {
12209 Slog.i(TAG, "Adding uid " + uid + " to bg uid whitelist");
22779 + " to " + uidRec.curProcState + ", whitelist from " + uidRec.setWhitelist
22783 // UID is now in the background (and not on the temp whitelist)
[all...]

Completed in 358 milliseconds