Home
last modified time | relevance | path

Searched refs:SCHEMA (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperB/src/android/appsearch/app/helper_b/
DAppSearchDeviceTest.java41 private static final String SCHEMA = "testSchema"; field in AppSearchDeviceTest
43 new GenericDocument.Builder<>(NAMESPACE, ID, SCHEMA)
60 .addFilterSchemas(SCHEMA) in testGlobalGetDocuments_exist()
70 .addFilterSchemas(SCHEMA) in testGlobalGetDocuments_nonexist()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DAppSearchDeviceTest.java60 private static final AppSearchSchema SCHEMA = new AppSearchSchema.Builder("testSchema") field in AppSearchDeviceTest
69 new GenericDocument.Builder<>(NAMESPACE, ID, SCHEMA.getSchemaType())
100 mDb.setSchemaAsync(new SetSchemaRequest.Builder().addSchemas(SCHEMA) in testPutDocuments()
101 .setSchemaTypeVisibilityForPackage(SCHEMA.getSchemaType(), /*visible=*/ true, in testPutDocuments()
125 db.setSchemaAsync(new SetSchemaRequest.Builder().addSchemas(SCHEMA) in testPutDocumentsAsAnotherUser()
126 .setSchemaTypeVisibilityForPackage(SCHEMA.getSchemaType(), /*visible=*/ true, in testPutDocumentsAsAnotherUser()
DEnterpriseContactsDeviceTest.java115 .addSchemas(ContactPoint.SCHEMA, in setUpEnterpriseContactsWithPermissions()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DGlobalSearchSessionCtsTestBase.java149 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalGetById()
224 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_oneInstance()
262 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_twoInstances()
265 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_twoInstances()
307 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_getNextPage()
393 .addSchemas(AppSearchEmail.SCHEMA) in testGlobalQuery_acrossTypes()
399 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_acrossTypes()
460 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_namespaceFilter()
463 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_namespaceFilter()
524 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_packageFilter()
[all …]
DAppSearchSessionCtsTestBase.java164 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testSetSchema_Failure()
931 .addSchemas(inSchema, AppSearchEmail.SCHEMA) in testGetSchema_allPropertyTypes()
936 assertThat(schemas).containsExactly(inSchema, AppSearchEmail.SCHEMA); in testGetSchema_allPropertyTypes()
1063 .addSchemas(AppSearchEmail.SCHEMA, noteSchema) in testGetSchema_visibilitySetting_oneSharedSchema()
1188 .addSchemas(AppSearchEmail.SCHEMA) in testSetSchema_publiclyVisible()
1195 assertThat(getSchemaResponse.getSchemas()).containsExactly(AppSearchEmail.SCHEMA); in testSetSchema_publiclyVisible()
1269 .addSchemas(AppSearchEmail.SCHEMA) in testSetSchema_visibleToConfig()
1276 assertThat(getSchemaResponse.getSchemas()).containsExactly(AppSearchEmail.SCHEMA); in testSetSchema_visibleToConfig()
1474 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetNamespaces()
1522 new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetNamespaces_dbIsolation()
[all …]
DSetSchemaRequestCtsTest.java608 .addSchemas(AppSearchEmail.SCHEMA) in testSetVersion()
614 .addSchemas(AppSearchEmail.SCHEMA) in testSetVersion()
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionServiceCtsTestBase.java412 mDb.setSchemaAsync(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testNoPackageAccess_default()
429 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_wrongPackageName()
450 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_wrongCertificate()
470 .addSchemas(AppSearchEmail.SCHEMA) in testAllowPackageAccess()
557 .addSchemas(AppSearchEmail.SCHEMA) in testRemoveVisibilitySetting_noRemainingSettings()
579 .addSchemas(AppSearchEmail.SCHEMA).build()).get(); in testRemoveVisibilitySetting_noRemainingSettings()
590 .addSchemas(AppSearchEmail.SCHEMA) in testAllowMultiplePackageAccess()
615 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_revoked()
632 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_revoked()
649 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_revoked()
[all …]
DAppSearchSessionPlatformCtsTest.java83 mDb.setSchemaAsync(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testStorageAttributedToSelf_withDocument()
121 mDb.setSchemaAsync(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testStorageAttributedToSelf_withoutDocument()
/cts/tests/appsearch/helper-app/src/com/android/cts/appsearch/helper/
DAppSearchTestService.java162 .addSchemas(AppSearchEmail.SCHEMA); in indexGloballySearchableDocument()
235 .addSchemas(AppSearchEmail.SCHEMA) in indexGloballySearchableDocumentVisibleToConfig()
272 .addSchemas(AppSearchEmail.SCHEMA) in indexNotGloballySearchableDocument()
326 .addSchemas(AppSearchEmail.SCHEMA, actionSchema); in indexAction()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/testutil/
DAppSearchEmail.java45 public static final AppSearchSchema SCHEMA = field in AppSearchEmail