Searched refs:networkUpdateResult (Results 1 – 5 of 5) sorted by relevance
122 NetworkUpdateResult networkUpdateResult = mock(NetworkUpdateResult.class); in answer() local123 when(networkUpdateResult.isSuccess()).thenReturn(true); in answer()124 when(networkUpdateResult.getNetworkId()).thenReturn(networkId); in answer()126 return networkUpdateResult; in answer()
547 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission() local548 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() local575 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()604 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() local605 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()5416 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testFlakyRandomizationSsidHotlist() local5417 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testFlakyRandomizationSsidHotlist()
492 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback() local494 anyInt())).thenReturn(networkUpdateResult); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
440 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onSuccessConfigReceived() local443 if (networkUpdateResult.isSuccess()) { in onSuccessConfigReceived()446 networkUpdateResult.getNetworkId()); in onSuccessConfigReceived()
711 NetworkUpdateResult networkUpdateResult = in addNetworkToWifiConfigManager() local716 Log.v(TAG, "Added network to config manager " + networkUpdateResult.netId); in addNetworkToWifiConfigManager()718 return networkUpdateResult.netId; in addNetworkToWifiConfigManager()