Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkEvaluatorTest.java122 NetworkUpdateResult networkUpdateResult = mock(NetworkUpdateResult.class); in answer() local
123 when(networkUpdateResult.isSuccess()).thenReturn(true); in answer()
124 when(networkUpdateResult.getNetworkId()).thenReturn(networkId); in answer()
126 return networkUpdateResult; in answer()
DDppManagerTest.java492 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback() local
494 anyInt())).thenReturn(networkUpdateResult); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
DWifiConfigManagerTest.java532 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission() local
533 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission()
537 networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission()
538 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission()
559 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission() local
560 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
589 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() local
590 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDppManager.java440 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onSuccessConfigReceived() local
443 if (networkUpdateResult.isSuccess()) { in onSuccessConfigReceived()
446 networkUpdateResult.getNetworkId()); in onSuccessConfigReceived()
DWifiNetworkFactory.java711 NetworkUpdateResult networkUpdateResult = in addNetworkToWifiConfigManager() local
716 Log.v(TAG, "Added network to config manager " + networkUpdateResult.netId); in addNetworkToWifiConfigManager()
718 return networkUpdateResult.netId; in addNetworkToWifiConfigManager()