/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 | 364 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 …]
|
D | ConnectionFailureNotifier.java | 80 WifiConfiguration.INVALID_NETWORK_ID); in ConnectionFailureNotifier()
|
D | WifiNetworkSelector.java | 810 ? WifiConfiguration.INVALID_NETWORK_ID in selectNetwork() 827 ? WifiConfiguration.INVALID_NETWORK_ID in selectNetwork() 887 if (lastUserSelectedNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in calculateLastSelectionWeight()
|
D | ClientModeImpl.java | 352 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 …]
|
D | SavedNetworkEvaluator.java | 134 if (lastUserSelectedNetworkId != WifiConfiguration.INVALID_NETWORK_ID in calculateBssidScore()
|
D | ScoredNetworkEvaluator.java | 282 int candidateNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in getCandidateConfiguration()
|
D | WifiServiceImpl.java | 287 && 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()
|
D | SupplicantStaIfaceHal.java | 314 return WifiConfiguration.INVALID_NETWORK_ID; in getCurrentNetworkId()
|
D | WifiMetrics.java | 5054 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) return;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 364 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 …]
|
D | SavedNetworkEvaluatorTest.java | 152 .thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
|
D | WifiNetworkSelectorTest.java | 248 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo() 253 setupWifiConfigManager(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
|
D | NetworkSuggestionEvaluatorTest.java | 389 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager()
|
D | WifiConnectivityManagerTest.java | 300 wifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo()
|
D | ClientModeImplTest.java | 797 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in saveNetworkConfigFailsWithConfigAddFailure() 2149 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, wifiInfo.getNetworkId()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent()
|
D | WifiServiceImplTest.java | 1337 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 1355 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenOnSecurityException()
|
D | SupplicantStaIfaceHalTest.java | 1173 eq(WLAN0_IFACE_NAME), eq(WifiConfiguration.INVALID_NETWORK_ID), in testStateChangeCallbackWithNoConfiguredNetwork()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 51 private int mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 77 if (mNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in build() 187 mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setSaved()
|
D | AccessPoint.java | 228 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/ |
D | WifiConfiguration.java | 89 public static final int INVALID_NETWORK_ID = -1; field in WifiConfiguration 1761 networkId = INVALID_NETWORK_ID; in WifiConfiguration()
|
D | WifiManager.java | 3703 getChannel().sendMessage(CONNECT_NETWORK, WifiConfiguration.INVALID_NETWORK_ID, in connect()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47147 Landroid/net/wifi/WifiConfiguration;->INVALID_NETWORK_ID:I
|