Home
last modified time | relevance | path

Searched refs:document (Results 1 – 9 of 9) sorted by relevance

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchMigratorTest.java43 @NonNull GenericDocument document) { in testOnUpgrade()
45 document.getNamespace(), in testOnUpgrade()
46 document.getId(), in testOnUpgrade()
47 document.getSchemaType()) in testOnUpgrade()
48 .setCreationTimestampMillis(document.getCreationTimestampMillis()) in testOnUpgrade()
49 .setScore(document.getScore()) in testOnUpgrade()
50 .setTtlMillis(document.getTtlMillis()) in testOnUpgrade()
65 @NonNull GenericDocument document) { in testOnUpgrade()
66 return document; in testOnUpgrade()
105 @NonNull GenericDocument document) { in testOnDowngrade()
[all …]
DGenericDocumentCtsTest.java148 GenericDocument document = in testDocumentGetSingleValue() local
160 assertThat(document.getId()).isEqualTo("id1"); in testDocumentGetSingleValue()
161 assertThat(document.getTtlMillis()).isEqualTo(1L); in testDocumentGetSingleValue()
162 assertThat(document.getSchemaType()).isEqualTo("schemaType1"); in testDocumentGetSingleValue()
163 assertThat(document.getCreationTimestampMillis()).isEqualTo(5); in testDocumentGetSingleValue()
164 assertThat(document.getScore()).isEqualTo(1); in testDocumentGetSingleValue()
165 assertThat(document.getPropertyLong("longKey1")).isEqualTo(1L); in testDocumentGetSingleValue()
166 assertThat(document.getPropertyDouble("doubleKey1")).isEqualTo(1.0); in testDocumentGetSingleValue()
167 assertThat(document.getPropertyBoolean("booleanKey1")).isTrue(); in testDocumentGetSingleValue()
168 assertThat(document.getPropertyString("stringKey1")).isEqualTo("test-value1"); in testDocumentGetSingleValue()
[all …]
DAppSearchSchemaMigrationCtsTestBase.java89 int currentVersion, int finalVersion, @NonNull GenericDocument document) {
90 return document;
96 int currentVersion, int finalVersion, @NonNull GenericDocument document) {
97 return document;
110 int currentVersion, int finalVersion, @NonNull GenericDocument document) {
111 return document;
117 int currentVersion, int finalVersion, @NonNull GenericDocument document) {
118 return document;
481 @NonNull GenericDocument document) { in testSchemaMigration()
482 if (document.getId().equals("id2")) { in testSchemaMigration()
[all …]
DSetSchemaRequestCtsTest.java106 @NonNull GenericDocument document) { in testSetSchemaRequestTypeChanges()
107 return document; in testSetSchemaRequestTypeChanges()
115 @NonNull GenericDocument document) { in testSetSchemaRequestTypeChanges()
116 return document; in testSetSchemaRequestTypeChanges()
131 @NonNull GenericDocument document) { in testSetSchemaRequestTypeChanges()
132 return document; in testSetSchemaRequestTypeChanges()
140 @NonNull GenericDocument document) { in testSetSchemaRequestTypeChanges()
141 return document; in testSetSchemaRequestTypeChanges()
156 @NonNull GenericDocument document) { in testSetSchemaRequestTypeChanges()
157 return document; in testSetSchemaRequestTypeChanges()
[all …]
DAppSearchSessionCtsTestBase.java2032 GenericDocument document = in testSnippet() local
2040 mDb1.put(new PutDocumentsRequest.Builder().addGenericDocuments(document).build())); in testSnippet()
2180 GenericDocument document = in testCJKSnippet() local
2185 mDb1.put(new PutDocumentsRequest.Builder().addGenericDocuments(document).build())); in testCJKSnippet()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/customer/
DCustomerDocumentTest.java92 private CustomerDocument(GenericDocument document) { in CustomerDocument() argument
93 super(document); in CustomerDocument()
/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustAndVerify.java301 PrintedPdfDocument document = new PrintedPdfDocument(getActivity(), in adjustPageRangeAndVerifyPages()
326 PdfDocument.Page page = document.startPage(pageNumber); in adjustPageRangeAndVerifyPages()
336 document.finishPage(page); in adjustPageRangeAndVerifyPages()
340 document.writeTo(fos); in adjustPageRangeAndVerifyPages()
342 document.close(); in adjustPageRangeAndVerifyPages()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java818 PrintedPdfDocument document = new PrintedPdfDocument(getActivity(), constraints); in writeBlankPages() local
821 PdfDocument.Page page = document.startPage(i); in writeBlankPages()
822 document.finishPage(page); in writeBlankPages()
825 document.writeTo(fos); in writeBlankPages()
827 document.close(); in writeBlankPages()
/cts/apps/CtsVerifier/
DNOTICE.txt70 and distribution as defined by Sections 1 through 9 of this document.
299 and distribution as defined by Sections 1 through 9 of this document.
500 of this license document, but changing it is not allowed.
840 of this license document, but changing it is not allowed.
1344 of this license document, but changing it is not allowed.
1848 of this license document, but changing it is not allowed.
2220 of this license document, but changing it is not allowed.
2612 and distribution as defined by Sections 1 through 9 of this document.
2921 and distribution as defined by Sections 1 through 9 of this document.
3223 and distribution as defined by Sections 1 through 9 of this document.
[all …]