Home
last modified time | relevance | path

Searched refs:mTestPackages (Results 1 – 4 of 4) sorted by relevance

/cts/tests/app/shared/src/android/app/stubs/shared/
DTestNotificationListener.java35 private ArrayList<String> mTestPackages = new ArrayList<>(); field in TestNotificationListener
63 mTestPackages.add(PKG); in onCreate()
99 mTestPackages.add(packageName); in addTestPackage()
103 mTestPackages.remove(packageName); in removeTestPackage()
108 if (sbn == null || !mTestPackages.contains(sbn.getPackageName())) { in onNotificationPosted()
110 + listToString(mTestPackages)); in onNotificationPosted()
114 mTestPackages)); in onNotificationPosted()
122 if (sbn == null || !mTestPackages.contains(sbn.getPackageName())) { in onNotificationPosted()
124 + listToString(mTestPackages)); in onNotificationPosted()
128 mTestPackages)); in onNotificationPosted()
[all …]
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DSecondaryNotificationListener.java28 private ArrayList<String> mTestPackages = new ArrayList<>(); field in SecondaryNotificationListener
50 mTestPackages.add(PKG); in onCreate()
76 if (!mTestPackages.contains(sbn.getPackageName())) { return; } in onNotificationPosted()
82 if (!mTestPackages.contains(sbn.getPackageName())) { return; } in onNotificationRemoved()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestNotificationListener.java43 private final ArrayList<String> mTestPackages = new ArrayList<>(); field in TestNotificationListener
88 mTestPackages.add(packageName); in addTestPackage()
123 if (!mTestPackages.contains(sbn.getPackageName())) { in onNotificationPosted()
125 + " because it's not in " + mTestPackages); in onNotificationPosted()
135 if (!mTestPackages.contains(sbn.getPackageName())) { in onNotificationRemoved()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java61 Set<String> mTestPackages = new HashSet<>(); field in MockListener
72 mTestPackages.add("com.android.cts.verifier"); in onCreate()
73 mTestPackages.add("com.android.cts.robot"); in onCreate()
159 if (!mTestPackages.contains(sbn.getPackageName())) { return; } in onNotificationPosted()