/frameworks/base/core/java/android/net/metrics/ |
D | NetworkMetrics.java | 43 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 …]
|
D | DnsEvent.java | 38 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()
|
D | IpConnectivityLog.java | 139 public boolean log(@NonNull Network network, @NonNull int[] transports, @NonNull Event data) { in log() argument 140 return log(network.netId, transports, data); in log() 151 public boolean log(int netid, @NonNull int[] transports, @NonNull Event data) { in log() argument 154 ev.transports = BitUtils.packBits(transports); in log()
|
D | ConnectStats.java | 38 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()
|
D | DefaultNetworkEvent.java | 38 public int transports; field in DefaultNetworkEvent 66 for (int t : BitUtils.unpackBits(transports)) { in toString()
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 34 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/core/java/android/net/util/ |
D | KeepaliveUtils.java | 104 final int[] transports = nc.getTransportTypes(); in getSupportedKeepalivesForNetworkCapabilities() local 105 if (transports.length == 0) return 0; in getSupportedKeepalivesForNetworkCapabilities() 106 int supportedCount = supportedKeepalives[transports[0]]; in getSupportedKeepalivesForNetworkCapabilities() 108 for (final int transport : transports) { in getSupportedKeepalivesForNetworkCapabilities()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilder.java | 85 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 …]
|
D | DefaultNetworkMetrics.java | 138 if (ev.transports != 0) { in logCurrentDefaultNetwork() 139 mLastTransports = ev.transports; in logCurrentDefaultNetwork() 165 ev.transports |= BitUtils.packBits(nai.networkCapabilities.getTransportTypes()); in fillLinkInfo()
|
D | LingerMonitor.java | 140 String[] transports = notifySwitch.split("-", 2); in isNotificationEnabled() local 141 if (transports.length != 2) { in isNotificationEnabled() 145 int fromTransport = TRANSPORT_NAMES.get("TRANSPORT_" + transports[0]); in isNotificationEnabled() 146 int toTransport = TRANSPORT_NAMES.get("TRANSPORT_" + transports[1]); in isNotificationEnabled()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 138 private ConnectivityMetricsEvent makeExpectedEvent(long timestamp, int netId, long transports, in makeExpectedEvent() argument 144 ev.transports = transports; in makeExpectedEvent() 155 assertEquals(expected.transports, got.transports); in assertEventsEqual()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | TransportManagerTest.java | 658 private List<TransportMock> setUpTransports(TransportData... transports) throws Exception { in setUpTransports() argument 659 setUpTransportsForTransportManager(mShadowPackageManager, transports); in setUpTransports() 660 List<TransportMock> transportMocks = new ArrayList<>(transports.length); in setUpTransports() 661 for (TransportData transport : transports) { in setUpTransports() 684 @Nullable TransportData selectedTransport, TransportData... transports) in createTransportManagerWithRegisteredTransports() argument 686 Set<TransportData> transportSet = merge(selectedTransport, transports); in createTransportManagerWithRegisteredTransports() 693 TransportManager transportManager = createTransportManager(selectedTransport, transports); in createTransportManagerWithRegisteredTransports() 699 @Nullable TransportData selectedTransport, TransportData... transports) { in createTransportManager() argument 704 merge(selectedTransport, transports) in createTransportManager() 715 @Nullable TransportData selectedTransport, TransportData... transports) { in merge() argument [all …]
|
D | BackupManagerServiceTest.java | 382 String[] transports = {TEST_TRANSPORT}; in testInitializeTransports_onRegisteredUser_callsMethodForUser() local 384 backupManagerService.initializeTransports(mUserOneId, transports, /* observer */ null); in testInitializeTransports_onRegisteredUser_callsMethodForUser() 386 verify(mUserOneService).initializeTransports(transports, /* observer */ null); in testInitializeTransports_onRegisteredUser_callsMethodForUser() 395 String[] transports = {TEST_TRANSPORT}; in testInitializeTransports_onUnknownUser_doesNotPropagateCall() local 397 backupManagerService.initializeTransports(mUserTwoId, transports, /* observer */ null); in testInitializeTransports_onUnknownUser_doesNotPropagateCall() 399 verify(mUserOneService, never()).initializeTransports(transports, /* observer */ null); in testInitializeTransports_onUnknownUser_doesNotPropagateCall()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | RunInitializeReceiver.java | 55 String[] transports = pendingInits.toArray(new String[pendingInits.size()]); in onReceive() local 67 transports, in onReceive()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TransportTestUtils.java | 57 ShadowPackageManager shadowPackageManager, TransportData... transports) in setUpTransportsForTransportManager() argument 59 for (TransportData transport : transports) { in setUpTransportsForTransportManager() 108 TransportManager transportManager, TransportData... transports) throws Exception { in setUpTransports() argument 109 return Stream.of(transports) in setUpTransports()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilderTest.java | 85 ev.transports = 3; // transports have priority for inferrence of link layer in testLinkLayerInferrence() 103 ev.transports = 1; in testLinkLayerInferrence() 121 ev.transports = 0; in testLinkLayerInferrence() 195 ev.transports = 2; in testDefaultNetworkEventSerialization()
|
D | IpConnectivityMetricsTest.java | 585 NetworkAgentInfo makeNai(int netId, int score, boolean ipv4, boolean ipv6, long transports) { in makeNai() argument 592 for (int t : BitUtils.unpackBits(transports)) { in makeNai()
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 617 ArraySet<String> transports = new ArraySet<>(); in doInit() local 620 transports.add(transport); in doInit() 622 if (transports.size() == 0) { in doInit() 629 System.out.println("Initializing transports: " + transports); in doInit() 631 userId, transports.toArray(new String[transports.size()]), observer); in doInit() 678 String[] transports = mBmgr.listAllTransportsForUser(userId); in doListTransports() local 679 if (transports == null || transports.length == 0) { in doListTransports() 684 for (String t : transports) { in doListTransports()
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 47 repeated Transport transports = 1; field
|
/frameworks/base/proto/src/ |
D | ipconnectivity.proto | 122 // 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/ |
D | UserBackupManagerService.java | 3601 final String[] transports = listAllTransports(); in dumpInternal() local 3602 if (transports != null) { in dumpInternal() 3603 for (String t : transports) { in dumpInternal()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 7605 int[] transports = nai.networkCapabilities.getTransportTypes(); in logNetworkEvent() local 7606 mMetricsLog.log(nai.network.netId, transports, new NetworkEvent(evtype)); in logNetworkEvent()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 42747 Landroid/net/ConnectivityMetricsEvent;->transports:J 43986 Landroid/net/metrics/ConnectStats;->transports:J 43997 Landroid/net/metrics/DefaultNetworkEvent;->transports:I 44027 Landroid/net/metrics/DnsEvent;->transports:J 44099 Landroid/net/metrics/NetworkMetrics$Summary;->transports:J 44112 Landroid/net/metrics/NetworkMetrics;->transports:J
|