Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java38 import static com.android.cts.verifier.notifications.MockListener.*;
166 MockListener.probeListenerPosted(mContext, in test()
167 new MockListener.StringListResultCatcher() { in test()
191 MockListener.probeListenerPayloads(mContext, in test()
192 new MockListener.StringListResultCatcher() { in test()
259 MockListener.resetListenerData(mContext); in tearDown()
280 MockListener.clearOne(mContext, mTag1, mId1); in test()
283 MockListener.probeListenerRemoved(mContext, in test()
284 new MockListener.StringListResultCatcher() { in test()
306 MockListener.resetListenerData(mContext); in tearDown()
[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;
185 MockListener.probeFilter(mContext, in test()
186 new MockListener.IntegerResultCatcher() { in test()
203 MockListener.resetListenerData(mContext); in tearDown()
224 MockListener.probeListenerPayloads(mContext, in test()
225 new MockListener.StringListResultCatcher() { in test()
270 MockListener.resetListenerData(mContext); in tearDown()
284 MockListener.probeFilter(mContext, in test()
[all …]
DPackagePriorityVerifierActivity.java115 MockListener.resetListenerData(mContext); in tearDown()
141 MockListener.resetListenerData(mContext); in tearDown()
166 MockListener.probeListenerOrder(mContext, in test()
167 new MockListener.StringListResultCatcher() { in test()
187 MockListener.resetListenerData(mContext); in tearDown()
211 MockListener.probeListenerOrder(mContext, in test()
212 new MockListener.StringListResultCatcher() { in test()
232 MockListener.resetListenerData(mContext); in tearDown()
DMockListener.java38 public class MockListener extends NotificationListenerService { class
136 MockListener.this.cancelNotification(key); in onCreate()
142 MockListener.this.cancelAllNotifications(); in onCreate()
DInteractiveVerifierActivity.java420 MockListener.probeListenerStatus(mContext, in test()
421 new MockListener.StatusCatcher() { in test()
439 MockListener.resetListenerData(mContext); in tearDown()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java66 private static class MockListener { class in VideoViewTest
69 MockListener() { in MockListener() method in VideoViewTest.MockListener
82 private static class MockOnPreparedListener extends MockListener
89 private static class MockOnErrorListener extends MockListener implements OnErrorListener {
96 private static class MockOnCompletionListener extends MockListener
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleDefTest.java102 private class MockListener extends NoOpTestInvocationListener {} class in ModuleDefTest