Searched refs:document (Results 1 – 7 of 7) sorted by relevance
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchMigratorTest.java | 43 @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 …]
|
D | GenericDocumentCtsTest.java | 148 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 …]
|
D | AppSearchSchemaMigrationCtsTestBase.java | 89 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 …]
|
D | SetSchemaRequestCtsTest.java | 106 @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 …]
|
D | AppSearchSessionCtsTestBase.java | 2032 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/tests/print/src/android/print/cts/ |
D | PageRangeAdjustAndVerify.java | 301 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/ |
D | BasePrintTest.java | 818 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()
|