Home
last modified time | relevance | path

Searched refs:Note (Results 1 – 5 of 5) sorted by relevance

/appfunctions/appfunctions-common/src/androidTest/java/androidx/appfunctions/
DSerializableTestEntities.kt29 data class Note(val title: String, val attachment: Attachment) class
45 class `$NoteFactory` : AppFunctionSerializableFactory<Note> {
46 override fun fromAppFunctionData(appFunctionData: AppFunctionData): Note { in fromAppFunctionData()
47 return Note( in fromAppFunctionData()
55 override fun toAppFunctionData(appFunctionSerializable: Note): AppFunctionData { in toAppFunctionData()
DAppFunctionDataTest.kt153 Note(title = "testTitle", attachment = Attachment("testUri")), in testReadWriteGeneric_nestedObjectParameter()
154 Note::class.java, in testReadWriteGeneric_nestedObjectParameter()
159 Note(title = "testTitle1", attachment = Attachment("testUri1")), in testReadWriteGeneric_nestedObjectParameter()
160 Note(title = "testTitle2", attachment = Attachment("testUri2")), in testReadWriteGeneric_nestedObjectParameter()
162 Note::class.java, in testReadWriteGeneric_nestedObjectParameter()
166 assertThat(data.getGenericField("note", Note::class.java)) in testReadWriteGeneric_nestedObjectParameter()
167 .isEqualTo(Note(title = "testTitle", attachment = Attachment("testUri"))) in testReadWriteGeneric_nestedObjectParameter()
168 assertThat(data.getGenericListField<Note, List<Note>>("noteList", Note::class.java)) in testReadWriteGeneric_nestedObjectParameter()
170 Note(title = "testTitle1", attachment = Attachment("testUri1")), in testReadWriteGeneric_nestedObjectParameter()
171 Note(title = "testTitle2", attachment = Attachment("testUri2")), in testReadWriteGeneric_nestedObjectParameter()
[all …]
/appfunctions/integration-tests/multi-modules-testapp/app/src/androidTest/java/androidx/appfunctions/integration/tests/
DTestFunctions.kt60 data class Note( class
104 ): Note { in createNote()
105 return Note( in createNote()
117 ): Note { in updateNote()
118 return Note( in updateNote()
DIntegrationTest.kt225 Note( in <lambda>()
234 ?.deserialize(Note::class.java) in <lambda>()
268 Note( in <lambda>()
277 ?.deserialize(Note::class.java) in <lambda>()
311 Note( in <lambda>()
455 Note( in <lambda>()
464 ?.deserialize(Note::class.java) in <lambda>()
497 Note( in <lambda>()
506 ?.deserialize(Note::class.java) in <lambda>()
534 Note( in <lambda>()
[all …]
/appfunctions/appfunctions-common/src/main/java/androidx/appfunctions/metadata/
DREADME.md63 **Important Note on Document Class Divergence:** Due to the underlying storage mechanism of