/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | LingerMonitor.java | 120 if (mNotifications.valueAt(i) == toNai.network.getNetId()) { in getNotificationSource() 128 return mEverNotified.get(nai.network.getNetId(), false); in everNotified() 158 mNotifier.showNotification(fromNai.network.getNetId(), NotificationType.NETWORK_SWITCH, in showNotification() 212 mNotifications.put(fromNai.network.getNetId(), toNai.network.getNetId()); in notify() 213 mEverNotified.put(fromNai.network.getNetId(), true); in notify() 299 mNotifications.delete(nai.network.getNetId()); in noteDisconnect() 300 mEverNotified.delete(nai.network.getNetId()); in noteDisconnect()
|
D | Nat464Xlat.java | 203 addrStr = mClatCoordinator.clatStart(baseIface, getNetId(), mNat64PrefixInUse); in enterStartingState() 318 mDnsResolver.startPrefix64Discovery(getNetId()); in startPrefixDiscovery() 320 Log.e(TAG, "Error starting prefix discovery on netId " + getNetId() + ": " + e); in startPrefixDiscovery() 327 mDnsResolver.stopPrefix64Discovery(getNetId()); in stopPrefixDiscovery() 329 Log.e(TAG, "Error stopping prefix discovery on netId " + getNetId() + ": " + e); in stopPrefixDiscovery() 344 mDnsResolver.setPrefix64(getNetId(), prefixString); in setPrefix64() 346 Log.e(TAG, "Error setting NAT64 prefix on netId " + getNetId() + " to " in setPrefix64() 643 protected int getNetId() { in getNetId() method in Nat464Xlat 644 return mNetwork.network.getNetId(); in getNetId()
|
D | DnsManager.java | 280 mPrivateDnsMap.remove(network.getNetId()); in removeNetwork() 281 mPrivateDnsValidationMap.remove(network.getNetId()); in removeNetwork() 282 mNetworkCapabilitiesMap.remove(network.getNetId()); in removeNetwork() 283 mLinkPropertiesMap.remove(network.getNetId()); in removeNetwork() 289 return mPrivateDnsMap.getOrDefault(network.getNetId(), PRIVATE_DNS_OFF); in getPrivateDnsConfig() 295 ? mPrivateDnsMap.put(network.getNetId(), cfg) in updatePrivateDns() 296 : mPrivateDnsMap.remove(network.getNetId()); in updatePrivateDns()
|
D | NetworkAgentInfo.java | 1435 "NETWORK_LINGER_COMPLETE." + network.getNetId() /* cmdName */, 1648 return "[" + network.getNetId() + " "
|
D | KeepaliveStatsTracker.java | 214 final int netId = network.getNetId(); in getKeepaliveId()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreReportTest.java | 248 when(mNetwork.getNetId()).thenReturn(0); in setUp() 459 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in testExternalScorerWhileLingering_sendLingeringScore() 1064 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); 1076 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in testClientStartOnRegWhileActive() 1095 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in testClientGetSessionIdOnStop() 1135 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in testFrameworkGetsUpdatesScore() 1200 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in testFrameworkTriggersUpdateOfWifiUsabilityStats() 1241 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in askForNudCheckWhenExternalScoreBreaches() 1278 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in bssidBlockListDoesnotHappenWhenExitingIsLessThanMinDuration() 1308 when(mNetwork.getNetId()).thenReturn(TEST_NETWORK_ID); in bssidBlockListHappensWhenExitingIsLongerThanMinDuration() [all …]
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | NetworkShimImpl.java | 53 public int getNetId() { in getNetId() method in NetworkShimImpl 54 return mNetwork.getNetId(); in getNetId()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 223 if (def != null && def.getNetId() != netId) { in bindToNetwork() 387 ni.mNetId = n.getNetId(); in getNetworkItem() 413 ni.mRequested = (mNetworkCallbacks.get(n.getNetId()) != null); in getNetworkItem() 438 mNetworks.put(networks[i].getNetId(), networks[i]); in refreshNetworks() 592 return net1 != null && net2 != null && net1.getNetId() == net2.getNetId(); in sameNetworkId()
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | NetworkShim.java | 33 int getNetId() throws UnsupportedApiLevelException; in getNetId() method
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkTest.java | 166 assertEquals(1234, new Network(1234).getNetId()); in testGetNetId() 167 assertEquals(2345, new Network(2345, true).getNetId()); in testGetNetId()
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | NetworkShimImpl.java | 54 public int getNetId() throws UnsupportedApiLevelException { in getNetId() method in NetworkShimImpl
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 358 return mNetwork.getNetId(); in acquireNetwork() 396 return mNetwork.getNetId(); in acquireNetwork()
|
D | MmsRequest.java | 153 mNetworkIdToApn.put(connectionState.getNetId(), apnSetting); in onPreciseDataConnectionStateChanged()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeNetworkCallbackBase.java | 83 + mCurrNetwork.getNetId()); in isCurrentAddressLost()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 2275 return getNetworkAgentInfoForNetId(network.getNetId()); 2387 "%s %d(%d) on netId %d: %s", action, nri.mAsUid, requestId, net.getNetId(), 3302 netId = nai.network.getNetId(); 4238 pw.println(defaultNai.network.getNetId()); 4524 Arrays.sort(networks, Comparator.comparingInt(nai -> nai.network.getNetId())); 4897 mNotifier.clearNotification(nai.network.getNetId(), 4899 mNotifier.clearNotification(nai.network.getNetId(), 4901 mNotifier.clearNotification(nai.network.getNetId(), 4903 mNotifier.clearNotification(nai.network.getNetId(), 4999 mNetId = nai.network.getNetId(); [all …]
|
D | TestNetworkService.java | 243 mTestNetworkTracker.remove(getNetwork().getNetId()); in teardown() 366 mTestNetworkTracker.put(agent.getNetwork().getNetId(), agent); in setupTestNetwork()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkUtils.java | 85 return netHandle == 0L ? NETID_UNSET : Network.fromNetworkHandle(netHandle).getNetId(); in getBoundNetworkForProcess()
|
D | Network.java | 179 public int getNetId() { in getNetId() method in Network
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 237 final int netId = NetworkShimImpl.newInstance(mNetwork).getNetId(); in getNetworkMarkMask()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | Nat464XlatTest.java | 107 @Override protected int getNetId() { in makeNat464Xlat()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1586 new NativeUidRangeConfig(mMockVpn.getNetwork().getNetId(), in registerAgent() 1589 mMockVpn.getNetwork().getNetId() == config.netId in registerAgent() 3973 agent.getNetwork().getNetId(), INetd.PERMISSION_NONE)); 3991 verify(mMockNetd, never()).networkDestroy(network.getNetId()); 4003 verify(mMockNetd).networkDestroy(agent.getNetwork().getNetId()); 11235 int netId = network.getNetId(); 13498 new NativeUidRangeConfig(mMockVpn.getNetwork().getNetId(), 13502 new NativeUidRangeConfig(mMockVpn.getNetwork().getNetId(), 15021 mService.mNoServiceNetwork.network.getNetId(), 1 /* times */, 15038 mService.mNoServiceNetwork.network.getNetId(), 1 /* times */, [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 723 netId = network.getNetId(); in getCurrentNetId()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | IpSecService.java | 1754 (c.getNetwork() != null) ? c.getNetwork().getNetId() : 0, in createOrUpdateTransform()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 228 method public int getNetId();
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 1896 final int netId = (network != null) ? network.getNetId() : NETID_UNSET; in setDnsForwarders()
|