Home
last modified time | relevance | path

Searched refs:NetworkUpdateResult (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java21 public class NetworkUpdateResult { class
28 public NetworkUpdateResult(int id) { in NetworkUpdateResult() method in NetworkUpdateResult
35 public NetworkUpdateResult(boolean ip, boolean proxy, boolean credential) { in NetworkUpdateResult() method in NetworkUpdateResult
DWifiConfigManager.java1113 private NetworkUpdateResult addOrUpdateNetworkInternal(WifiConfiguration config, int uid, in addOrUpdateNetworkInternal()
1126 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1140 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1146 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1159 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1168 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1177 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1203 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1215 NetworkUpdateResult result = in addOrUpdateNetworkInternal()
1216 new NetworkUpdateResult(hasIpChanged, hasProxyChanged, hasCredentialChanged); in addOrUpdateNetworkInternal()
[all …]
DCarrierNetworkEvaluator.java138 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork(config, in evaluateNetworks()
DNetworkSuggestionEvaluator.java143 NetworkUpdateResult result = in addCandidateToWifiConfigManager()
DScoredNetworkEvaluator.java302 NetworkUpdateResult result = in getCandidateConfiguration()
DAvailableNetworkNotifier.java438 NetworkUpdateResult result = mConfigManager.addOrUpdateNetwork(network, Process.WIFI_UID); in handleConnectToNetworkAction()
DDppManager.java440 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onSuccessConfigReceived()
DClientModeImpl.java3485 NetworkUpdateResult result = in processMessage()
3952 NetworkUpdateResult result; in processMessage()
6190 private NetworkUpdateResult saveNetworkConfigAndSendReply(Message message) { in saveNetworkConfigAndSendReply()
6198 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in saveNetworkConfigAndSendReply()
6200 NetworkUpdateResult result = in saveNetworkConfigAndSendReply()
6213 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in saveNetworkConfigAndSendReply()
DWifiNetworkFactory.java711 NetworkUpdateResult networkUpdateResult = in addNetworkToWifiConfigManager()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java317 NetworkUpdateResult result = addNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
350 NetworkUpdateResult result = addNetworkToWifiConfigManager(ephemeralNetwork2); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
494 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission()
521 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
551 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
696 NetworkUpdateResult result = updateNetworkToWifiConfigManager(openNetwork); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied()
717 NetworkUpdateResult result = in testUpdateSingleOpenNetworkSuccessWithCreatorUID()
962 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(openNetwork); in testNetworkSelectionStatus()
1000 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(openNetwork); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet()
1029 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(openNetwork); in testNetworkSelectionStatusEnableClearsDisableCounters()
[all …]
DCarrierNetworkEvaluatorTest.java107 private class AddOrUpdateNetworkAnswer implements Answer<NetworkUpdateResult> {
115 public NetworkUpdateResult answer(InvocationOnMock invocation) throws Throwable { in answer()
122 NetworkUpdateResult networkUpdateResult = mock(NetworkUpdateResult.class); in answer()
DNetworkSuggestionEvaluatorTest.java389 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager()
638 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID + i)); in setupAddToWifiConfigManager()
DDppManagerTest.java492 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
DScoredNetworkEvaluatorTest.java304 .thenReturn(new NetworkUpdateResult(1)); in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
DOpenNetworkNotifierTest.java132 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in setUp()
DCarrierNetworkNotifierTest.java133 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in setUp()
DClientModeImplTest.java732 .thenReturn(new NetworkUpdateResult(networkId)); in canSaveNetworkConfig()
786 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in saveNetworkConfigFailsWithConfigAddFailure()
807 .thenReturn(new NetworkUpdateResult(networkId)); in saveNetworkConfigFailsWithConfigEnableFailure()
842 .thenReturn(new NetworkUpdateResult(0)); in addNetworkAndVerifySuccess()
DWifiNetworkFactoryTest.java176 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID_1)); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java48 import com.android.server.wifi.NetworkUpdateResult;
222 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansWithNetworkMatchingHomeProvider()
265 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansWithNetworkMatchingRoamingProvider()
310 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
422 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
684 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java33 import com.android.server.wifi.NetworkUpdateResult;
247 NetworkUpdateResult result = in createWifiConfigForProvider()