Home
last modified time | relevance | path

Searched refs:getNotes (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMindfulnessSessionRecord.java156 public CharSequence getNotes() { in getNotes() method in MindfulnessSessionRecord
168 && isEqualNullableCharSequences(getNotes(), that.getNotes()); in equals()
173 return Objects.hash(super.hashCode(), getMindfulnessSessionType(), getTitle(), getNotes()); in hashCode()
332 if (getNotes() != null) { in toRecordInternal()
333 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
DSleepSessionRecord.java109 public CharSequence getNotes() { in getNotes() method in SleepSessionRecord
132 return isEqualNullableCharSequences(getNotes(), that.getNotes()) in equals()
139 return Objects.hash(super.hashCode(), getNotes(), getTitle(), getStages()); in hashCode()
443 if (getNotes() != null) { in toRecordInternal()
444 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
DExerciseSessionRecord.java143 public CharSequence getNotes() { in getNotes() method in ExerciseSessionRecord
200 && RecordUtils.isEqualNullableCharSequences(getNotes(), that.getNotes()) in equals()
213 getNotes(), in hashCode()
444 if (getNotes() != null) { in toRecordInternal()
445 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
DPlannedExerciseSessionRecord.java112 public CharSequence getNotes() { in getNotes() method in PlannedExerciseSessionRecord
167 return RecordUtils.isEqualNullableCharSequences(this.getNotes(), that.getNotes()) in equals()
180 getNotes(), in hashCode()
444 if (getNotes() != null) { in toRecordInternal()
445 recordInternal.setNotes(getNotes().toString()); in toRecordInternal()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DSleepSessionInternalTest.java84 internal.getNotes(), external.getNotes()); in assertFieldsAreEqual()
99 internal.getNotes(), internal2.getNotes()); in assertFieldsAreEqual()
DExerciseSessionInternalTest.java105 internal.getNotes(), external.getNotes()); in assertFieldsAreEqual()
162 internal.getNotes(), internal2.getNotes()); in assertFieldsAreEqual()
DMindfulSessionRecordInternalTest.java83 assertThat(externalRecord.getNotes()).isEqualTo("notes"); in toExternalRecord_allFieldsSet()
116 assertThat(externalRecord.getNotes()).isNull(); in toExternalRecord_optionalFieldsNotSet()
169 assertThat(decodedRecord.getNotes()).isEqualTo("notes"); in writeToParcel_populateUsing_allFieldsSet()
208 assertThat(decodedRecord.getNotes()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet()
264 assertThat(internalRecord.getNotes()).isEqualTo("notes"); in mindfulnessSessionRecord_toInternalRecord_allFieldsSet()
301 assertThat(internalRecord.getNotes()).isNull(); in mindfulnessSessionRecord_toInternalRecord_optionalFieldsNotSet()
DPlannedExerciseSessionInternalTest.java80 assertThat(first.getNotes()).isEqualTo(second.getNotes()); in assertFieldsAreEqual()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DMindfulnessSessionRecordInternal.java70 if (getNotes() != null) { in toExternalRecord()
71 builder.setNotes(getNotes()); in toExternalRecord()
104 public String getNotes() { in getNotes() method in MindfulnessSessionRecordInternal
DSleepSessionRecordInternal.java46 public String getNotes() { in getNotes() method in SleepSessionRecordInternal
121 if (getNotes() != null) { in toExternalRecord()
122 builder.setNotes(getNotes()); in toExternalRecord()
DPlannedExerciseSessionRecordInternal.java53 public String getNotes() { in getNotes() method in PlannedExerciseSessionRecordInternal
172 if (getNotes() != null) { in toExternalRecord()
173 builder.setNotes(getNotes()); in toExternalRecord()
DExerciseSessionRecordInternal.java62 public String getNotes() { in getNotes() method in ExerciseSessionRecordInternal
189 if (getNotes() != null) { in toExternalRecord()
190 builder.setNotes(getNotes()); in toExternalRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DPlannedExerciseSessionRecordFormatter.kt55 notes = getNotes(record), in <lambda>()
66 private fun getNotes(record: PlannedExerciseSessionRecord): String? { in <lambda>() method
DSleepSessionFormatter.kt62 notes = getNotes(record)) in <lambda>()
83 private fun getNotes(record: SleepSessionRecord): String? { in <lambda>() method in com.android.healthconnect.controller.dataentries.formatters.SleepSessionFormatter
DExerciseSessionFormatter.kt126 notes = getNotes(record), in <lambda>()
138 fun getNotes(record: ExerciseSessionRecord): String? { in <lambda>() method in com.android.healthconnect.controller.dataentries.formatters.ExerciseSessionFormatter
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java106 public String getNotes() { in getNotes() method in VCardResourceEntry
107 List<NoteData> notes = mVCard.getNotes(); in getNotes()
271 if (vcard.getNotes() != null) {
272 for (final NoteData note : vcard.getNotes()) {
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DSleepSessionRecordTest.java200 assertThat(CharSequence.compare(record.getNotes(), NOTES)).isEqualTo(0); in testSleepSession_buildSession_buildsCorrectObject()
238 assertThat(CharSequence.compare(readRecord.getNotes(), insertedRecord.getNotes())) in testReadById_insertAndReadByIdOne_recordsAreEqual()
DMindfulnessSessionRecordTest.java115 assertThat(record.getNotes()).isEqualTo("notes"); in mindfulnessSessionRecordBuilder_allFieldsSet()
138 assertThat(record.getNotes()).isNull(); in mindfulnessSessionRecordBuilder_optionalFieldsUnset()
DPlannedExerciseSessionRecordTest.java1125 assertThat(builtRecord.getNotes()).isEqualTo("Some notes"); in builtRecord_fieldsMatchValuesSpecifiedViaBuilder()
1211 builder.setNotes(record.getNotes()); in plannedExerciseSessionRecordToBuilder()
1425 assertWithMessage("notes").that(actual.getNotes()).isEqualTo(expected.getNotes()); in assertRecordsEqual()
DExerciseSessionRecordTest.java111 assertThat(record.getNotes()).isNull(); in testExerciseSession_buildSession_buildCorrectObject()
184 assertThat(record.getNotes().toString()).isEqualTo(notes); in testExerciseSession_buildSessionWithAllFields_buildCorrectObject()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DSleepSessionRecordHelper.java113 contentValues.put(NOTES_COLUMN_NAME, sleepSessionRecord.getNotes()); in populateSpecificContentValues()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPersonTest.java107 assertThat(person.getNotes()).asList().containsExactly(note1, note2); in testBuilder()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DExerciseSessionFormatterTest.kt81 formatter.getNotes(getRecord(type = EXERCISE_SESSION_TYPE_BIKING, note = "notes"))) in <lambda>()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/
DPerson.java333 public String[] getNotes() { in getNotes() method in Person
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java611 values.putCharSequence(NOTES, record.getNotes()); in getExerciseSessionRecordValues()
764 values.putCharSequence(NOTES, record.getNotes()); in getSleepRecordValues()

12