Searched refs:alarmListenerCaptor (Results 1 – 1 of 1) sorted by relevance
1040 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameThrowsException() local1044 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameThrowsException()1051 verify(mAlarmManager).cancel(eq(alarmListenerCaptor.getValue())); in testSendMgmtFrameThrowsException()1056 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameThrowsException()1073 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameSuccess() local1077 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameSuccess()1084 verify(mAlarmManager).cancel(eq(alarmListenerCaptor.getValue())); in testSendMgmtFrameSuccess()1088 handlerCaptor.getValue().post(() -> alarmListenerCaptor.getValue().onAlarm()); in testSendMgmtFrameSuccess()1105 final ArgumentCaptor<AlarmManager.OnAlarmListener> alarmListenerCaptor = in testSendMgmtFrameFailure() local1109 alarmListenerCaptor.capture(), handlerCaptor.capture()); in testSendMgmtFrameFailure()[all …]