Home
last modified time | relevance | path

Searched refs:setNotes (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMindfulnessSessionRecordTest.java102 .setNotes("notes") in mindfulnessSessionRecordBuilder_allFieldsSet()
184 .setNotes("notes") in equals_hashCode_allFieldsEqual_recordsEqual()
193 .setNotes("notes") in equals_hashCode_allFieldsEqual_recordsEqual()
215 .setNotes("notes") in equals_hashCode_metadataNotEqual_recordsNotEqual()
224 .setNotes("notes") in equals_hashCode_metadataNotEqual_recordsNotEqual()
246 .setNotes("notes") in equals_hashCode_startTimeNotEqual_recordsNotEqual()
255 .setNotes("notes") in equals_hashCode_startTimeNotEqual_recordsNotEqual()
277 .setNotes("notes") in equals_hashCode_endTimeNotEqual_recordsNotEqual()
286 .setNotes("notes") in equals_hashCode_endTimeNotEqual_recordsNotEqual()
307 .setNotes("notes") in equals_hashCode_sessionTypeNotEqual_recordsNotEqual()
[all …]
DPlannedExerciseSessionRecordTest.java1065 assertThat(builder.setNotes("X").build()).isNotEqualTo(builder.setNotes("Y").build()); in hashCodeAndEquals_sensitiveToAllFields()
1066 assertThat(builder.setNotes("X").build().hashCode()) in hashCodeAndEquals_sensitiveToAllFields()
1067 .isNotEqualTo(builder.setNotes("Y").build().hashCode()); in hashCodeAndEquals_sensitiveToAllFields()
1068 assertThat(builder.setNotes("X").build()).isEqualTo(builder.setNotes("X").build()); in hashCodeAndEquals_sensitiveToAllFields()
1069 assertThat(builder.setNotes("X").build().hashCode()) in hashCodeAndEquals_sensitiveToAllFields()
1070 .isEqualTo(builder.setNotes("X").build().hashCode()); in hashCodeAndEquals_sensitiveToAllFields()
1117 builder.setNotes("Some notes"); in builtRecord_fieldsMatchValuesSpecifiedViaBuilder()
1211 builder.setNotes(record.getNotes()); in plannedExerciseSessionRecordToBuilder()
1318 builder.setNotes("Some notes"); in basePlannedExerciseSession()
DExerciseSessionRecordTest.java172 .setNotes(notes) in testExerciseSession_buildSessionWithAllFields_buildCorrectObject()
330 .setNotes(notes) in testExerciseSessionBuilds_zoneOffsets_offsetsAreDefault()
959 .setNotes("notes") in getExerciseSessionRecord_update()
1072 .setNotes("notes") in buildSession()
DSleepSessionRecordTest.java193 .setNotes(NOTES) in testSleepSession_buildSession_buildsCorrectObject()
475 .setNotes("updated note") in getSleepSessionRecord_update()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DTestUtils.java78 .setNotes("Sunny weather") in buildExerciseSessionInternal()
98 .setNotes("Don't push yourself too hard for this one.") in buildPlannedExerciseSessionInternal()
141 .setNotes("Sunny weather") in buildSleepSessionInternal()
DMindfulSessionRecordInternalTest.java57 .setNotes("notes") in toExternalRecord_allFieldsSet()
140 .setNotes("notes") in writeToParcel_populateUsing_allFieldsSet()
254 .setNotes("notes") in mindfulnessSessionRecord_toInternalRecord_allFieldsSet()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DMindfulnessSessionRecordInternal.java71 builder.setNotes(getNotes()); in toExternalRecord()
110 public MindfulnessSessionRecordInternal setNotes(String notes) { in setNotes() method in MindfulnessSessionRecordInternal
DSleepSessionRecordInternal.java52 public SleepSessionRecordInternal setNotes(String notes) { in setNotes() method in SleepSessionRecordInternal
122 builder.setNotes(getNotes()); in toExternalRecord()
DPlannedExerciseSessionRecordInternal.java59 public PlannedExerciseSessionRecordInternal setNotes(String notes) { in setNotes() method in PlannedExerciseSessionRecordInternal
173 builder.setNotes(getNotes()); in toExternalRecord()
DExerciseSessionRecordInternal.java68 public ExerciseSessionRecordInternal setNotes(String notes) { in setNotes() method in ExerciseSessionRecordInternal
190 builder.setNotes(getNotes()); in toExternalRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMindfulnessSessionRecord.java269 public Builder setNotes(@Nullable CharSequence notes) { in setNotes() method in MindfulnessSessionRecord.Builder
333 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
DSleepSessionRecord.java356 public Builder setNotes(@Nullable CharSequence notes) { in setNotes() method in SleepSessionRecord.Builder
444 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
DExerciseSessionRecord.java302 public Builder setNotes(@Nullable CharSequence notes) { in setNotes() method in ExerciseSessionRecord.Builder
445 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
DPlannedExerciseSessionRecord.java322 public Builder setNotes(@Nullable CharSequence notes) { in setNotes() method in PlannedExerciseSessionRecord.Builder
445 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java175 .setNotes("warm") in buildSleepSession()
243 .setNotes("rain") in buildExerciseSession()
273 sessionBuilder.setNotes("Some notes"); in plannedExerciseSession()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt511 setNotes(getStringValue(mFieldNameToFieldInput, "mNotes")) in createRecordObjectHelper()
556 setNotes(getStringValue(mFieldNameToFieldInput, "mNotes")) in createRecordObjectHelper()
597 setNotes(getStringValue(mFieldNameToFieldInput, "mNotes")) in createRecordObjectHelper()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DSleepSessionRecordHelper.java96 sleepSessionRecord.setNotes(getCursorString(cursor, NOTES_COLUMN_NAME)); in populateSpecificRecordValue()
DExerciseSessionRecordHelper.java122 exerciseSessionRecord.setNotes(getCursorString(cursor, NOTES_COLUMN_NAME)); in populateSpecificRecordValue()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DExerciseSessionFormatterTest.kt133 .setNotes(note) in getRecord()
DSleepSessionFormatterTest.kt193 .setNotes(note) in getRecord()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DLoadPermissionTypesUseCaseTest.kt123 .setNotes(note) in <lambda>()
DLoadContributingAppsUseCaseTest.kt132 .setNotes(note) in <lambda>()
DFilterPermissionTypesUseCaseTest.kt155 .setNotes(note) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt198 .setNotes(note) in getPlannedExerciseSessionRecord()
207 builder.setNotes("Sample training plan notes") in basePlannedExerciseSession()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java724 record.setNotes(values.getCharSequence(NOTES)); in createExerciseSessionRecord()
847 .setNotes(values.getCharSequence(NOTES)) in createSleepSessionRecord()

12