Home
last modified time | relevance | path

Searched refs:documents (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DEnterpriseContactsDeviceTest.java193 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testHasEnterpriseAccess() local
194 assertThat(documents).isNotEmpty(); in testHasEnterpriseAccess()
210 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testDoesNotHaveEnterpriseAccess() local
211 assertThat(documents).isEmpty(); in testDoesNotHaveEnterpriseAccess()
303 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testSearchEnterpriseContacts() local
304 assertThat(documents).hasSize(3); in testSearchEnterpriseContacts()
305 for (GenericDocument document : documents) { in testSearchEnterpriseContacts()
323 documents = convertSearchResultsToDocuments(searchResults); in testSearchEnterpriseContacts()
324 assertThat(documents).isEmpty(); in testSearchEnterpriseContacts()
341 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testSearchEnterpriseContacts_withProjection() local
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSessionCtsTestBase.java2442 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testQuery() local
2443 assertThat(documents).hasSize(1); in testQuery()
2444 assertThat(documents.get(0)).isEqualTo(inEmail); in testQuery()
2453 documents = convertSearchResultsToDocuments(searchResults); in testQuery()
2454 assertThat(documents).hasSize(1); in testQuery()
2455 assertThat(documents.get(0)).isEqualTo(inEmail); in testQuery()
2488 List<GenericDocument> documents = new ArrayList<>(); in testQuery_getNextPage() local
2498 documents.add(result.getGenericDocument()); in testQuery_getNextPage()
2503 assertThat(documents).containsExactlyElementsIn(emailSet); in testQuery_getNextPage()
2555 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testQueryIndexableLongProperty_numericSearchEnabledSucceeds() local
[all …]
DGlobalSearchSessionCtsTestBase.java335 List<GenericDocument> documents = new ArrayList<>(); in testGlobalQuery_getNextPage() local
345 documents.add(result.getGenericDocument()); in testGlobalQuery_getNextPage()
350 assertAddedBetweenSnapshots(beforeBodyDocuments, documents, emailList); in testGlobalQuery_getNextPage()
352 int totalDocuments = beforeBodyDocuments.size() + documents.size(); in testGlobalQuery_getNextPage()
605 List<GenericDocument> documents = in testGlobalQuery_projectionTwoInstances() local
629 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionTwoInstances()
668 List<GenericDocument> documents = in testGlobalQuery_projectionEmptyTwoInstances() local
685 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionEmptyTwoInstances()
724 List<GenericDocument> documents = in testGlobalQuery_projectionNonExistentTypeTwoInstances() local
749 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionNonExistentTypeTwoInstances()
[all …]
DGenericDocumentCtsTest.java1077 GenericDocument[] documents = document.getPropertyDocumentArray("docKey1"); in testDocumentGetPropertyNamesMultiLevel() local
1078 assertThat(documents).asList().containsExactly(innerDoc0, innerDoc1).inOrder(); in testDocumentGetPropertyNamesMultiLevel()
1079 assertThat(documents[0].getPropertyNames()) in testDocumentGetPropertyNamesMultiLevel()
1081 assertThat(documents[1].getPropertyNames()) in testDocumentGetPropertyNamesMultiLevel()
DAppSearchSchemaMigrationCtsTestBase.java1570 List<GenericDocument> documents = convertSearchResultsToDocuments(searchResults); in testSchemaMigration_loadTest() local
1571 assertThat(documents).containsExactlyElementsIn(expectedDocs); in testSchemaMigration_loadTest()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/testutil/
DAppSearchTestUtils.java100 List<GenericDocument> documents = new ArrayList<>(results.size()); in convertSearchResultsToDocuments() local
102 documents.add(result.getGenericDocument()); in convertSearchResultsToDocuments()
104 return documents; in convertSearchResultsToDocuments()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt11782 … static final String EXTERNAL_STORAGE_PROVIDER_AUTHORITY = "com.android.externalstorage.documents";