/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | HeightRecordTest.java | 568 insertAndReadRecords(recordCount, Length.fromMeters(1.0)); in insertRecords_sameClientRecordIdAndNewData_readNewData() 571 List<HeightRecord> newRecords = insertAndReadRecords(recordCount, newHeight); in insertRecords_sameClientRecordIdAndNewData_readNewData() 583 insertAndReadRecords(recordCount, oldVersion, oldHeight); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 587 List<HeightRecord> newRecords = insertAndReadRecords(recordCount, newVersion, newHeight); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 599 insertAndReadRecords(recordCount, version, oldHeight); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 602 List<HeightRecord> newRecords = insertAndReadRecords(recordCount, version, newHeight); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 614 insertAndReadRecords(recordCount, oldVersion, oldHeight); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 618 List<HeightRecord> newRecords = insertAndReadRecords(recordCount, newVersion, newHeight); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 669 private static List<HeightRecord> insertAndReadRecords(int count, Length height) in insertAndReadRecords() method in HeightRecordTest 671 return insertAndReadRecords(count, /* version= */ 0L, height); in insertAndReadRecords() [all …]
|
D | SpeedRecordTest.java | 603 insertAndReadRecords(recordCount, /* speed= */ 10); in insertRecords_sameClientRecordIdAndNewData_readNewData() 606 List<SpeedRecord> newRecords = insertAndReadRecords(recordCount, newSpeed); in insertRecords_sameClientRecordIdAndNewData_readNewData() 618 insertAndReadRecords(recordCount, oldVersion, oldSpeed); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 622 List<SpeedRecord> newRecords = insertAndReadRecords(recordCount, newVersion, newSpeed); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 634 insertAndReadRecords(recordCount, version, oldSpeed); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 637 List<SpeedRecord> newRecords = insertAndReadRecords(recordCount, version, newSpeed); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 649 insertAndReadRecords(recordCount, oldVersion, oldSpeed); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 653 List<SpeedRecord> newRecords = insertAndReadRecords(recordCount, newVersion, newSpeed); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 712 private static List<SpeedRecord> insertAndReadRecords(int recordCount, double speed) in insertAndReadRecords() method in SpeedRecordTest 714 return insertAndReadRecords(recordCount, /* version= */ 0L, speed); in insertAndReadRecords() [all …]
|
D | ExerciseSessionRecordTest.java | 719 insertAndReadRecords(recordCount, oldLat, oldLng); in insertRecords_sameClientRecordIdAndNewData_readNewData() 723 List<ExerciseSessionRecord> newRecords = insertAndReadRecords(recordCount, newLat, newLng); in insertRecords_sameClientRecordIdAndNewData_readNewData() 736 insertAndReadRecords(recordCount, oldVersion, oldLat, oldLng); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 742 insertAndReadRecords(recordCount, newVersion, newLat, newLng); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 755 insertAndReadRecords(recordCount, version, oldLat, oldLng); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 760 insertAndReadRecords(recordCount, version, newLat, newLng); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 773 insertAndReadRecords(recordCount, oldVersion, oldLat, oldLng); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 779 insertAndReadRecords(recordCount, newVersion, newLat, newLng); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 895 private static List<ExerciseSessionRecord> insertAndReadRecords( in insertAndReadRecords() method in ExerciseSessionRecordTest 897 return insertAndReadRecords(recordCount, /* version= */ 0L, lat, lng); in insertAndReadRecords() [all …]
|
D | StepsRecordTest.java | 1536 insertAndReadRecords(recordCount, /* stepCount= */ 10); in insertRecords_sameClientRecordIdAndNewData_readNewData() 1539 List<StepsRecord> newRecords = insertAndReadRecords(recordCount, newCount); in insertRecords_sameClientRecordIdAndNewData_readNewData() 1551 insertAndReadRecords(recordCount, oldVersion, oldCount); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 1555 List<StepsRecord> newRecords = insertAndReadRecords(recordCount, newVersion, newCount); in insertRecords_sameClientRecordIdAndNewerVersion_readNewData() 1567 insertAndReadRecords(recordCount, version, oldCount); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 1570 List<StepsRecord> newRecords = insertAndReadRecords(recordCount, version, newCount); in insertRecords_sameClientRecordIdAndSameVersion_readNewData() 1582 insertAndReadRecords(recordCount, oldVersion, oldCount); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 1586 List<StepsRecord> newRecords = insertAndReadRecords(recordCount, newVersion, newCount); in insertRecords_sameClientRecordIdAndOlderVersion_readOldData() 1664 private static List<StepsRecord> insertAndReadRecords(int recordCount, int stepCount) in insertAndReadRecords() method in StepsRecordTest 1666 return insertAndReadRecords(recordCount, /* version= */ 0L, stepCount); in insertAndReadRecords() [all …]
|