Home
last modified time | relevance | path

Searched refs:nonBlockablePkgs (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java121 final String[] nonBlockablePkgs = context.getResources().getStringArray( in recordCanBeBlocked() local
123 markAppRowWithBlockables(nonBlockablePkgs, row, app.packageName); in recordCanBeBlocked()
126 @VisibleForTesting static void markAppRowWithBlockables(String[] nonBlockablePkgs, AppRow row, in markAppRowWithBlockables() argument
128 if (nonBlockablePkgs != null) { in markAppRowWithBlockables()
129 int N = nonBlockablePkgs.length; in markAppRowWithBlockables()
131 String pkg = nonBlockablePkgs[i]; in markAppRowWithBlockables()
137 } else if (packageName.equals(nonBlockablePkgs[i])) { in markAppRowWithBlockables()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java78 String[] nonBlockablePkgs = new String[2]; in testMarkAppRow_unblockablePackage() local
79 nonBlockablePkgs[0] = packageName; in testMarkAppRow_unblockablePackage()
80 nonBlockablePkgs[1] = "some.other.package"; in testMarkAppRow_unblockablePackage()
81 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, appRow, packageName); in testMarkAppRow_unblockablePackage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DNotificationsPreference.java141 final String[] nonBlockablePkgs = resources.getStringArray( in isNonBlockablePackage() local
143 for (String pkg : nonBlockablePkgs) { in isNonBlockablePackage()