Home
last modified time | relevance | path

Searched refs:insertRecordAndGetId (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/
DExerciseRouteRequestTest.kt43 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/
DExerciseCompletionGoalTest.java91 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()
DExercisePerformanceGoalTest.java113 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()
DBasalMetabolicRateRecordTest.java236 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()
DMenstruationFlowRecordTest.java247 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()
DSexualActivityRecordTest.java238 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()
DHeartRateRecordTest.java317 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()
DWeightRecordTest.java230 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()
DOxygenSaturationRecordTest.java248 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()
DIntermenstrualBleedingRecordTest.java237 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()
DOvulationTestRecordTest.java236 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()
DBodyTemperatureRecordTest.java255 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()
DBoneMassRecordTest.java228 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()
DRespiratoryRateRecordTest.java242 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()
DMenstruationPeriodRecordTest.java226 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()
DCervicalMucusRecordTest.java239 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()
DBodyFatRecordTest.java223 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()
DBodyWaterMassRecordTest.java216 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()
DHeartRateVariabilityRmssdRecordTest.java238 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()
DLeanBodyMassRecordTest.java233 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()
DActiveCaloriesBurnedRecordTest.java249 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()
DVo2MaxRecordTest.java223 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()
DBloodGlucoseRecordTest.java233 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()
DBasalBodyTemperatureRecordTest.java410 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/
DHealthConnectManagerTest.java451 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 …]

12