Home
last modified time | relevance | path

Searched refs:MigrationElement (Results 1 – 18 of 18) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/
DMigrationActivity.kt39 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
160 AlertDialogBuilder(context, MigrationElement.MIGRATION_PENDING_DIALOG_CONTAINER) in <lambda>()
166 MigrationElement.MIGRATION_PENDING_DIALOG_CANCEL_BUTTON, in <lambda>()
171 MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON, in <lambda>()
183 AlertDialogBuilder(context, MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in <lambda>()
189 MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON, in <lambda>()
222 AlertDialogBuilder(context, MigrationElement.MIGRATION_DONE_DIALOG_CONTAINER) in <lambda>()
228 MigrationElement.MIGRATION_DONE_DIALOG_BUTTON, in <lambda>()
DModuleUpdateRequiredFragment.kt34 import com.android.healthconnect.controller.utils.logging.MigrationElement
77 logger.logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in onViewCreated()
78 logger.logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in onViewCreated()
81 logger.logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in onViewCreated()
92 logger.logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in onViewCreated()
DAppUpdateRequiredFragment.kt35 import com.android.healthconnect.controller.utils.logging.MigrationElement
83 logger.logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in onViewCreated()
84 logger.logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in onViewCreated()
87 logger.logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in onViewCreated()
100 logger.logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in onViewCreated()
DMigrationPausedFragment.kt32 import com.android.healthconnect.controller.utils.logging.MigrationElement
61 logger.logImpression(MigrationElement.MIGRATION_PAUSED_CONTINUE_BUTTON) in onViewCreated()
63 logger.logInteraction(MigrationElement.MIGRATION_PAUSED_CONTINUE_BUTTON) in onViewCreated()
73 logger.logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in onViewCreated()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DAppUpdateRequiredFragmentTest.kt21 import com.android.healthconnect.controller.utils.logging.MigrationElement
85 .logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in appUpdateRequiredFragment_displaysCorrectly()
87 .logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in appUpdateRequiredFragment_displaysCorrectly()
105 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in appUpdateRequiredFragment_ifAppStoreExists_intentToAppStore()
122 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in appUpdateRequiredFragment_ifAppStoreDoesNotExist_doesNotNavigateToAppStore()
142 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in appUpdateRequiredFragment_whenCancelButtonPressed_setsSharedPreferences()
DModuleUpdateRequiredFragmentTest.kt17 import com.android.healthconnect.controller.utils.logging.MigrationElement
87 .logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in moduleUpdateRequiredFragment_displaysCorrectly()
89 .logImpression(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in moduleUpdateRequiredFragment_displaysCorrectly()
109 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in moduleUpdateRequiredFragment_whenCancelButtonPressed_setsSharedPreferences()
125 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in moduleUpdateRequiredFragment_whenUpdateButtonPressed_navigatesToSystemUpdate()
155 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_UPDATE_BUTTON) in moduleUpdateRequiredFragment_whenNavigateToSystemUpdateFails_displaysCorrectly()
DMigrationPausedFragmentTest.kt16 import com.android.healthconnect.controller.utils.logging.MigrationElement
74 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_PAUSED_CONTINUE_BUTTON) in migrationPausedFragment_displaysCorrectly()
94 .logInteraction(MigrationElement.MIGRATION_UPDATE_NEEDED_CANCEL_BUTTON) in migrationPausedFragment_whenCancelButtonPressed_setsSharedPreferences()
107 .logInteraction(MigrationElement.MIGRATION_PAUSED_CONTINUE_BUTTON) in migrationPausedFragment_whenResumeButtonPressed_navigatesToMigratorApk()
117 .logInteraction(MigrationElement.MIGRATION_PAUSED_CONTINUE_BUTTON) in migrationPausedFragment_whenNavigateToMigratorApkFails_displaysCorrectly()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DRouteRequestActivityTest.kt59 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
527 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in <lambda>()
529 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in <lambda>()
533 .logInteraction(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in <lambda>()
632 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTAINER) in <lambda>()
634 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in <lambda>()
636 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CANCEL_BUTTON) in <lambda>()
641 .logInteraction(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsFitnessAppFragmentTest.kt62 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
530 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTAINER) in <lambda>()
532 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in <lambda>()
534 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CANCEL_BUTTON) in <lambda>()
539 .logInteraction(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in <lambda>()
588 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in <lambda>()
590 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in <lambda>()
594 .logInteraction(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in <lambda>()
DSettingsMedicalAppFragmentTest.kt60 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
501 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTAINER) in <lambda>()
503 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in <lambda>()
505 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CANCEL_BUTTON) in <lambda>()
510 .logInteraction(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in <lambda>()
557 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in <lambda>()
559 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in <lambda>()
563 .logInteraction(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in <lambda>()
DSettingsCombinedPermissionsFragmentTest.kt59 import com.android.healthconnect.controller.utils.logging.MigrationElement
375 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTAINER) in whenMigrationPending_showsMigrationPendingDialog()
377 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in whenMigrationPending_showsMigrationPendingDialog()
379 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CANCEL_BUTTON) in whenMigrationPending_showsMigrationPendingDialog()
384 .logInteraction(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in whenMigrationPending_showsMigrationPendingDialog()
433 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in whenMigrationInProgress_showsMigrationInProgressDialog()
435 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in whenMigrationInProgress_showsMigrationInProgressDialog()
439 .logInteraction(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in whenMigrationInProgress_showsMigrationInProgressDialog()
DSettingsManagePermissionFragmentTest.kt53 import com.android.healthconnect.controller.utils.logging.MigrationElement
231 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in whenMigrationInProgress_showsMigrationInProgressDialog()
233 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in whenMigrationInProgress_showsMigrationInProgressDialog()
237 .logInteraction(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in whenMigrationInProgress_showsMigrationInProgressDialog()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DMockedPermissionsActivityTest.kt91 import com.android.healthconnect.controller.utils.logging.MigrationElement
678 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_CONTAINER) in whenMigrationInProgress_showsMigrationInProgressDialog()
680 .logImpression(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in whenMigrationInProgress_showsMigrationInProgressDialog()
684 .logInteraction(MigrationElement.MIGRATION_IN_PROGRESS_DIALOG_BUTTON) in whenMigrationInProgress_showsMigrationInProgressDialog()
817 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTAINER) in whenMigrationPending_showsMigrationPendingDialog()
819 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in whenMigrationPending_showsMigrationPendingDialog()
821 .logImpression(MigrationElement.MIGRATION_PENDING_DIALOG_CANCEL_BUTTON) in whenMigrationPending_showsMigrationPendingDialog()
826 .logInteraction(MigrationElement.MIGRATION_PENDING_DIALOG_CONTINUE_BUTTON) in whenMigrationPending_showsMigrationPendingDialog()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DConnectedAppsFragment.kt67 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
501 MigrationElement.MIGRATION_APP_UPDATE_BANNER, in <lambda>()
507 MigrationElement.MIGRATION_APP_UPDATE_BUTTON, in <lambda>()
515 MigrationElement.MIGRATION_APP_UPDATE_LEARN_MORE_BUTTON, in <lambda>()
536 MigrationElement.MIGRATION_APP_UPDATE_BANNER_DISMISS_BUTTON in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsFragmentTest.kt67 import com.android.healthconnect.controller.utils.logging.MigrationElement
581 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_APP_UPDATE_BANNER) in appNeedsUpdatingElements_shownWhenOldAppWithDataInstalled()
583 .logImpression(MigrationElement.MIGRATION_APP_UPDATE_LEARN_MORE_BUTTON) in appNeedsUpdatingElements_shownWhenOldAppWithDataInstalled()
584 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_APP_UPDATE_BUTTON) in appNeedsUpdatingElements_shownWhenOldAppWithDataInstalled()
615 .logInteraction(MigrationElement.MIGRATION_APP_UPDATE_LEARN_MORE_BUTTON) in appNeedsUpdateBanner_multipleOldApps_playStoreNotAvailable_showsCorrectly()
649 verify(healthConnectLogger).logInteraction(MigrationElement.MIGRATION_APP_UPDATE_BUTTON) in appNeedsUpdateBanner_navigatesToPlayStoreWhenAvailable()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt81 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
522 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_RESUME_BANNER) in <lambda>()
523 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_RESUME_BANNER_BUTTON) in <lambda>()
528 .logInteraction(MigrationElement.MIGRATION_RESUME_BANNER_BUTTON) in <lambda>()
656 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_DONE_DIALOG_CONTAINER) in <lambda>()
657 verify(healthConnectLogger).logImpression(MigrationElement.MIGRATION_DONE_DIALOG_BUTTON) in <lambda>()
660 verify(healthConnectLogger).logInteraction(MigrationElement.MIGRATION_DONE_DIALOG_BUTTON) in <lambda>()
710 .logImpression(MigrationElement.MIGRATION_NOT_COMPLETE_DIALOG_CONTAINER) in <lambda>()
712 .logImpression(MigrationElement.MIGRATION_NOT_COMPLETE_DIALOG_BUTTON) in <lambda>()
716 .logInteraction(MigrationElement.MIGRATION_NOT_COMPLETE_DIALOG_BUTTON) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt67 import com.android.healthconnect.controller.utils.logging.MigrationElement in <lambda>()
309 AlertDialogBuilder(this, MigrationElement.MIGRATION_NOT_COMPLETE_DIALOG_CONTAINER) in <lambda>()
315 MigrationElement.MIGRATION_NOT_COMPLETE_DIALOG_BUTTON, in <lambda>()
367 return HealthBannerPreference(requireContext(), MigrationElement.MIGRATION_RESUME_BANNER) in <lambda>()
371 logName = MigrationElement.MIGRATION_RESUME_BANNER_BUTTON, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/logging/
DHealthConnectLogger.kt1122 enum class MigrationElement(override val impressionId: Int, override val interactionId: Int) : class