Searched refs:ExerciseSessionRecordInternal (Results 1 – 9 of 9) sorted by relevance
31 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;86 ExerciseSessionRecordInternal fooSession = in readRecordsByIds_doesNotReturnRoutesOfOtherApps()88 ExerciseSessionRecordInternal barSession = in readRecordsByIds_doesNotReturnRoutesOfOtherApps()90 ExerciseSessionRecordInternal ownSession = in readRecordsByIds_doesNotReturnRoutesOfOtherApps()107 Map<String, ExerciseSessionRecordInternal> idToSessionMap = in readRecordsByIds_doesNotReturnRoutesOfOtherApps()112 ExerciseSessionRecordInternal.class::cast)); in readRecordsByIds_doesNotReturnRoutesOfOtherApps()123 ExerciseSessionRecordInternal session = in readRecordsByIds_unknownApp_doesNotReturnRoute()140 ExerciseSessionRecordInternal returnedRecord = in readRecordsByIds_unknownApp_doesNotReturnRoute()141 (ExerciseSessionRecordInternal) returnedRecords.get(0); in readRecordsByIds_unknownApp_doesNotReturnRoute()148 ExerciseSessionRecordInternal session = in readRecordsByIds_nullPackageName_doesNotReturnRoute()[all …]
27 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;37 ExerciseSessionRecordInternal session = TestUtils.buildExerciseSessionInternal(); in testSessionConvertToExternal_convertToExternal_fieldsIsEqual()44 ExerciseSessionRecordInternal session = in testSessionConvertToExternal_convertToExternalNoExtra_fieldsIsEqual()52 ExerciseSessionRecordInternal session = TestUtils.buildExerciseSessionInternal(); in testSessionWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()53 ExerciseSessionRecordInternal restoredSession = writeAndRestoreFromParcel(session); in testSessionWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical()61 ExerciseSessionRecordInternal session = in testSessionWriteToParcel_populateToParcelAndFromNoExtra_restoredFieldsAreIdentical()63 ExerciseSessionRecordInternal restoredSession = writeAndRestoreFromParcel(session); in testSessionWriteToParcel_populateToParcelAndFromNoExtra_restoredFieldsAreIdentical()74 private ExerciseSessionRecordInternal writeAndRestoreFromParcel( in writeAndRestoreFromParcel()75 ExerciseSessionRecordInternal session) { in writeAndRestoreFromParcel()79 ExerciseSessionRecordInternal restoredSession = new ExerciseSessionRecordInternal(); in writeAndRestoreFromParcel()[all …]
32 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;72 public static ExerciseSessionRecordInternal buildExerciseSessionInternal() { in buildExerciseSessionInternal()73 return (ExerciseSessionRecordInternal) in buildExerciseSessionInternal()74 new ExerciseSessionRecordInternal() in buildExerciseSessionInternal()174 public static ExerciseSessionRecordInternal buildExerciseSessionInternalNoExtraFields() { in buildExerciseSessionInternalNoExtraFields()175 return (ExerciseSessionRecordInternal) in buildExerciseSessionInternalNoExtraFields()176 new ExerciseSessionRecordInternal() in buildExerciseSessionInternalNoExtraFields()
38 public final class ExerciseSessionRecordInternal class68 public ExerciseSessionRecordInternal setNotes(String notes) { in setNotes()80 public ExerciseSessionRecordInternal setExerciseType(int exerciseType) { in setExerciseType()92 public ExerciseSessionRecordInternal setTitle(String title) { in setTitle()107 public ExerciseSessionRecordInternal setRoute(ExerciseRouteInternal route) { in setRoute()122 public ExerciseSessionRecordInternal setHasRoute(boolean hasRoute) { in setHasRoute()137 public ExerciseSessionRecordInternal setExerciseLaps( in setExerciseLaps()151 public ExerciseSessionRecordInternal setExerciseSegments( in setExerciseSegments()160 public ExerciseSessionRecordInternal setPlannedExerciseSessionId(@Nullable UUID id) { in setPlannedExerciseSessionId()
55 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;92 extends IntervalRecordHelper<ExerciseSessionRecordInternal> {120 @NonNull Cursor cursor, @NonNull ExerciseSessionRecordInternal exerciseSessionRecord) { in populateSpecificRecordValue()176 @NonNull ExerciseSessionRecordInternal exerciseSessionRecord) { in populateSpecificContentValues()203 @NonNull ExerciseSessionRecordInternal record) { in getChildTableUpsertRequests()258 ExerciseSessionRecordInternal session = (ExerciseSessionRecordInternal) record; in getPostUpsertCommands()344 ExerciseSessionRecordInternal session = (ExerciseSessionRecordInternal) recordInternal; in checkRecordOperationsAreEnabled()354 ExerciseSessionRecordInternal session = (ExerciseSessionRecordInternal) recordInternal; in getRequiredExtraWritePermissions()411 List<ExerciseSessionRecordInternal> internalRecords, in readExtraData()421 ExerciseSessionRecordInternal record = in readExtraData()[all …]
43 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;226 ExerciseSessionRecordInternal record = new ExerciseSessionRecordInternal().setRoute(route); in testEnforceRecordsWritePermissions_onlyMainPermissionGranted_throwsSecurityException()241 ExerciseSessionRecordInternal record = new ExerciseSessionRecordInternal(); in testEnforceRecordsWritePermissions_extraPermissionGranted_throwsSecurityException()254 ExerciseSessionRecordInternal record = new ExerciseSessionRecordInternal(); in testEnforceRecordsWritePermissions_allPermissionsGranted_doesNotThrow()347 ExerciseSessionRecordInternal record = new ExerciseSessionRecordInternal(); in testCollectExtraWritePermissionStateMapping_permissionsGranted_permissionsMarkedTrue()364 ExerciseSessionRecordInternal record = new ExerciseSessionRecordInternal(); in testCollectExtraWritePermissionStateMapping_permissionDenied_permissionsMarkedFalse()
26 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;425 public ExerciseSessionRecordInternal toRecordInternal() { in toRecordInternal()426 ExerciseSessionRecordInternal recordInternal = in toRecordInternal()427 (ExerciseSessionRecordInternal) in toRecordInternal()428 new ExerciseSessionRecordInternal() in toRecordInternal()
42 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;146 public static ExerciseSessionRecordInternal createExerciseSessionRecordWithRoute( in createExerciseSessionRecordWithRoute()148 return (ExerciseSessionRecordInternal) in createExerciseSessionRecordWithRoute()149 new ExerciseSessionRecordInternal() in createExerciseSessionRecordWithRoute()
75 import android.health.connect.internal.datatypes.ExerciseSessionRecordInternal;216 ExerciseSessionRecordInternal.class); in RecordMapper()