Searched refs:ExerciseRouteInternal (Results 1 – 8 of 8) sorted by relevance
21 import android.health.connect.internal.datatypes.ExerciseRouteInternal;30 ExerciseRouteInternal.LocationInternal location = in testLocation_convertToExternalAndBack_isIdentical()32 ExerciseRouteInternal.LocationInternal convertedLocation = in testLocation_convertToExternalAndBack_isIdentical()39 ExerciseRouteInternal.LocationInternal location = TestUtils.buildInternalLocation(); in testLocationNoOptionalFields_convertToExternalAndBack_isIdentical()40 ExerciseRouteInternal.LocationInternal convertedLocation = in testLocationNoOptionalFields_convertToExternalAndBack_isIdentical()47 ExerciseRouteInternal mRoute = TestUtils.buildExerciseRouteInternal(); in testRouteConvertToExternal_convertToExternalAndBack_isIdentical()48 ExerciseRouteInternal convertedRoute = mRoute.toExternalRoute().toRouteInternal(); in testRouteConvertToExternal_convertToExternalAndBack_isIdentical()54 ExerciseRouteInternal mRoute = TestUtils.buildExerciseRouteInternal(); in testRouteWriteToParcel_writeReadFromParcel_isIdentical()56 ExerciseRouteInternal.writeToParcel(mRoute, parcel); in testRouteWriteToParcel_writeReadFromParcel_isIdentical()58 ExerciseRouteInternal restoredRoute = ExerciseRouteInternal.readFromParcel(parcel); in testRouteWriteToParcel_writeReadFromParcel_isIdentical()[all …]
30 import android.health.connect.internal.datatypes.ExerciseRouteInternal;50 public static ExerciseRouteInternal.LocationInternal buildInternalLocationAllFields() { in buildInternalLocationAllFields()51 return new ExerciseRouteInternal.LocationInternal() in buildInternalLocationAllFields()60 public static ExerciseRouteInternal.LocationInternal buildInternalLocation() { in buildInternalLocation()61 return new ExerciseRouteInternal.LocationInternal() in buildInternalLocation()67 public static ExerciseRouteInternal buildExerciseRouteInternal() { in buildExerciseRouteInternal()68 return new ExerciseRouteInternal( in buildExerciseRouteInternal()
38 public class ExerciseRouteInternal { class41 public ExerciseRouteInternal(@NonNull List<LocationInternal> routeExerciseRouteLocations) { in ExerciseRouteInternal() method in ExerciseRouteInternal54 public static ExerciseRouteInternal readFromParcel(@NonNull Parcel parcel) { in readFromParcel()65 return new ExerciseRouteInternal(routeLocations); in readFromParcel()71 @Nullable ExerciseRouteInternal route, @NonNull Parcel parcel) { in writeToParcel()102 if (!(o instanceof ExerciseRouteInternal)) return false; in equals()103 ExerciseRouteInternal that = (ExerciseRouteInternal) o; in equals()
49 private ExerciseRouteInternal mExerciseRoute;101 public ExerciseRouteInternal getRoute() { in getRoute()107 public ExerciseSessionRecordInternal setRoute(ExerciseRouteInternal route) { in setRoute()222 ExerciseRouteInternal.writeToParcel(mExerciseRoute, parcel); in populateIntervalRecordTo()236 mExerciseRoute = ExerciseRouteInternal.readFromParcel(parcel); in populateIntervalRecordFrom()244 public void addRouteLocation(ExerciseRouteInternal.LocationInternal location) { in addRouteLocation()246 mExerciseRoute = new ExerciseRouteInternal(List.of(location)); in addRouteLocation()
28 import android.health.connect.internal.datatypes.ExerciseRouteInternal;49 static ExerciseRouteInternal.LocationInternal populateLocation(@NonNull Cursor cursor) { in populateLocation()50 return new ExerciseRouteInternal.LocationInternal() in populateLocation()71 static List<UpsertTableRequest> getRouteUpsertRequests(ExerciseRouteInternal route) { in getRouteUpsertRequests()99 ContentValues contentValues, ExerciseRouteInternal.LocationInternal location) { in populateRouteLocationTo()
24 import android.health.connect.internal.datatypes.ExerciseRouteInternal;86 public ExerciseRouteInternal toRouteInternal() { in toRouteInternal()87 List<ExerciseRouteInternal.LocationInternal> routeLocations = in toRouteInternal()92 return new ExerciseRouteInternal(routeLocations); in toRouteInternal()247 public ExerciseRouteInternal.LocationInternal toExerciseRouteLocationInternal() { in toExerciseRouteLocationInternal()248 ExerciseRouteInternal.LocationInternal locationInternal = in toExerciseRouteLocationInternal()249 new ExerciseRouteInternal.LocationInternal() in toExerciseRouteLocationInternal()
41 import android.health.connect.internal.datatypes.ExerciseRouteInternal;198 private static ExerciseRouteInternal createExerciseRoute(Instant startTime) { in createExerciseRoute()203 return new ExerciseRouteInternal( in createExerciseRoute()207 new ExerciseRouteInternal.LocationInternal() in createExerciseRoute()
42 import android.health.connect.internal.datatypes.ExerciseRouteInternal;223 ExerciseRouteInternal.LocationInternal locationInternal = in testEnforceRecordsWritePermissions_onlyMainPermissionGranted_throwsSecurityException()224 new ExerciseRouteInternal.LocationInternal(); in testEnforceRecordsWritePermissions_onlyMainPermissionGranted_throwsSecurityException()225 ExerciseRouteInternal route = new ExerciseRouteInternal(List.of(locationInternal)); in testEnforceRecordsWritePermissions_onlyMainPermissionGranted_throwsSecurityException()