Home
last modified time | relevance | path

Searched refs:metricsLogger (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DGenerateLinksLoggerTest.java72 MetricsLogger metricsLogger = mock(MetricsLogger.class); in testLogGenerateLinks() local
74 doNothing().when(metricsLogger).write(logMakerCapture.capture()); in testLogGenerateLinks()
77 GenerateLinksLogger logger = new GenerateLinksLogger(1 /* sampleRate */, metricsLogger); in testLogGenerateLinks()
/frameworks/base/core/java/android/view/textclassifier/
DGenerateLinksLogger.java61 public GenerateLinksLogger(int sampleRate, MetricsLogger metricsLogger) { in GenerateLinksLogger() argument
64 mMetricsLogger = metricsLogger; in GenerateLinksLogger()
DSelectionSessionLogger.java68 public SelectionSessionLogger(@NonNull MetricsLogger metricsLogger) { in SelectionSessionLogger() argument
69 mMetricsLogger = Preconditions.checkNotNull(metricsLogger); in SelectionSessionLogger()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java183 public BatterySavingStats(Object lock, MetricsLogger metricsLogger) { in BatterySavingStats() argument
186 mMetricsLogger = metricsLogger; in BatterySavingStats()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java137 GestureLauncherService(Context context, MetricsLogger metricsLogger) { in GestureLauncherService() argument
140 mMetricsLogger = metricsLogger; in GestureLauncherService()
DConnectivityService.java2244 metricsLogger().defaultNetworkMetrics().logDefaultNetworkValidity( in maybeHandleNetworkMonitorMessage()
2482 metricsLogger().defaultNetworkMetrics().logDefaultNetworkEvent(now, null, nai); in disconnectAndDestroyNetwork()
5350 metricsLogger().defaultNetworkMetrics().logDefaultNetworkEvent( in rematchNetworkAndRequests()
5932 protected IpConnectivityMetrics.Logger metricsLogger() { in metricsLogger() method in ConnectivityService
/frameworks/base/core/java/com/android/internal/app/
DResolverComparator.java425 MetricsLogger metricsLogger = new MetricsLogger(); in logMetrics() local
431 metricsLogger.write(log); in logMetrics()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java978 protected IpConnectivityMetrics.Logger metricsLogger() { in metricsLogger() method in ConnectivityServiceTest.WrappedConnectivityService