Home
last modified time | relevance | path

Searched refs:handlerCaptor (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
H A DWifiNl80211ManagerTest.java902 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameThrowsException()
915 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameThrowsException()
937 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameSuccess()
949 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameSuccess()
971 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameFailure()
984 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameFailure()
1006 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameTimeout()
1010 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameTimeout()
1073 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameTimeoutAckThreadSafe()
1079 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameTimeoutAckThreadSafe()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DRadioInterfaceCapabilityControllerTest.java82 final ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in registerForRadioAvailable() local
86 handlerCaptor.capture(), whatCaptor.capture(), objCaptor.capture()); in registerForRadioAvailable()
90 handlerCaptor.getValue(), whatCaptor.getValue(), objCaptor.getValue()); in registerForRadioAvailable()
H A DProxyControllerTest.java69 ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testMultiSimConfigChange() local
H A DPhoneSwitcherTest.java1265 ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in getEcbmRegistration() local
1268 verify(phone).registerForEmergencyCallToggle(handlerCaptor.capture(), intCaptor.capture(), in getEcbmRegistration()
1270 assertNotNull(handlerCaptor.getValue()); in getEcbmRegistration()
1272 Message message = Message.obtain(handlerCaptor.getValue(), intCaptor.getValue()); in getEcbmRegistration()
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/
H A DTelephonyConnectionServiceTest.java913 ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testSuppServiceNotification() local
915 verify(phone).registerForSuppServiceNotification(handlerCaptor.capture(), in testSuppServiceNotification()
917 Handler handler = handlerCaptor.getValue(); in testSuppServiceNotification()