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()
DWifiConfigManagerTest.java547 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission() local
548 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission()
552 networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission()
553 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission()
574 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission() local
575 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
604 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() local
605 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
5416 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testFlakyRandomizationSsidHotlist() local
5417 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testFlakyRandomizationSsidHotlist()
DDppManagerTest.java492 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback() local
494 anyInt())).thenReturn(networkUpdateResult); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
/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()