Home
last modified time | relevance | path

Searched refs:latencyMs (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/staticlibs/netd/binder/android/net/metrics/
DINetdEventListener.aidl51 void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() argument
76 void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() argument
/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/
DBaseNetdEventListener.java28 int latencyMs, String hostname, String[] ipAddresses, in onDnsEvent() argument
36 public void onConnectEvent(int netId, int error, int latencyMs, in onConnectEvent() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_event_listener_interface/1/android/net/metrics/
DINetdEventListener.aidl20 …oneway void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, @utf8InCpp String … in onDnsEvent() argument
22 oneway void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_event_listener_interface/2/android/net/metrics/
DINetdEventListener.aidl37 …oneway void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, @utf8InCpp String … in onDnsEvent() argument
39 oneway void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_event_listener_interface/current/android/net/metrics/
DINetdEventListener.aidl21 …oneway void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, @utf8InCpp String … in onDnsEvent() argument
23 oneway void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() argument
/packages/modules/NetworkStack/src/com/android/networkstack/util/
DDnsUtils.java159 final long latencyMs, @Nullable final DnsLogFunc logger, int type, in logDnsResult() argument
170 logger.log(String.format("%dms OK %s", latencyMs, builder.substring(1))); in logDnsResult()
172 logger.log(String.format("%dms FAIL in type %s %s", latencyMs, dnsTypeToStr(type), in logDnsResult()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DAdServicesLoggerImpl.java92 public void logFledgeApiCallStats(int apiName, int resultCode, int latencyMs) { in logFledgeApiCallStats() argument
93 mStatsdAdServicesLogger.logFledgeApiCallStats(apiName, resultCode, latencyMs); in logFledgeApiCallStats()
98 int apiName, String appPackageName, int resultCode, int latencyMs) { in logFledgeApiCallStats() argument
100 apiName, appPackageName, resultCode, latencyMs); in logFledgeApiCallStats()
DAdServicesLogger.java48 void logFledgeApiCallStats(int apiName, String appPackageName, int resultCode, int latencyMs); in logFledgeApiCallStats() argument
51 void logFledgeApiCallStats(int apiName, int resultCode, int latencyMs); in logFledgeApiCallStats() argument
DNoOpLoggerImpl.java45 int apiName, String appPackageName, int resultCode, int latencyMs) {} in logFledgeApiCallStats() argument
48 public void logFledgeApiCallStats(int apiName, int resultCode, int latencyMs) {} in logFledgeApiCallStats() argument
DStatsdAdServicesLogger.java179 int apiName, String appPackageName, int resultCode, int latencyMs) { in logFledgeApiCallStats() argument
188 latencyMs, in logFledgeApiCallStats()
191 logFledgeApiCallStats(apiName, resultCode, latencyMs); in logFledgeApiCallStats()
196 public void logFledgeApiCallStats(int apiName, int resultCode, int latencyMs) { in logFledgeApiCallStats() argument
203 latencyMs, in logFledgeApiCallStats()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DStatsdAdServicesLoggerTest.java469 int latencyMs = 10; in testlogFledgeApiCallStats() local
472 mLogger.logFledgeApiCallStats(apiName, resultCode, latencyMs); in testlogFledgeApiCallStats()
483 eq(latencyMs), in testlogFledgeApiCallStats()
509 int latencyMs = 10; in testlogFledgeApiCallStatsWithAppPackageNameLogging_enabled() local
512 mLogger.logFledgeApiCallStats(apiName, appPackageName, resultCode, latencyMs); in testlogFledgeApiCallStatsWithAppPackageNameLogging_enabled()
523 eq(latencyMs), in testlogFledgeApiCallStatsWithAppPackageNameLogging_enabled()
549 int latencyMs = 10; in testlogFledgeApiCallStatsWithAppPackageNameLogging_nullAppPackageName() local
552 mLogger.logFledgeApiCallStats(apiName, appPackageName, resultCode, latencyMs); in testlogFledgeApiCallStatsWithAppPackageNameLogging_nullAppPackageName()
563 eq(latencyMs), in testlogFledgeApiCallStatsWithAppPackageNameLogging_nullAppPackageName()
589 int latencyMs = 10; in testlogFledgeApiCallStatsWithAppPackageNameLogging_disabled() local
[all …]
DAdServicesLoggerImplTest.java170 int latencyMs = 10; in testLogFledgeApiCallStats() local
172 AD_SERVICES_API_CALLED__API_NAME__SELECT_ADS, STATUS_SUCCESS, latencyMs); in testLogFledgeApiCallStats()
175 AD_SERVICES_API_CALLED__API_NAME__SELECT_ADS, STATUS_SUCCESS, latencyMs); in testLogFledgeApiCallStats()
184 int latencyMs = 10; in testLogFledgeApiCallStatsWithAppPackageNameLogging() local
193 mAdservicesLogger.logFledgeApiCallStats(apiName, appPackageName, resultCode, latencyMs); in testLogFledgeApiCallStatsWithAppPackageNameLogging()
197 .logFledgeApiCallStats(apiName, appPackageName, resultCode, latencyMs); in testLogFledgeApiCallStatsWithAppPackageNameLogging()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java595 void connectEvent(int netId, int error, int latencyMs, String ipAddr) throws Exception { in connectEvent() argument
597 mNetdListener.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1); in connectEvent()
DNetdEventListenerServiceTest.java498 Thread connectEventAction(int netId, int error, int latencyMs, String ipAddr) { in connectEventAction() argument
502 mService.onConnectEvent(netId, error, latencyMs, ipAddr, 80, 1); in connectEventAction()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbMetrics.java642 int latencyMs = (int) (mUwbInjector.getElapsedSinceBootMillis() in writeFirstValidRangingResultSinceStart() local
645 profileType, latencyMs, latencyMs / 200); in writeFirstValidRangingResultSinceStart()
/packages/modules/DnsResolver/
DDnsProxyListener.cpp354 const int latencyMs = latencyUs / 1000; local
356 it->onDnsEvent(netContext.dns_netid, eventType, returnCode, latencyMs, query_name, ip_addrs,