Home
last modified time | relevance | path

Searched refs:getCompleteStepsRecord (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java24 import static android.healthconnect.cts.utils.DataFactory.getCompleteStepsRecord;
128 List<Record> records = List.of(getBaseStepsRecord(), getCompleteStepsRecord()); in testInsertStepsRecord()
154 List<Record> recordList = Arrays.asList(getCompleteStepsRecord(), getCompleteStepsRecord()); in testReadStepsRecord_usingIds()
173 List<Record> recordList = Arrays.asList(getCompleteStepsRecord(), getCompleteStepsRecord()); in testReadStepsRecord_usingClientRecordIds()
196 StepsRecord testRecord = (StepsRecord) TestUtils.insertRecord(getCompleteStepsRecord()); in testReadStepsRecordUsingFilters_default()
214 StepsRecord testRecord = (StepsRecord) TestUtils.insertRecord(getCompleteStepsRecord()); in testReadStepsRecordUsingFilters_timeFilter()
247 StepsRecord testRecord = (StepsRecord) TestUtils.insertRecord(getCompleteStepsRecord()); in testReadStepsRecordUsingFilters_dataFilter_correct()
263 TestUtils.insertRecords(Collections.singletonList(getCompleteStepsRecord())); in testReadStepsRecordUsingFilters_dataFilter_incorrect()
475 String id = TestUtils.insertRecordAndGetId(getCompleteStepsRecord()); in testDeleteStepsRecord_no_filters()
487 String id = TestUtils.insertRecordAndGetId(getCompleteStepsRecord()); in testDeleteStepsRecord_time_filters()
[all …]
DHeartRateRecordTest.java25 import static android.healthconnect.cts.utils.DataFactory.getCompleteStepsRecord;
507 TestUtils.insertRecordAndGetId(getCompleteStepsRecord()); in testDeleteHeartRateRecord_usingTime_forAnotherApp_notDeleted()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java21 import static android.healthconnect.cts.utils.DataFactory.getCompleteStepsRecord;
111 List<Record> testRecord = List.of(getCompleteStepsRecord()); in testTryAcquireApiCallQuota_readCallsInLimit()
157 List<Record> testRecord = Collections.nCopies(30000, getCompleteStepsRecord()); in exceedChunkMemoryQuota()
188 List<Record> testRecord = Collections.nCopies(350, getCompleteStepsRecord()); in exceedRecordMemoryRollingQuotaBackgroundLimit()
201 List<Record> testRecord = List.of(getCompleteStepsRecord()); in exceedWriteQuota()
209 TestUtils.insertRecords(List.of(getCompleteStepsRecord())); in exceedWriteQuota()
221 List<Record> testRecord = Arrays.asList(getCompleteStepsRecord()); in exceedReadQuota()
305 List<Record> testRecord = Arrays.asList(getCompleteStepsRecord()); in tryAcquireCallQuotaNTimesForWrite()
312 List<Record> updateRecords = Arrays.asList(getCompleteStepsRecord()); in tryAcquireCallQuotaNTimesForWrite()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java399 public static StepsRecord getCompleteStepsRecord() { in getCompleteStepsRecord() method in DataFactory
400 return getCompleteStepsRecord( in getCompleteStepsRecord()
405 public static StepsRecord getCompleteStepsRecord( in getCompleteStepsRecord() method in DataFactory
407 return getCompleteStepsRecord(startTime, endTime, clientRecordId, /* count= */ 10); in getCompleteStepsRecord()
411 public static StepsRecord getCompleteStepsRecord( in getCompleteStepsRecord() method in DataFactory
413 return getCompleteStepsRecord( in getCompleteStepsRecord()
423 public static StepsRecord getCompleteStepsRecord( in getCompleteStepsRecord() method in DataFactory
425 return getCompleteStepsRecord( in getCompleteStepsRecord()
434 public static StepsRecord getCompleteStepsRecord( in getCompleteStepsRecord() method in DataFactory
436 return getCompleteStepsRecord( in getCompleteStepsRecord()
[all …]