Searched refs:AnalyticsUtils (Results 1 – 7 of 7) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | ProvisioningAnalyticsTracker.java | 117 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logProvisioningCancelled() 130 AnalyticsUtils.getErrorString(task, errorCode)); in logProvisioningError() 133 .setStrings(AnalyticsUtils.getErrorString(task, errorCode)) in logProvisioningError() 134 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logProvisioningError() 148 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logProvisioningNotAllowed() 160 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logProvisioningSessionStarted() 172 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logProvisioningSessionCompleted() 186 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logNumberOfTermsDisplayed() 200 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logNumberOfTermsRead() 211 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in logProvisioningPrepareStarted() [all …]
|
D | TimeLogger.java | 29 import static com.android.managedprovisioning.analytics.AnalyticsUtils.CATEGORY_VIEW_UNKNOWN; 46 private final AnalyticsUtils mAnalyticsUtils; 63 this(context, category, new MetricsLoggerWrapper(), new AnalyticsUtils(), in TimeLogger() 74 AnalyticsUtils analyticsUtils, in TimeLogger() 102 AnalyticsUtils.getDevicePolicyEventForCategory(mCategory); in stop()
|
D | NetworkTypeLogger.java | 75 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in log() 82 .setTimePeriod(AnalyticsUtils.getProvisioningTime(mSharedPreferences))); in log()
|
D | AnalyticsUtils.java | 54 public class AnalyticsUtils { class 58 public AnalyticsUtils() {} in AnalyticsUtils() method in AnalyticsUtils
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/ |
D | AnalyticsUtilsTest.java | 72 assertNull(AnalyticsUtils.getInstallerPackageName(mockContext, INVALID_PACKAGE_NAME)); in testGetInstallerPackageName_invalidPackage() 81 AnalyticsUtils.getInstallerPackageName(mockContext, VALID_PACKAGE_NAME)); in testGetInstallerPackageName_validPackage() 86 List<String> provisioningExtras = AnalyticsUtils.getAllProvisioningExtras(null); in testGetAllProvisioningExtras_NullIntent() 95 List<String> provisioningExtras = AnalyticsUtils.getAllProvisioningExtras(intent); in testGetAllProvisioningExtras_ProvisioningResume() 104 List<String> provisioningExtras = AnalyticsUtils.getAllProvisioningExtras(intent); in testGetAllProvisioningExtras_NullBundleExtras() 116 List<String> provisioningExtras = AnalyticsUtils.getAllProvisioningExtras(intent); in testGetAllProvisioningExtras() 128 assertThat(AnalyticsUtils.getProvisioningTime(mockPrefs, () -> 20L)).isEqualTo(15L); in testGetProvisioningTime_shouldReturnDiff() 136 assertThat(AnalyticsUtils.getProvisioningTime(mockPrefs, () -> 20L)).isEqualTo(-1); in testGetProvisioningTime_shouldReturnZero()
|
D | TimeLoggerTest.java | 50 @Mock private AnalyticsUtils mAnalyticsUtils;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AbstractProvisioningTask.java | 25 import com.android.managedprovisioning.analytics.AnalyticsUtils; 71 new AnalyticsUtils(), in AbstractProvisioningTask()
|