Home
last modified time | relevance | path

Searched refs:LocationInternal (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DExerciseRouteInternal.java39 private final List<LocationInternal> mRouteExerciseRouteLocations;
41 public ExerciseRouteInternal(@NonNull List<LocationInternal> routeExerciseRouteLocations) { in ExerciseRouteInternal()
47 public List<LocationInternal> getRouteLocations() { in getRouteLocations()
61 ArrayList<LocationInternal> routeLocations = new ArrayList<>(routeSize); in readFromParcel()
63 routeLocations.add(LocationInternal.readFromParcel(parcel)); in readFromParcel()
83 for (LocationInternal location : mRouteExerciseRouteLocations) { in writeToParcel()
93 for (LocationInternal location : mRouteExerciseRouteLocations) { in toExternalRoute()
108 void addLocation(LocationInternal location) { in addLocation()
120 public static final class LocationInternal { class in ExerciseRouteInternal
137 public LocationInternal setTime(long time) { in setTime()
[all …]
DExerciseSessionRecordInternal.java244 public void addRouteLocation(ExerciseRouteInternal.LocationInternal location) { in addRouteLocation()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExerciseRouteInternalTest.java30 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()
DTestUtils.java50 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()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DExerciseRouteRecordHelper.java49 static ExerciseRouteInternal.LocationInternal populateLocation(@NonNull Cursor cursor) { in populateLocation()
50 return new ExerciseRouteInternal.LocationInternal() in populateLocation()
99 ContentValues contentValues, ExerciseRouteInternal.LocationInternal location) { in populateRouteLocationTo()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseRoute.java87 List<ExerciseRouteInternal.LocationInternal> routeLocations = in toRouteInternal()
247 public ExerciseRouteInternal.LocationInternal toExerciseRouteLocationInternal() { in toExerciseRouteLocationInternal()
248 ExerciseRouteInternal.LocationInternal locationInternal = in toExerciseRouteLocationInternal()
249 new ExerciseRouteInternal.LocationInternal() in toExerciseRouteLocationInternal()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DDataPermissionEnforcerTest.java223 ExerciseRouteInternal.LocationInternal locationInternal = in testEnforceRecordsWritePermissions_onlyMainPermissionGranted_throwsSecurityException()
224 new ExerciseRouteInternal.LocationInternal(); in testEnforceRecordsWritePermissions_onlyMainPermissionGranted_throwsSecurityException()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DTransactionTestUtils.java207 new ExerciseRouteInternal.LocationInternal() in createExerciseRoute()