Searched refs:mMetricsLoggerWrapper (Results 1 – 5 of 5) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | ProvisioningAnalyticsTracker.java | 61 private final MetricsLoggerWrapper mMetricsLoggerWrapper = new MetricsLoggerWrapper(); field in ProvisioningAnalyticsTracker 134 mMetricsLoggerWrapper.logAction(context, PROVISIONING_COPY_ACCOUNT_STATUS, status); in logCopyAccountStatus() 148 mMetricsLoggerWrapper.logAction(context, PROVISIONING_CANCELLED, cancelState); in logProvisioningCancelled() 164 mMetricsLoggerWrapper.logAction(context, PROVISIONING_ERROR, in logProvisioningError() 179 mMetricsLoggerWrapper.logAction(context, PROVISIONING_ERROR, provisioningErrorCode); in logProvisioningNotAllowed() 192 mMetricsLoggerWrapper.logAction(context, PROVISIONING_SESSION_STARTED); in logProvisioningSessionStarted() 204 mMetricsLoggerWrapper.logAction(context, PROVISIONING_SESSION_COMPLETED); in logProvisioningSessionCompleted() 217 mMetricsLoggerWrapper.logAction(context, PROVISIONING_TERMS_COUNT, count); in logNumberOfTermsDisplayed() 230 mMetricsLoggerWrapper.logAction(context, PROVISIONING_TERMS_READ, count); in logNumberOfTermsRead() 272 mMetricsLoggerWrapper.logAction(context, PROVISIONING_ACTION, provisioningAction); in logProvisioningAction() [all …]
|
D | NetworkTypeLogger.java | 39 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()
|
D | TimeLogger.java | 45 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/ |
D | TimeLoggerTest.java | 48 @Mock private MetricsLoggerWrapper mMetricsLoggerWrapper; field in TimeLoggerTest 60 mTimeLogger = new TimeLogger(mContext, CATEGORY, mMetricsLoggerWrapper, mAnalyticsUtils, in setUp() 77 verify(mMetricsLoggerWrapper).logAction(mContext, CATEGORY, in testTimeLogger_withStartTime() 94 verify(mMetricsLoggerWrapper).logAction(mContext, CATEGORY, in testTimeLogger_withStartTime_stopsTwice() 100 verifyNoMoreInteractions(mMetricsLoggerWrapper); in testTimeLogger_withStartTime_stopsTwice() 109 verifyZeroInteractions(mMetricsLoggerWrapper); in testTimeLogger_withoutStartTime()
|
D | NetworkTypeLoggerTest.java | 50 @Mock private MetricsLoggerWrapper mMetricsLoggerWrapper; field in NetworkTypeLoggerTest 65 mContext, mUtils, mMetricsLoggerWrapper, mMetricsWriter, mSharedPreferences); in setUp() 75 verify(mMetricsLoggerWrapper).logAction(mContext, PROVISIONING_NETWORK_TYPE, in test_NullNetworkInfo() 88 verify(mMetricsLoggerWrapper).logAction(mContext, PROVISIONING_NETWORK_TYPE, in test_NetworkNotConnected() 100 verify(mMetricsLoggerWrapper).logAction(mContext, PROVISIONING_NETWORK_TYPE, TYPE_WIFI); in test_NetworkTypeWifi()
|