Home
last modified time | relevance | path

Searched refs:networkId (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/
DWifiNetworkModel.kt137 val networkId: Int, constant in com.android.systemui.statusbar.pipeline.wifi.shared.model.WifiNetworkModel.CarrierMerged
170 if (prevVal.networkId != networkId) { in logDiffs()
171 row.logChange(COL_NETWORK_ID, networkId) in logDiffs()
186 row.logChange(COL_NETWORK_ID, networkId) in logFull()
207 val networkId: Int, constant in com.android.systemui.statusbar.pipeline.wifi.shared.model.WifiNetworkModel.Active
250 if (prevVal.networkId != networkId) { in logDiffs()
251 row.logChange(COL_NETWORK_ID, networkId) in logDiffs()
284 row.logChange(COL_NETWORK_ID, networkId) in logFull()
312 return "WifiNetworkModel.Active(networkId=$networkId, isValidated=$isValidated, " + in toString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/
DWifiNetworkModelTest.kt97 networkId = 5, in <lambda>()
116 networkId = 6, in <lambda>()
136 networkId = 5, in <lambda>()
157 networkId = 5, in <lambda>()
178 networkId = 5, in <lambda>()
186 networkId = 5, in <lambda>()
205 networkId = 5, in <lambda>()
212 networkId = 6, in <lambda>()
232 networkId = 5, in <lambda>()
239 networkId = 5, in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DSavedNetworkTrackerTest.java320 config.networkId = 1; in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
372 openConfig.networkId = 1; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
375 oweConfig.networkId = 1; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
379 wepConfig.networkId = 2; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
382 pskConfig.networkId = 3; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
385 saeConfig.networkId = 3; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
388 eapConfig.networkId = 4; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
391 eapWpa3Config.networkId = 4; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
395 eapWpa3SuiteBConfig.networkId = 5; in testGetSavedNetworks_splitConfigs_entriesMergedBySecurityFamily()
442 oweConfig.networkId = 1; in testGetSavedNetworks_mismatchedScans_returnsCorrectEntries()
[all …]
DWifiPickerTrackerTest.java515 config.networkId = 1; in testGetWifiEntries_configuredNetworksChanged_savedToUnsaved()
579 config.networkId = 1; in testGetConnectedEntry_alreadyConnectedOnStart_returnsConnectedEntry()
600 config.networkId = 1; in testGetConnectedEntry_connectToNetwork_returnsConnectedEntry()
632 config.networkId = 1; in testGetConnectedEntry_networkL2Connected_returnsConnectedEntry()
674 config.networkId = 1; in testGetConnectedEntry_networkRequestL2Connected_returnsConnectedEntry()
720 config.networkId = 1; in testGetConnectedEntry_connectToNetworkWithoutConfigs_returnsConnectedEntry()
743 config.networkId = 1; in testGetConnectedEntry_disconnectFromNetwork_returnsNull()
772 config.networkId = 1; in testGetConnectedEntry_disconnectFromNetworkWhileStopped_returnsNull()
805 config.networkId = 1; in testCaptivePortal_activityStopsAndStartsBeforeConnection_captivePortalAutoOpens()
847 config.networkId = 1; in testGetConnectedEntry_wifiStateDisabled_returnsNull()
[all …]
DStandardWifiEntryTest.java354 config.networkId = 1; in testUpdateConfig_unsavedToSaved()
366 config.networkId = 1; in testUpdateConfig_savedToUnsaved()
386 config.networkId = 1; in testOnNetworkCapabilitiesChanged_matchingNetworkId_becomesConnected()
410 config.networkId = 1; in testOnNetworkLost_matchingNetwork_becomesDisconnected()
434 config.networkId = 1; in testOnNetworkCapabilitiesChanged_notPrimaryAnymore_becomesDisconnected()
460 config.networkId = 1; in testOnNetworkCapabilitiesChanged_nonPrimaryOem_becomesConnected()
499 config.networkId = 1; in testConnect_savedNetwork_usesSavedConfig()
517 config.networkId = 1; in testConnect_savedNetwork_usesSavedConfig_withOutSim()
570 config.networkId = 1; in testGetMacAddress_randomizationOn_usesRandomizedValue()
593 config.networkId = 1; in testGetMacAddress_randomizationOff_usesDeviceMac()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractorImplTest.kt96 WifiNetworkModel.CarrierMerged(networkId = 1, subscriptionId = 2, level = 1) in ssid_carrierMergedNetwork_outputsNull()
113 networkId = 1, in ssid_isPasspointAccessPoint_outputsPasspointName()
134 networkId = 1, in ssid_isOnlineSignUpForPasspoint_outputsPasspointName()
155 networkId = 1, in ssid_unknownSsid_outputsNull()
175 networkId = 1, in ssid_validSsid_outputsSsid()
237 networkId = 45, in wifiNetwork_matchesRepoWifiNetwork()
349 networkId = 1, in areNetworksAvailable_activeNetwork_resultsIncludeOtherNetworks()
370 networkId = 1, in areNetworksAvailable_activeNetwork_onlyResultIsTheActiveNetwork()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepositoryTest.kt107 wifiRepository.setWifiNetwork(WifiNetworkModel.Active(networkId = NET_ID, level = 1)) in activeWifi_isDefault()
127 networkId = NET_ID, in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork()
148 networkId = NET_ID, in activity_comesFromWifiActivity()
186 networkId = NET_ID, in carrierMergedWifi_wrongSubId_isDefault()
208 networkId = NET_ID, in carrierMergedButNotEnabled_isDefault()
229 networkId = NET_ID, in carrierMergedButWifiNotDefault_isDefault()
249 networkId = NET_ID, in numberOfLevels_comesFromCarrierMerged()
313 networkId = NET_ID, in networkName_updatesOnNetworkUpdate()
DFullMobileConnectionRepositoryTest.kt512 val networkId = 2 in connectionInfo_logging_carrierMerged_getsUpdates() constant
515 networkId, in connectionInfo_logging_carrierMerged_getsUpdates()
527 networkId, in connectionInfo_logging_carrierMerged_getsUpdates()
565 val networkId = 2 in connectionInfo_logging_updatesWhenCarrierMergedUpdates() constant
568 networkId, in connectionInfo_logging_updatesWhenCarrierMergedUpdates()
581 networkId, in connectionInfo_logging_updatesWhenCarrierMergedUpdates()
632 val networkId = 2 in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo() constant
635 networkId, in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo()
644 networkId, in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java323 wifiInfo.setNetworkId(configuration.networkId);
339 wifiInfo.setNetworkId(configuration.networkId);
372 wifiInfo.setNetworkId(configuration.networkId);
589 configuration.networkId = 123;
709 int networkId = 123;
712 config.networkId = networkId;
714 wifiInfo.setNetworkId(networkId);
723 .setNetworkId(networkId)
735 int networkId = 123;
738 config.networkId = networkId;
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { in testAddRemoveNetwork()
142 if (c.networkId == netId) { in testAddRemoveNetwork()
168 if (c.networkId == netId) { in testEnableDisableNetwork()
182 if (c.networkId == netId) { in testEnableDisableNetwork()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java78 wifiConfig.networkId = mNetworkId; in build()
226 public TestAccessPointBuilder setNetworkId(int networkId) { in setNetworkId() argument
227 mNetworkId = networkId; in setNetworkId()
DAccessPoint.java252 private int networkId = WifiConfiguration.INVALID_NETWORK_ID; field in AccessPoint
398 networkId = config.networkId; in AccessPoint()
427 networkId = config.networkId; in loadConfig()
508 result += 23 * networkId; in hashCode()
888 networkId = WifiConfiguration.INVALID_NETWORK_ID; in clearConfig()
1262 (networkId != WifiConfiguration.INVALID_NETWORK_ID || in isActive()
1350 if (networkId != WifiConfiguration.INVALID_NETWORK_ID) { in isInfoForThisAccessPoint()
1351 return networkId == info.getNetworkId(); in isInfoForThisAccessPoint()
1569 networkId = config != null ? config.networkId : WifiConfiguration.INVALID_NETWORK_ID; in update()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/dpp/
DWifiDppIntentHelper.java117 if (privilegedWifiConfiguration.networkId == wifiConfiguration.networkId) { in getPresharedKey()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaCellLocation.java163 int baseStationLongitude, int systemId, int networkId) { in setCellLocationData() argument
169 this.mNetworkId = networkId; in setCellLocationData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
DDemoWifiRepository.kt104 networkId = DEMO_NET_ID, in <lambda>()
119 networkId = DEMO_NET_ID, in <lambda>()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java372 final String networkId = getNextArg(); in setMeteredWifiNetwork() local
373 if (networkId == null) { in setMeteredWifiNetwork()
382 mInterface.setWifiMeteredOverride(NetworkPolicyManager.resolveNetworkId(networkId), in setMeteredWifiNetwork()
/frameworks/base/core/java/android/net/netstats/
DNetworkStatsDataMigrationUtils.java430 final String networkId; in readPlatformNetworkIdentitySet() local
432 networkId = readOptionalString(in); in readPlatformNetworkIdentitySet()
434 networkId = null; in readPlatformNetworkIdentitySet()
480 .setWifiNetworkKey(networkId) in readPlatformNetworkIdentitySet()
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl80 void setWifiMeteredOverride(String networkId, int meteredOverride); in setWifiMeteredOverride() argument
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardWifiEntry.java360 mWifiManager.connect(mTargetWifiConfig.networkId, new ConnectActionListener()); in connect()
422 mWifiManager.forget(mTargetWifiConfig.networkId, new ForgetActionListener()); in forget()
598 mWifiManager.allowAutojoin(mTargetWifiConfig.networkId, enabled); in setAutoJoinEnabled()
770 if (config.networkId == mTargetWifiConfig.networkId) { in refreshTargetWifiConfig()
854 if (config.networkId == wifiInfo.getNetworkId()) { in connectionInfoMatches()
DWifiPickerTracker.java1134 mPasspointWifiConfigCache.put(config.networkId, config); in updateWifiConfigurations()
1155 .map(config -> config.networkId) in updateWifiConfigurations()
1238 if (!configs.isEmpty() && configs.get(0).networkId == wifiInfo.getNetworkId()) { in conditionallyCreateConnectedNetworkRequestEntry()
1273 .map(config -> config.networkId) in conditionallyCreateConnectedStandardWifiEntry()
1274 .filter(networkId -> networkId == connectedNetId) in conditionallyCreateConnectedStandardWifiEntry()
1304 if (configs.isEmpty() || configs.get(0).networkId != connectedNetId) { in conditionallyCreateConnectedSuggestedWifiEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt152 networkId = 1, in wifiDefaultAndActive()
182 networkId = 1, in wifiDefaultAndActive_hotspotNone()
390 networkId = 1, in setWifiNetworkWithHotspot()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java376 logv("remove wifi configuration: " + wifiConfig.networkId); in disconnectAP()
377 int netId = wifiConfig.networkId; in disconnectAP()
/frameworks/base/core/java/android/app/admin/
DPreferentialNetworkServiceConfig.java119 int[] excludedUids, @PreferentialNetworkPreferenceId int networkId) { in PreferentialNetworkServiceConfig() argument
125 mNetworkId = networkId; in PreferentialNetworkServiceConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt262 networkId = NETWORK_ID, in <lambda>()
287 networkId = NETWORK_ID, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt188 networkId = 1, in <lambda>()
224 networkId = 1, in <lambda>()
549 networkId = 1, in <lambda>()

12