/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/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/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 177 private NetworkMetrics getMetricsForNetwork(long timeMs, int netId) { in getMetricsForNetwork() argument 178 NetworkMetrics metrics = mNetworkMetrics.get(netId); in getMetricsForNetwork() 179 final NetworkCapabilities nc = mCallback.getNetworkCapabilities(netId); in getMetricsForNetwork() 185 metrics = new NetworkMetrics(netId, transports, mConnectTb); in getMetricsForNetwork() 186 mNetworkMetrics.put(netId, metrics); in getMetricsForNetwork() 214 public synchronized void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument 217 getMetricsForNetwork(timestamp, netId).addDnsResult(eventType, returnCode, latencyMs); in onDnsEvent() 222 callback.onDnsEvent(netId, eventType, returnCode, hostname, ipAddresses, in onDnsEvent() 234 public synchronized void onNat64PrefixEvent(int netId, in onNat64PrefixEvent() argument 239 callback.onNat64PrefixEvent(netId, added, prefixString, prefixLength); in onNat64PrefixEvent() [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/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 | 146 void meterednessChanged(int netId, boolean newMetered) { in meterednessChanged() argument 150 getMeterednessChangedLog(netId, newMetered)); in meterednessChanged() 152 mEventsBuffer.meterednessChanged(netId, newMetered); in meterednessChanged() 279 void roamingChanged(int netId, boolean newRoaming) { in roamingChanged() argument 282 Slog.d(TAG, getRoamingChangedLog(netId, newRoaming)); in roamingChanged() 284 mEventsBuffer.roamingChanged(netId, newRoaming); in roamingChanged() 288 void interfacesChanged(int netId, ArraySet<String> newIfaces) { in interfacesChanged() argument 291 Slog.d(TAG, getInterfacesChangedLog(netId, newIfaces.toString())); in interfacesChanged() 293 mEventsBuffer.interfacesChanged(netId, newIfaces.toString()); in interfacesChanged() 329 private static String getMeterednessChangedLog(int netId, boolean newMetered) { in getMeterednessChangedLog() argument [all …]
|
D | NetworkPolicyManagerService.java | 1567 private boolean updateNetworkToIfacesNL(int netId, @NonNull ArraySet<String> newIfaces) { 1569 final ArraySet<String> lastIfaces = mNetworkToIfaces.get(netId); 1576 mNetworkToIfaces.remove(netId); 1578 mNetworkToIfaces.add(netId, iface);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/ |
D | MobileInputLogger.kt | 225 fun logPrioritizedNetworkAvailable(netId: Int) { in logPrioritizedNetworkAvailable() 229 { int1 = netId }, in logPrioritizedNetworkAvailable() 234 fun logPrioritizedNetworkLost(netId: Int) { in logPrioritizedNetworkLost() 238 { int1 = netId }, in logPrioritizedNetworkLost()
|
/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 | 377 int netId = wifiConfig.networkId; in disconnectAP() local 378 mWifiManager.forget(netId, new WifiManager.ActionListener() { in disconnectAP()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 162 private PreciseDataConnectionState(@TransportType int transportType, int id, int netId, in PreciseDataConnectionState() argument 169 mNetId = netId; in PreciseDataConnectionState()
|
/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/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 | 631 int netId = wifiConfig.networkId; in disconnectAP() local 632 mWifiManager.forget(netId, new WifiManager.ActionListener() { in disconnectAP()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionRepositoryImpl.kt | 444 logger.logPrioritizedNetworkAvailable(network.netId) in <lambda>() 449 logger.logPrioritizedNetworkLost(network.netId) in <lambda>()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/proto_logging/stats/ |
D | atoms.proto | 10126 // The DNS over TLS mode on a specific netId.
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 32457 Landroid/net/ConnectivityMetricsEvent;->netId:I 33022 Landroid/net/metrics/ConnectStats;->netId:I 33032 Landroid/net/metrics/DefaultNetworkEvent;->netId:I 33059 Landroid/net/metrics/DnsEvent;->netId:I 33132 Landroid/net/metrics/NetworkMetrics$Summary;->netId:I 33146 Landroid/net/metrics/NetworkMetrics;->netId:I
|