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()
492 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback() local494 anyInt())).thenReturn(networkUpdateResult); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
532 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission() local533 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() local560 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()589 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() local590 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
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()