Home
last modified time | relevance | path

Searched refs:INVALID_NETWORK_ID (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java19 import static android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID;
36 netId = INVALID_NETWORK_ID; in NetworkUpdateResult()
71 return netId != INVALID_NETWORK_ID; in isSuccess()
DWifiConfigManager.java364 private int mLastSelectedNetworkId = WifiConfiguration.INVALID_NETWORK_ID;
793 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getInternalConfiguredNetwork()
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()
1304 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetwork()
[all …]
DConnectionFailureNotifier.java80 WifiConfiguration.INVALID_NETWORK_ID); in ConnectionFailureNotifier()
DWifiNetworkSelector.java810 ? WifiConfiguration.INVALID_NETWORK_ID in selectNetwork()
827 ? WifiConfiguration.INVALID_NETWORK_ID in selectNetwork()
887 if (lastUserSelectedNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in calculateLastSelectionWeight()
DClientModeImpl.java352 private int mTargetNetworkId = WifiConfiguration.INVALID_NETWORK_ID;
834 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in ClientModeImpl()
1640 if (messageIsNull(resultMsg)) return WifiConfiguration.INVALID_NETWORK_ID; in syncAddOrUpdateNetwork()
2914 mWifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in handleSupplicantStateChange()
3023 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in handleNetworkDisconnect()
3785 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setupClientMode()
3854 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in registerConnected()
3865 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in registerDisconnected()
3875 if (mLastNetworkId == WifiConfiguration.INVALID_NETWORK_ID) { in getCurrentWifiConfiguration()
3882 if (mTargetNetworkId == WifiConfiguration.INVALID_NETWORK_ID) { in getTargetWifiConfiguration()
[all …]
DSavedNetworkEvaluator.java134 if (lastUserSelectedNetworkId != WifiConfiguration.INVALID_NETWORK_ID in calculateBssidScore()
DScoredNetworkEvaluator.java282 int candidateNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in getCandidateConfiguration()
DWifiServiceImpl.java287 && networkId != WifiConfiguration.INVALID_NETWORK_ID) { in handleMessage()
2113 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in addOrUpdateNetwork()
2262 result.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getConnectionInfo()
3112 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) { in restoreNetworks()
DSupplicantStaIfaceHal.java314 return WifiConfiguration.INVALID_NETWORK_ID; in getCurrentNetworkId()
DWifiMetrics.java5054 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) return;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java364 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists()
397 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists()
548 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission()
553 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission()
575 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
605 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
754 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied()
776 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID()
1231 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, in testEnableNetworkFailedDueToPermissionDenied()
1274 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, in testDisableNetworkFailedDueToPermissionDenied()
[all …]
DSavedNetworkEvaluatorTest.java152 .thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
DWifiNetworkSelectorTest.java248 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo()
253 setupWifiConfigManager(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
DNetworkSuggestionEvaluatorTest.java389 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager()
DWifiConnectivityManagerTest.java300 wifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo()
DClientModeImplTest.java797 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in saveNetworkConfigFailsWithConfigAddFailure()
2149 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, wifiInfo.getNetworkId()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent()
DWifiServiceImplTest.java1337 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1355 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenOnSecurityException()
DSupplicantStaIfaceHalTest.java1173 eq(WLAN0_IFACE_NAME), eq(WifiConfiguration.INVALID_NETWORK_ID), in testStateChangeCallbackWithNoConfiguredNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java51 private int mNetworkId = WifiConfiguration.INVALID_NETWORK_ID;
77 if (mNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in build()
187 mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setSaved()
DAccessPoint.java228 private int networkId = WifiConfiguration.INVALID_NETWORK_ID;
858 networkId = WifiConfiguration.INVALID_NETWORK_ID; in clearConfig()
1242 (networkId != WifiConfiguration.INVALID_NETWORK_ID || in isActive()
1302 if (networkId != WifiConfiguration.INVALID_NETWORK_ID) { in isInfoForThisAccessPoint()
1518 networkId = config != null ? config.networkId : WifiConfiguration.INVALID_NETWORK_ID; in update()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java89 public static final int INVALID_NETWORK_ID = -1; field in WifiConfiguration
1761 networkId = INVALID_NETWORK_ID; in WifiConfiguration()
DWifiManager.java3703 getChannel().sendMessage(CONNECT_NETWORK, WifiConfiguration.INVALID_NETWORK_ID, in connect()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47147 Landroid/net/wifi/WifiConfiguration;->INVALID_NETWORK_ID:I