Searched refs:testListener (Results 1 – 7 of 7) sorted by relevance
30 val testListener = TestNotificationListener.componentName in ensureNotificationListenerServiceConnected() constant31 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()
81 PhoneStateListener testListener = new PhoneStateListener(new HandlerExecutor(mHandler)) { in testListenerRegistrationWithChangeEnabled() local89 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() local124 mTelephonyManager.listen(testListener, PhoneStateListener.LISTEN_CALL_STATE); in testListenerRegistrationWithChangeDisabled()
62 public void addListener(TestListener testListener) { in addListener() argument63 mWrappedTestResult.addListener(testListener); in addListener()67 public void removeListener(TestListener testListener) { in removeListener() argument68 mWrappedTestResult.removeListener(testListener); in removeListener()
177 String testListener = new ComponentName( in toggleNotificationListener() local181 + testListener); in toggleNotificationListener()182 Log.i(TAG, "Toggled notification listener state" + testListener + " to state " + enable); in toggleNotificationListener()
46 public void testListener() throws Exception { in testListener() method in ClipboardManagerListenerTest
152 fun testListener() { in <lambda>() method
162 public void testListener() { in testListener() method in AccessibilityMagnificationTest