Searched refs:exportSettingsViewModel (Results 1 – 4 of 4) sorted by relevance
66 val exportSettingsViewModel: ExportSettingsViewModel = constant in com.android.healthconnect.controller.tests.backuprestore.BackupAndRestoreSettingsFragmentTest115 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragmentInit_showsFragmentCorrectly()134 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_withNoLastSuccessfulDate_doesNotShowLastExportTime()152 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_clicksScheduledExportWhenItIsOff_navigatesToExportSetupActivity()168 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_clicksScheduledExportWhenItIsOn_navigatesToScheduledExportFragment()184 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_whenExportFrequencyIsNever_showsCorrectSummary()194 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_whenExportFrequencyIsDaily_showsCorrectSummary()204 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_whenExportFrequencyIsWeekly_showsCorrectSummary()214 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_whenExportFrequencyIsMonthly_showsCorrectSummary()224 whenever(exportSettingsViewModel.storedExportSettings).then { in backupAndRestoreSettingsFragment_whenImportErrorIsWrongFileError_showsImportErrorBanner()[all …]
51 private val exportSettingsViewModel: ExportSettingsViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.exportimport.ScheduledExportFragment86 exportSettingsViewModel.storedExportSettings.observe(viewLifecycleOwner) { exportSettings -> in <lambda>()100 exportSettingsViewModel.updatePreviousExportFrequency(exportSettings.frequency) in <lambda>()107 exportSettingsViewModel::updateExportFrequency) in <lambda>()122 exportSettingsViewModel.previousExportFrequency.value?.let { previousExportFrequency in <lambda>()124 exportSettingsViewModel.updateExportFrequency(previousExportFrequency) in <lambda>()127 exportSettingsViewModel.updateExportFrequency( in <lambda>()
55 val exportSettingsViewModel: ExportSettingsViewModel = constant in com.android.healthconnect.controller.tests.exportimport.ExportFrequencyFragmentTest66 whenever(exportSettingsViewModel.selectedExportFrequency).then { in setup()120 verify(exportSettingsViewModel, times(2)) in exportFrequencyFragment_dailyButtonIsCheckedByDefault()130 verify(exportSettingsViewModel) in exportFrequencyFragment_checksWeeklyButton_updatesSelectedFrequency()140 verify(exportSettingsViewModel) in exportFrequencyFragment_checksMonthlyButton_updatesSelectedFrequency()146 whenever(exportSettingsViewModel.selectedExportFrequency).then { in exportFrequencyFragment_selectedFrequencyIsDaily_dailyButtonChecked()156 whenever(exportSettingsViewModel.selectedExportFrequency).then { in exportFrequencyFragment_selectedFrequencyIsWeekly_weeklyButtonChecked()166 whenever(exportSettingsViewModel.selectedExportFrequency).then { in exportFrequencyFragment_selectedFrequencyIsMonthly_monthlyButtonChecked()
61 private val exportSettingsViewModel: ExportSettingsViewModel by viewModels() in <lambda>() constant in com.android.healthconnect.controller.backuprestore.BackupAndRestoreSettingsFragment131 exportSettingsViewModel.storedExportSettings.observe(viewLifecycleOwner) { exportSettings -> in <lambda>()163 exportSettingsViewModel.loadExportSettings() in <lambda>()