Home
last modified time | relevance | path

Searched refs:importStatusViewModel (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/backuprestore/
DBackupAndRestoreSettingsFragmentTest.kt74 val importStatusViewModel: ImportStatusViewModel = constant in com.android.healthconnect.controller.tests.backuprestore.BackupAndRestoreSettingsFragmentTest
86 whenever(importStatusViewModel.storedImportStatus).then { in setup()
227 whenever(importStatusViewModel.storedImportStatus).then { in backupAndRestoreSettingsFragment_whenImportErrorIsWrongFileError_showsImportErrorBanner()
250 whenever(importStatusViewModel.storedImportStatus).then { in backupAndRestoreSettingsFragment_whenImportErrorIsNotWrongFileError_doesNotShowImportErrorBanner()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/backuprestore/
DBackupAndRestoreSettingsFragment.kt63 private val importStatusViewModel: ImportStatusViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.backuprestore.BackupAndRestoreSettingsFragment
108 importStatusViewModel.storedImportStatus.observe(viewLifecycleOwner) { importUiStatus -> in <lambda>()