Searched refs:updatedRecords (Results 1 – 6 of 6) sorted by relevance
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | GetActivityDatesTest.java | 109 List<Record> updatedRecords = getTestRecords(); in testGetActivityDates_onUpdate() local 111 for (int itr = 0; itr < updatedRecords.size(); itr++) { in testGetActivityDates_onUpdate() 112 updatedRecords.set( in testGetActivityDates_onUpdate() 129 TestUtils.updateRecords(updatedRecords); in testGetActivityDates_onUpdate() 134 updatedRecords.stream().map(Record::getClass).collect(Collectors.toList())); in testGetActivityDates_onUpdate() 137 updatedRecords.stream() in testGetActivityDates_onUpdate()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | HeightRecordTest.java | 635 List<Record> updatedRecords = in updateRecords_byId_readNewData() local 643 updateRecords(updatedRecords); in updateRecords_byId_readNewData() 645 readHeightRecordUsingIds(updatedRecords); in updateRecords_byId_readNewData() 657 List<HeightRecord> updatedRecords = in updateRecords_byClientRecordId_readNewData() local 663 updateRecords(updatedRecords); in updateRecords_byClientRecordId_readNewData() 664 copyRecordIdsViaReflection(insertedRecords, updatedRecords); in updateRecords_byClientRecordId_readNewData() 666 readHeightRecordUsingIds(updatedRecords); in updateRecords_byClientRecordId_readNewData()
|
D | SpeedRecordTest.java | 670 List<Record> updatedRecords = in updateRecords_byId_readNewData() local 678 updateRecords(updatedRecords); in updateRecords_byId_readNewData() 680 readSpeedRecordUsingIds(updatedRecords); in updateRecords_byId_readNewData() 692 List<SpeedRecord> updatedRecords = in updateRecords_byClientRecordId_readNewData() local 697 updateRecords(updatedRecords); in updateRecords_byClientRecordId_readNewData() 698 copyRecordIdsViaReflection(insertedRecords, updatedRecords); in updateRecords_byClientRecordId_readNewData() 700 readSpeedRecordUsingIds(updatedRecords); in updateRecords_byClientRecordId_readNewData()
|
D | ExerciseSessionRecordTest.java | 808 List<Record> updatedRecords = in updateRecords_byId_readNewData() local 828 updateRecords(updatedRecords); in updateRecords_byId_readNewData() 830 readAndAssertEquals(updatedRecords); in updateRecords_byId_readNewData() 857 List<Record> updatedRecords = in updateRecords_byClientRecordId_readNewData() local 877 updateRecords(updatedRecords); in updateRecords_byClientRecordId_readNewData() 878 copyRecordIdsViaReflection(insertedRecords, updatedRecords); in updateRecords_byClientRecordId_readNewData() 880 readAndAssertEquals(updatedRecords); in updateRecords_byClientRecordId_readNewData()
|
D | StepsRecordTest.java | 1603 List<Record> updatedRecords = in updateRecords_byId_readNewData() local 1611 updateRecords(updatedRecords); in updateRecords_byId_readNewData() 1613 readStepsRecordsUsingId(updatedRecords); in updateRecords_byId_readNewData() 1625 List<StepsRecord> updatedRecords = in updateRecords_byClientRecordId_readNewData() local 1630 updateRecords(updatedRecords); in updateRecords_byClientRecordId_readNewData() 1631 copyRecordIdsViaReflection(insertedRecords, updatedRecords); in updateRecords_byClientRecordId_readNewData() 1633 readStepsRecordsUsingId(updatedRecords); in updateRecords_byClientRecordId_readNewData() 1642 List<Record> updatedRecords = in updateRecordsFromAnotherApp_byId_fail() local 1647 assertThrows(HealthConnectException.class, () -> updateRecords(updatedRecords)); in updateRecordsFromAnotherApp_byId_fail() 1656 List<Record> updatedRecords = in updateRecordsFromAnotherApp_byClientRecordId_fail() local [all …]
|
D | WeightRecordTest.java | 861 List<Record> updatedRecords = List.of(getWeightRecord(insertedId, now, 20.0)); in updateRecordsFromAnotherApp_byId_fail() local 863 assertThrows(HealthConnectException.class, () -> updateRecords(updatedRecords)); in updateRecordsFromAnotherApp_byId_fail() 872 List<Record> updatedRecords = List.of(getWeightRecord(now, "id1", 20.0)); in updateRecordsFromAnotherApp_byClientRecordId_fail() local 874 assertThrows(HealthConnectException.class, () -> updateRecords(updatedRecords)); in updateRecordsFromAnotherApp_byClientRecordId_fail()
|