Home
last modified time | relevance | path

Searched refs:ScheduledExportUiState (Results 1 – 13 of 13) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DLoadScheduledExportStatusUseCase.kt41 suspend fun execute(): ScheduledExportUiState { in <lambda>()
47 val dataExportError: ScheduledExportUiState.DataExportError = in <lambda>()
50 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_UNKNOWN in <lambda>()
52 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE in <lambda>()
54 ScheduledExportUiState.DataExportError.DATA_EXPORT_LOST_FILE_ACCESS in <lambda>()
56 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_UNKNOWN in <lambda>()
59 return ScheduledExportUiState( in <lambda>()
65 override suspend operator fun invoke(): ExportImportUseCaseResult<ScheduledExportUiState> = in <lambda>()
77 suspend fun invoke(): ExportImportUseCaseResult<ScheduledExportUiState>
DScheduledExportUiStatus.kt25 data class WithData(val scheduledExportUiState: ScheduledExportUiState) :
DScheduledExportUiState.kt24 data class ScheduledExportUiState( class
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/backuprestore/
DBackupAndRestoreSettingsFragmentTest.kt41 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState
97 ScheduledExportUiState( in setup()
99 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, in setup()
110 ScheduledExportUiState( in backupAndRestoreSettingsFragmentInit_showsFragmentCorrectly()
112 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, in backupAndRestoreSettingsFragmentInit_showsFragmentCorrectly()
140 ScheduledExportUiState( in backupAndRestoreSettingsFragment_withNoLastSuccessfulDate_doesNotShowLastExportTime()
142 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, in backupAndRestoreSettingsFragment_withNoLastSuccessfulDate_doesNotShowLastExportTime()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DExportStatusViewModelTest.kt20 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState
73 ScheduledExportUiState( in <lambda>()
75 ScheduledExportUiState.DataExportError.DATA_EXPORT_LOST_FILE_ACCESS, in <lambda>()
DLoadScheduledExportStatusUseCaseTest.kt25 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState
70 .isEqualTo(ScheduledExportUiState.DataExportError.DATA_EXPORT_LOST_FILE_ACCESS) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeComponents.kt49 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState
478 private var exportState: ScheduledExportUiState =
479 ScheduledExportUiState(
480 null, ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, 0)
484 ScheduledExportUiState( in reset()
485 null, ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, 0) in reset()
488 fun updateExportStatus(exportState: ScheduledExportUiState) { in updateExportStatus()
492 override suspend fun invoke(): ExportImportUseCaseResult<ScheduledExportUiState> { in invoke()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/
DHomeFragmentTest.kt38 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState in <lambda>()
149 ScheduledExportUiState( in <lambda>()
151 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, in <lambda>()
641 ScheduledExportUiState( in <lambda>()
643 ScheduledExportUiState.DataExportError.DATA_EXPORT_LOST_FILE_ACCESS, in <lambda>()
669 ScheduledExportUiState( in <lambda>()
671 ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_UNKNOWN, in <lambda>()
698 ScheduledExportUiState( in <lambda>()
700 ScheduledExportUiState.DataExportError.DATA_EXPORT_LOST_FILE_ACCESS, in <lambda>()
727 ScheduledExportUiState( in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/
DScheduledExportFragment.kt31 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState in <lambda>()
133 private fun maybeShowNextExportStatus(scheduledExportUiState: ScheduledExportUiState) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/
DMainActivityTest.kt17 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState
79 ScheduledExportUiState( in setup()
80 NOW, ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, 1))) in setup()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/
DTrampolineActivityTest.kt50 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState
133 ScheduledExportUiState( in setup()
134 NOW, ScheduledExportUiState.DataExportError.DATA_EXPORT_ERROR_NONE, 1))) in setup()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/backuprestore/
DBackupAndRestoreSettingsFragment.kt34 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState in <lambda>()
180 private fun maybeShowPreviousExportStatus(scheduledExportUiState: ScheduledExportUiState) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt32 import com.android.healthconnect.controller.exportimport.api.ScheduledExportUiState in <lambda>()
247 private fun maybeShowExportErrorBanner(scheduledExportUiState: ScheduledExportUiState) { in <lambda>()
249 ScheduledExportUiState.DataExportError.DATA_EXPORT_LOST_FILE_ACCESS -> { in <lambda>()