Searched refs:newNetwork (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/net/metrics/ |
D | DefaultNetworkEvent.java | 76 String newNetwork = String.valueOf(netId); in toString() local 81 newNetwork += ":" + NetworkCapabilities.transportNamesOf(transportTypes); in toString() 83 return String.format("DefaultNetworkEvent(%s -> %s)", prevNetwork, newNetwork); in toString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 4822 private void makeDefault(NetworkAgentInfo newNetwork) { in makeDefault() argument 4823 if (DBG) log("Switching to new default network: " + newNetwork); in makeDefault() 4824 setupDataActivityTracking(newNetwork); in makeDefault() 4826 mNetd.setDefaultNetId(newNetwork.network.netId); in makeDefault() 4830 notifyLockdownVpn(newNetwork); in makeDefault() 4831 handleApplyDefaultProxy(newNetwork.linkProperties.getHttpProxy()); in makeDefault() 4832 updateTcpBufferSizes(newNetwork); in makeDefault() 4833 setDefaultDnsSystemProperties(newNetwork.linkProperties.getDnsServers()); in makeDefault() 4888 private void rematchNetworkAndRequests(NetworkAgentInfo newNetwork, in rematchNetworkAndRequests() argument 4890 if (!newNetwork.everConnected) return; in rematchNetworkAndRequests() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 804 boolean newNetwork = (config.networkId == INVALID_NETWORK_ID); in saveNetwork() 1969 boolean newNetwork = false; in addOrUpdateNetworkNative() 1984 newNetwork = true; in addOrUpdateNetworkNative() 2051 new Credential(config.enterpriseConfig, mKeyStore, !newNetwork); in addOrUpdateNetworkNative() 2075 if (newNetwork) { in addOrUpdateNetworkNative() 2089 if (newNetwork) { in addOrUpdateNetworkNative() 2126 if (!newNetwork && config.preSharedKey != null && !config.preSharedKey.equals("*")) { in addOrUpdateNetworkNative() 2130 if (newNetwork || passwordChanged || wasCredentialChange(originalConfig, currentConfig)) { in addOrUpdateNetworkNative() 2145 writeIpAndProxyConfigurationsOnChange(currentConfig, config, newNetwork); in addOrUpdateNetworkNative() 2146 result.setIsNewNetwork(newNetwork); in addOrUpdateNetworkNative()
|
D | WifiConfigStore.java | 822 boolean newNetwork = false; in addOrUpdateNetwork() 829 newNetwork = true; in addOrUpdateNetwork() 841 if (newNetwork) { in addOrUpdateNetwork()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | ConnectivityServiceTest.java | 1311 MockNetworkAgent oldNetwork, newNetwork; in testMultipleLingering() local 1315 newNetwork = mCellNetworkAgent; in testMultipleLingering() 1319 newNetwork = mWiFiNetworkAgent; in testMultipleLingering() 1325 defaultCallback.expectCallback(CallbackState.AVAILABLE, newNetwork); in testMultipleLingering() 1326 assertEquals(newNetwork.getNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()
|