/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
D | ExerciseRouteRequestTest.kt | 43 import android.healthconnect.cts.utils.TestUtils.insertRecordAndGetId 86 val recordId = insertRecordAndGetId(record) in requestRoute_showsDialog_clickAllowThis_returnsRoute_permissionRemainsRevoked() 109 val recordId = insertRecordAndGetId(record) in requestRoute_showsDialog_clickAllowAll_returnsRoute_grantsPermission() 132 val recordId = insertRecordAndGetId(record) in requestRoute_showsDialog_clickDeny_returnsNull_permissionRemainsRevoked() 242 val recordId = insertRecordAndGetId(record) in requestRoute_readRoutesGranted_doesNotShowDialog_returnsRoute() 261 val recordId = insertRecordAndGetId(record) in requestRoute_sessionWithoutRoute_returnsNull() 301 val recordId = insertRecordAndGetId(record) in requestRoute_withReadWriteRoutePermissionsRevoked_showsDialog_returnsRoute() 326 val recordId = insertRecordAndGetId(record) in requestRoute_readExercisePermissionRevoked_throwsSecurityException() 361 val recordId = insertRecordAndGetId(record) in requestRoute_ownSession_readRoutesPermissionNotDeclared_doesNotShowDialog_returnsNull() 376 val recordId = insertRecordAndGetId(record) in requestRoute_readRoutesPermissionDeniedUserFixed_doesNotShowDialog_returnsNull() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | ExerciseCompletionGoalTest.java | 91 String id = TestUtils.insertRecordAndGetId(record.build()); in distanceGoal_insertionAndRead() 125 String id = TestUtils.insertRecordAndGetId(record.build()); in stepsGoal_insertionAndRead() 160 String id = TestUtils.insertRecordAndGetId(record.build()); in durationGoal_insertionAndRead() 195 String id = TestUtils.insertRecordAndGetId(record.build()); in repetitionsGoal_insertionAndRead() 242 String id = TestUtils.insertRecordAndGetId(record.build()); in totalCaloriesBurnedGoal_insertionAndRead() 294 String id = TestUtils.insertRecordAndGetId(record.build()); in activeCaloriesBurnedGoal_insertionAndRead() 317 String id = TestUtils.insertRecordAndGetId(record.build()); in distanceWithVariableRestGoal_insertionAndRead() 346 String id = TestUtils.insertRecordAndGetId(record.build()); in unspecifiedGoal_insertionAndRead()
|
D | ExercisePerformanceGoalTest.java | 113 String id = TestUtils.insertRecordAndGetId(record.build()); in powerGoal_insertAndRead() 177 String id = TestUtils.insertRecordAndGetId(record.build()); in speedGoal_insertAndRead() 214 String id = TestUtils.insertRecordAndGetId(record.build()); in cadenceGoal_insertAndRead() 250 String id = TestUtils.insertRecordAndGetId(record.build()); in heartRateGoal_insertAndRead() 288 String id = TestUtils.insertRecordAndGetId(record.build()); in weightGoal_insertAndRead() 324 String id = TestUtils.insertRecordAndGetId(record.build()); in rpeGoal_insertAndRead() 345 String id = TestUtils.insertRecordAndGetId(record.build()); in amrapGoal_insertAndRead()
|
D | BasalMetabolicRateRecordTest.java | 236 String id = TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_no_filters() 248 String id = TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_time_filters() 278 String id = TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_dataOrigin_filters() 292 String id = TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_dataOrigin_filter_incorrect() 325 String id = TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_time_range() 333 TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_usingIds_forAnotherApp_fails() 349 TestUtils.insertRecordAndGetId(getCompleteBasalMetabolicRateRecord()); in testDeleteBasalMetabolicRateRecord_usingTime_forAnotherApp_notDeleted()
|
D | MenstruationFlowRecordTest.java | 247 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationFlowRecord()); in testDeleteMenstruationFlowRecord_no_filters() 259 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationFlowRecord()); in testDeleteMenstruationFlowRecord_time_filters() 288 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationFlowRecord()); in testDeleteMenstruationFlowRecord_dataOrigin_filters() 302 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationFlowRecord()); in testDeleteMenstruationFlowRecord_dataOrigin_filter_incorrect() 335 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationFlowRecord()); in testDeleteMenstruationFlowRecord_time_range()
|
D | SexualActivityRecordTest.java | 238 String id = TestUtils.insertRecordAndGetId(getCompleteSexualActivityRecord()); in testDeleteSexualActivityRecord_no_filters() 250 String id = TestUtils.insertRecordAndGetId(getCompleteSexualActivityRecord()); in testDeleteSexualActivityRecord_time_filters() 277 String id = TestUtils.insertRecordAndGetId(getCompleteSexualActivityRecord()); in testDeleteSexualActivityRecord_dataOrigin_filters() 291 String id = TestUtils.insertRecordAndGetId(getCompleteSexualActivityRecord()); in testDeleteSexualActivityRecord_dataOrigin_filter_incorrect() 322 String id = TestUtils.insertRecordAndGetId(getCompleteSexualActivityRecord()); in testDeleteSexualActivityRecord_time_range()
|
D | HeartRateRecordTest.java | 317 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateRecord()); in testDeleteHeartRateRecord_no_filters() 329 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateRecord()); in testDeleteHeartRateRecord_time_filters() 365 TestUtils.insertRecordAndGetId( in testDeleteHeartRateRecord_time_filters_local() 369 TestUtils.insertRecordAndGetId( in testDeleteHeartRateRecord_time_filters_local() 374 TestUtils.insertRecordAndGetId( in testDeleteHeartRateRecord_time_filters_local() 410 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateRecord()); in testDeleteHeartRateRecord_dataOrigin_filters() 424 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateRecord()); in testDeleteHeartRateRecord_dataOrigin_filter_incorrect() 483 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateRecord()); in testDeleteHeartRateRecord_time_range() 491 TestUtils.insertRecordAndGetId(getCompleteHeartRateRecord()); in testDeleteStepsRecord_usingIds_forAnotherApp_fails() 507 TestUtils.insertRecordAndGetId(getCompleteStepsRecord()); in testDeleteHeartRateRecord_usingTime_forAnotherApp_notDeleted()
|
D | WeightRecordTest.java | 230 String id = TestUtils.insertRecordAndGetId(getCompleteWeightRecord()); in testDeleteWeightRecord_no_filters() 242 String id = TestUtils.insertRecordAndGetId(getCompleteWeightRecord()); in testDeleteWeightRecord_time_filters() 266 TestUtils.insertRecordAndGetId( in testDeleteWeightRecord_time_filters_local() 269 TestUtils.insertRecordAndGetId( in testDeleteWeightRecord_time_filters_local() 274 TestUtils.insertRecordAndGetId( in testDeleteWeightRecord_time_filters_local() 311 String id = TestUtils.insertRecordAndGetId(getCompleteWeightRecord()); in testDeleteWeightRecord_dataOrigin_filters() 324 String id = TestUtils.insertRecordAndGetId(getCompleteWeightRecord()); in testDeleteWeightRecord_dataOrigin_filter_incorrect() 354 String id = TestUtils.insertRecordAndGetId(getCompleteWeightRecord()); in testDeleteWeightRecord_time_range()
|
D | OxygenSaturationRecordTest.java | 248 String id = TestUtils.insertRecordAndGetId(getCompleteOxygenSaturationRecord()); in testDeleteOxygenSaturationRecord_no_filters() 260 String id = TestUtils.insertRecordAndGetId(getCompleteOxygenSaturationRecord()); in testDeleteOxygenSaturationRecord_time_filters() 289 String id = TestUtils.insertRecordAndGetId(getCompleteOxygenSaturationRecord()); in testDeleteOxygenSaturationRecord_dataOrigin_filters() 303 String id = TestUtils.insertRecordAndGetId(getCompleteOxygenSaturationRecord()); in testDeleteOxygenSaturationRecord_dataOrigin_filter_incorrect() 336 String id = TestUtils.insertRecordAndGetId(getCompleteOxygenSaturationRecord()); in testDeleteOxygenSaturationRecord_time_range()
|
D | IntermenstrualBleedingRecordTest.java | 237 String id = TestUtils.insertRecordAndGetId(getCompleteIntermenstrualBleedingRecord()); in testDeleteIntermenstrualBleedingRecord_no_filters() 249 String id = TestUtils.insertRecordAndGetId(getCompleteIntermenstrualBleedingRecord()); in testDeleteIntermenstrualBleedingRecord_time_filters() 280 String id = TestUtils.insertRecordAndGetId(getCompleteIntermenstrualBleedingRecord()); in testDeleteIntermenstrualBleedingRecord_dataOrigin_filters() 294 String id = TestUtils.insertRecordAndGetId(getCompleteIntermenstrualBleedingRecord()); in testDeleteIntermenstrualBleedingRecord_dataOrigin_filter_incorrect() 327 String id = TestUtils.insertRecordAndGetId(getCompleteIntermenstrualBleedingRecord()); in testDeleteIntermenstrualBleedingRecord_time_range()
|
D | OvulationTestRecordTest.java | 236 String id = TestUtils.insertRecordAndGetId(getCompleteOvulationTestRecord()); in testDeleteOvulationTestRecord_no_filters() 248 String id = TestUtils.insertRecordAndGetId(getCompleteOvulationTestRecord()); in testDeleteOvulationTestRecord_time_filters() 275 String id = TestUtils.insertRecordAndGetId(getCompleteOvulationTestRecord()); in testDeleteOvulationTestRecord_dataOrigin_filters() 289 String id = TestUtils.insertRecordAndGetId(getCompleteOvulationTestRecord()); in testDeleteOvulationTestRecord_dataOrigin_filter_incorrect() 320 String id = TestUtils.insertRecordAndGetId(getCompleteOvulationTestRecord()); in testDeleteOvulationTestRecord_time_range()
|
D | BodyTemperatureRecordTest.java | 255 String id = TestUtils.insertRecordAndGetId(getCompleteBodyTemperatureRecord()); in testDeleteBodyTemperatureRecord_no_filters() 267 String id = TestUtils.insertRecordAndGetId(getCompleteBodyTemperatureRecord()); in testDeleteBodyTemperatureRecord_time_filters() 296 String id = TestUtils.insertRecordAndGetId(getCompleteBodyTemperatureRecord()); in testDeleteBodyTemperatureRecord_dataOrigin_filters() 310 String id = TestUtils.insertRecordAndGetId(getCompleteBodyTemperatureRecord()); in testDeleteBodyTemperatureRecord_dataOrigin_filter_incorrect() 343 String id = TestUtils.insertRecordAndGetId(getCompleteBodyTemperatureRecord()); in testDeleteBodyTemperatureRecord_time_range()
|
D | BoneMassRecordTest.java | 228 String id = TestUtils.insertRecordAndGetId(getCompleteBoneMassRecord()); in testDeleteBoneMassRecord_no_filters() 240 String id = TestUtils.insertRecordAndGetId(getCompleteBoneMassRecord()); in testDeleteBoneMassRecord_time_filters() 266 String id = TestUtils.insertRecordAndGetId(getCompleteBoneMassRecord()); in testDeleteBoneMassRecord_dataOrigin_filters() 279 String id = TestUtils.insertRecordAndGetId(getCompleteBoneMassRecord()); in testDeleteBoneMassRecord_dataOrigin_filter_incorrect() 310 String id = TestUtils.insertRecordAndGetId(getCompleteBoneMassRecord()); in testDeleteBoneMassRecord_time_range()
|
D | RespiratoryRateRecordTest.java | 242 String id = TestUtils.insertRecordAndGetId(getCompleteRespiratoryRateRecord()); in testDeleteRespiratoryRateRecord_no_filters() 254 String id = TestUtils.insertRecordAndGetId(getCompleteRespiratoryRateRecord()); in testDeleteRespiratoryRateRecord_time_filters() 283 String id = TestUtils.insertRecordAndGetId(getCompleteRespiratoryRateRecord()); in testDeleteRespiratoryRateRecord_dataOrigin_filters() 297 String id = TestUtils.insertRecordAndGetId(getCompleteRespiratoryRateRecord()); in testDeleteRespiratoryRateRecord_dataOrigin_filter_incorrect() 330 String id = TestUtils.insertRecordAndGetId(getCompleteRespiratoryRateRecord()); in testDeleteRespiratoryRateRecord_time_range()
|
D | MenstruationPeriodRecordTest.java | 226 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationPeriodRecord()); in testDeleteMenstruationPeriodRecord_no_filters() 238 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationPeriodRecord()); in testDeleteMenstruationPeriodRecord_time_filters() 268 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationPeriodRecord()); in testDeleteMenstruationPeriodRecord_dataOrigin_filters() 282 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationPeriodRecord()); in testDeleteMenstruationPeriodRecord_dataOrigin_filter_incorrect() 315 String id = TestUtils.insertRecordAndGetId(getCompleteMenstruationPeriodRecord()); in testDeleteMenstruationPeriodRecord_time_range()
|
D | CervicalMucusRecordTest.java | 239 String id = TestUtils.insertRecordAndGetId(getCompleteCervicalMucusRecord()); in testDeleteCervicalMucusRecord_no_filters() 251 String id = TestUtils.insertRecordAndGetId(getCompleteCervicalMucusRecord()); in testDeleteCervicalMucusRecord_time_filters() 278 String id = TestUtils.insertRecordAndGetId(getCompleteCervicalMucusRecord()); in testDeleteCervicalMucusRecord_dataOrigin_filters() 292 String id = TestUtils.insertRecordAndGetId(getCompleteCervicalMucusRecord()); in testDeleteCervicalMucusRecord_dataOrigin_filter_incorrect() 323 String id = TestUtils.insertRecordAndGetId(getCompleteCervicalMucusRecord()); in testDeleteCervicalMucusRecord_time_range()
|
D | BodyFatRecordTest.java | 223 String id = TestUtils.insertRecordAndGetId(getCompleteBodyFatRecord()); in testDeleteBodyFatRecord_no_filters() 235 String id = TestUtils.insertRecordAndGetId(getCompleteBodyFatRecord()); in testDeleteBodyFatRecord_time_filters() 262 String id = TestUtils.insertRecordAndGetId(getCompleteBodyFatRecord()); in testDeleteBodyFatRecord_dataOrigin_filters() 275 String id = TestUtils.insertRecordAndGetId(getCompleteBodyFatRecord()); in testDeleteBodyFatRecord_dataOrigin_filter_incorrect() 306 String id = TestUtils.insertRecordAndGetId(getCompleteBodyFatRecord()); in testDeleteBodyFatRecord_time_range()
|
D | BodyWaterMassRecordTest.java | 216 String id = TestUtils.insertRecordAndGetId(getCompleteBodyWaterMassRecord()); in testDeleteBodyWaterMassRecord_no_filters() 228 String id = TestUtils.insertRecordAndGetId(getCompleteBodyWaterMassRecord()); in testDeleteBodyWaterMassRecord_time_filters() 255 String id = TestUtils.insertRecordAndGetId(getCompleteBodyWaterMassRecord()); in testDeleteBodyWaterMassRecord_dataOrigin_filters() 269 String id = TestUtils.insertRecordAndGetId(getCompleteBodyWaterMassRecord()); in testDeleteBodyWaterMassRecord_dataOrigin_filter_incorrect() 300 String id = TestUtils.insertRecordAndGetId(getCompleteBodyWaterMassRecord()); in testDeleteBodyWaterMassRecord_time_range()
|
D | HeartRateVariabilityRmssdRecordTest.java | 238 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateVariabilityRmssdRecord()); in testDeleteHeartRateVariabilityRmssdRecord_no_filters() 251 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateVariabilityRmssdRecord()); in testDeleteHeartRateVariabilityRmssdRecord_time_filters() 282 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateVariabilityRmssdRecord()); in testDeleteHeartRateVariabilityRmssdRecord_dataOrigin_filters() 296 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateVariabilityRmssdRecord()); in testDeleteHeartRateVariabilityRmssdRecord_dataOrigin_filter_incorrect() 329 String id = TestUtils.insertRecordAndGetId(getCompleteHeartRateVariabilityRmssdRecord()); in testDeleteHeartRateVariabilityRmssdRecord_time_range()
|
D | LeanBodyMassRecordTest.java | 233 String id = TestUtils.insertRecordAndGetId(getCompleteLeanBodyMassRecord()); in testDeleteLeanBodyMassRecord_no_filters() 245 String id = TestUtils.insertRecordAndGetId(getCompleteLeanBodyMassRecord()); in testDeleteLeanBodyMassRecord_time_filters() 272 String id = TestUtils.insertRecordAndGetId(getCompleteLeanBodyMassRecord()); in testDeleteLeanBodyMassRecord_dataOrigin_filters() 286 String id = TestUtils.insertRecordAndGetId(getCompleteLeanBodyMassRecord()); in testDeleteLeanBodyMassRecord_dataOrigin_filter_incorrect() 317 String id = TestUtils.insertRecordAndGetId(getCompleteLeanBodyMassRecord()); in testDeleteLeanBodyMassRecord_time_range()
|
D | ActiveCaloriesBurnedRecordTest.java | 249 String id = TestUtils.insertRecordAndGetId(getCompleteActiveCaloriesBurnedRecord()); in testDeleteActiveCaloriesBurnedRecord_no_filters() 261 String id = TestUtils.insertRecordAndGetId(getCompleteActiveCaloriesBurnedRecord()); in testDeleteActiveCaloriesBurnedRecord_time_filters() 292 String id = TestUtils.insertRecordAndGetId(getCompleteActiveCaloriesBurnedRecord()); in testDeleteActiveCaloriesBurnedRecord_dataOrigin_filters() 306 String id = TestUtils.insertRecordAndGetId(getCompleteActiveCaloriesBurnedRecord()); in testDeleteActiveCaloriesBurnedRecord_dataOrigin_filter_incorrect() 339 String id = TestUtils.insertRecordAndGetId(getCompleteActiveCaloriesBurnedRecord()); in testDeleteActiveCaloriesBurnedRecord_time_range()
|
D | Vo2MaxRecordTest.java | 223 String id = TestUtils.insertRecordAndGetId(getCompleteVo2MaxRecord()); in testDeleteVo2MaxRecord_no_filters() 235 String id = TestUtils.insertRecordAndGetId(getCompleteVo2MaxRecord()); in testDeleteVo2MaxRecord_time_filters() 261 String id = TestUtils.insertRecordAndGetId(getCompleteVo2MaxRecord()); in testDeleteVo2MaxRecord_dataOrigin_filters() 274 String id = TestUtils.insertRecordAndGetId(getCompleteVo2MaxRecord()); in testDeleteVo2MaxRecord_dataOrigin_filter_incorrect() 304 String id = TestUtils.insertRecordAndGetId(getCompleteVo2MaxRecord()); in testDeleteVo2MaxRecord_time_range()
|
D | BloodGlucoseRecordTest.java | 233 String id = TestUtils.insertRecordAndGetId(getCompleteBloodGlucoseRecord()); in testDeleteBloodGlucoseRecord_no_filters() 245 String id = TestUtils.insertRecordAndGetId(getCompleteBloodGlucoseRecord()); in testDeleteBloodGlucoseRecord_time_filters() 272 String id = TestUtils.insertRecordAndGetId(getCompleteBloodGlucoseRecord()); in testDeleteBloodGlucoseRecord_dataOrigin_filters() 286 String id = TestUtils.insertRecordAndGetId(getCompleteBloodGlucoseRecord()); in testDeleteBloodGlucoseRecord_dataOrigin_filter_incorrect() 317 String id = TestUtils.insertRecordAndGetId(getCompleteBloodGlucoseRecord()); in testDeleteBloodGlucoseRecord_time_range()
|
D | BasalBodyTemperatureRecordTest.java | 410 String id = TestUtils.insertRecordAndGetId(getCompleteBasalBodyTemperatureRecord()); in testDeleteBasalBodyTemperatureRecord_no_filters() 422 String id = TestUtils.insertRecordAndGetId(getCompleteBasalBodyTemperatureRecord()); in testDeleteBasalBodyTemperatureRecord_time_filters() 453 String id = TestUtils.insertRecordAndGetId(getCompleteBasalBodyTemperatureRecord()); in testDeleteBasalBodyTemperatureRecord_dataOrigin_filters() 467 String id = TestUtils.insertRecordAndGetId(getCompleteBasalBodyTemperatureRecord()); in testDeleteBasalBodyTemperatureRecord_dataOrigin_filter_incorrect() 500 String id = TestUtils.insertRecordAndGetId(getCompleteBasalBodyTemperatureRecord()); in testDeleteBasalBodyTemperatureRecord_time_range()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectManagerTest.java | 451 TestUtils.insertRecordAndGetId( in testInsertRecords_intervalWithSameClientId_overwrites() 453 TestUtils.insertRecordAndGetId( in testInsertRecords_intervalWithSameClientId_overwrites() 475 TestUtils.insertRecordAndGetId( in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites() 483 TestUtils.insertRecordAndGetId( in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites() 511 TestUtils.insertRecordAndGetId( in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite() 519 TestUtils.insertRecordAndGetId( in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite() 547 TestUtils.insertRecordAndGetId(getBasalMetabolicRateRecord(clientId, bmr1, time1)); in testInsertRecords_instantWithSameClientId_overwrites() 548 TestUtils.insertRecordAndGetId(getBasalMetabolicRateRecord(clientId, bmr2, time2)); in testInsertRecords_instantWithSameClientId_overwrites() 568 TestUtils.insertRecordAndGetId( in testInsertRecords_instantNoClientIdsAndSameTime_overwrites() 571 TestUtils.insertRecordAndGetId( in testInsertRecords_instantNoClientIdsAndSameTime_overwrites() [all …]
|