/frameworks/base/core/java/android/net/metrics/ |
D | DnsEvent.java | 36 public final long transports; field in DnsEvent 49 public DnsEvent(int netId, long transports, int initialCapacity) { in DnsEvent() argument 51 this.transports = transports; in DnsEvent() 80 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | ConnectStats.java | 37 public final long transports; field in ConnectStats 53 public ConnectStats(int netId, long transports, TokenBucket tb, int maxLatencyRecords) { in ConnectStats() argument 55 this.transports = transports; in ConnectStats() 117 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | IpConnectivityLog.java | 121 public boolean log(int netid, int[] transports, Parcelable data) { in log() argument 124 ev.transports = BitUtils.packBits(transports); in log()
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 33 public long transports; field in ConnectivityMetricsEvent 46 transports = in.readLong(); in ConnectivityMetricsEvent() 72 dest.writeLong(transports); in writeToParcel() 88 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
D | NetworkCapabilities.java | 842 String transports = (types.length > 0) ? " Transports: " + transportNamesOf(types) : ""; in toString() local 881 return "[" + transports + capabilities + upBand + dnBand + specifier + signalStrength + "]"; in toString() 891 StringBuilder transports = new StringBuilder(); in transportNamesOf() local 893 transports.append("|").append(transportNameOf(t)); in transportNamesOf() 895 return transports.substring(1); in transportNamesOf()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilder.java | 83 final IpConnectivityEvent out = buildEvent(ev.netId, ev.transports, ev.ifname); in toProto() 99 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto() 112 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto() 117 private static IpConnectivityEvent buildEvent(int netId, long transports, String ifname) { in buildEvent() argument 120 ev.transports = transports; in buildEvent() 327 if (ev.transports != 0) { in inferLinkLayer() 328 linkLayer = transportsToLinkLayer(ev.transports); in inferLinkLayer() 339 private static int transportsToLinkLayer(long transports) { in transportsToLinkLayer() argument 340 switch (Long.bitCount(transports)) { in transportsToLinkLayer() 344 int t = Long.numberOfTrailingZeros(transports); in transportsToLinkLayer()
|
D | NetdEventListenerService.java | 177 long transports = getTransports(netId); in makeConnectStats() local 178 return new ConnectStats(netId, transports, mConnectTb, CONNECT_LATENCY_MAXIMUM_RECORDS); in makeConnectStats() 182 long transports = getTransports(netId); in makeDnsEvent() local 183 return new DnsEvent(netId, transports, INITIAL_DNS_BATCH_SIZE); in makeDnsEvent()
|
D | LingerMonitor.java | 136 String[] transports = notifySwitch.split("-", 2); in isNotificationEnabled() local 137 if (transports.length != 2) { in isNotificationEnabled() 141 int fromTransport = TRANSPORT_NAMES.get("TRANSPORT_" + transports[0]); in isNotificationEnabled() 142 int toTransport = TRANSPORT_NAMES.get("TRANSPORT_" + transports[1]); in isNotificationEnabled()
|
D | NetworkMonitor.java | 1098 int[] transports = mNetworkAgentInfo.networkCapabilities.getTransportTypes(); in logValidationProbe() local 1104 mMetricsLog.log(mNetId, transports, ev); in logValidationProbe()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilderTest.java | 79 ev.transports = 3; // transports have priority for inferrence of link layer in testLinkLayerInferrence() 97 ev.transports = 1; in testLinkLayerInferrence() 115 ev.transports = 0; in testLinkLayerInferrence()
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 512 String[] transports = mBmgr.listAllTransports(); in doListTransports() local 513 if (transports == null || transports.length == 0) { in doListTransports() 518 for (String t : transports) { in doListTransports()
|
/frameworks/base/proto/src/ |
D | ipconnectivity.proto | 368 optional int64 transports = 18; field
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 5470 int[] transports = new int[0]; in logDefaultNetworkEvent() local 5476 transports = newNai.networkCapabilities.getTransportTypes(); in logDefaultNetworkEvent() 5485 mMetricsLog.log(new DefaultNetworkEvent(newNetid, transports, prevNetid, hadIPv4, hadIPv6)); in logDefaultNetworkEvent()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 11257 final String[] transports = listAllTransports(); in dumpInternal() local 11258 if (transports != null) { in dumpInternal()
|