/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | NetworkUpdateResult.java | 27 public class NetworkUpdateResult { class 35 public NetworkUpdateResult(int netId) { in NetworkUpdateResult() method in NetworkUpdateResult 40 public NetworkUpdateResult(int netId, int addNetworkFailureCode) { in NetworkUpdateResult() method in NetworkUpdateResult 44 public NetworkUpdateResult( in NetworkUpdateResult() method in NetworkUpdateResult 60 public static NetworkUpdateResult makeFailed() { in makeFailed() 61 return new NetworkUpdateResult(INVALID_NETWORK_ID); in makeFailed() 96 NetworkUpdateResult that = (NetworkUpdateResult) o; in equals()
|
D | WifiConfigManager.java | 1425 private @NonNull Pair<NetworkUpdateResult, WifiConfiguration> addOrUpdateNetworkInternal( in addOrUpdateNetworkInternal() 1444 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID, in addOrUpdateNetworkInternal() 1462 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID, in addOrUpdateNetworkInternal() 1471 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID, in addOrUpdateNetworkInternal() 1486 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID), in addOrUpdateNetworkInternal() 1497 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID), in addOrUpdateNetworkInternal() 1511 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID), in addOrUpdateNetworkInternal() 1530 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID), in addOrUpdateNetworkInternal() 1541 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID), in addOrUpdateNetworkInternal() 1558 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID, in addOrUpdateNetworkInternal() [all …]
|
D | ConnectHelper.java | 48 @NonNull NetworkUpdateResult result, in connectToNetwork() 62 @NonNull NetworkUpdateResult result, in connectToNetwork()
|
D | ClientModeDefaults.java | 50 default void connectNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, in connectNetwork() 56 default void saveNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, in saveNetwork()
|
D | ClientMode.java | 68 void connectNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, int callingUid, in connectNetwork() 71 void saveNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, int callingUid, in saveNetwork()
|
D | AvailableNetworkNotifier.java | 461 NetworkUpdateResult result = mConfigManager.addOrUpdateNetwork(network, Process.WIFI_UID); in handleConnectToNetworkAction() 468 new NetworkUpdateResult(result.getNetworkId()), in handleConnectToNetworkAction()
|
D | DppManager.java | 696 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onSuccessConfigReceived() 713 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onSuccessConfigReceived() 860 NetworkUpdateResult networkUpdateResult = mWifiConfigManager in onDppConfiguratorKeyUpdate()
|
D | NetworkSuggestionNominator.java | 139 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in addOrUpdateSuggestionToWifiConfigManger()
|
D | ConcreteClientModeManager.java | 1382 public void connectNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, in connectNetwork() 1388 public void saveNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, in saveNetwork()
|
D | WifiNetworkFactory.java | 1082 NetworkUpdateResult networkUpdateResult = in addNetworkToWifiConfigManager() 1144 new NetworkUpdateResult(networkId), in connectToNetwork()
|
D | WifiServiceImpl.java | 3986 NetworkUpdateResult result = mWifiThreadRunner.call( in addOrUpdateNetworkInternal() 3989 new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID), in addOrUpdateNetworkInternal() 4073 new NetworkUpdateResult(netId), in triggerConnectAndReturnStatus() 6761 final NetworkUpdateResult result; 6780 result = new NetworkUpdateResult(netId); 6904 NetworkUpdateResult result =
|
D | ClientModeImpl.java | 4870 NetworkUpdateResult result = cnm.result; in processMessageImpl() 4887 NetworkUpdateResult result = cnm.result; in processMessageImpl() 7943 public final NetworkUpdateResult result; 7948 ConnectNetworkMessage(NetworkUpdateResult result, ActionListenerWrapper listener, in ConnectNetworkMessage() 7958 public void connectNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, in connectNetwork() 7968 public void saveNetwork(NetworkUpdateResult result, ActionListenerWrapper wrapper, in saveNetwork()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 53 import com.android.server.wifi.NetworkUpdateResult; 250 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansWithNetworkMatchingHomeProvider() 305 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansWithNoInternetBit() 348 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansWithNetworkMatchingRoamingProvider() 394 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)) in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 395 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID + 1)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 430 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() 461 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScansMatchingActiveNetworkWithDifferentBSS() 534 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected() 559 any(), eq(false))).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)) in evaluateScansWithNetworkMatchingHomeProviderUseAnqpLinkDown() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 581 NetworkUpdateResult result = addNetworkToWifiConfigManager(openNetwork); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() 617 NetworkUpdateResult result = addNetworkToWifiConfigManager(ephemeralNetwork2); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists() 737 NetworkUpdateResult result = addNetworkToWifiConfigManager(openNetwork); in testAddOrUpdateNetworkRepeaterEnabled() 881 NetworkUpdateResult result = in testOverrideWifiConfigModifyAllNetworks() 927 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCannotUpdateMacRandomizationSettingWithoutPermissionDO() 961 NetworkUpdateResult networkUpdateResult = in testCanUpdateMacRandomizationSettingForAdminNetwork() 995 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission() 1028 NetworkUpdateResult networkUpdateResult = updateNetworkToWifiConfigManager(openNetwork); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() 1290 NetworkUpdateResult result = updateNetworkToWifiConfigManager(openNetwork); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied() 1307 NetworkUpdateResult result = addNetworkToWifiConfigManager(configuration, in testAddNetworkWithVendorDataPermissionCheck() [all …]
|
D | ConnectHelperTest.java | 76 NetworkUpdateResult result = new NetworkUpdateResult(TEST_NETWORK_ID); in verifyConnectNetworkSuccess() 103 mConnectHelper.connectToNetwork(new NetworkUpdateResult(TEST_NETWORK_ID), mActionListener, in connectToNetwork_invalidNetId_failure()
|
D | DppManagerTest.java | 613 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback() 1192 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testStartDppAsEnrolleeResponderStartCorrectlyOnSuccessCallback() 1304 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testDppAsEnrolleeResponderWaitForConnectionStatusResult() 1345 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult(TEST_NETWORK_ID); in testDppAsEnrolleeInitiatorWaitForConnectionStatusResult()
|
D | WifiServiceImplTest.java | 5112 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in testRestoreNetworkConfiguration() 5114 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in testRestoreNetworkConfiguration() 5445 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in testConnectNetworkWithPrivilegedPermission() 5453 verify(mConnectHelper).connectToNetwork(any(NetworkUpdateResult.class), in testConnectNetworkWithPrivilegedPermission() 5471 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in testConnectNetworkWithNfcUid() 5480 verify(mConnectHelper).connectToNetwork(any(NetworkUpdateResult.class), in testConnectNetworkWithNfcUid() 5501 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in testConnectNetworkStopConnectedSecondaryInternetCmm() 5541 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in testConnectNetworkStopSecondaryCmmOnSameNetwork() 5567 verify(mConnectHelper).connectToNetwork(any(NetworkUpdateResult.class), in testConnectNetworkStopSecondaryCmmOnSameNetwork() 5583 verify(mConnectHelper, times(2)).connectToNetwork(any(NetworkUpdateResult.class), in testConnectNetworkStopSecondaryCmmOnSameNetwork() [all …]
|
D | OpenNetworkNotifierTest.java | 143 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID)); in setUp() 577 verify(mConnectHelper).connectToNetwork(eq(new NetworkUpdateResult(TEST_NETWORK_ID)), in actionConnectToNetwork_currentRecommendationExists_connectsAndPostsNotification() 761 verify(mConnectHelper).connectToNetwork(eq(new NetworkUpdateResult(TEST_NETWORK_ID)), in connectionFailedCallback_postsFailedToConnectNotification()
|
D | WifiNetworkFactoryTest.java | 275 .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID_1)); in setUp() 1342 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testNetworkSpecifierHandleUserSelectionConnectToNetwork() 1447 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 1497 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch() 1548 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches() 1609 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testNetworkSpecifierHandleUserSelectionConnectToNetworkMissingBssidInLatest() 1676 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testNetworkSpecifierHandleUserSelectionConnectToNetworkStaleMissingBssidInLatest() 2471 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testHandleNewNetworkRequestWithSpecifierWhenAwaitingCmRetrieval() 3725 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork() 3789 eq(new NetworkUpdateResult(TEST_NETWORK_ID_1)), in sendNetworkRequestAndSetupForConnectionStatus() [all …]
|
D | WifiHealthMonitorTest.java | 283 public NetworkUpdateResult answer(WifiConfiguration config, int uid) throws Exception { in mockConfigManager() 285 return new NetworkUpdateResult(1); in mockConfigManager()
|
D | WifiNetworkSelectorTestUtil.java | 456 .thenReturn(new NetworkUpdateResult(networkId)); in setupEphemeralNetwork()
|
D | ClientModeImplTest.java | 923 new NetworkUpdateResult(TEST_NETWORK_ID), in canSaveNetworkConfig() 949 new NetworkUpdateResult(TEST_NETWORK_ID, STATUS_SUCCESS, false, false, true, false), in canSaveAdminRestrictedNetworkWithoutConnecting() 969 new NetworkUpdateResult(TEST_NETWORK_ID, STATUS_SUCCESS, false, false, true, false), in canSaveDeprecatedSecurityTypeNetworkWithoutConnecting() 1022 new NetworkUpdateResult(config.networkId), in setupAndStartConnectSequence() 2429 new NetworkUpdateResult(FRAMEWORK_NETWORK_ID), in reconnectToConnectedNetworkWithNetworkId() 2454 new NetworkUpdateResult(FRAMEWORK_NETWORK_ID), in reconnectToConnectedNetworkWithConfig() 2479 new NetworkUpdateResult(FRAMEWORK_NETWORK_ID), in reconnectToConnectingNetwork() 2503 NetworkUpdateResult networkUpdateResult = new NetworkUpdateResult( in reconnectToConnectingNetworkWithCredentialChange() 2542 new NetworkUpdateResult(FRAMEWORK_NETWORK_ID), in connectAfterAssociationRejection() 2572 new NetworkUpdateResult(FRAMEWORK_NETWORK_ID), in connectAfterConnectionFailure() [all …]
|
D | WifiPseudonymManagerTest.java | 85 private NetworkUpdateResult mNetworkUpdateResult;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelper.java | 32 import com.android.server.wifi.NetworkUpdateResult; 337 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in createWifiConfigForProvider()
|
D | PasspointManager.java | 49 import com.android.server.wifi.NetworkUpdateResult; 450 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in updateWifiConfigInWcmIfPresent()
|