Searched refs:softApStateCaptor (Results 1 – 3 of 3) sorted by relevance
1303 ArgumentCaptor<SoftApState> softApStateCaptor = ArgumentCaptor.forClass(SoftApState.class); in softApCallbackProxyCallsOnStateChanged() local1304 verify(mSoftApCallback).onStateChanged(softApStateCaptor.capture()); in softApCallbackProxyCallsOnStateChanged()1305 assertEquals(state, softApStateCaptor.getValue()); in softApCallbackProxyCallsOnStateChanged()1836 ArgumentCaptor<SoftApState> softApStateCaptor = in softApCallbackProxyCallsOnMultipleUpdates() local1838 verify(mSoftApCallback, times(2)).onStateChanged(softApStateCaptor.capture()); in softApCallbackProxyCallsOnMultipleUpdates()1839 assertEquals(state0, softApStateCaptor.getAllValues().get(0)); in softApCallbackProxyCallsOnMultipleUpdates()1840 assertEquals(state1, softApStateCaptor.getAllValues().get(1)); in softApCallbackProxyCallsOnMultipleUpdates()1859 ArgumentCaptor<SoftApState> softApStateCaptor = in softApCallbackIsCalledOnCorrectThread() local1861 verify(mSoftApCallback).onStateChanged(softApStateCaptor.capture()); in softApCallbackIsCalledOnCorrectThread()1862 SoftApState softApState = softApStateCaptor.getValue(); in softApCallbackIsCalledOnCorrectThread()[all …]
2281 ArgumentCaptor<SoftApState> softApStateCaptor = in testSoftApModeDoesNotToggleOnWhenInEcm() local2283 verify(mSoftApStateMachineCallback).onStateChanged(softApStateCaptor.capture()); in testSoftApModeDoesNotToggleOnWhenInEcm()2284 assertThat(softApStateCaptor.getValue().getState()).isEqualTo(WIFI_AP_STATE_FAILED); in testSoftApModeDoesNotToggleOnWhenInEcm()2285 assertThat(softApStateCaptor.getValue().getFailureReason()) in testSoftApModeDoesNotToggleOnWhenInEcm()2287 assertThat(softApStateCaptor.getValue().getFailureReasonInternal()) in testSoftApModeDoesNotToggleOnWhenInEcm()2301 verify(mLohsStateMachineCallback).onStateChanged(softApStateCaptor.capture()); in testSoftApModeDoesNotToggleOnWhenInEcm()2302 assertThat(softApStateCaptor.getValue().getState()).isEqualTo(WIFI_AP_STATE_FAILED); in testSoftApModeDoesNotToggleOnWhenInEcm()2303 assertThat(softApStateCaptor.getValue().getFailureReason()) in testSoftApModeDoesNotToggleOnWhenInEcm()2305 assertThat(softApStateCaptor.getValue().getFailureReasonInternal()) in testSoftApModeDoesNotToggleOnWhenInEcm()
10755 ArgumentCaptor<SoftApState> softApStateCaptor = in registerLohsSoftApCallbackAndVerify() local10757 verify(mClientSoftApCallback).onStateChanged(softApStateCaptor.capture()); in registerLohsSoftApCallbackAndVerify()10758 assertThat(softApStateCaptor.getValue().getState()).isEqualTo(WIFI_AP_STATE_DISABLED); in registerLohsSoftApCallbackAndVerify()10760 softApStateCaptor.getValue().getFailureReason(); in registerLohsSoftApCallbackAndVerify()10765 assertThat(softApStateCaptor.getValue().getFailureReasonInternal()).isEqualTo(0); in registerLohsSoftApCallbackAndVerify()