Searched refs:MockListener (Results 1 – 4 of 4) sorted by relevance
27 import static com.android.cts.verifier.notifications.MockListener.JSON_FLAGS;28 import static com.android.cts.verifier.notifications.MockListener.JSON_ICON;29 import static com.android.cts.verifier.notifications.MockListener.JSON_ID;30 import static com.android.cts.verifier.notifications.MockListener.JSON_LAST_AUDIBLY_ALERTED;31 import static com.android.cts.verifier.notifications.MockListener.JSON_PACKAGE;32 import static com.android.cts.verifier.notifications.MockListener.JSON_REASON;33 import static com.android.cts.verifier.notifications.MockListener.JSON_STATS;34 import static com.android.cts.verifier.notifications.MockListener.JSON_TAG;35 import static com.android.cts.verifier.notifications.MockListener.JSON_WHEN;36 import static com.android.cts.verifier.notifications.MockListener.REASON_LISTENER_CANCEL;[all …]
19 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;162 if (MockListener.getInstance() == null in test()163 || !MockListener.getInstance().isConnected) { in test()255 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()295 MockListener.getInstance().resetData(); in tearDown()315 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()354 MockListener.getInstance().resetData(); in tearDown()374 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test()[all …]
34 public class MockListener extends NotificationListenerService { class38 new ComponentName("com.android.cts.verifier", MockListener.class.getName());64 private static MockListener sNotificationListenerInstance = null;120 public static MockListener getInstance() { in getInstance()
556 MockListener.COMPONENT_NAME.flattenToString()); in getIntent()569 if (MockListener.getInstance() != null && MockListener.getInstance().isConnected) { in test()