/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 | 323 private int mLastSelectedNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 814 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) { in getInternalConfiguredNetwork() 1218 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1232 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1238 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1255 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1266 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1274 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1300 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetworkInternal() 1339 return new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetwork() [all …]
|
D | ConnectionFailureNotifier.java | 77 WifiConfiguration.INVALID_NETWORK_ID); in ConnectionFailureNotifier()
|
D | ClientModeImpl.java | 371 private int mTargetNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 805 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in ClientModeImpl() 2642 mWifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in handleSupplicantStateChange() 2753 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID in handleNetworkDisconnect() 2754 && mTargetNetworkId != WifiConfiguration.INVALID_NETWORK_ID in handleNetworkDisconnect() 2784 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in handleNetworkDisconnect() 2963 int networkId = (configuration == null) ? WifiConfiguration.INVALID_NETWORK_ID in reportConnectionAttemptEnd() 3619 mLastNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 3695 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { 3706 if (mLastNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { [all …]
|
D | ScoredNetworkNominator.java | 296 int candidateNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in getCandidateConfiguration()
|
D | WifiNetworkSelector.java | 874 int selectedNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in selectNetwork() 887 ? WifiConfiguration.INVALID_NETWORK_ID in selectNetwork()
|
D | WifiServiceImpl.java | 2406 WifiConfiguration.INVALID_NETWORK_ID); in addOrUpdateNetwork() 2690 result.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getConnectionInfo() 3555 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) {
|
D | SupplicantStaIfaceHal.java | 318 return WifiConfiguration.INVALID_NETWORK_ID; in getCurrentNetworkId()
|
D | WifiMetrics.java | 6156 if (networkId == WifiConfiguration.INVALID_NETWORK_ID) return;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 415 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testAddSingleOpenNetworkWhenCorrespondingEphemeralNetworkExists() 448 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists() 677 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission() 682 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCannotUpdateMacRandomizationSettingWithoutPermission() 709 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission() 743 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, networkUpdateResult.getNetworkId()); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission() 953 assertTrue(result.getNetworkId() == WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied() 975 assertTrue(result.getNetworkId() != WifiConfiguration.INVALID_NETWORK_ID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID() 1459 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, in testEnableNetworkFailedDueToPermissionDenied() 1503 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, in testDisableNetworkFailedDueToPermissionDenied() [all …]
|
D | NetworkSuggestionNominatorTest.java | 19 import static android.net.wifi.WifiConfiguration.INVALID_NETWORK_ID; 438 .thenReturn(new NetworkUpdateResult(INVALID_NETWORK_ID)); in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager()
|
D | WifiNetworkSelectorTest.java | 301 when(mWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiInfo() 306 setupWifiConfigManager(WifiConfiguration.INVALID_NETWORK_ID); in setupWifiConfigManager()
|
D | ClientModeImplTest.java | 824 .thenReturn(new NetworkUpdateResult(WifiConfiguration.INVALID_NETWORK_ID)); in saveNetworkConfigFailsWithConfigAddFailure() 1531 mCmi.connect(config, WifiConfiguration.INVALID_NETWORK_ID, mock(Binder.class), in reconnectToConnectedNetworkWithConfig() 1585 mCmi.connect(config, WifiConfiguration.INVALID_NETWORK_ID, mock(Binder.class), in reconnectToConnectingNetworkWithCredentialChange() 2286 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, wifiInfo.getNetworkId()); in testWifiInfoUpdatedUponSupplicantStateChangedEvent() 4997 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, mCmi.getWifiInfo().getNetworkId()); in testWifiInfoOnConnectingNextNetwork()
|
D | SupplicantStaIfaceHalTest.java | 972 eq(WLAN0_IFACE_NAME), eq(WifiConfiguration.INVALID_NETWORK_ID), in testStateChangeCallbackWithNoConfiguredNetwork() 2744 eq(WLAN0_IFACE_NAME), eq(WifiConfiguration.INVALID_NETWORK_ID), in testonStateChangedV13CallbackWithNoConfiguredNetwork()
|
D | WifiConnectivityManagerTest.java | 386 wifiInfo.setNetworkId(WifiConfiguration.INVALID_NETWORK_ID); in getWifiInfo()
|
D | WifiServiceImplTest.java | 1634 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 1654 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenOnSecurityException()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 52 private int mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; 76 if (mNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in build() 184 mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setSaved()
|
D | AccessPoint.java | 241 private int networkId = WifiConfiguration.INVALID_NETWORK_ID; 877 networkId = WifiConfiguration.INVALID_NETWORK_ID; in clearConfig() 1249 (networkId != WifiConfiguration.INVALID_NETWORK_ID || in isActive() 1337 if (networkId != WifiConfiguration.INVALID_NETWORK_ID) { in isInfoForThisAccessPoint() 1556 networkId = config != null ? config.networkId : WifiConfiguration.INVALID_NETWORK_ID; in update()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | PasspointWifiEntryTest.java | 79 when(mMockWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setUp()
|
D | WifiPickerTrackerTest.java | 120 when(mMockWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setUp()
|
D | StandardWifiEntryTest.java | 109 when(mMockWifiInfo.getNetworkId()).thenReturn(WifiConfiguration.INVALID_NETWORK_ID); in setUp()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 94 public static final int INVALID_NETWORK_ID = -1; field in WifiConfiguration 2084 networkId = INVALID_NETWORK_ID; in WifiConfiguration()
|
D | WifiManager.java | 4185 connectInternal(config, WifiConfiguration.INVALID_NETWORK_ID, listener); in connect()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2048 verify(mWifiService).connect(configuration, WifiConfiguration.INVALID_NETWORK_ID, null, in testConnectWithoutListener()
|
/frameworks/base/wifi/api/ |
D | system-current.txt | 319 field @Deprecated public static final int INVALID_NETWORK_ID = -1; // 0xffffffff
|