Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/metrics/
DNetworkMetrics.java43 public final long transports; field in NetworkMetrics
55 public NetworkMetrics(int netId, long transports, TokenBucket tb) { in NetworkMetrics() argument
57 this.transports = transports; in NetworkMetrics()
59 new ConnectStats(netId, transports, tb, CONNECT_LATENCY_MAXIMUM_RECORDS); in NetworkMetrics()
60 this.dnsMetrics = new DnsEvent(netId, transports, INITIAL_DNS_BATCH_SIZE); in NetworkMetrics()
61 this.summary = new Summary(netId, transports); in NetworkMetrics()
80 pendingSummary = new Summary(netId, transports); in addDnsResult()
90 pendingSummary = new Summary(netId, transports); in addConnectResult()
102 pendingSummary = new Summary(netId, transports); in addTcpStatsResult()
113 public final long transports; field in NetworkMetrics.Summary
[all …]
DDnsEvent.java38 public final long transports; field in DnsEvent
53 public DnsEvent(int netId, long transports, int initialCapacity) { in DnsEvent() argument
55 this.transports = transports; in DnsEvent()
90 for (int t : BitUtils.unpackBits(transports)) { in toString()
DConnectStats.java38 public final long transports; field in ConnectStats
56 public ConnectStats(int netId, long transports, TokenBucket tb, int maxLatencyRecords) { in ConnectStats() argument
58 this.transports = transports; in ConnectStats()
124 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()
DDefaultNetworkEvent.java38 public int transports; field in DefaultNetworkEvent
66 for (int t : BitUtils.unpackBits(transports)) { in toString()
/frameworks/base/core/java/android/net/
DConnectivityMetricsEvent.java34 public long transports; field in ConnectivityMetricsEvent
47 transports = in.readLong(); in ConnectivityMetricsEvent()
73 dest.writeLong(transports); in writeToParcel()
89 for (int t : BitUtils.unpackBits(transports)) { in toString()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java85 final IpConnectivityEvent out = buildEvent(ev.netId, ev.transports, ev.ifname); in toProto()
101 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto()
114 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto()
149 final IpConnectivityEvent out = buildEvent(in.netId, in.transports, null); in toProto()
150 if (in.transports == 0) { in toProto()
158 private static IpConnectivityEvent buildEvent(int netId, long transports, String ifname) { in buildEvent() argument
161 ev.transports = transports; in buildEvent()
346 if (ev.transports != 0) { in inferLinkLayer()
347 linkLayer = transportsToLinkLayer(ev.transports); in inferLinkLayer()
358 private static int transportsToLinkLayer(long transports) { in transportsToLinkLayer() argument
[all …]
DDefaultNetworkMetrics.java138 if (ev.transports != 0) { in logCurrentDefaultNetwork()
139 mLastTransports = ev.transports; in logCurrentDefaultNetwork()
165 ev.transports |= BitUtils.packBits(nai.networkCapabilities.getTransportTypes()); in fillLinkInfo()
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.java1340 int[] transports = mNetworkAgentInfo.networkCapabilities.getTransportTypes(); in logNetworkEvent() local
1341 mMetricsLog.log(mNetId, transports, new NetworkEvent(evtype)); in logNetworkEvent()
1362 int[] transports = mNetworkAgentInfo.networkCapabilities.getTransportTypes(); in maybeLogEvaluationResult() local
1363 mMetricsLog.log(mNetId, transports, new NetworkEvent(evtype, mEvaluationTimer.stop())); in maybeLogEvaluationResult()
1369 int[] transports = mNetworkAgentInfo.networkCapabilities.getTransportTypes(); in logValidationProbe() local
1375 mMetricsLog.log(mNetId, transports, ev); in logValidationProbe()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DRunInitializeReceiver.java48 final String[] transports = in onReceive() local
59 mBackupManagerService, transports, null, listener); in onReceive()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java529 ArraySet<String> transports = new ArraySet<>(); in doInit() local
532 transports.add(transport); in doInit()
534 if (transports.size() == 0) { in doInit()
541 System.out.println("Initializing transports: " + transports); in doInit()
542 mBmgr.initializeTransports(transports.toArray(new String[transports.size()]), observer); in doInit()
591 String[] transports = mBmgr.listAllTransports(); in doListTransports() local
592 if (transports == null || transports.length == 0) { in doListTransports()
597 for (String t : transports) { in doListTransports()
/frameworks/base/services/robotests/src/com/android/server/backup/testing/
DTransportTestUtils.java55 ShadowPackageManager shadowPackageManager, TransportData... transports) in setUpTransportsForTransportManager() argument
57 for (TransportData transport : transports) { in setUpTransportsForTransportManager()
92 TransportManager transportManager, TransportData... transports) throws Exception { in setUpTransports() argument
93 return Stream.of(transports) in setUpTransports()
/frameworks/base/services/robotests/src/com/android/server/backup/
DTransportManagerTest.java590 private List<TransportMock> setUpTransports(TransportData... transports) throws Exception { in setUpTransports() argument
591 setUpTransportsForTransportManager(mShadowPackageManager, transports); in setUpTransports()
592 List<TransportMock> transportMocks = new ArrayList<>(transports.length); in setUpTransports()
593 for (TransportData transport : transports) { in setUpTransports()
615 @Nullable TransportData selectedTransport, TransportData... transports) { in createTransportManager() argument
617 concat(Stream.of(selectedTransport), Stream.of(transports)) in createTransportManager()
632 TransportManager transportManager, List<TransportData> transports) { in assertRegisteredTransports() argument
636 transports in assertRegisteredTransports()
643 transports.stream().map(t -> t.transportName).collect(toList())); in assertRegisteredTransports()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityEventBuilderTest.java93 ev.transports = 3; // transports have priority for inferrence of link layer in testLinkLayerInferrence()
111 ev.transports = 1; in testLinkLayerInferrence()
129 ev.transports = 0; in testLinkLayerInferrence()
203 ev.transports = 2; in testDefaultNetworkEventSerialization()
DIpConnectivityMetricsTest.java629 NetworkAgentInfo makeNai(int netId, int score, boolean ipv4, boolean ipv6, long transports) { in makeNai() argument
636 for (int t : BitUtils.unpackBits(transports)) { in makeNai()
/frameworks/native/cmds/lshal/
Dtest.cpp392 std::array<std::string, 6> transports{{"hwbinder", "hwbinder", "passthrough", in TEST_F() local
399 const auto& transport = transports[id - 1]; in TEST_F()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto47 repeated Transport transports = 1; field
/frameworks/base/proto/src/
Dipconnectivity.proto122 // Deprecated since version 3. Replaced by top-level transports field.
570 optional int64 transports = 18; field
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java3580 final String[] transports = listAllTransports(); in dumpInternal() local
3581 if (transports != null) { in dumpInternal()
3582 for (String t : transports) { in dumpInternal()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5938 int[] transports = nai.networkCapabilities.getTransportTypes(); in logNetworkEvent() local
5939 mMetricsLog.log(nai.network.netId, transports, new NetworkEvent(evtype)); in logNetworkEvent()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dmems.txt3342 old convict ships had been largely used as transports in the Black