Searched refs:newNetwork (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 176 ScoredNetwork newNetwork; in shouldWriteAndReadFromParcelWhenAllFieldsSet() local 183 newNetwork = ScoredNetwork.CREATOR.createFromParcel(parcel); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 189 assertEquals(CURVE.start, newNetwork.rssiCurve.start); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 190 assertEquals(CURVE.bucketWidth, newNetwork.rssiCurve.bucketWidth); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 191 assertTrue(Arrays.equals(CURVE.rssiBuckets, newNetwork.rssiCurve.rssiBuckets)); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 192 assertTrue(newNetwork.meteredHint); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 193 assertNotNull(newNetwork.attributes); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 196 newNetwork.attributes.getInt(ScoredNetwork.ATTRIBUTES_KEY_RANKING_SCORE_OFFSET)); in shouldWriteAndReadFromParcelWhenAllFieldsSet() 202 ScoredNetwork newNetwork; in shouldWriteAndReadFromParcelWithoutBundle() local 209 newNetwork = ScoredNetwork.CREATOR.createFromParcel(parcel); in shouldWriteAndReadFromParcelWithoutBundle() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CarrierNetworkNotifierTest.java | 310 ScanResult newNetwork = new ScanResult(); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() local 311 newNetwork.SSID = TEST_SSID_2; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 314 mCarrierNetworks.add(new ScanDetail(newNetwork, null /* networkDetail */)); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 321 CARRIER_NET_NOTIFIER_TAG, newNetwork); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
|
D | OpenNetworkNotifierTest.java | 309 ScanResult newNetwork = new ScanResult(); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() local 310 newNetwork.SSID = TEST_SSID_2; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 313 mOpenNetworks.add(new ScanDetail(newNetwork, null /* networkDetail */)); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 320 OPEN_NET_NOTIFIER_TAG, newNetwork); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2378 private void updateDataActivityTracking(NetworkAgentInfo newNetwork, in updateDataActivityTracking() argument 2380 if (newNetwork != null) { in updateDataActivityTracking() 2381 setupDataActivityTracking(newNetwork); in updateDataActivityTracking() 6678 private void makeDefault(@Nullable final NetworkAgentInfo newNetwork) { in makeDefault() argument 6679 if (DBG) log("Switching to new default network: " + newNetwork); in makeDefault() 6681 mDefaultNetworkNai = newNetwork; in makeDefault() 6684 if (null != newNetwork) { in makeDefault() 6685 mNMS.setDefaultNetId(newNetwork.network.netId); in makeDefault() 6693 notifyLockdownVpn(newNetwork); in makeDefault() 6694 handleApplyDefaultProxy(null != newNetwork in makeDefault() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 1243 boolean newNetwork = (existingInternalConfig == null); in addOrUpdateNetworkInternal() 1246 newNetwork || WifiConfigurationUtil.hasIpChanged( in addOrUpdateNetworkInternal() 1249 newNetwork || WifiConfigurationUtil.hasProxyChanged( in addOrUpdateNetworkInternal() 1253 newNetwork || WifiConfigurationUtil.hasCredentialChanged( in addOrUpdateNetworkInternal() 1279 result.setIsNewNetwork(newNetwork); in addOrUpdateNetworkInternal()
|
D | SupplicantStaIfaceHal.java | 1194 Mutable<ISupplicantNetwork> newNetwork = new Mutable<>(); in addNetwork() 1199 newNetwork.value = network; in addNetwork() 1205 if (newNetwork.value != null) { in addNetwork() 1208 ISupplicantStaNetwork.asInterface(newNetwork.value.asBinder())); in addNetwork()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1980 TestNetworkAgentWrapper oldNetwork, newNetwork; in testMultipleLingering() local 1984 newNetwork = mCellNetworkAgent; in testMultipleLingering() 1988 newNetwork = mWiFiNetworkAgent; in testMultipleLingering() 1994 defaultCallback.expectAvailableCallbacksValidated(newNetwork); in testMultipleLingering() 1995 assertEquals(newNetwork.getNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()
|