Searched refs:handlerCaptor (Results 1 – 2 of 2) sorted by relevance
1047 final ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testSendMgmtFrameThrowsException() local1049 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameThrowsException()1061 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameThrowsException()1080 final ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testSendMgmtFrameSuccess() local1082 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameSuccess()1093 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameSuccess()1112 final ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testSendMgmtFrameFailure() local1114 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameFailure()1125 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameFailure()1144 final ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in testSendMgmtFrameTimeout() local[all …]
894 ArgumentCaptor<Handler> handlerCaptor = ArgumentCaptor.forClass(Handler.class); in getEcbmRegistration() local897 verify(phone).registerForEmergencyCallToggle(handlerCaptor.capture(), intCaptor.capture(), in getEcbmRegistration()899 assertNotNull(handlerCaptor.getValue()); in getEcbmRegistration()901 Message message = Message.obtain(handlerCaptor.getValue(), intCaptor.getValue()); in getEcbmRegistration()