/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | NetworkUpdateResult.java | 19 import static android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID; 36 netId = INVALID_NETWORK_ID; in NetworkUpdateResult() 71 return netId != INVALID_NETWORK_ID; in isSuccess()
|
D | WifiConfigManager.java | 325 private int mLastSelectedNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 619 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getInternalConfiguredNetwork() 992 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1005 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1011 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1024 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1033 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1059 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1096 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetwork() 1100 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetwork() [all …]
|
D | WifiStateMachine.java | 329 private int mTargetNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 814 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in WifiStateMachine() 2713 mWifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in handleSupplicantStateChange() 2783 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in handleNetworkDisconnect() 3665 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setupClientMode() 3748 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in registerConnected() 3762 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in registerDisconnected() 3774 if (mLastNetworkId == WifiConfiguration.INVALID_NETWORK_ID) { in getCurrentWifiConfiguration() 4517 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) { in isProviderOwnedNetwork() 4754 if (mLastBssid != null || mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in exit() [all …]
|
D | SavedNetworkEvaluator.java | 176 if (lastUserSelectedNetworkId != WifiConfiguration.INVALID_NETWORK_ID in calculateBssidScore()
|
D | ScoredNetworkEvaluator.java | 276 int candidateNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in getCandidateConfiguration()
|
D | AvailableNetworkNotifier.java | 425 msg.arg1 = WifiConfiguration.INVALID_NETWORK_ID; in handleConnectToNetworkAction()
|
D | WifiNetworkHistory.java | 621 if (cache == null && config.networkId != WifiConfiguration.INVALID_NETWORK_ID) { in getScanDetailCache()
|
D | WifiServiceImpl.java | 295 && networkId != WifiConfiguration.INVALID_NETWORK_ID) { in handleMessage() 1879 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in addOrUpdateNetwork() 2764 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) { in restoreNetworks()
|
D | SupplicantStaIfaceHal.java | 264 return WifiConfiguration.INVALID_NETWORK_ID; in getCurrentNetworkId()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 353 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied() 375 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID() 1030 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleNetworkWithNullValues() 1089 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleNetworkFailureDoesNotModifyOriginal() 2156 int sharedNetwork1Id = WifiConfiguration.INVALID_NETWORK_ID; in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2157 int sharedNetwork2Id = WifiConfiguration.INVALID_NETWORK_ID; in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2167 assertTrue(sharedNetwork1Id != WifiConfiguration.INVALID_NETWORK_ID); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2168 assertTrue(sharedNetwork2Id != WifiConfiguration.INVALID_NETWORK_ID); in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2184 int updatedSharedNetwork1Id = WifiConfiguration.INVALID_NETWORK_ID; in testHandleUserSwitchDoesNotChangeSharedNetworksId() 2185 int updatedSharedNetwork2Id = WifiConfiguration.INVALID_NETWORK_ID; in testHandleUserSwitchDoesNotChangeSharedNetworksId() [all …]
|
D | WifiNetworkSelectorTest.java | 186 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo() 192 .thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
|
D | SavedNetworkEvaluatorTest.java | 145 .thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
|
D | WifiStateMachineTest.java | 754 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in saveNetworkConfigFailsWithConfigAddFailure() 1797 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, wifiInfo.getNetworkId()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent()
|
D | WifiConnectivityManagerTest.java | 289 wifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo()
|
D | SupplicantStaIfaceHalTest.java | 1106 eq(WLAN0_IFACE_NAME), eq(WifiConfiguration.INVALID_NETWORK_ID), in testStateChangeCallbackWithNoConfiguredNetwork()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 50 private int mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 182 mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setSaved()
|
D | AccessPoint.java | 186 private int networkId = WifiConfiguration.INVALID_NETWORK_ID; 639 networkId = WifiConfiguration.INVALID_NETWORK_ID; in clearConfig() 925 (networkId != WifiConfiguration.INVALID_NETWORK_ID || in isActive() 958 if (isPasspoint() == false && networkId != WifiConfiguration.INVALID_NETWORK_ID) { in isInfoForThisAccessPoint() 972 return networkId != WifiConfiguration.INVALID_NETWORK_ID; in isSaved() 1135 networkId = config != null ? config.networkId : WifiConfiguration.INVALID_NETWORK_ID; in update()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 77 public static final int INVALID_NETWORK_ID = -1; field in WifiConfiguration 1498 networkId = INVALID_NETWORK_ID; in WifiConfiguration()
|
D | WifiManager.java | 2964 getChannel().sendMessage(CONNECT_NETWORK, WifiConfiguration.INVALID_NETWORK_ID, in connect()
|