Home
last modified time | relevance | path

Searched refs:mMetricsLoggerWrapper (Results 1 – 5 of 5) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DProvisioningAnalyticsTracker.java63 private final MetricsLoggerWrapper mMetricsLoggerWrapper = new MetricsLoggerWrapper(); field in ProvisioningAnalyticsTracker
113 mMetricsLoggerWrapper.logAction(context, PROVISIONING_CANCELLED, cancelState); in logProvisioningCancelled()
129 mMetricsLoggerWrapper.logAction(context, PROVISIONING_ERROR, in logProvisioningError()
144 mMetricsLoggerWrapper.logAction(context, PROVISIONING_ERROR, provisioningErrorCode); in logProvisioningNotAllowed()
157 mMetricsLoggerWrapper.logAction(context, PROVISIONING_SESSION_STARTED); in logProvisioningSessionStarted()
169 mMetricsLoggerWrapper.logAction(context, PROVISIONING_SESSION_COMPLETED); in logProvisioningSessionCompleted()
182 mMetricsLoggerWrapper.logAction(context, PROVISIONING_TERMS_COUNT, count); in logNumberOfTermsDisplayed()
196 mMetricsLoggerWrapper.logAction(context, PROVISIONING_TERMS_READ, count); in logNumberOfTermsRead()
238 mMetricsLoggerWrapper.logAction(context, PROVISIONING_ACTION, provisioningAction); in logProvisioningAction()
263 mMetricsLoggerWrapper.logAction(context, PROVISIONING_DPC_SETUP_STARTED); in logDpcSetupStarted()
[all …]
DNetworkTypeLogger.java39 private final MetricsLoggerWrapper mMetricsLoggerWrapper; field in NetworkTypeLogger
59 mMetricsLoggerWrapper = checkNotNull(metricsLoggerWrapper); in NetworkTypeLogger()
71 mMetricsLoggerWrapper.logAction(mContext, PROVISIONING_NETWORK_TYPE, networkType); in log()
77 mMetricsLoggerWrapper.logAction(mContext, PROVISIONING_NETWORK_TYPE, in log()
DTimeLogger.java45 private final MetricsLoggerWrapper mMetricsLoggerWrapper; field in TimeLogger
78 mMetricsLoggerWrapper = checkNotNull(metricsLoggerWrapper); in TimeLogger()
100 mMetricsLoggerWrapper.logAction(mContext, mCategory, time); in stop()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DTimeLoggerTest.java49 @Mock private MetricsLoggerWrapper mMetricsLoggerWrapper; field in TimeLoggerTest
61 mTimeLogger = new TimeLogger(mContext, CATEGORY, mMetricsLoggerWrapper, mAnalyticsUtils, in setUp()
78 verify(mMetricsLoggerWrapper).logAction(mContext, CATEGORY, in testTimeLogger_withStartTime()
95 verify(mMetricsLoggerWrapper).logAction(mContext, CATEGORY, in testTimeLogger_withStartTime_stopsTwice()
101 verifyNoMoreInteractions(mMetricsLoggerWrapper); in testTimeLogger_withStartTime_stopsTwice()
110 verifyZeroInteractions(mMetricsLoggerWrapper); in testTimeLogger_withoutStartTime()
DNetworkTypeLoggerTest.java49 @Mock private MetricsLoggerWrapper mMetricsLoggerWrapper; field in NetworkTypeLoggerTest
64 mContext, mUtils, mMetricsLoggerWrapper, mMetricsWriter, mSharedPreferences); in setUp()
74 verify(mMetricsLoggerWrapper).logAction(mContext, PROVISIONING_NETWORK_TYPE, in test_NullNetworkInfo()
87 verify(mMetricsLoggerWrapper).logAction(mContext, PROVISIONING_NETWORK_TYPE, in test_NetworkNotConnected()
99 verify(mMetricsLoggerWrapper).logAction(mContext, PROVISIONING_NETWORK_TYPE, TYPE_WIFI); in test_NetworkTypeWifi()