Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java26 import static com.android.cts.verifier.notifications.MockListener.JSON_FLAGS;
27 import static com.android.cts.verifier.notifications.MockListener.JSON_ICON;
28 import static com.android.cts.verifier.notifications.MockListener.JSON_ID;
29 import static com.android.cts.verifier.notifications.MockListener.JSON_LAST_AUDIBLY_ALERTED;
30 import static com.android.cts.verifier.notifications.MockListener.JSON_PACKAGE;
31 import static com.android.cts.verifier.notifications.MockListener.JSON_REASON;
32 import static com.android.cts.verifier.notifications.MockListener.JSON_STATS;
33 import static com.android.cts.verifier.notifications.MockListener.JSON_TAG;
34 import static com.android.cts.verifier.notifications.MockListener.JSON_WHEN;
35 import static com.android.cts.verifier.notifications.MockListener.REASON_LISTENER_CANCEL;
[all …]
DAttentionManagementVerifierActivity.java19 import static com.android.cts.verifier.notifications.MockListener.JSON_AMBIENT;
20 import static com.android.cts.verifier.notifications.MockListener.JSON_MATCHES_ZEN_FILTER;
21 import static com.android.cts.verifier.notifications.MockListener.JSON_TAG;
171 if (MockListener.getInstance() == null in test()
172 || !MockListener.getInstance().isConnected) { in test()
264 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()
304 MockListener.getInstance().resetData(); in tearDown()
324 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()
363 MockListener.getInstance().resetData(); in tearDown()
383 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()
[all …]
DMockListener.java34 public class MockListener extends NotificationListenerService { class
38 new ComponentName("com.android.cts.verifier", MockListener.class.getName());
64 private static MockListener sNotificationListenerInstance = null;
111 public static MockListener getInstance() { in getInstance()
DInteractiveVerifierActivity.java553 if (MockListener.getInstance() != null && MockListener.getInstance().isConnected) { in test()