Home
last modified time | relevance | path

Searched refs:schemas (Results 1 – 4 of 4) sorted by relevance

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DSetSchemaRequestCtsTest.java915 AppSearchSchema[] schemas = request.getSchemas().toArray(new AppSearchSchema[0]); in testVerbatimTokenizerType() local
916 assertThat(schemas).hasLength(1); in testVerbatimTokenizerType()
917 List<AppSearchSchema.PropertyConfig> properties = schemas[0].getProperties(); in testVerbatimTokenizerType()
941 AppSearchSchema[] schemas = request.getSchemas().toArray(new AppSearchSchema[0]); in testRfc822TokenizerType() local
942 assertThat(schemas).hasLength(1); in testRfc822TokenizerType()
943 List<AppSearchSchema.PropertyConfig> properties = schemas[0].getProperties(); in testRfc822TokenizerType()
DAppSearchSessionCtsTestBase.java865 Set<AppSearchSchema> schemas = mDb1.getSchemaAsync().get().getSchemas(); in testSetSchema_maxProperties_nestedSchemas() local
866 assertThat(schemas).containsExactly(personSchema, orgSchema, addressSchema); in testSetSchema_maxProperties_nestedSchemas()
935 List<AppSearchSchema> schemas = new ArrayList<>(response.getSchemas()); in testGetSchema_allPropertyTypes() local
936 assertThat(schemas).containsExactly(inSchema, AppSearchEmail.SCHEMA); in testGetSchema_allPropertyTypes()
938 if (schemas.get(0).getSchemaType().equals("Test")) { in testGetSchema_allPropertyTypes()
939 outSchema = schemas.get(0); in testGetSchema_allPropertyTypes()
941 outSchema = schemas.get(1); in testGetSchema_allPropertyTypes()
/cts/tests/appsearch/helper-app/src/com/android/cts/appsearch/helper/
DAppSearchTestService.java135 List<String> schemas = new ArrayList(response.getSchemas().size()); in globalGetSchema() local
137 schemas.add(schema.toString()); in globalGetSchema()
139 return schemas; in globalGetSchema()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DEnterpriseContactsDeviceTest.java183 Set<AppSearchSchema> schemas = getSchemaResponse.getSchemas(); in testHasEnterpriseAccess() local
184 assertThat(schemas).hasSize(1); in testHasEnterpriseAccess()
185 assertThat(schemas.iterator().next().getSchemaType()).isEqualTo(Person.SCHEMA_TYPE); in testHasEnterpriseAccess()