/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 193 List<String> recordIds = getRecordIds(intent); in readStepsRecordsUsingIds() local 194 for (String recordId : recordIds) { in readStepsRecordsUsingIds() 306 ArrayList<String> recordIds = in sendInsertRecordsResult() local 312 extras.putStringArrayList(EXTRA_RECORD_IDS, recordIds); in sendInsertRecordsResult() 425 List<String> recordIds = intent.getStringArrayListExtra(EXTRA_RECORD_IDS); in getRecordIds() local 426 return recordIds == null ? new ArrayList<>() : recordIds; in getRecordIds()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | BundleHelper.java | 153 public static Bundle fromInsertRecordsResponse(List<String> recordIds) { in fromInsertRecordsResponse() argument 155 bundle.putStringArrayList(RECORD_ID, new ArrayList<>(recordIds)); in fromInsertRecordsResponse() 260 var recordIds = bundle.getStringArrayList(RECORD_ID); in toReadRecordsRequestUsingIds() local 261 if (recordIds != null) { in toReadRecordsRequestUsingIds() 262 for (String id : recordIds) { in toReadRecordsRequestUsingIds() 298 List<String> recordIds = recordIdFilters.stream().map(RecordIdFilter::getId).toList(); in fromDeleteRecordsByIdsRequest() local 301 bundle.putStringArrayList(RECORD_ID, new ArrayList<>(recordIds)); in fromDeleteRecordsByIdsRequest() 309 List<String> recordIds = bundle.getStringArrayList(RECORD_ID); in toDeleteRecordsByIdsRequest() local 317 String recordId = recordIds.get(i); in toDeleteRecordsByIdsRequest()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | DeleteTransactionRequest.java | 54 List<RecordIdFilter> recordIds = in DeleteTransactionRequest() local 58 for (RecordIdFilter recordId : recordIds) { in DeleteTransactionRequest()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | HeartRateRecordTest.java | 437 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteHeartRateRecord_usingIds() local 439 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteHeartRateRecord_usingIds() 441 for (RecordIdFilter recordIdFilter : recordIds) { in testDeleteHeartRateRecord_usingIds() 447 TestUtils.verifyDeleteRecords(recordIds); in testDeleteHeartRateRecord_usingIds() 458 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteHeartRateRecord_usingInvalidClientIds() local 460 recordIds.add( in testDeleteHeartRateRecord_usingInvalidClientIds() 464 for (RecordIdFilter recordIdFilter : recordIds) { in testDeleteHeartRateRecord_usingInvalidClientIds() 470 TestUtils.verifyDeleteRecords(recordIds); in testDeleteHeartRateRecord_usingInvalidClientIds()
|
D | StepsRecordTest.java | 628 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteStepsRecord_usingIds() local 630 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteStepsRecord_usingIds() 632 for (RecordIdFilter recordIdFilter : recordIds) { in testDeleteStepsRecord_usingIds() 638 verifyDeleteRecords(recordIds); in testDeleteStepsRecord_usingIds() 646 List<RecordIdFilter> recordIds = in testDeleteStepsRecords_usingInvalidId() local 649 assertThrows(HealthConnectException.class, () -> verifyDeleteRecords(recordIds)); in testDeleteStepsRecords_usingInvalidId() 655 List<RecordIdFilter> recordIds = in testDeleteStepsRecord_usingUnknownId() local 658 verifyDeleteRecords(recordIds); in testDeleteStepsRecord_usingUnknownId() 665 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteStepsRecord_usingInvalidClientIds() local 667 recordIds.add( in testDeleteStepsRecord_usingInvalidClientIds() [all …]
|
D | MenstruationFlowRecordTest.java | 317 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteMenstruationFlowRecord_usingIds() local 319 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteMenstruationFlowRecord_usingIds() 322 TestUtils.verifyDeleteRecords(recordIds); in testDeleteMenstruationFlowRecord_usingIds()
|
D | SexualActivityRecordTest.java | 304 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteSexualActivityRecord_usingIds() local 306 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteSexualActivityRecord_usingIds() 309 TestUtils.verifyDeleteRecords(recordIds); in testDeleteSexualActivityRecord_usingIds()
|
D | OxygenSaturationRecordTest.java | 318 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteOxygenSaturationRecord_usingIds() local 320 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteOxygenSaturationRecord_usingIds() 323 TestUtils.verifyDeleteRecords(recordIds); in testDeleteOxygenSaturationRecord_usingIds()
|
D | IntermenstrualBleedingRecordTest.java | 309 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteIntermenstrualBleedingRecord_usingIds() local 311 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteIntermenstrualBleedingRecord_usingIds() 314 TestUtils.verifyDeleteRecords(recordIds); in testDeleteIntermenstrualBleedingRecord_usingIds()
|
D | OvulationTestRecordTest.java | 302 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteOvulationTestRecord_usingIds() local 304 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteOvulationTestRecord_usingIds() 307 TestUtils.verifyDeleteRecords(recordIds); in testDeleteOvulationTestRecord_usingIds()
|
D | BodyTemperatureRecordTest.java | 325 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBodyTemperatureRecord_usingIds() local 327 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBodyTemperatureRecord_usingIds() 330 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBodyTemperatureRecord_usingIds()
|
D | BoneMassRecordTest.java | 292 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBoneMassRecord_usingIds() local 294 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBoneMassRecord_usingIds() 297 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBoneMassRecord_usingIds()
|
D | RespiratoryRateRecordTest.java | 312 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteRespiratoryRateRecord_usingIds() local 314 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteRespiratoryRateRecord_usingIds() 317 TestUtils.verifyDeleteRecords(recordIds); in testDeleteRespiratoryRateRecord_usingIds()
|
D | MenstruationPeriodRecordTest.java | 297 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteMenstruationPeriodRecord_usingIds() local 299 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteMenstruationPeriodRecord_usingIds() 302 TestUtils.verifyDeleteRecords(recordIds); in testDeleteMenstruationPeriodRecord_usingIds()
|
D | CervicalMucusRecordTest.java | 305 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteCervicalMucusRecord_usingIds() local 307 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteCervicalMucusRecord_usingIds() 310 TestUtils.verifyDeleteRecords(recordIds); in testDeleteCervicalMucusRecord_usingIds()
|
D | BodyFatRecordTest.java | 288 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBodyFatRecord_usingIds() local 290 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBodyFatRecord_usingIds() 293 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBodyFatRecord_usingIds()
|
D | BodyWaterMassRecordTest.java | 282 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBodyWaterMassRecord_usingIds() local 284 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBodyWaterMassRecord_usingIds() 287 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBodyWaterMassRecord_usingIds()
|
D | HeartRateVariabilityRmssdRecordTest.java | 311 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteHeartRateVariabilityRmssdRecord_usingIds() local 313 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteHeartRateVariabilityRmssdRecord_usingIds() 316 TestUtils.verifyDeleteRecords(recordIds); in testDeleteHeartRateVariabilityRmssdRecord_usingIds()
|
D | LeanBodyMassRecordTest.java | 299 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteLeanBodyMassRecord_usingIds() local 301 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteLeanBodyMassRecord_usingIds() 304 TestUtils.verifyDeleteRecords(recordIds); in testDeleteLeanBodyMassRecord_usingIds()
|
D | ActiveCaloriesBurnedRecordTest.java | 321 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteActiveCaloriesBurnedRecord_usingIds() local 323 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteActiveCaloriesBurnedRecord_usingIds() 326 TestUtils.verifyDeleteRecords(recordIds); in testDeleteActiveCaloriesBurnedRecord_usingIds()
|
D | Vo2MaxRecordTest.java | 286 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteVo2MaxRecord_usingIds() local 288 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteVo2MaxRecord_usingIds() 291 TestUtils.verifyDeleteRecords(recordIds); in testDeleteVo2MaxRecord_usingIds()
|
D | BloodGlucoseRecordTest.java | 299 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBloodGlucoseRecord_usingIds() local 301 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBloodGlucoseRecord_usingIds() 304 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBloodGlucoseRecord_usingIds()
|
D | BasalBodyTemperatureRecordTest.java | 482 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBasalBodyTemperatureRecord_usingIds() local 484 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBasalBodyTemperatureRecord_usingIds() 487 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBasalBodyTemperatureRecord_usingIds()
|
D | BasalMetabolicRateRecordTest.java | 307 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteBasalMetabolicRateRecord_usingIds() local 309 recordIds.add(fromId(record.getClass(), record.getMetadata().getId())); in testDeleteBasalMetabolicRateRecord_usingIds() 312 TestUtils.verifyDeleteRecords(recordIds); in testDeleteBasalMetabolicRateRecord_usingIds()
|
D | RestingHeartRateRecordTest.java | 329 List<RecordIdFilter> recordIds = new ArrayList<>(records.size()); in testDeleteRestingHeartRateRecord_usingIds() local 331 recordIds.add(RecordIdFilter.fromId(record.getClass(), record.getMetadata().getId())); in testDeleteRestingHeartRateRecord_usingIds() 334 TestUtils.verifyDeleteRecords(recordIds); in testDeleteRestingHeartRateRecord_usingIds()
|