/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/ |
D | LoadMostRecentAggregationsUseCase.kt | 69 is UseCaseResults.Failed -> { in <lambda>() 70 return@withContext UseCaseResults.Failed( in <lambda>() 87 is UseCaseResults.Failed -> { in <lambda>() 88 return@withContext UseCaseResults.Failed( in <lambda>() 99 UseCaseResults.Failed(e) in <lambda>() 128 is UseCaseResults.Failed -> { in <lambda>() 147 is UseCaseResults.Failed -> { in <lambda>() 177 is UseCaseResults.Failed -> { in <lambda>()
|
D | LoadPotentialPriorityListUseCase.kt | 65 if (appsWithDataResult is UseCaseResults.Failed) { in <lambda>() 66 UseCaseResults.Failed(appsWithDataResult.exception) in <lambda>() 67 } else if (appsWithWritePermissionResult is UseCaseResults.Failed) { in <lambda>() 68 UseCaseResults.Failed(appsWithWritePermissionResult.exception) in <lambda>() 69 } else if (appsOnPriorityListResult is UseCaseResults.Failed) { in <lambda>() 70 UseCaseResults.Failed(appsOnPriorityListResult.exception) in <lambda>() 112 UseCaseResults.Failed(e) in <lambda>() 148 UseCaseResults.Failed(e) in <lambda>()
|
D | LoadLastDateWithPriorityDataUseCase.kt | 74 is UseCaseResults.Failed -> { in <lambda>() 75 return@withContext UseCaseResults.Failed(priorityAppsResult.exception) in <lambda>() 81 UseCaseResults.Failed(e) in <lambda>()
|
D | LoadPriorityEntriesUseCase.kt | 61 is UseCaseResults.Failed -> { in <lambda>() 70 UseCaseResults.Failed(e) in <lambda>()
|
D | SleepSessionHelper.kt | 96 return@withContext UseCaseResults.Failed(e) in <lambda>() 196 is UseCaseResults.Failed -> { in <lambda>()
|
/packages/modules/DnsResolver/doh/network/ |
D | driver.rs | 63 Failed(Arc<anyhow::Error>), enumerator 71 matches!(self, Self::Failed(_)) in is_failed() 111 self.status_tx.send(Status::Failed(Arc::new(e)))? in drive() 154 Err(e) => self.status_tx.send(Status::Failed(Arc::new(anyhow!(e)))), in force_probe() 160 self.status_tx.send(Status::Failed(Arc::new(anyhow!("Empty response")))) in force_probe() 167 Err(time) => self.status_tx.send(Status::Failed(Arc::new(anyhow!( in force_probe()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | LoadMostRecentAggregationsUseCaseTest.kt | 284 assertThat(result is UseCaseResults.Failed).isTrue() in loadMostRecentAggregations_whenLoadLastDateWithPriorityDataFails_returnsFailure() 285 assertThat((result as UseCaseResults.Failed).exception.message).isEqualTo("Exception") in loadMostRecentAggregations_whenLoadLastDateWithPriorityDataFails_returnsFailure() 298 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 299 assertThat((result as UseCaseResults.Failed).exception.message).isEqualTo("Exception") in <lambda>() 311 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 312 assertThat((result as UseCaseResults.Failed).exception.message).isEqualTo("Exception") in <lambda>() 325 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 326 assertThat((result as UseCaseResults.Failed).exception.message).isEqualTo("Exception") in <lambda>()
|
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 430 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 431 assertThat((result as UseCaseResults.Failed).exception.message).isEqualTo("Exception") in <lambda>() 446 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 447 assertThat((result as UseCaseResults.Failed).exception is HealthConnectException).isTrue() in <lambda>() 459 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 460 assertThat((result as UseCaseResults.Failed).exception is HealthConnectException).isTrue() in <lambda>()
|
D | LoadPriorityEntriesUseCaseTest.kt | 309 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 310 assertThat((result as UseCaseResults.Failed).exception.message).isEqualTo("Exception") in <lambda>() 324 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 325 assertThat((result as UseCaseResults.Failed).exception is HealthConnectException).isTrue() in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/ |
D | ExportSettingsViewModel.kt | 74 is ExportImportUseCaseResult.Failed -> { in loadExportSettings() 89 is ExportImportUseCaseResult.Failed -> { in loadDocumentProviders() 142 is ExportImportUseCaseResult.Failed -> { in updateExportSettings()
|
D | ExportImportUseCaseResult.kt | 23 data class Failed(val exception: Exception) : ExportImportUseCaseResult<Nothing>() class in com.android.healthconnect.controller.exportimport.api.ExportImportUseCaseResult
|
/packages/modules/Virtualization/compos/composd_cmd/ |
D | composd_cmd.rs | 77 Failed(FailureReason, String), enumerator 90 self.0.set_outcome(Outcome::Failed(reason, message.to_owned())); in onFailure() 161 Ok(Outcome::Failed(reason, message)) => { in run_async_compilation()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/ |
D | DataSourcesViewModel.kt | 148 is UseCaseResults.Failed -> { in <lambda>() 167 is UseCaseResults.Failed -> { in <lambda>() 190 is UseCaseResults.Failed -> { in <lambda>() 223 is UseCaseResults.Failed -> { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/ |
D | FakeComponents.kt | 152 UseCaseResults.Failed( in invoke() 157 UseCaseResults.Failed(IllegalStateException(exceptionMessage)) in invoke() 214 return if (forceFail) UseCaseResults.Failed(Exception(this.exceptionMessage)) in clusterSleepSessions() 235 return if (forceFail) UseCaseResults.Failed(Exception(this.exceptionMessage)) in invoke() 284 return if (forceFail) UseCaseResults.Failed(Exception(this.exceptionMessage)) in invoke() 398 if (forceFail) return UseCaseResults.Failed(Exception(this.exceptionMessage)) in invoke()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/autodelete/ |
D | AutoDeleteViewModel.kt | 71 is UseCaseResults.Failed -> { in loadAutoDeleteRange() 85 is UseCaseResults.Failed -> { in updateAutoDeleteRange()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/ |
D | UpdateExportSettingsUseCaseTest.kt | 78 assertThat(result is ExportImportUseCaseResult.Failed).isTrue() in <lambda>() 79 assertThat((result as ExportImportUseCaseResult.Failed).exception is HealthConnectException) in <lambda>()
|
D | LoadExportSettingsUseCaseTest.kt | 72 assertThat(result is ExportImportUseCaseResult.Failed).isTrue() in <lambda>() 73 assertThat((result as ExportImportUseCaseResult.Failed).exception is HealthConnectException) in <lambda>()
|
D | LoadImportStatusUseCaseTest.kt | 78 assertThat(result is ExportImportUseCaseResult.Failed).isTrue() in <lambda>() 79 assertThat((result as ExportImportUseCaseResult.Failed).exception is HealthConnectException) in <lambda>()
|
D | LoadScheduledExportStatusUseCaseTest.kt | 82 assertThat(result is ExportImportUseCaseResult.Failed).isTrue() in <lambda>() 83 assertThat((result as ExportImportUseCaseResult.Failed).exception is HealthConnectException) in <lambda>()
|
D | QueryDocumentProvidersUseCaseTest.kt | 173 assertThat(result is ExportImportUseCaseResult.Failed).isTrue() in <lambda>() 174 assertThat((result as ExportImportUseCaseResult.Failed).exception is HealthConnectException) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/autodelete/api/ |
D | LoadAutoDeleteUseCaseTest.kt | 84 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 85 assertThat((result as UseCaseResults.Failed).exception is HealthConnectException).isTrue() in <lambda>()
|
D | UpdateAutoDeleteUseCaseTest.kt | 112 assertThat(result is UseCaseResults.Failed).isTrue() in <lambda>() 113 assertThat((result as UseCaseResults.Failed).exception is HealthConnectException).isTrue() in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | DataEntriesFragmentViewModel.kt | 81 is UseCaseResults.Failed -> { in loadData() 115 is UseCaseResults.Failed -> { in addAggregation()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/ |
D | AppDataUseCase.kt | 63 UseCaseResults.Failed(e) in <lambda>() 86 UseCaseResults.Failed(e) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/usecase/ |
D | UseCaseResult.kt | 21 data class Failed(val exception: Exception) : UseCaseResults<Nothing>() class in com.android.healthconnect.controller.shared.usecase.UseCaseResults
|