Home
last modified time | relevance | path

Searched refs:importStatus (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeHealthDataImportManager.kt35 private var importStatus: ImportStatus = DEFAULT_IMPORT_STATUS variable in com.android.healthconnect.controller.tests.utils.di.FakeHealthDataImportManager
43 ?: run { outcomeReceiver.onResult(importStatus) } in getImportStatus()
46 fun setImportStatus(importStatus: ImportStatus) { in setImportStatus()
47 this.importStatus = importStatus in setImportStatus()
55 importStatus = DEFAULT_IMPORT_STATUS in reset()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/
DImportStatusTest.java32 ImportStatus importStatus = in testDeserialize() local
35 Parcel statusParcel = writeToParcel(importStatus); in testDeserialize()
46 ImportStatus importStatus = in testDeserialize_noSuccessfulImport() local
49 Parcel statusParcel = writeToParcel(importStatus); in testDeserialize_noSuccessfulImport()
58 private static Parcel writeToParcel(ImportStatus importStatus) { in writeToParcel() argument
60 statusParcel.writeTypedObject(importStatus, 0); in writeToParcel()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DLoadImportStatusUseCase.kt40 val importStatus: ImportStatus = suspendCancellableCoroutine { continuation -> in <lambda>() constant
44 when (importStatus.dataImportError) { in <lambda>()
55 return ImportUiState(dataImportError, importStatus.isImportOngoing) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DLoadImportStatusUseCaseTest.kt56 val importStatus = in <lambda>() constant
61 (healthDataImportManager as FakeHealthDataImportManager).setImportStatus(importStatus) in <lambda>()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DExportImportSettingsStorageTest.java130 ImportStatus importStatus = ExportImportSettingsStorage.getImportStatus(); in testConfigure_importStatus() local
132 assertThat(importStatus.getDataImportError()).isEqualTo(DATA_IMPORT_ERROR_NONE); in testConfigure_importStatus()