Searched refs:nonBlockablePkgs (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationBackend.java | 97 final String[] nonBlockablePkgs = context.getResources().getStringArray( in recordCanBeBlocked() local 99 markAppRowWithBlockables(nonBlockablePkgs, row, app.packageName); in recordCanBeBlocked() 102 @VisibleForTesting static void markAppRowWithBlockables(String[] nonBlockablePkgs, AppRow row, in markAppRowWithBlockables() argument 104 if (nonBlockablePkgs != null) { in markAppRowWithBlockables() 105 int N = nonBlockablePkgs.length; in markAppRowWithBlockables() 107 String pkg = nonBlockablePkgs[i]; in markAppRowWithBlockables() 115 } else if (packageName.equals(nonBlockablePkgs[i])) { in markAppRowWithBlockables()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationBackendTest.java | 52 String[] nonBlockablePkgs = new String[2]; in testMarkAppRow_unblockablePackage() local 53 nonBlockablePkgs[0] = packageName; in testMarkAppRow_unblockablePackage() 54 nonBlockablePkgs[1] = "some.other.package"; in testMarkAppRow_unblockablePackage() 55 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, appRow, packageName); in testMarkAppRow_unblockablePackage()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 116 final String[] nonBlockablePkgs = context.getResources().getStringArray( in recordCanBeBlocked() local 118 markAppRowWithBlockables(nonBlockablePkgs, row, app.packageName); in recordCanBeBlocked() 121 @VisibleForTesting static void markAppRowWithBlockables(String[] nonBlockablePkgs, AppRow row, in markAppRowWithBlockables() argument 123 if (nonBlockablePkgs != null) { in markAppRowWithBlockables() 124 int N = nonBlockablePkgs.length; in markAppRowWithBlockables() 126 String pkg = nonBlockablePkgs[i]; in markAppRowWithBlockables() 132 } else if (packageName.equals(nonBlockablePkgs[i])) { in markAppRowWithBlockables()
|