Home
last modified time | relevance | path

Searched refs:DataImportError (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DLoadImportStatusUseCase.kt43 val dataImportError: ImportUiState.DataImportError = in <lambda>()
45 DATA_IMPORT_ERROR_UNKNOWN -> ImportUiState.DataImportError.DATA_IMPORT_ERROR_UNKNOWN in <lambda>()
46 DATA_IMPORT_ERROR_NONE -> ImportUiState.DataImportError.DATA_IMPORT_ERROR_NONE in <lambda>()
48 ImportUiState.DataImportError.DATA_IMPORT_ERROR_WRONG_FILE in <lambda>()
50 ImportUiState.DataImportError.DATA_IMPORT_ERROR_VERSION_MISMATCH in <lambda>()
52 ImportUiState.DataImportError.DATA_IMPORT_ERROR_UNKNOWN in <lambda>()
DImportUiState.kt20 data class ImportUiState(val dataImportError: DataImportError, val isImportOngoing: Boolean) {
21 enum class DataImportError { class in com.android.healthconnect.controller.exportimport.api.ImportUiState
/packages/modules/HealthFitness/framework/java/android/health/connect/exportimport/
DImportStatus.java76 public @interface DataImportError {} annotation in ImportStatus
92 @DataImportError private final int mDataImportError;
95 public ImportStatus(@DataImportError int dataImportError, boolean isImportOngoing) { in ImportStatus()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/backuprestore/
DBackupAndRestoreSettingsFragmentTest.kt90 ImportUiState.DataImportError.DATA_IMPORT_ERROR_NONE, in setup()
231 ImportUiState.DataImportError.DATA_IMPORT_ERROR_WRONG_FILE, in backupAndRestoreSettingsFragment_whenImportErrorIsWrongFileError_showsImportErrorBanner()
254 ImportUiState.DataImportError.DATA_IMPORT_ERROR_UNKNOWN, in backupAndRestoreSettingsFragment_whenImportErrorIsNotWrongFileError_doesNotShowImportErrorBanner()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DImportStatusViewModelTest.kt70 ImportUiState.DataImportError.DATA_IMPORT_ERROR_VERSION_MISMATCH, in <lambda>()
DLoadImportStatusUseCaseTest.kt67 .isEqualTo(ImportUiState.DataImportError.DATA_IMPORT_ERROR_NONE) in <lambda>()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DExportImportSettingsStorage.java141 public static void setLastImportError(@ImportStatus.DataImportError int error) { in setLastImportError()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeComponents.kt536 ImportUiState.DataImportError.DATA_IMPORT_ERROR_NONE,
543 ImportUiState.DataImportError.DATA_IMPORT_ERROR_NONE, in reset()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/backuprestore/
DBackupAndRestoreSettingsFragment.kt196 ImportUiState.DataImportError.DATA_IMPORT_ERROR_WRONG_FILE) { in <lambda>()