Searched refs:buildExerciseSession (Results 1 – 7 of 7) sorted by relevance
19 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;61 List<Record> records = List.of(buildExerciseSession()); in testWriteRoute_insertWithDisableFeature_throwsException()73 List<Record> records = List.of(buildExerciseSession()); in testReadRoute_insertAndRead_routeIsNotAvailable()
19 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;73 List<Record> records = List.of(buildExerciseSession()); in testWriteExerciseSession_insertWithDisableFeature_throwsException()86 List<Record> records = List.of(buildExerciseSession()); in testReadExerciseSession_insertAndRead_sessionIsNotAvailable()
25 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;120 buildExerciseSession(); in testBuildSession_noException()346 TestUtils.insertRecords(List.of(buildExerciseSession(), buildSessionMinimal())); in testReadById_insertAndReadById_recordsAreEqual()358 List<Record> records = TestUtils.insertRecords(List.of(buildExerciseSession())); in testReadById_insertAndReadByIdOne_recordsAreEqual()377 TestUtils.insertRecords(List.of(buildExerciseSession(), buildSessionMinimal())); in testReadByClientId_insertAndReadByClientId_recordsAreEqual()391 TestUtils.insertRecords(List.of(buildExerciseSession(), buildSessionMinimal())); in testReadByClientId_insertAndReadByDefaultFilter_filteredAll()405 TestUtils.insertRecords(List.of(buildExerciseSession(), buildSessionMinimal())); in testReadByClientId_insertAndReadByTimeFilter_filteredCorrectly()429 TestUtils.insertRecords(List.of(buildExerciseSession(), buildSessionMinimal())); in testDeleteRecords_insertAndDeleteById_recordsNotFoundAnymore()490 String id = APP_WRITE_PERMS_ONLY.insertRecord(buildExerciseSession()); in testDeleteRecord_usingIds_forAnotherApp_fails()505 String id = APP_WRITE_PERMS_ONLY.insertRecord(buildExerciseSession()); in testDeleteRecord_usingTime_forAnotherApp_notDeleted()[all …]
195 public static ExerciseSessionRecord buildExerciseSession() { in buildExerciseSession() method in DataFactory196 return buildExerciseSession(generateMetadata()); in buildExerciseSession()201 return buildExerciseSession(getEmptyMetadata()); in buildExerciseSessionWithEmptyMetadata()206 return buildExerciseSession(generateMetadataWithClientId(clientId)); in buildExerciseSessionWithClientId()210 public static ExerciseSessionRecord buildExerciseSession(Metadata metadata) { in buildExerciseSession() method in DataFactory602 buildExerciseSession()); in getTestRecords()
25 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;181 buildExerciseSession()); in getTestRecords()
32 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;279 new Pair<>(buildExerciseSession(), EXERCISE_DURATION_TOTAL)); in testAggregate_noPermissions_expectError()380 buildExerciseSession()); in getTestRecords()
19 import static android.healthconnect.cts.utils.DataFactory.buildExerciseSession;631 buildExerciseSession()); in testChangeLogs_insert_withPageSize_paginatesThroughAllChangeLogs()