Home
last modified time | relevance | path

Searched refs:ExerciseSessionRecord (Results 1 – 25 of 58) sorted by relevance

123

/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteReadTest.java37 import android.health.connect.datatypes.ExerciseSessionRecord;
71 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_cannotAccessOtherAppRoute()
74 List<ExerciseSessionRecord> records = in readRecords_usingFilters_cannotAccessOtherAppRoute()
76 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_cannotAccessOtherAppRoute()
86 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canAccessOwnRoute()
89 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canAccessOwnRoute()
91 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_canAccessOwnRoute()
101 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_mixedOwnAndOtherAppSession()
103 ExerciseSessionRecord ownSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_mixedOwnAndOtherAppSession()
106 List<ExerciseSessionRecord> records = in readRecords_usingFilters_mixedOwnAndOtherAppSession()
[all …]
DExerciseRouteBackgroundReadTest.java34 import android.health.connect.datatypes.ExerciseSessionRecord;
78 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_cannotAccessOtherAppRoute()
81 List<ExerciseSessionRecord> records = in readRecords_usingFilters_cannotAccessOtherAppRoute()
83 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_cannotAccessOtherAppRoute()
93 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canAccessOwnRoute()
96 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canAccessOwnRoute()
98 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_canAccessOwnRoute()
108 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_mixedOwnAndOtherAppSession()
110 ExerciseSessionRecord ownSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_mixedOwnAndOtherAppSession()
114 List<ExerciseSessionRecord> records = in readRecords_usingFilters_mixedOwnAndOtherAppSession()
[all …]
DReadExerciseRoutesPermissionTest.java34 import android.health.connect.datatypes.ExerciseSessionRecord;
68 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canAccessOtherAppRoute()
71 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canAccessOtherAppRoute()
73 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_canAccessOtherAppRoute()
83 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canAccessOwnRoute()
86 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canAccessOwnRoute()
88 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_canAccessOwnRoute()
98 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_mixedOwnAndOtherAppSession()
100 ExerciseSessionRecord ownSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_mixedOwnAndOtherAppSession()
103 List<ExerciseSessionRecord> records = in readRecords_usingFilters_mixedOwnAndOtherAppSession()
[all …]
DExerciseRouteWriteTest.java39 import android.health.connect.datatypes.ExerciseSessionRecord;
72 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in insertRecords_withRoute_routeGetsInserted()
76 List<ExerciseSessionRecord> records = readAllExerciseSessionRecordsPrivileged(); in insertRecords_withRoute_routeGetsInserted()
84 ExerciseSessionRecord sessionWithRoute = in insertRecords_withClientId_withoutRoute_routeGetsDeleted()
87 ExerciseSessionRecord updatedSessionWithoutRoute = in insertRecords_withClientId_withoutRoute_routeGetsDeleted()
92 List<ExerciseSessionRecord> records = readAllExerciseSessionRecordsPrivileged(); in insertRecords_withClientId_withoutRoute_routeGetsDeleted()
100 ExerciseSessionRecord sessionWithRoute = in insertRecords_withClientId_withUpdatedRoute_routeGetsUpdated()
103 ExerciseSessionRecord sessionWithUpdatedRoute = in insertRecords_withClientId_withUpdatedRoute_routeGetsUpdated()
108 List<ExerciseSessionRecord> records = readAllExerciseSessionRecordsPrivileged(); in insertRecords_withClientId_withUpdatedRoute_routeGetsUpdated()
116 ExerciseSessionRecord sessionWithoutRoute = in insertRecords_withClientId_withAddedRoute_routeGetsInserted()
[all …]
DExerciseRouteNoReadWritePermissionTest.java45 import android.health.connect.datatypes.ExerciseSessionRecord;
76 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in insertRecords_canNotInsertRoute()
93 ExerciseSessionRecord sessionWithRoute = in insertRecords_withSameClientId_withoutRoute_routeDoesNotGetDeleted()
96 ExerciseSessionRecord updatedSessionWithoutRoute = in insertRecords_withSameClientId_withoutRoute_routeDoesNotGetDeleted()
104 List<ExerciseSessionRecord> records = readAllExerciseSessionRecordsPrivileged(); in insertRecords_withSameClientId_withoutRoute_routeDoesNotGetDeleted()
113 ExerciseSessionRecord sessionWithRoute = in insertRecords_withSameClientId_updatedRoute_throws_routeDoesNotGetUpdated()
116 ExerciseSessionRecord sessionWithUpdatedRoute = in insertRecords_withSameClientId_updatedRoute_throws_routeDoesNotGetUpdated()
131 List<ExerciseSessionRecord> records = readAllExerciseSessionRecordsPrivileged(); in insertRecords_withSameClientId_updatedRoute_throws_routeDoesNotGetUpdated()
140 ExerciseSessionRecord sessionWithoutRoute = in insertRecords_withSameClientId_addedRoute_throws_routeDoesNotGetAdded()
143 ExerciseSessionRecord sessionWithAddedRoute = in insertRecords_withSameClientId_addedRoute_throws_routeDoesNotGetAdded()
[all …]
DExerciseRouteReadAllFeatureOffTest.java34 import android.health.connect.datatypes.ExerciseSessionRecord;
71 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canNotAccessOtherAppRoute()
74 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canNotAccessOtherAppRoute()
76 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_canNotAccessOtherAppRoute()
86 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canAccessOwnRoute()
89 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canAccessOwnRoute()
91 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in readRecords_usingFilters_canAccessOwnRoute()
101 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingIds_canNotAccessOtherAppRoute()
104 List<ExerciseSessionRecord> records = in readRecords_usingIds_canNotAccessOtherAppRoute()
106 new ReadRecordsRequestUsingIds.Builder<>(ExerciseSessionRecord.class) in readRecords_usingIds_canNotAccessOtherAppRoute()
[all …]
DExerciseRouteManageHealthDataTest.java38 import android.health.connect.datatypes.ExerciseSessionRecord;
68 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canNotAccessOtherAppRoute()
71 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canNotAccessOtherAppRoute()
76 ExerciseSessionRecord.class) in readRecords_usingFilters_canNotAccessOtherAppRoute()
87 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingIds_canNotAccessOtherAppRoute()
90 List<ExerciseSessionRecord> records = in readRecords_usingIds_canNotAccessOtherAppRoute()
95 ExerciseSessionRecord.class) in readRecords_usingIds_canNotAccessOtherAppRoute()
110 .addRecordType(ExerciseSessionRecord.class) in getChangelogs_canNotAccessOtherAppRoute()
113 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in getChangelogs_canNotAccessOtherAppRoute()
121 List<ExerciseSessionRecord> records = in getChangelogs_canNotAccessOtherAppRoute()
[all …]
DReadExerciseRoutePermissionTest.java38 import android.health.connect.datatypes.ExerciseSessionRecord;
68 ExerciseSessionRecord sessionWithRoute = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingFilters_canAccessOtherAppRoute()
71 List<ExerciseSessionRecord> records = in readRecords_usingFilters_canAccessOtherAppRoute()
76 ExerciseSessionRecord.class) in readRecords_usingFilters_canAccessOtherAppRoute()
87 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in readRecords_usingIds_canAccessOtherAppRoute()
90 List<ExerciseSessionRecord> records = in readRecords_usingIds_canAccessOtherAppRoute()
95 ExerciseSessionRecord.class) in readRecords_usingIds_canAccessOtherAppRoute()
110 .addRecordType(ExerciseSessionRecord.class) in getChangelogs_canAccessOtherAppRoute()
113 ExerciseSessionRecord otherAppSession = getExerciseSessionWithRoute(getEmptyMetadata()); in getChangelogs_canAccessOtherAppRoute()
121 List<ExerciseSessionRecord> records = in getChangelogs_canAccessOtherAppRoute()
[all …]
DExerciseRouteTestHelper.java38 import android.health.connect.datatypes.ExerciseSessionRecord;
82 static ExerciseSessionRecord getExerciseSessionWithRoute(Metadata metadata) { in getExerciseSessionWithRoute()
86 static ExerciseSessionRecord getExerciseSessionWithRoute(Metadata metadata, Instant startTime) { in getExerciseSessionWithRoute()
90 static ExerciseSessionRecord getExerciseSessionWithAnotherRoute(Metadata metadata) { in getExerciseSessionWithAnotherRoute()
94 static ExerciseSessionRecord getExerciseSessionWithoutRoute(Metadata metadata) { in getExerciseSessionWithoutRoute()
98 static ExerciseSessionRecord getExerciseSessionWithoutRoute( in getExerciseSessionWithoutRoute()
103 static ExerciseSessionRecord getExerciseSession( in getExerciseSession()
105 return new ExerciseSessionRecord.Builder( in getExerciseSession()
135 static List<ExerciseSessionRecord> readAllExerciseSessionRecordsPrivileged() { in readAllExerciseSessionRecordsPrivileged()
140 ExerciseSessionRecord.class) in readAllExerciseSessionRecordsPrivileged()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseSessionRecordTest.java57 import android.health.connect.datatypes.ExerciseSessionRecord;
96 ExerciseSessionRecord.class, in tearDown()
106 ExerciseSessionRecord record = buildSessionMinimal(); in testExerciseSession_buildSession_buildCorrectObject()
127 ExerciseSessionRecord record = in testExerciseSession_buildEqualSessions_equalsReturnsTrue()
128 new ExerciseSessionRecord.Builder( in testExerciseSession_buildEqualSessions_equalsReturnsTrue()
134 ExerciseSessionRecord record2 = in testExerciseSession_buildEqualSessions_equalsReturnsTrue()
135 new ExerciseSessionRecord.Builder( in testExerciseSession_buildEqualSessions_equalsReturnsTrue()
163 ExerciseSessionRecord record = in testExerciseSession_buildSessionWithAllFields_buildCorrectObject()
164 new ExerciseSessionRecord.Builder( in testExerciseSession_buildSessionWithAllFields_buildCorrectObject()
194 ExerciseSessionRecord record = in testUpdateRecord_updateToRecordWithoutRouteWithWritePerm_routeIsNullAfterUpdate()
[all …]
DPlannedExerciseSessionRecordTest.java44 import android.health.connect.datatypes.ExerciseSessionRecord;
104 ExerciseSessionRecord.class, in tearDown()
290 ExerciseSessionRecord.Builder exerciseSession = in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
291 new ExerciseSessionRecord.Builder( in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
300 ExerciseSessionRecord insertedExerciseSession = in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
301 Iterables.getOnlyElement(readAllRecords(ExerciseSessionRecord.class)); in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
303 new ExerciseSessionRecord.Builder( in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
311 ExerciseSessionRecord updatedExerciseSession = in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
312 Iterables.getOnlyElement(readAllRecords(ExerciseSessionRecord.class)); in updateExerciseSession_dropTheReferenceToTrainingPlan_trainingPlanAlsoUpdated()
334 ExerciseSessionRecord.Builder exerciseSession = in updateExerciseSession_introduceReferenceToTrainingPlan_trainingPlanAlsoUpdated()
[all …]
DExerciseLapTest.java26 import android.health.connect.datatypes.ExerciseSessionRecord;
73 new ExerciseSessionRecord.Builder( in testLaps_lapStartTimeIllegal_throwsException()
89 new ExerciseSessionRecord.Builder( in testLaps_lapEndTimeIllegal_throwsException()
105 new ExerciseSessionRecord.Builder( in testLaps_lapsOverlaps_throwsException()
DExerciseSegmentTest.java27 import android.health.connect.datatypes.ExerciseSessionRecord;
83 new ExerciseSessionRecord.Builder( in testExerciseSegment_lapStartTimeIllegal_throwsException()
100 new ExerciseSessionRecord.Builder( in testExerciseSegment_lapEndTimeIllegal_throwsException()
117 new ExerciseSessionRecord.Builder( in testExerciseSegment_segmentsOverlap_throwsException()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DExerciseDurationAggregationTest.java19 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
37 import android.health.connect.datatypes.ExerciseSessionRecord;
92 ExerciseSessionRecord.class, in tearDown()
102 ExerciseSessionRecord session = in testSimpleAggregation_oneSession_returnsItsDuration()
103 new ExerciseSessionRecord.Builder( in testSimpleAggregation_oneSession_returnsItsDuration()
126 ExerciseSessionRecord session = in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration()
127 new ExerciseSessionRecord.Builder( in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration()
149 ExerciseSessionRecord session = in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration()
150 new ExerciseSessionRecord.Builder( in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration()
178 ExerciseSessionRecord session = in testSimpleAggregation_oneSessionWithRest_returnsDurationMinusRest()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/
DLoadExerciseRouteUseCaseTest.kt22 import android.health.connect.datatypes.ExerciseSessionRecord in <lambda>()
56 lateinit var listCaptor: ArgumentCaptor<ReadRecordsRequestUsingIds<ExerciseSessionRecord>> in <lambda>()
66 doAnswer(prepareAnswer(listOf<ExerciseSessionRecord>())) in <lambda>()
70 val result = useCase.invoke("test_id") as UseCaseResults.Success<ExerciseSessionRecord> in <lambda>()
84 ExerciseSessionRecord.Builder( in <lambda>()
93 val result = useCase.invoke("test_id") as UseCaseResults.Success<ExerciseSessionRecord> in <lambda>()
105 ExerciseSessionRecord.Builder( in <lambda>()
125 val result = useCase.invoke("test_id") as UseCaseResults.Success<ExerciseSessionRecord> in <lambda>()
133 sessions: List<ExerciseSessionRecord> in <lambda>()
134 ): (InvocationOnMock) -> List<ExerciseSessionRecord> { in <lambda>()
DExerciseRouteViewModelTest.kt23 import android.health.connect.datatypes.ExerciseSessionRecord in <lambda>()
126 ExerciseSessionRecord.Builder( in <lambda>()
148 ExerciseSessionRecord.Builder( in <lambda>()
171 assertThat(result?.session as ExerciseSessionRecord).isEqualTo(expectedSession) in <lambda>()
177 sessions: List<ExerciseSessionRecord> in <lambda>()
178 ): (InvocationOnMock) -> List<ExerciseSessionRecord> { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DLoadExerciseRouteUseCase.kt21 import android.health.connect.datatypes.ExerciseSessionRecord in <lambda>()
37 ) : BaseUseCase<String, ExerciseSessionRecord?>(dispatcher) { in <lambda>()
40 override suspend fun execute(sessionId: String): ExerciseSessionRecord? { in <lambda>()
42 ReadRecordsRequestUsingIds.Builder(ExerciseSessionRecord::class.java) in <lambda>()
45 val records: List<ExerciseSessionRecord> = in <lambda>()
46 suspendCancellableCoroutine<ReadRecordsResponse<ExerciseSessionRecord>> { continuation in <lambda>()
DExerciseRouteViewModel.kt22 import android.health.connect.datatypes.ExerciseSessionRecord
68 val record: ExerciseSessionRecord = result.data!! in getExerciseWithRoute()
127 fun isSessionInaccessible(packageName: String, session: ExerciseSessionRecord): Boolean { in isSessionInaccessible()
137 data class SessionWithAttribution(val session: ExerciseSessionRecord, val appInfo: AppMetadata)
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DExerciseRouteDisabledFeatureTest.java26 import android.health.connect.datatypes.ExerciseSessionRecord;
76 ExerciseSessionRecord insertedRecord = (ExerciseSessionRecord) insertedRecords.get(0); in testReadRoute_insertAndRead_routeIsNotAvailable()
80 ReadRecordsRequestUsingIds.Builder<ExerciseSessionRecord> request = in testReadRoute_insertAndRead_routeIsNotAvailable()
81 new ReadRecordsRequestUsingIds.Builder<>(ExerciseSessionRecord.class); in testReadRoute_insertAndRead_routeIsNotAvailable()
83 ExerciseSessionRecord readRecord = TestUtils.readRecords(request.build()).get(0); in testReadRoute_insertAndRead_routeIsNotAvailable()
DSessionDatatypeDisabledFeatureTest.java28 import android.health.connect.datatypes.ExerciseSessionRecord;
66 TestUtils.verifyDeleteRecords(ExerciseSessionRecord.class, mFilterAll); in tearDown()
89 ReadRecordsRequestUsingIds.Builder<ExerciseSessionRecord> request = in testReadExerciseSession_insertAndRead_sessionIsNotAvailable()
90 new ReadRecordsRequestUsingIds.Builder<>(ExerciseSessionRecord.class); in testReadExerciseSession_insertAndRead_sessionIsNotAvailable()
92 List<ExerciseSessionRecord> readRecords = TestUtils.readRecords(request.build()); in testReadExerciseSession_insertAndRead_sessionIsNotAvailable()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseSessionRecord.java46 public final class ExerciseSessionRecord extends IntervalRecord { class
86 private ExerciseSessionRecord( in ExerciseSessionRecord() method in ExerciseSessionRecord
196 if (!(o instanceof ExerciseSessionRecord)) return false; in equals()
198 ExerciseSessionRecord that = (ExerciseSessionRecord) o; in equals()
384 public ExerciseSessionRecord buildWithoutValidation() { in buildWithoutValidation()
385 return new ExerciseSessionRecord( in buildWithoutValidation()
404 public ExerciseSessionRecord build() { in build()
405 return new ExerciseSessionRecord( in build()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DRouteRequestViewModel.kt23 import android.health.connect.datatypes.ExerciseSessionRecord
34 private val _exerciseSessionRecords = MutableLiveData<Result<List<ExerciseSessionRecord>>>()
35 val exerciseSessionRecords: LiveData<Result<List<ExerciseSessionRecord>>>
42 ReadRecordsRequestUsingFilters.Builder(ExerciseSessionRecord::class.java) in readExerciseSessionRecords()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExerciseSessionRecordInternal.java21 import android.health.connect.datatypes.ExerciseSessionRecord;
39 extends IntervalRecordInternal<ExerciseSessionRecord> {
176 public ExerciseSessionRecord toExternalRecord() { in toExternalRecord()
177 ExerciseSessionRecord.Builder builder = in toExternalRecord()
178 new ExerciseSessionRecord.Builder( in toExternalRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DExerciseSessionFormatter.kt24 import android.health.connect.datatypes.ExerciseSessionRecord in <lambda>()
109 ) : BaseFormatter<ExerciseSessionRecord>(context), RecordDetailsFormatter<ExerciseSessionRecord> { in <lambda>()
114 record: ExerciseSessionRecord, in <lambda>()
130 fun formatValue(record: ExerciseSessionRecord): String { in <lambda>()
134 fun formatA11yValue(record: ExerciseSessionRecord): String { in <lambda>()
138 fun getNotes(record: ExerciseSessionRecord): String? { in <lambda>()
142 override suspend fun formatRecordDetails(record: ExerciseSessionRecord): List<FormattedEntry> { in <lambda>()
160 record: ExerciseSessionRecord, in <lambda>()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java20 import static android.health.connect.datatypes.ExerciseSessionRecord.EXERCISE_DURATION_TOTAL;
85 import android.health.connect.datatypes.ExerciseSessionRecord;
225 ExerciseSessionRecord record = in testDataOriginGetsOverriddenBySelfPackageName()
229 List<ExerciseSessionRecord> records = in testDataOriginGetsOverriddenBySelfPackageName()
231 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in testDataOriginGetsOverriddenBySelfPackageName()
390 ExerciseSessionRecord.class, in testAppWithReadPerms_readOtherAppsDataByFilters_expectSuccess()
608 List<ExerciseSessionRecord> exerciseSessionRecords = in testAppCanReadRecordsUsingDataOriginFilters()
610 new ReadRecordsRequestUsingFilters.Builder<>(ExerciseSessionRecord.class) in testAppCanReadRecordsUsingDataOriginFilters()
635 .addRecordType(ExerciseSessionRecord.class) in testAppWithReadPerms_getChangeTokensAndLogsOfOtherApps_expectSuccess()
643 .addRecordType(ExerciseSessionRecord.class) in testAppWithReadPerms_getChangeTokensAndLogsOfOtherApps_expectSuccess()
[all …]

123