Home
last modified time | relevance | path

Searched refs:healthConnectException (Results 1 – 11 of 11) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNoPermissionsGrantedTest.java113 } catch (HealthConnectException healthConnectException) { in testInsert_noPermissions_expectError()
114 assertThat(healthConnectException.getErrorCode()) in testInsert_noPermissions_expectError()
126 } catch (HealthConnectException healthConnectException) { in testUpdate_noPermissions_expectError()
127 assertThat(healthConnectException.getErrorCode()) in testUpdate_noPermissions_expectError()
139 } catch (HealthConnectException healthConnectException) { in testDeleteUsingId_noPermissions_expectError()
140 assertThat(healthConnectException.getErrorCode()) in testDeleteUsingId_noPermissions_expectError()
157 } catch (HealthConnectException healthConnectException) { in testDeleteUsingFilter_noPermissions_expectError()
158 assertThat(healthConnectException.getErrorCode()) in testDeleteUsingFilter_noPermissions_expectError()
174 } catch (HealthConnectException healthConnectException) { in testChangeLogsToken_noPermissions_expectError()
175 assertThat(healthConnectException.getErrorCode()) in testChangeLogsToken_noPermissions_expectError()
[all …]
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java84 } catch (HealthConnectException healthConnectException) { in testInsert_somePermissionsAreNotGranted_expectError()
85 assertThat(healthConnectException.getErrorCode()) in testInsert_somePermissionsAreNotGranted_expectError()
96 } catch (HealthConnectException healthConnectException) { in testUpdate_somePermissionsAreNotGranted_expectError()
97 assertThat(healthConnectException.getErrorCode()) in testUpdate_somePermissionsAreNotGranted_expectError()
109 } catch (HealthConnectException healthConnectException) { in testDeleteUsingIds_somePermissionsAreNotGranted_expectError()
110 assertThat(healthConnectException.getErrorCode()) in testDeleteUsingIds_somePermissionsAreNotGranted_expectError()
127 } catch (HealthConnectException healthConnectException) { in testGetChangeLogToken_somePermissionsAreNotGranted_expectError()
128 assertThat(healthConnectException.getErrorCode()) in testGetChangeLogToken_somePermissionsAreNotGranted_expectError()
168 } catch (HealthConnectException healthConnectException) { in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
169 assertThat(healthConnectException.getErrorCode()) in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java418 } catch (HealthConnectException healthConnectException) { in insertRecords()
420 healthConnectException.getErrorCode()); in insertRecords()
421 Slog.e(TAG, "HealthConnectException: ", healthConnectException); in insertRecords()
424 healthConnectException, in insertRecords()
425 healthConnectException.getErrorCode()); in insertRecords()
546 } catch (HealthConnectException healthConnectException) { in aggregateRecords()
548 healthConnectException.getErrorCode()); in aggregateRecords()
549 Slog.e(TAG, "HealthConnectException: ", healthConnectException); in aggregateRecords()
552 healthConnectException, in aggregateRecords()
553 healthConnectException.getErrorCode()); in aggregateRecords()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthPermissionCategoryPriorityTests.java92 } catch (HealthConnectException healthConnectException) { in testGetPriority_no_perm()
93 assertThat(healthConnectException.getErrorCode()) in testGetPriority_no_perm()
136 } catch (HealthConnectException healthConnectException) { in testUpdatePriority_no_perm()
137 assertThat(healthConnectException.getErrorCode()) in testUpdatePriority_no_perm()
DSessionDatatypeDisabledFeatureTest.java77 } catch (HealthConnectException healthConnectException) { in testWriteExerciseSession_insertWithDisableFeature_throwsException()
78 assertThat(healthConnectException.getErrorCode()) in testWriteExerciseSession_insertWithDisableFeature_throwsException()
104 } catch (HealthConnectException healthConnectException) { in testWriteSleepSession_insertWithDisableFeature_throwsException()
105 assertThat(healthConnectException.getErrorCode()) in testWriteSleepSession_insertWithDisableFeature_throwsException()
DExerciseRouteDisabledFeatureTest.java65 } catch (HealthConnectException healthConnectException) { in testWriteRoute_insertWithDisableFeature_throwsException()
66 assertThat(healthConnectException.getErrorCode()) in testWriteRoute_insertWithDisableFeature_throwsException()
DGetApplicationInfoTest.java109 } catch (HealthConnectException healthConnectException) { in testEmptyApplicationInfo_no_perm()
110 assertThat(healthConnectException.getErrorCode()) in testEmptyApplicationInfo_no_perm()
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DHealthConnectExceptionParcel.java44 public HealthConnectExceptionParcel(HealthConnectException healthConnectException) { in HealthConnectExceptionParcel() argument
45 mHealthConnectException = healthConnectException; in HealthConnectExceptionParcel()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreApiTest.java269 public void onError(HealthConnectException healthConnectException) { in verifyDeleteRecords()
270 exceptionAtomicReference.set(healthConnectException); in verifyDeleteRecords()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java143 } catch (HealthConnectException healthConnectException) { in testUpdateStepsRecordToDuplicate()
144 assertThat(healthConnectException.getErrorCode()).isEqualTo(ERROR_INVALID_ARGUMENT); in testUpdateStepsRecordToDuplicate()
145 assertThat(healthConnectException.getMessage()) in testUpdateStepsRecordToDuplicate()
147 assertThat(healthConnectException.getMessage()) in testUpdateStepsRecordToDuplicate()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthConnectManager.java1952 HealthConnectException healthConnectException = in getReadCallback()
1958 new HealthConnectExceptionParcel(healthConnectException), in getReadCallback()