Home
last modified time | relevance | path

Searched refs:sentPacketCount (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacketRepeater.java65 default void onSent(int index, @NonNull T info, int sentPacketCount) {} in onSent() argument
120 int sentPacketCount = 0; in handleMessage() local
123 sentPacketCount += mReplySender.sendNow(packet, destination); in handleMessage()
142 mCb.onSent(index, request, sentPacketCount); in handleMessage()
DMdnsRecordRepository.java216 public int sentPacketCount = NO_PACKET; field in MdnsRecordRepository.ServiceRegistration
233 repliedServiceCount, sentPacketCount, exiting, isProbing, ttl); in withSubtypes()
240 int repliedServiceCount, int sentPacketCount, boolean exiting, boolean isProbing, in ServiceRegistration() argument
383 this.sentPacketCount = sentPacketCount; in ServiceRegistration()
395 int repliedServiceCount, int sentPacketCount, @Nullable Duration ttl) { in ServiceRegistration() argument
396 this(deviceHostname, serviceInfo,repliedServiceCount, sentPacketCount, in ServiceRegistration()
618 return service.sentPacketCount; in getSentPacketCount()
687 registration.sentPacketCount++; in getReply()
1405 existing.repliedServiceCount, existing.sentPacketCount, existing.ttl); in renameServiceForConflict()
1413 public void onAdvertisementSent(int serviceId, int sentPacketCount) { in onAdvertisementSent() argument
[all …]
DMdnsAdvertiser.java532 int sentPacketCount = NO_PACKET; in getSentPacketCount() local
534 sentPacketCount += mAdvertisers.valueAt(i).getSentPacketCount(id); in getSentPacketCount()
536 return sentPacketCount; in getSentPacketCount()
802 public AdvertiserMetrics(int repliedRequestsCount, int sentPacketCount, in AdvertiserMetrics() argument
805 mSentPacketCount = sentPacketCount; in AdvertiserMetrics()
967 int sentPacketCount = NO_PACKET; in getAdvertiserMetrics() local
971 sentPacketCount += mAdvertiserRequests.valueAt(i).getSentPacketCount(id); in getAdvertiserMetrics()
973 return new AdvertiserMetrics(repliedRequestsCount, sentPacketCount, in getAdvertiserMetrics()
DMdnsInterfaceAdvertiser.java120 public void onSent(int index, @NonNull MdnsProber.ProbingInfo info, int sentPacketCount) { in onSent() argument
121 mRecordRepository.onProbingSent(info.getServiceId(), sentPacketCount); in onSent() local
155 public void onSent(int index, @NonNull BaseAnnouncementInfo info, int sentPacketCount) { in onSent() argument
156 mRecordRepository.onAdvertisementSent(info.getServiceId(), sentPacketCount); in onSent() local
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DNetworkNsdReportedMetricsTest.kt93 val sentPacketCount = 50 in testReportServiceUnregistration() constant
98 repliedRequestsCount, sentPacketCount, conflictDuringProbingCount, in testReportServiceUnregistration()
111 assertEquals(sentPacketCount, it.sentPacketCount) in testReportServiceUnregistration()
/packages/modules/Connectivity/service-t/src/com/android/metrics/
DNetworkNsdReportedMetrics.java142 int repliedRequestsCount, int sentPacketCount, int conflictDuringProbingCount, in reportServiceUnregistration() argument
149 builder.setSentPacketCount(sentPacketCount); in reportServiceUnregistration()