/packages/modules/DnsResolver/ |
D | DnsQueryLogTest.cpp | 71 std::vector<DnsQueryLog::Record> records = { in TEST_F() 72 DnsQueryLog::Record(30, 1000, 1000, "example.com", serversV4, 10), in TEST_F() 73 DnsQueryLog::Record(31, 1000, 1000, "", serversV4, 10), // Empty hostname. in TEST_F() 74 DnsQueryLog::Record(32, 1000, 1000, "example.com", {}, 10), // No answer. in TEST_F() 75 DnsQueryLog::Record(33, 1000, 1000, "example.com", serversV4V6, 10), in TEST_F() 97 DnsQueryLog::Record record(30, 1000, 1000, "www.example.com", serversV4, 10); in TEST_F() 113 DnsQueryLog::Record r1(30, 1000, 1000, "www.example1.com", serversV4V6, 10); in TEST_F() 114 DnsQueryLog::Record r2(31, 1000, 1000, "www.example2.com", serversV4V6, 10); in TEST_F() 115 DnsQueryLog::Record r3(32, 1000, 1000, "www.example3.com", serversV4V6, 10); in TEST_F() 128 DnsQueryLog::Record r1(30, 1000, 1000, "www.example1.com", serversV4V6, 10); in TEST_F() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | MenstruationFlowRecordTest.java | 36 import android.health.connect.datatypes.Record; 81 List<Record> records = in testInsertMenstruationFlowRecord() 88 List<Record> recordList = in testReadMenstruationFlowRecord_usingIds() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingIds() 107 List<Record> recordList = in testReadMenstruationFlowRecord_usingClientRecordIds() 110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingClientRecordIds() 218 private void readMenstruationFlowRecordUsingClientId(List<Record> insertedRecord) in readMenstruationFlowRecordUsingClientId() 222 for (Record record : insertedRecord) { in readMenstruationFlowRecordUsingClientId() 230 private void readMenstruationFlowRecordUsingIds(List<Record> recordList) in readMenstruationFlowRecordUsingIds() 234 for (Record record : recordList) { in readMenstruationFlowRecordUsingIds() [all …]
|
D | SexualActivityRecordTest.java | 35 import android.health.connect.datatypes.Record; 81 List<Record> records = in testInsertSexualActivityRecord() 88 List<Record> recordList = in testReadSexualActivityRecord_usingIds() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingIds() 106 List<Record> recordList = in testReadSexualActivityRecord_usingClientRecordIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingClientRecordIds() 209 private void readSexualActivityRecordUsingClientId(List<Record> insertedRecord) in readSexualActivityRecordUsingClientId() 213 for (Record record : insertedRecord) { in readSexualActivityRecordUsingClientId() 221 private void readSexualActivityRecordUsingIds(List<Record> recordList) in readSexualActivityRecordUsingIds() 225 for (Record record : recordList) { in readSexualActivityRecordUsingIds() [all …]
|
D | OvulationTestRecordTest.java | 36 import android.health.connect.datatypes.Record; 81 List<Record> records = in testInsertOvulationTestRecord() 88 List<Record> recordList = in testReadOvulationTestRecord_usingIds() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingIds() 106 List<Record> recordList = in testReadOvulationTestRecord_usingClientRecordIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingClientRecordIds() 207 private void readOvulationTestRecordUsingClientId(List<Record> insertedRecord) in readOvulationTestRecordUsingClientId() 211 for (Record record : insertedRecord) { in readOvulationTestRecordUsingClientId() 219 private void readOvulationTestRecordUsingIds(List<Record> recordList) in readOvulationTestRecordUsingIds() 223 for (Record record : recordList) { in readOvulationTestRecordUsingIds() [all …]
|
D | BoneMassRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = List.of(getBaseBoneMassRecord(), getCompleteBoneMassRecord()); in testInsertBoneMassRecord() 88 List<Record> recordList = in testReadBoneMassRecord_usingIds() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingIds() 106 List<Record> recordList = in testReadBoneMassRecord_usingClientRecordIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingClientRecordIds() 200 private void readBoneMassRecordUsingClientId(List<Record> insertedRecord) in readBoneMassRecordUsingClientId() 204 for (Record record : insertedRecord) { in readBoneMassRecordUsingClientId() 212 private void readBoneMassRecordUsingIds(List<Record> recordList) throws InterruptedException { in readBoneMassRecordUsingIds() 215 for (Record record : recordList) { in readBoneMassRecordUsingIds() [all …]
|
D | ActiveCaloriesBurnedRecordTest.java | 36 import android.health.connect.datatypes.Record; 100 List<Record> records = in testInsertActiveCaloriesBurnedRecord() 109 List<Record> recordList = in testReadActiveCaloriesBurnedRecord_usingIds() 113 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingIds() 130 List<Record> recordList = in testReadActiveCaloriesBurnedRecord_usingClientRecordIds() 134 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingClientRecordIds() 273 List<Record> records = in testDeleteActiveCaloriesBurnedRecord_recordId_filters() 277 List<Record> insertedRecords = TestUtils.insertRecords(records); in testDeleteActiveCaloriesBurnedRecord_recordId_filters() 279 for (Record record : insertedRecords) { in testDeleteActiveCaloriesBurnedRecord_recordId_filters() 316 List<Record> records = in testDeleteActiveCaloriesBurnedRecord_usingIds() [all …]
|
D | BloodGlucoseRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = in testInsertBloodGlucoseRecord() 89 List<Record> recordList = in testReadBloodGlucoseRecord_usingIds() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingIds() 107 List<Record> recordList = in testReadBloodGlucoseRecord_usingClientRecordIds() 109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingClientRecordIds() 204 private void readBloodGlucoseRecordUsingClientId(List<Record> insertedRecord) in readBloodGlucoseRecordUsingClientId() 208 for (Record record : insertedRecord) { in readBloodGlucoseRecordUsingClientId() 216 private void readBloodGlucoseRecordUsingIds(List<Record> recordList) in readBloodGlucoseRecordUsingIds() 220 for (Record record : recordList) { in readBloodGlucoseRecordUsingIds() [all …]
|
D | BasalBodyTemperatureRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = in testInsertBasalBodyTemperatureRecord() 101 List<Record> recordList = in testReadBasalBodyTemperatureRecord_usingIds() 105 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingIds() 122 List<Record> recordList = in testReadBasalBodyTemperatureRecord_usingClientRecordIds() 126 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingClientRecordIds() 149 List<Record> records = in testReadBasalBodyTemperatureRecordUsingFilters_default() 262 List<Record> insertedRecords = in testUpdateRecords_validInput_dataBaseUpdatedSuccessfully() 272 List<Record> updateRecords = in testUpdateRecords_validInput_dataBaseUpdatedSuccessfully() 296 List<Record> insertedRecords = in testUpdateRecords_invalidInputRecords_noChangeInDataBase() [all …]
|
D | OxygenSaturationRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = in testInsertOxygenSaturationRecord() 89 List<Record> recordList = in testReadOxygenSaturationRecord_usingIds() 92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingIds() 108 List<Record> recordList = in testReadOxygenSaturationRecord_usingClientRecordIds() 111 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingClientRecordIds() 219 private void readOxygenSaturationRecordUsingClientId(List<Record> insertedRecord) in readOxygenSaturationRecordUsingClientId() 223 for (Record record : insertedRecord) { in readOxygenSaturationRecordUsingClientId() 231 private void readOxygenSaturationRecordUsingIds(List<Record> recordList) in readOxygenSaturationRecordUsingIds() 235 for (Record record : recordList) { in readOxygenSaturationRecordUsingIds() [all …]
|
D | BodyTemperatureRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = in testInsertBodyTemperatureRecord() 99 List<Record> recordList = in testReadBodyTemperatureRecord_usingIds() 102 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingIds() 118 List<Record> recordList = in testReadBodyTemperatureRecord_usingClientRecordIds() 121 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingClientRecordIds() 226 private void readBodyTemperatureRecordUsingClientId(List<Record> insertedRecord) in readBodyTemperatureRecordUsingClientId() 230 for (Record record : insertedRecord) { in readBodyTemperatureRecordUsingClientId() 238 private void readBodyTemperatureRecordUsingIds(List<Record> recordList) in readBodyTemperatureRecordUsingIds() 242 for (Record record : recordList) { in readBodyTemperatureRecordUsingIds() [all …]
|
D | RespiratoryRateRecordTest.java | 35 import android.health.connect.datatypes.Record; 81 List<Record> records = in testInsertRespiratoryRateRecord() 88 List<Record> recordList = in testReadRespiratoryRateRecord_usingIds() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingIds() 107 List<Record> recordList = in testReadRespiratoryRateRecord_usingClientRecordIds() 110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingClientRecordIds() 213 private void readRespiratoryRateRecordUsingClientId(List<Record> insertedRecord) in readRespiratoryRateRecordUsingClientId() 217 for (Record record : insertedRecord) { in readRespiratoryRateRecordUsingClientId() 225 private void readRespiratoryRateRecordUsingIds(List<Record> recordList) in readRespiratoryRateRecordUsingIds() 229 for (Record record : recordList) { in readRespiratoryRateRecordUsingIds() [all …]
|
D | CervicalMucusRecordTest.java | 36 import android.health.connect.datatypes.Record; 81 List<Record> records = in testInsertCervicalMucusRecord() 88 List<Record> recordList = in testReadCervicalMucusRecord_usingIds() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingIds() 106 List<Record> recordList = in testReadCervicalMucusRecord_usingClientRecordIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingClientRecordIds() 210 private void readCervicalMucusRecordUsingClientId(List<Record> insertedRecord) in readCervicalMucusRecordUsingClientId() 214 for (Record record : insertedRecord) { in readCervicalMucusRecordUsingClientId() 222 private void readCervicalMucusRecordUsingIds(List<Record> recordList) in readCervicalMucusRecordUsingIds() 226 for (Record record : recordList) { in readCervicalMucusRecordUsingIds() [all …]
|
D | BodyFatRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = List.of(getBaseBodyFatRecord(), getCompleteBodyFatRecord()); in testInsertBodyFatRecord() 88 List<Record> recordList = in testReadBodyFatRecord_usingIds() 90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingIds() 106 List<Record> recordList = in testReadBodyFatRecord_usingClientRecordIds() 108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingClientRecordIds() 195 private void readBodyFatRecordUsingClientId(List<Record> insertedRecord) in readBodyFatRecordUsingClientId() 199 for (Record record : insertedRecord) { in readBodyFatRecordUsingClientId() 207 private void readBodyFatRecordUsingIds(List<Record> recordList) throws InterruptedException { in readBodyFatRecordUsingIds() 210 for (Record record : recordList) { in readBodyFatRecordUsingIds() [all …]
|
D | HeartRateVariabilityRmssdRecordTest.java | 38 import android.health.connect.datatypes.Record; 84 List<Record> records = in testInsertHeartRateVariabilityRmssdRecord() 93 List<Record> recordList = in testReadHeartRateVariabilityRmssdRecord_usingIds() 114 List<Record> recordList = in testReadHeartRateVariabilityRmssdRecord_usingClientRecordIds() 118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadHeartRateVariabilityRmssdRecord_usingClientRecordIds() 263 List<Record> records = in testDeleteHeartRateVariabilityRmssdRecord_recordId_filters() 269 for (Record record : records) { in testDeleteHeartRateVariabilityRmssdRecord_recordId_filters() 306 List<Record> records = in testDeleteHeartRateVariabilityRmssdRecord_usingIds() 310 List<Record> insertedRecords = TestUtils.insertRecords(records); in testDeleteHeartRateVariabilityRmssdRecord_usingIds() 312 for (Record record : insertedRecords) { in testDeleteHeartRateVariabilityRmssdRecord_usingIds() [all …]
|
D | LeanBodyMassRecordTest.java | 36 import android.health.connect.datatypes.Record; 82 List<Record> records = in testInsertLeanBodyMassRecord() 89 List<Record> recordList = in testReadLeanBodyMassRecord_usingIds() 91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingIds() 107 List<Record> recordList = in testReadLeanBodyMassRecord_usingClientRecordIds() 109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingClientRecordIds() 204 private void readLeanBodyMassRecordUsingClientId(List<Record> insertedRecord) in readLeanBodyMassRecordUsingClientId() 208 for (Record record : insertedRecord) { in readLeanBodyMassRecordUsingClientId() 216 private void readLeanBodyMassRecordUsingIds(List<Record> recordList) in readLeanBodyMassRecordUsingIds() 220 for (Record record : recordList) { in readLeanBodyMassRecordUsingIds() [all …]
|
D | Vo2MaxRecordTest.java | 35 import android.health.connect.datatypes.Record; 81 List<Record> records = List.of(getBaseVo2MaxRecord(), getCompleteVo2MaxRecord()); in testInsertVo2MaxRecord() 87 List<Record> recordList = in testReadVo2MaxRecord_usingIds() 89 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingIds() 105 List<Record> recordList = in testReadVo2MaxRecord_usingClientRecordIds() 107 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingClientRecordIds() 195 private void readVo2MaxRecordUsingClientId(List<Record> insertedRecord) in readVo2MaxRecordUsingClientId() 199 for (Record record : insertedRecord) { in readVo2MaxRecordUsingClientId() 207 private void readVo2MaxRecordUsingIds(List<Record> recordList) throws InterruptedException { in readVo2MaxRecordUsingIds() 210 for (Record record : recordList) { in readVo2MaxRecordUsingIds() [all …]
|
D | RestingHeartRateRecordTest.java | 38 import android.health.connect.datatypes.Record; 93 List<Record> records = in testInsertRestingHeartRateRecord() 100 List<Record> recordList = in testReadRestingHeartRateRecord_usingIds() 103 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingIds() 119 List<Record> recordList = in testReadRestingHeartRateRecord_usingClientRecordIds() 122 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingClientRecordIds() 230 private void readRestingHeartRateRecordUsingClientId(List<Record> insertedRecord) in readRestingHeartRateRecordUsingClientId() 234 for (Record record : insertedRecord) { in readRestingHeartRateRecordUsingClientId() 242 private void readRestingHeartRateRecordUsingIds(List<Record> recordList) in readRestingHeartRateRecordUsingIds() 246 for (Record record : recordList) { in readRestingHeartRateRecordUsingIds() [all …]
|
D | HydrationRecordTest.java | 41 import android.health.connect.datatypes.Record; 91 List<Record> records = List.of(getBaseHydrationRecord(), getCompleteHydrationRecord()); in testInsertHydrationRecord() 97 List<Record> recordList = in testReadHydrationRecord_usingIds() 99 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadHydrationRecord_usingIds() 115 List<Record> recordList = in testReadHydrationRecord_usingClientRecordIds() 117 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadHydrationRecord_usingClientRecordIds() 236 List<Record> records = in testDeleteHydrationRecord_recordId_filters() 240 for (Record record : records) { in testDeleteHydrationRecord_recordId_filters() 276 List<Record> records = in testDeleteHydrationRecord_usingIds() 280 for (Record record : records) { in testDeleteHydrationRecord_usingIds() [all …]
|
D | SkinTemperatureRecordTest.java | 44 import android.health.connect.datatypes.Record; 177 List<Record> records = in testReadSkinTemperatureRecord_usingIds() 179 List<Record> insertedRecords = TestUtils.insertRecords(records); in testReadSkinTemperatureRecord_usingIds() 183 for (Record record : insertedRecords) { in testReadSkinTemperatureRecord_usingIds() 195 List<Record> insertedRecords = TestUtils.insertRecords(records); in testReadSkinTemperatureRecord_invalidIds() 209 List<Record> recordList = in testReadSkinTemperatureRecord_usingClientRecordIds() 211 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSkinTemperatureRecord_usingClientRecordIds() 215 for (Record record : insertedRecords) { in testReadSkinTemperatureRecord_usingClientRecordIds() 226 List<Record> recordList = in testReadSkinTemperatureRecord_invalidClientRecordIds() 228 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSkinTemperatureRecord_invalidClientRecordIds() [all …]
|
D | IntermenstrualBleedingRecordTest.java | 38 import android.health.connect.datatypes.Record; 84 List<Record> records = in testInsertIntermenstrualBleedingRecord() 93 List<Record> recordList = in testReadIntermenstrualBleedingRecord_usingIds() 114 List<Record> recordList = in testReadIntermenstrualBleedingRecord_usingClientRecordIds() 118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadIntermenstrualBleedingRecord_usingClientRecordIds() 261 List<Record> records = in testDeleteIntermenstrualBleedingRecord_recordId_filters() 267 for (Record record : records) { in testDeleteIntermenstrualBleedingRecord_recordId_filters() 304 List<Record> records = in testDeleteIntermenstrualBleedingRecord_usingIds() 310 for (Record record : records) { in testDeleteIntermenstrualBleedingRecord_usingIds() 315 for (Record record : records) { in testDeleteIntermenstrualBleedingRecord_usingIds() [all …]
|
D | MenstruationPeriodRecordTest.java | 38 import android.health.connect.datatypes.Record; 85 List<Record> records = in testInsertMenstruationPeriodRecord() 92 List<Record> recordList = in testReadMenstruationPeriodRecord_usingIds() 113 List<Record> recordList = in testReadMenstruationPeriodRecord_usingClientRecordIds() 117 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationPeriodRecord_usingClientRecordIds() 249 List<Record> records = in testDeleteMenstruationPeriodRecord_recordId_filters() 255 for (Record record : records) { in testDeleteMenstruationPeriodRecord_recordId_filters() 292 List<Record> records = in testDeleteMenstruationPeriodRecord_usingIds() 298 for (Record record : records) { in testDeleteMenstruationPeriodRecord_usingIds() 303 for (Record record : records) { in testDeleteMenstruationPeriodRecord_usingIds() [all …]
|
D | BodyWaterMassRecordTest.java | 38 import android.health.connect.datatypes.Record; 85 List<Record> records = in testInsertBodyWaterMassRecord() 92 List<Record> recordList = in testReadBodyWaterMassRecord_usingIds() 112 List<Record> recordList = in testReadBodyWaterMassRecord_usingClientRecordIds() 114 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyWaterMassRecord_usingClientRecordIds() 239 List<Record> records = in testDeleteBodyWaterMassRecord_recordId_filters() 243 for (Record record : records) { in testDeleteBodyWaterMassRecord_recordId_filters() 279 List<Record> records = in testDeleteBodyWaterMassRecord_usingIds() 283 for (Record record : records) { in testDeleteBodyWaterMassRecord_usingIds() 288 for (Record record : records) { in testDeleteBodyWaterMassRecord_usingIds() [all …]
|
D | DistanceRecordTest.java | 41 import android.health.connect.datatypes.Record; 110 List<Record> records = List.of(getBaseDistanceRecord(), getCompleteDistanceRecord()); in testInsertDistanceRecord() 116 List<Record> recordList = in testReadDistanceRecord_usingIds() 118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingIds() 134 List<Record> recordList = in testReadDistanceRecord_usingClientRecordIds() 136 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingClientRecordIds() 253 List<Record> records = in testDeleteDistanceRecord_recordId_filters() 257 for (Record record : records) { in testDeleteDistanceRecord_recordId_filters() 292 List<Record> records = in testDeleteDistanceRecord_usingIds() 296 for (Record record : records) { in testDeleteDistanceRecord_usingIds() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | GetActivityDatesTest.java | 29 import android.health.connect.datatypes.Record; 66 List<Record> records = getTestRecords(); in testEmptyActivityDates() 70 records.stream().map(Record::getClass).collect(Collectors.toList())); in testEmptyActivityDates() 77 List<Record> records = getTestRecords(); in testActivityDates() 84 records.stream().map(Record::getClass).collect(Collectors.toList())); in testActivityDates() 93 List<Record> records = getTestRecords(); in testGetActivityDates_onUpdate() 94 List<Record> insertedRecords = TestUtils.insertRecords(records); in testGetActivityDates_onUpdate() 101 .map(Record::getClass) in testGetActivityDates_onUpdate() 109 List<Record> updatedRecords = getTestRecords(); in testGetActivityDates_onUpdate() 134 updatedRecords.stream().map(Record::getClass).collect(Collectors.toList())); in testGetActivityDates_onUpdate() [all …]
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreE2ETest.java | 50 import android.health.connect.datatypes.Record; 135 List<Record> insertedRecords = in testBackupThenRestore_over2000Records_expectDataIsRestoredCorrectly() 159 List<Record> insertedTrainingPlans = new ArrayList<>(); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 160 List<Record> insertedExercises = new ArrayList<>(); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 340 private static void readAndAssertRecordsExistUsingIds(List<Record> insertedRecords) in readAndAssertRecordsExistUsingIds() 345 List<? extends Record> result = readRecordsUsingIds(insertedRecords); in readAndAssertRecordsExistUsingIds() 352 private static void readAndAssertRecordsNotExistUsingIds(List<Record> insertedRecords) in readAndAssertRecordsNotExistUsingIds() 357 List<? extends Record> result = readRecordsUsingIds(insertedRecords); in readAndAssertRecordsNotExistUsingIds() 363 private static List<? extends Record> readRecordsUsingIds(List<Record> insertedRecords) in readRecordsUsingIds() 365 Class<? extends Record> clazz = insertedRecords.get(0).getClass(); in readRecordsUsingIds() [all …]
|