Home
last modified time | relevance | path

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

/cts/tests/app/NotificationListener/src/com/android/test/notificationlistener/
DNotificationUriAccessService.kt30 val testListener = TestNotificationListener.componentName in ensureNotificationListenerServiceConnected() constant
31 check(nm.isNotificationListenerAccessGranted(testListener) == ensureConnected) { in ensureNotificationListenerServiceConnected()
32 "$testListener has incorrect listener access; expected=$ensureConnected" in ensureNotificationListenerServiceConnected()
37 "$testListener has not been created, but should be connected" in ensureNotificationListenerServiceConnected()
42 "$testListener has incorrect listener connection state; expected=$ensureConnected" in ensureNotificationListenerServiceConnected()
/cts/hostsidetests/telephony/devicetest/src/android/telephony/device/cts/
DTelephonyTest.java81 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeEnabled() local
89 mTelephonyManager.listen(testListener, PhoneStateListener.LISTEN_CALL_STATE); in testListenerRegistrationWithChangeEnabled()
98 mTelephonyManager.listen(testListener, PhoneStateListener.LISTEN_CALL_STATE); in testListenerRegistrationWithChangeEnabled()
117 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeDisabled() local
124 mTelephonyManager.listen(testListener, PhoneStateListener.LISTEN_CALL_STATE); in testListenerRegistrationWithChangeDisabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java62 public void addListener(TestListener testListener) { in addListener() argument
63 mWrappedTestResult.addListener(testListener); in addListener()
67 public void removeListener(TestListener testListener) { in removeListener() argument
68 mWrappedTestResult.removeListener(testListener); in removeListener()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNotificationListenerTest.java177 String testListener = new ComponentName( in toggleNotificationListener() local
181 + testListener); in toggleNotificationListener()
182 Log.i(TAG, "Toggled notification listener state" + testListener + " to state " + enable); in toggleNotificationListener()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java46 public void testListener() throws Exception { in testListener() method in ClipboardManagerListenerTest
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt152 fun testListener() { in <lambda>() method
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java162 public void testListener() { in testListener() method in AccessibilityMagnificationTest