Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java50 String[] nonBlockablePkgs = new String[2]; in testMarkAppRow_unblockablePackage() local
51 nonBlockablePkgs[0] = packageName; in testMarkAppRow_unblockablePackage()
52 nonBlockablePkgs[1] = "some.other.package"; in testMarkAppRow_unblockablePackage()
53 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, appRow, packageName); in testMarkAppRow_unblockablePackage()
64 String[] nonBlockablePkgs = new String[2]; in testMarkAppRow_unblockableChannelOrPkg() local
65 nonBlockablePkgs[0] = pkgBlockName; in testMarkAppRow_unblockableChannelOrPkg()
66 nonBlockablePkgs[1] = channelBlockName + ":SpecificChannel"; in testMarkAppRow_unblockableChannelOrPkg()
71 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, channelBlockApp, in testMarkAppRow_unblockableChannelOrPkg()
79 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, pkgBlock, pkgBlockName); in testMarkAppRow_unblockableChannelOrPkg()
86 NotificationBackend.markAppRowWithBlockables(nonBlockablePkgs, otherAppRow, in testMarkAppRow_unblockableChannelOrPkg()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java62 final String[] nonBlockablePkgs = context.getResources().getStringArray( in loadAppRow() local
64 markAppRowWithBlockables(nonBlockablePkgs, row, app.packageName); in loadAppRow()
68 @VisibleForTesting static void markAppRowWithBlockables(String[] nonBlockablePkgs, AppRow row, in markAppRowWithBlockables() argument
70 if (nonBlockablePkgs != null) { in markAppRowWithBlockables()
71 int N = nonBlockablePkgs.length; in markAppRowWithBlockables()
73 String pkg = nonBlockablePkgs[i]; in markAppRowWithBlockables()
81 } else if (packageName.equals(nonBlockablePkgs[i])) { in markAppRowWithBlockables()