Searched refs:newNetwork (Results 1 – 6 of 6) sorted by relevance
176 ScoredNetwork newNetwork; in shouldWriteAndReadFromParcelWhenAllFieldsSet() local183 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() local209 newNetwork = ScoredNetwork.CREATOR.createFromParcel(parcel); in shouldWriteAndReadFromParcelWithoutBundle()[all …]
312 ScanResult newNetwork = new ScanResult(); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() local313 newNetwork.SSID = TEST_SSID_2; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()316 mOpenNetworks.add(new ScanDetail(newNetwork, null /* networkDetail */)); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()323 OPEN_NET_NOTIFIER_TAG, newNetwork); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
1278 boolean newNetwork = (existingInternalConfig == null); in addOrUpdateNetworkInternal()1281 newNetwork || WifiConfigurationUtil.hasIpChanged( in addOrUpdateNetworkInternal()1284 newNetwork || WifiConfigurationUtil.hasProxyChanged( in addOrUpdateNetworkInternal()1288 newNetwork || WifiConfigurationUtil.hasCredentialChanged( in addOrUpdateNetworkInternal()1305 && (!newInternalConfig.isPasspoint() || newNetwork)) { in addOrUpdateNetworkInternal()1314 result.setIsNewNetwork(newNetwork); in addOrUpdateNetworkInternal()
1265 Mutable<ISupplicantNetwork> newNetwork = new Mutable<>(); in addNetwork()1270 newNetwork.value = network; in addNetwork()1276 if (newNetwork.value != null) { in addNetwork()1279 ISupplicantStaNetwork.asInterface(newNetwork.value.asBinder())); in addNetwork()
2386 private void updateDataActivityTracking(NetworkAgentInfo newNetwork, in updateDataActivityTracking() argument2388 if (newNetwork != null) { in updateDataActivityTracking()2389 setupDataActivityTracking(newNetwork); in updateDataActivityTracking()6693 private void makeDefault(@Nullable final NetworkAgentInfo newNetwork) { in makeDefault() argument6694 if (DBG) log("Switching to new default network: " + newNetwork); in makeDefault()6696 mDefaultNetworkNai = newNetwork; in makeDefault()6699 if (null != newNetwork) { in makeDefault()6700 mNMS.setDefaultNetId(newNetwork.network.netId); in makeDefault()6708 notifyLockdownVpn(newNetwork); in makeDefault()6709 handleApplyDefaultProxy(null != newNetwork in makeDefault()[all …]
1980 TestNetworkAgentWrapper oldNetwork, newNetwork; in testMultipleLingering() local1984 newNetwork = mCellNetworkAgent; in testMultipleLingering()1988 newNetwork = mWiFiNetworkAgent; in testMultipleLingering()1994 defaultCallback.expectAvailableCallbacksValidated(newNetwork); in testMultipleLingering()1995 assertEquals(newNetwork.getNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()