Home
last modified time | relevance | path

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

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DGlobalSearchSessionCtsTestBase.java129 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_oneInstance()
165 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_twoInstances()
167 mDb2.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_twoInstances()
206 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_getNextPage()
292 .addSchemas(AppSearchEmail.SCHEMA) in testGlobalQuery_acrossTypes()
297 mDb2.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_acrossTypes()
355 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_namespaceFilter()
357 mDb2.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_namespaceFilter()
416 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_packageFilter()
418 mDb2.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGlobalQuery_packageFilter()
[all …]
DAppSearchSessionCtsTestBase.java132 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testSetSchema_Failure()
275 .addSchemas(inSchema, AppSearchEmail.SCHEMA) in testGetSchema_allPropertyTypes()
280 assertThat(schemas).containsExactly(inSchema, AppSearchEmail.SCHEMA); in testGetSchema_allPropertyTypes()
335 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetNamespaces()
382 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetNamespaces_dbIsolation()
384 mDb2.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetNamespaces_dbIsolation()
427 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testPutDocuments()
683 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetDocuments()
718 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetDocuments_projection()
773 mDb1.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testGetDocuments_projectionEmpty()
[all …]
DSetSchemaRequestCtsTest.java335 .addSchemas(AppSearchEmail.SCHEMA) in testSetVersion()
341 .addSchemas(AppSearchEmail.SCHEMA) in testSetVersion()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/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.setSchema(new SetSchemaRequest.Builder().addSchemas(SCHEMA) in testPutDocuments()
101 .setSchemaTypeVisibilityForPackage(SCHEMA.getSchemaType(), /*visible=*/ true, in testPutDocuments()
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionPlatformCtsTest.java149 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testNoPackageAccess_default()
166 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_wrongPackageName()
187 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_wrongCertificate()
207 .addSchemas(AppSearchEmail.SCHEMA) in testAllowPackageAccess()
228 .addSchemas(AppSearchEmail.SCHEMA) in testAllowMultiplePackageAccess()
253 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_revoked()
270 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_revoked()
287 .addSchemas(AppSearchEmail.SCHEMA) in testNoPackageAccess_revoked()
402 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testReportSystemUsage()
DAppSearchSessionPlatformCtsTest.java84 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testStorageAttributedToSelf_withDocument()
122 mDb.setSchema(new SetSchemaRequest.Builder().addSchemas(AppSearchEmail.SCHEMA).build()) in testStorageAttributedToSelf_withoutDocument()
/cts/tests/appsearch/helper-app/src/com/android/cts/appsearch/helper/
DAppSearchTestService.java108 .addSchemas(AppSearchEmail.SCHEMA) in indexGloballySearchableDocument()
137 .addSchemas(AppSearchEmail.SCHEMA) in indexNotGloballySearchableDocument()