Home | History | Annotate | Download | only in net

Lines Matching defs:whitelist

255     private static final String TAG_WHITELIST = "whitelist";
412 // TODO: keep whitelist of system-critical services that should never have
465 int[] whitelist = mDeviceIdleController.getAppIdWhitelistExceptIdle();
467 if (whitelist != null) {
468 for (int uid : whitelist) {
472 whitelist = mDeviceIdleController.getAppIdWhitelist();
474 if (whitelist != null) {
475 for (int uid : whitelist) {
485 * revoke the whitelist.
528 + "background whitelist. Revoked status: "
533 + userId + ") to restrict background whitelist");
543 // Clear the states of the current whitelist
548 // Update the states with the new whitelist
549 final int[] whitelist = mDeviceIdleController.getAppIdTempWhitelist();
550 if (whitelist != null) {
551 for (int uid : whitelist) {
560 * Remove unnecessary entries in the temp whitelist
623 // listen for changes to power save whitelist
1684 // restrict background whitelist
1693 // revoked restrict background whitelist
1831 // Remove entries from restricted background UID whitelist
1847 // Remove entries from revoked default restricted background UID whitelist
2061 // Must whitelist foreground apps before turning data saver mode on.
2095 Slog.i(TAG, "adding uid " + uid + " to restrict background whitelist");
2100 + " from revoked restrict background whitelist");
2107 // ...but always persists the whitelist request.
2129 * Removes a uid from the restricted background whitelist, returning whether its current
2141 Slog.i(TAG, "removing uid " + uid + " from restrict background whitelist");
2147 + " to revoked restrict background whitelist");
2155 // ...but always persists the whitelist request.
2170 final int[] whitelist = new int[size];
2172 whitelist[i] = mRestrictBackgroundWhitelistUids.keyAt(i);
2178 return whitelist;
2378 fout.println("Power save whitelist (except idle) app ids:");
2392 fout.println("Power save whitelist app ids:");
2406 fout.println("Restrict background whitelist uids:");
2418 fout.println("Default restrict background whitelist uids:");
2430 fout.println("Default restrict background whitelist uids revoked by users:");
2937 * restrictions (blacklist / whitelist).
2944 * <li>@{code bw_happy_box}: UIDs added to this chain have access (whitelist), unless they're
2952 * {@link #removeRestrictBackgroundWhitelistedUid(int)} methods (for blacklist and whitelist
2953 * respectively): these methods set the proper internal state (blacklist / whitelist), then call
3033 // Temporarily whitelist foreground app, removing from blacklist if necessary
3044 // Remove temporary whitelist from app that is not on foreground anymore.
3061 // Since blacklist prevails over whitelist, we need to handle the special case
3068 // Flip state because app was explicitly added or removed to whitelist.
3457 Log.wtf(TAG, "problem setting whitelist (" + enable + ") rules for " + uid, e);