Home
last modified time | relevance | path

Searched refs:configCaptor (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java377 ArgumentCaptor<WifiP2pConfig> configCaptor = ArgumentCaptor.forClass(WifiP2pConfig.class); in testP2pConnect() local
378 verify(mSupplicantP2pIfaceHalMock).connect(configCaptor.capture(), eq(true)); in testP2pConnect()
380 assertEquals(config.toString(), configCaptor.getValue().toString()); in testP2pConnect()
403 ArgumentCaptor<WifiP2pConfig> configCaptor = in testP2pProvisionDiscovery() local
405 verify(mSupplicantP2pIfaceHalMock).provisionDiscovery(configCaptor.capture()); in testP2pProvisionDiscovery()
407 assertEquals(config.toString(), configCaptor.getValue().toString()); in testP2pProvisionDiscovery()
DWifiP2pServiceImplTest.java1932 ArgumentCaptor<WifiP2pConfig> configCaptor = in testStartFreshConnectionEventWhenSendConnect() local
1936 configCaptor.capture()); in testStartFreshConnectionEventWhenSendConnect()
1937 assertEquals(mTestWifiP2pPeerConfig.toString(), configCaptor.getValue().toString()); in testStartFreshConnectionEventWhenSendConnect()
1960 ArgumentCaptor<WifiP2pConfig> configCaptor = in testStartReinvokeConnectionEventWhenSendConnect() local
1964 configCaptor.capture()); in testStartReinvokeConnectionEventWhenSendConnect()
1965 assertEquals(mTestWifiP2pPeerConfig.toString(), configCaptor.getValue().toString()); in testStartReinvokeConnectionEventWhenSendConnect()
2061 ArgumentCaptor<WifiP2pConfig> configCaptor = in testStartFastConnectionEventWhenSendConnectWithConfig() local
2065 configCaptor.capture()); in testStartFastConnectionEventWhenSendConnectWithConfig()
2067 configCaptor.getValue().toString()); in testStartFastConnectionEventWhenSendConnectWithConfig()
2086 ArgumentCaptor<WifiP2pConfig> configCaptor = in testStartFastConnectionEventWhenCreateGroupWithConfig() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java636 configCaptor = ArgumentCaptor.forClass( in startRecognition_2_0() local
639 when(mHalDriver.startRecognition(eq(hwHandle), configCaptor.capture(), any(), anyInt())) in startRecognition_2_0()
648 configCaptor.getValue(); in startRecognition_2_0()
671 configCaptor = ArgumentCaptor.forClass( in startRecognition_2_1() local
674 when(driver.startRecognition_2_1(eq(hwHandle), configCaptor.capture(), any(), anyInt())) in startRecognition_2_1()
683 configCaptor.getValue(); in startRecognition_2_1()
707 configCaptor = ArgumentCaptor.forClass( in startRecognition_2_3() local
710 when(driver.startRecognition_2_3(eq(hwHandle), configCaptor.capture())).thenReturn(0); in startRecognition_2_3()
718 configCaptor.getValue(); in startRecognition_2_3()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java1952 ArgumentCaptor<SoftApConfiguration> configCaptor = in startSoftApAndVerifyEnabled() local
1956 configCaptor.capture(), mSoftApListenerCaptor.capture()); in startSoftApAndVerifyEnabled()
1957 assertThat(configCaptor.getValue()).isEqualTo(expectedConfig); in startSoftApAndVerifyEnabled()
DWifiNetworkSuggestionsManagerTest.java613 ArgumentCaptor<WifiConfiguration> configCaptor = in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenInWcm() local
616 configCaptor.capture(), eq(TEST_UID_1), eq(TEST_PACKAGE_1)); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenInWcm()
617 assertNotNull(configCaptor.getValue()); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenInWcm()
619 configCaptor.getValue().meteredOverride); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenInWcm()
DClientModeImplTest.java2552 ArgumentCaptor<NetworkAgentConfig> configCaptor = in expectRegisterNetworkAgent() local
2559 anyInt(), configCaptor.capture(), anyInt()); in expectRegisterNetworkAgent()
2564 configChecker.accept(configCaptor.getValue()); in expectRegisterNetworkAgent()