Home
last modified time | relevance | path

Searched refs:NetworkUpdateResult (Results 1 – 21 of 21) 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.java1176 private NetworkUpdateResult addOrUpdateNetworkInternal(WifiConfiguration config, int uid, in addOrUpdateNetworkInternal()
1189 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1203 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1209 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1222 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1231 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1239 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1265 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal()
1277 NetworkUpdateResult result = in addOrUpdateNetworkInternal()
1278 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()
DDppManager.java440 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onSuccessConfigReceived()
DAvailableNetworkNotifier.java438 NetworkUpdateResult result = mConfigManager.addOrUpdateNetwork(network, Process.WIFI_UID); in handleConnectToNetworkAction()
DClientModeImpl.java3511 NetworkUpdateResult result = in processMessage()
3980 NetworkUpdateResult result; in processMessage()
6282 private NetworkUpdateResult saveNetworkConfigAndSendReply(Message message) { in saveNetworkConfigAndSendReply()
6290 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in saveNetworkConfigAndSendReply()
6292 NetworkUpdateResult result = in saveNetworkConfigAndSendReply()
6305 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.java363 NetworkUpdateResult result = addNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
396 NetworkUpdateResult result = addNetworkToWifiConfigManager(ephemeralNetwork2); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
547 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermission()
574 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
604 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
753 NetworkUpdateResult result = updateNetworkToWifiConfigManager(openNetwork); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied()
774 NetworkUpdateResult result = in testUpdateSingleOpenNetworkSuccessWithCreatorUID()
1019 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(openNetwork); in testNetworkSelectionStatus()
1057 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(openNetwork); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet()
1086 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()
DWifiNetworkSelectorTestUtil.java383 .thenReturn(new NetworkUpdateResult(networkId)); in setupEphemeralNetwork()
DDppManagerTest.java492 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
DCarrierNetworkNotifierTest.java133 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in setUp()
DScoredNetworkEvaluatorTest.java304 .thenReturn(new NetworkUpdateResult(1)); in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
DOpenNetworkNotifierTest.java132 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in setUp()
DClientModeImplTest.java743 .thenReturn(new NetworkUpdateResult(networkId)); in canSaveNetworkConfig()
797 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in saveNetworkConfigFailsWithConfigAddFailure()
818 .thenReturn(new NetworkUpdateResult(networkId)); in saveNetworkConfigFailsWithConfigEnableFailure()
853 .thenReturn(new NetworkUpdateResult(0)); in addNetworkAndVerifySuccess()
DWifiNetworkFactoryTest.java188 .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;
243 NetworkUpdateResult result = in createWifiConfigForProvider()