Home
last modified time | relevance | path

Searched refs:getSchemaResponse (Results 1 – 3 of 3) sorted by relevance

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DGetSchemaResponseCtsTest.java152 GetSchemaResponse getSchemaResponse = in setVisibility() local
169 assertThat(getSchemaResponse.getSchemaTypesNotDisplayedBySystem()) in setVisibility()
171 assertThat(getSchemaResponse.getSchemaTypesVisibleToPackages()).hasSize(1); in setVisibility()
172 assertThat(getSchemaResponse.getSchemaTypesVisibleToPackages().get("Email")) in setVisibility()
174 assertThat(getSchemaResponse.getRequiredPermissionsForSchemaTypeVisibility().get("Email")) in setVisibility()
200 GetSchemaResponse getSchemaResponse = in setVisibilityConfig() local
207 assertThat(getSchemaResponse.getSchemaTypesVisibleToConfigs()) in setVisibilityConfig()
213 GetSchemaResponse getSchemaResponse = in getEmptyVisibility() local
215 assertThat(getSchemaResponse.getSchemaTypesNotDisplayedBySystem()).isEmpty(); in getEmptyVisibility()
216 assertThat(getSchemaResponse.getSchemaTypesVisibleToPackages()).isEmpty(); in getEmptyVisibility()
[all …]
DAppSearchSessionCtsTestBase.java306 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_updateSchemaDescription() local
307 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema2); in testSetSchema_updateSchemaDescription()
365 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_updatePropertyDescription() local
366 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema2); in testSetSchema_updatePropertyDescription()
399 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_updateVersion() local
400 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema); in testSetSchema_updateVersion()
401 assertThat(getSchemaResponse.getVersion()).isEqualTo(2); in testSetSchema_updateVersion()
433 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_checkVersion() local
434 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema); in testSetSchema_checkVersion()
435 assertThat(getSchemaResponse.getVersion()).isEqualTo(135); in testSetSchema_checkVersion()
[all …]
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DEnterpriseContactsDeviceTest.java181 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync(PACKAGE_NAME, in testHasEnterpriseAccess() local
183 Set<AppSearchSchema> schemas = getSchemaResponse.getSchemas(); in testHasEnterpriseAccess()
200 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync(PACKAGE_NAME, in testDoesNotHaveEnterpriseAccess() local
202 assertThat(getSchemaResponse.getSchemas()).isEmpty(); in testDoesNotHaveEnterpriseAccess()