Home
last modified time | relevance | path

Searched refs:transports (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
DDnsEvent.java36 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()
DConnectStats.java37 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()
DIpConnectivityLog.java121 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/
DConnectivityMetricsEvent.java33 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()
DNetworkCapabilities.java842 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/
DIpConnectivityEventBuilder.java83 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()
DNetdEventListenerService.java177 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()
DLingerMonitor.java136 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()
DNetworkMonitor.java1098 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/
DIpConnectivityEventBuilderTest.java79 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/
DBmgr.java512 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/
Dipconnectivity.proto368 optional int64 transports = 18; field
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5470 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/
DBackupManagerService.java11257 final String[] transports = listAllTransports(); in dumpInternal() local
11258 if (transports != null) { in dumpInternal()