Searched refs:testListener (Results 1 – 8 of 8) 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()
195 String testListener = new ComponentName( in toggleNotificationListener() local199 + testListener); in toggleNotificationListener()200 Log.i(TAG, "Toggled notification listener state" + testListener + " to state " + enable); in toggleNotificationListener()
56 public void testListener() throws Exception { in testListener() method in ClipboardManagerListenerTest
5954 TestWifiNetworkStateChangeListener testListener = new TestWifiNetworkStateChangeListener( in testWifiNetworkStateChangeListener() local5958 () -> sWifiManager.addWifiNetworkStateChangedListener(mExecutor, testListener)); in testWifiNetworkStateChangeListener()5967 () -> sWifiManager.addWifiNetworkStateChangedListener(mExecutor, testListener)); in testWifiNetworkStateChangeListener()5976 () -> testListener.getStateList().contains( in testWifiNetworkStateChangeListener()5979 int firstState = testListener.getStateList().get(0); in testWifiNetworkStateChangeListener()5980 int lastState = testListener.getStateList().get(testListener.getStateList().size() - 1); in testWifiNetworkStateChangeListener()5987 testListener.clear(); in testWifiNetworkStateChangeListener()5992 () -> testListener.getStateList().contains( in testWifiNetworkStateChangeListener()5996 sWifiManager.removeWifiNetworkStateChangedListener(testListener); in testWifiNetworkStateChangeListener()6739 TestWifiLowLatencyLockListener testListener = new TestWifiLowLatencyLockListener(); in testWifiLowLatencyLockListener() local[all …]
206 fun testListener() { in <lambda>() method
703 public void testListener() { in testListener() method in AccessibilityMagnificationTest