/frameworks/base/core/java/android/net/metrics/ |
D | NetworkMetrics.java | 39 public final int netId; field in NetworkMetrics 53 public NetworkMetrics(int netId, long transports, TokenBucket tb) { in NetworkMetrics() argument 54 this.netId = netId; in NetworkMetrics() 57 new ConnectStats(netId, transports, tb, CONNECT_LATENCY_MAXIMUM_RECORDS); in NetworkMetrics() 58 this.dnsMetrics = new DnsEvent(netId, transports, INITIAL_DNS_BATCH_SIZE); in NetworkMetrics() 59 this.summary = new Summary(netId, transports); in NetworkMetrics() 78 pendingSummary = new Summary(netId, transports); in addDnsResult() 88 pendingSummary = new Summary(netId, transports); in addConnectResult() 100 pendingSummary = new Summary(netId, transports); in addTcpStatsResult() 110 public final int netId; field in NetworkMetrics.Summary [all …]
|
D | DnsEvent.java | 31 public final int netId; field in DnsEvent 50 public DnsEvent(int netId, long transports, int initialCapacity) { in DnsEvent() argument 51 this.netId = netId; in DnsEvent() 86 new StringBuilder("DnsEvent(").append("netId=").append(netId) in toString()
|
D | ConnectStats.java | 36 public final int netId; field in ConnectStats 56 public ConnectStats(int netId, long transports, TokenBucket tb, int maxLatencyRecords) { in ConnectStats() argument 57 this.netId = netId; in ConnectStats() 123 new StringBuilder("ConnectStats(").append("netId=").append(netId) in toString()
|
D | DefaultNetworkEvent.java | 31 public int netId = 0; field in DefaultNetworkEvent 60 j.add("netId=" + netId); in toString()
|
D | IpConnectivityLog.java | 157 ev.netId = netid; in log()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 121 int netId = mWifiManager.addNetwork(config); in testAddRemoveNetwork() local 122 assertTrue(netId != -1); in testAddRemoveNetwork() 128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { in testAddRemoveNetwork() 135 boolean ret = mWifiManager.removeNetwork(netId); in testAddRemoveNetwork() 142 if (c.networkId == netId) { in testAddRemoveNetwork() 158 int netId = mWifiManager.addNetwork(config); in testEnableDisableNetwork() local 159 assertTrue(netId != -1); in testEnableDisableNetwork() 162 boolean ret = mWifiManager.enableNetwork(netId, true); in testEnableDisableNetwork() 168 if (c.networkId == netId) { in testEnableDisableNetwork() 176 ret = mWifiManager.disableNetwork(netId); in testEnableDisableNetwork() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 173 private NetworkMetrics getMetricsForNetwork(long timeMs, int netId) { in getMetricsForNetwork() argument 175 NetworkMetrics metrics = mNetworkMetrics.get(netId); in getMetricsForNetwork() 178 metrics = new NetworkMetrics(netId, getTransports(netId), mConnectTb); in getMetricsForNetwork() 179 mNetworkMetrics.put(netId, metrics); in getMetricsForNetwork() 207 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument 211 getMetricsForNetwork(timestamp, netId).addDnsResult(eventType, returnCode, latencyMs); in onDnsEvent() 215 callback.onDnsEvent(netId, eventType, returnCode, hostname, ipAddresses, in onDnsEvent() 224 public synchronized void onNat64PrefixEvent(int netId, in onNat64PrefixEvent() argument 229 callback.onNat64PrefixEvent(netId, added, prefixString, prefixLength); in onNat64PrefixEvent() 237 public synchronized void onPrivateDnsValidationEvent(int netId, in onPrivateDnsValidationEvent() argument [all …]
|
D | IpConnectivityEventBuilder.java | 84 final IpConnectivityEvent out = buildEvent(ev.netId, ev.transports, ev.ifname); in toProto() 100 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto() 113 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto() 148 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto() 157 private static IpConnectivityEvent buildEvent(int netId, long transports, String ifname) { in buildEvent() argument 159 ev.networkId = netId; in buildEvent()
|
D | DefaultNetworkMetrics.java | 180 ev.netId = network.getNetId(); in fillLinkInfo()
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 36 public int netId; field in ConnectivityMetricsEvent 48 netId = in.readInt(); in ConnectivityMetricsEvent() 74 dest.writeInt(netId); in writeToParcel() 83 if (netId != 0) { in toString() 84 buffer.append(", ").append("netId=").append(netId); in toString()
|
D | INetdEventCallback.aidl | 44 void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent() argument 58 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent() argument 70 void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname, in onPrivateDnsValidationEvent() argument
|
/frameworks/base/core/java/com/android/server/net/ |
D | BaseNetdEventCallback.java | 29 public void onDnsEvent(int netId, int eventType, int returnCode, String hostname, in onDnsEvent() argument 35 public void onNat64PrefixEvent(int netId, boolean added, String prefixString, in onNat64PrefixEvent() argument 41 public void onPrivateDnsValidationEvent(int netId, String ipAddress, in onPrivateDnsValidationEvent() argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 131 void meterednessChanged(int netId, boolean newMetered) { in meterednessChanged() argument 135 getMeterednessChangedLog(netId, newMetered)); in meterednessChanged() 137 mEventsBuffer.meterednessChanged(netId, newMetered); in meterednessChanged() 301 private static String getMeterednessChangedLog(int netId, boolean newMetered) { in getMeterednessChangedLog() argument 302 return "Meteredness of netId=" + netId + " changed to " + newMetered; in getMeterednessChangedLog() 428 public void meterednessChanged(int netId, boolean newMetered) { in meterednessChanged() argument 434 data.ifield1 = netId; in meterednessChanged()
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 110 void addRoute(int netId, in RouteInfo route); in addRoute() argument 115 void removeRoute(int netId, in RouteInfo route); in removeRoute() argument
|
/frameworks/base/core/proto/android/net/ |
D | network.proto | 28 // The netId is an implementation detail which might be changed in the
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 376 int netId = wifiConfig.networkId; in disconnectAP() local 377 mWifiManager.forget(netId, new WifiManager.ActionListener() { in disconnectAP()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 779 final int netId = mNextTunnelNetId; in reserveNetId() local 783 if (!mTunnelNetIds.get(netId)) { in reserveNetId() 784 mTunnelNetIds.put(netId, true); in reserveNetId() 785 return netId; in reserveNetId() 793 void releaseNetId(int netId) { in releaseNetId() argument 795 mTunnelNetIds.delete(netId); in releaseNetId()
|
D | NetworkManagementService.java | 832 public void addRoute(int netId, RouteInfo route) { in addRoute() argument 834 RouteUtils.modifyRoute(mNetdService, ModifyOperation.ADD, netId, route); in addRoute() 838 public void removeRoute(int netId, RouteInfo route) { in removeRoute() argument 840 RouteUtils.modifyRoute(mNetdService, ModifyOperation.REMOVE, netId, route); in removeRoute() 1749 private void modifyInterfaceInNetwork(boolean add, int netId, String iface) { in modifyInterfaceInNetwork() argument 1753 mNetdService.networkAddInterface(netId, iface); in modifyInterfaceInNetwork() 1755 mNetdService.networkRemoveInterface(netId, iface); in modifyInterfaceInNetwork()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLogger.java | 61 public void onDnsEvent(int netId, int eventType, int returnCode, String hostname,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 138 private void checkDuplicateInterface(int netId, @Nullable String interfaceName) { in checkDuplicateInterface() argument 152 sInterfaceNames.put(netId, interfaceName); in checkDuplicateInterface()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | NetworkWatchlistService.java | 145 public void onDnsEvent(int netId, int eventType, int returnCode, String hostname,
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 630 int netId = wifiConfig.networkId; in disconnectAP() local 631 mWifiManager.forget(netId, new WifiManager.ActionListener() { in disconnectAP()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 8154 // The DNS over TLS mode on a specific netId.
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 35335 Landroid/net/ConnectivityMetricsEvent;->netId:I 36223 Landroid/net/metrics/ConnectStats;->netId:I 36233 Landroid/net/metrics/DefaultNetworkEvent;->netId:I 36260 Landroid/net/metrics/DnsEvent;->netId:I 36333 Landroid/net/metrics/NetworkMetrics$Summary;->netId:I 36347 Landroid/net/metrics/NetworkMetrics;->netId:I
|