/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | PlannedExerciseSessionRecordTest.java | 48 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 98 PlannedExerciseSessionRecord.class, in tearDown() 115 PlannedExerciseSessionRecord.Builder builder = in insertRecord_startTimeInFuture_bypassesFutureTimeRestrictions() 129 PlannedExerciseSessionRecord.Builder builder = in insertRecord_noBlocks() 141 PlannedExerciseSessionRecord.Builder builder = in insertRecord_singleBlock() 154 PlannedExerciseSessionRecord.Builder builder = in insertRecord_multipleBlocks() 166 PlannedExerciseSessionRecord insertedPlan = in insertRecord_multipleBlocks() 167 Iterables.getOnlyElement(readAllRecords(PlannedExerciseSessionRecord.class)); in insertRecord_multipleBlocks() 174 PlannedExerciseSessionRecord.Builder builder = in insertRecord_singleStep() 197 PlannedExerciseSessionRecord.Builder builder = in insertRecord_multipleSteps() [all …]
|
D | ExerciseCompletionGoalTest.java | 32 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 63 PlannedExerciseSessionRecord.class, in tearDown() 87 PlannedExerciseSessionRecord.Builder record = in distanceGoal_insertionAndRead() 95 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in distanceGoal_insertionAndRead() 122 PlannedExerciseSessionRecord.Builder record = in stepsGoal_insertionAndRead() 129 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in stepsGoal_insertionAndRead() 156 PlannedExerciseSessionRecord.Builder record = in durationGoal_insertionAndRead() 164 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in durationGoal_insertionAndRead() 191 PlannedExerciseSessionRecord.Builder record = in repetitionsGoal_insertionAndRead() 199 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in repetitionsGoal_insertionAndRead() [all …]
|
D | ExercisePerformanceGoalTest.java | 33 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 66 PlannedExerciseSessionRecord.class, in tearDown() 108 PlannedExerciseSessionRecord.Builder record = in powerGoal_insertAndRead() 117 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in powerGoal_insertAndRead() 171 PlannedExerciseSessionRecord.Builder record = in speedGoal_insertAndRead() 181 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in speedGoal_insertAndRead() 210 PlannedExerciseSessionRecord.Builder record = in cadenceGoal_insertAndRead() 218 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in cadenceGoal_insertAndRead() 246 PlannedExerciseSessionRecord.Builder record = in heartRateGoal_insertAndRead() 254 TestUtils.readAllRecords(PlannedExerciseSessionRecord.class))) in heartRateGoal_insertAndRead() [all …]
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | PlannedExerciseSessionRecordFormatter.kt | 19 import android.health.connect.datatypes.PlannedExerciseSessionRecord in <lambda>() 40 BaseFormatter<PlannedExerciseSessionRecord>(context), in <lambda>() 41 RecordDetailsFormatter<PlannedExerciseSessionRecord> { in <lambda>() 44 record: PlannedExerciseSessionRecord, in <lambda>() 59 fun formatTitle(record: PlannedExerciseSessionRecord): String { in <lambda>() 66 private fun getNotes(record: PlannedExerciseSessionRecord): String? { in <lambda>() 71 record: PlannedExerciseSessionRecord in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | PlannedExerciseSessionRecordInternal.java | 22 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 39 extends IntervalRecordInternal<PlannedExerciseSessionRecord> { 155 public PlannedExerciseSessionRecord toExternalRecord() { in toExternalRecord() 156 PlannedExerciseSessionRecord.Builder builder = in toExternalRecord() 158 ? new PlannedExerciseSessionRecord.Builder( in toExternalRecord() 160 : new PlannedExerciseSessionRecord.Builder( in toExternalRecord()
|
D | ExerciseSessionRecordInternal.java | 24 import android.health.connect.datatypes.PlannedExerciseSessionRecord;
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | PlannedExerciseSessionRecord.java | 45 public final class PlannedExerciseSessionRecord extends IntervalRecord { class 75 private PlannedExerciseSessionRecord( in PlannedExerciseSessionRecord() method in PlannedExerciseSessionRecord 164 if (!(o instanceof PlannedExerciseSessionRecord)) return false; in equals() 166 PlannedExerciseSessionRecord that = (PlannedExerciseSessionRecord) o; in equals() 386 public PlannedExerciseSessionRecord buildWithoutValidation() { in buildWithoutValidation() 387 return new PlannedExerciseSessionRecord( in buildWithoutValidation() 404 public PlannedExerciseSessionRecord build() { in build() 408 return new PlannedExerciseSessionRecord( in build()
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/ |
D | BackupRestoreE2ETest.java | 49 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 161 PlannedExerciseSessionRecord.Builder trainingPlan = in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 163 PlannedExerciseSessionRecord insertedTrainingPlan = in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 164 (PlannedExerciseSessionRecord) insertRecords(List.of(trainingPlan.build())).get(0); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 184 PlannedExerciseSessionRecord trainingPlanWithAutogeneratedReferenceToExerciseSession = in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 185 readAllRecords(PlannedExerciseSessionRecord.class).get(0); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 204 PlannedExerciseSessionRecord restoredTrainingPlan = in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly() 205 (PlannedExerciseSessionRecord) records.get(0); in testBackupThenRestore_trainingPlans_expectDataIsRestoredCorrectly()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | TestConstants.kt | 35 import android.health.connect.datatypes.PlannedExerciseSessionRecord in <lambda>() 150 fun getSamplePlannedExerciseSessionRecord(): PlannedExerciseSessionRecord { in getSamplePlannedExerciseSessionRecord() 195 ): PlannedExerciseSessionRecord { in getPlannedExerciseSessionRecord() 203 private fun basePlannedExerciseSession(exerciseType: Int): PlannedExerciseSessionRecord.Builder { in basePlannedExerciseSession() 204 val builder: PlannedExerciseSessionRecord.Builder = in basePlannedExerciseSession() 205 PlannedExerciseSessionRecord.Builder( in basePlannedExerciseSession()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | HealthDataEntryDetailsFormatter.kt | 24 import android.health.connect.datatypes.PlannedExerciseSessionRecord 69 is PlannedExerciseSessionRecord -> in formatDetails()
|
D | HealthDataEntryFormatter.kt | 46 import android.health.connect.datatypes.PlannedExerciseSessionRecord 195 is PlannedExerciseSessionRecord -> in format()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/ |
D | DeleteCategoryUseCaseTest.kt | 28 import android.health.connect.datatypes.PlannedExerciseSessionRecord in <lambda>() 110 PlannedExerciseSessionRecord::class.java) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | DataType.kt | 44 import android.health.connect.datatypes.PlannedExerciseSessionRecord 100 PLANNED_EXERCISE(PlannedExerciseSessionRecord::class.java)
|
D | HealthPermissionToDatatypeMapper.kt | 44 import android.health.connect.datatypes.PlannedExerciseSessionRecord 139 PLANNED_EXERCISE to listOf(PlannedExerciseSessionRecord::class.java))
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | DataFactory.java | 42 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 266 public static PlannedExerciseSessionRecord.Builder plannedExerciseSession(Metadata metadata) { in plannedExerciseSession() 267 PlannedExerciseSessionRecord.Builder sessionBuilder = in plannedExerciseSession() 268 new PlannedExerciseSessionRecord.Builder( in plannedExerciseSession()
|
D | TestUtils.java | 124 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 805 PlannedExerciseSessionRecord.class, in populateAndResetExpectedResponseMap()
|
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/ |
D | TestAppReceiver.java | 46 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 395 PlannedExerciseSessionRecord record = in createPlannedExerciseRecord() 396 new PlannedExerciseSessionRecord.Builder( in createPlannedExerciseRecord()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ |
D | Constants.kt | 44 import android.health.connect.datatypes.PlannedExerciseSessionRecord 281 PLANNED_EXERCISE(PlannedExerciseSessionRecord::class, R.string.training_plans),
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/ |
D | InsertOrUpdateRecords.kt | 51 import android.health.connect.datatypes.PlannedExerciseSessionRecord 583 PlannedExerciseSessionRecord::class -> { in createRecordObjectHelper() 586 PlannedExerciseSessionRecord.Builder( in createRecordObjectHelper()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/ |
D | InsertRecordFragment.kt | 34 import android.health.connect.datatypes.PlannedExerciseSessionRecord in <lambda>() 289 PlannedExerciseSessionRecord::class -> { in <lambda>()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | RecordMapper.java | 46 import android.health.connect.datatypes.PlannedExerciseSessionRecord; 319 PlannedExerciseSessionRecord.class); in RecordMapper()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 1397 …droid.healthconnect.flags.training_plans") public final class PlannedExerciseSessionRecord extends… 1408 public static final class PlannedExerciseSessionRecord.Builder { 1409 …ctor public PlannedExerciseSessionRecord.Builder(@NonNull android.health.connect.datatypes.Metadat… 1410 …ctor public PlannedExerciseSessionRecord.Builder(@NonNull android.health.connect.datatypes.Metadat… 1411 …method @NonNull public android.health.connect.datatypes.PlannedExerciseSessionRecord.Builder addBl… 1412 method @NonNull public android.health.connect.datatypes.PlannedExerciseSessionRecord build(); 1413 …method @NonNull public android.health.connect.datatypes.PlannedExerciseSessionRecord.Builder clear… 1414 …method @NonNull public android.health.connect.datatypes.PlannedExerciseSessionRecord.Builder clear… 1415 …method @NonNull public android.health.connect.datatypes.PlannedExerciseSessionRecord.Builder clear… 1416 …method @NonNull public android.health.connect.datatypes.PlannedExerciseSessionRecord.Builder setBl… [all …]
|