Searched refs:getSchemaResponse (Results 1 – 3 of 3) sorted by relevance
152 GetSchemaResponse getSchemaResponse = in setVisibility() local169 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() local207 assertThat(getSchemaResponse.getSchemaTypesVisibleToConfigs()) in setVisibilityConfig()213 GetSchemaResponse getSchemaResponse = in getEmptyVisibility() local215 assertThat(getSchemaResponse.getSchemaTypesNotDisplayedBySystem()).isEmpty(); in getEmptyVisibility()216 assertThat(getSchemaResponse.getSchemaTypesVisibleToPackages()).isEmpty(); in getEmptyVisibility()[all …]
306 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_updateSchemaDescription() local307 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema2); in testSetSchema_updateSchemaDescription()365 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_updatePropertyDescription() local366 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema2); in testSetSchema_updatePropertyDescription()399 GetSchemaResponse getSchemaResponse = mDb1.getSchemaAsync().get(); in testSetSchema_updateVersion() local400 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() local434 assertThat(getSchemaResponse.getSchemas()).containsExactly(schema); in testSetSchema_checkVersion()435 assertThat(getSchemaResponse.getVersion()).isEqualTo(135); in testSetSchema_checkVersion()[all …]
181 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync(PACKAGE_NAME, in testHasEnterpriseAccess() local183 Set<AppSearchSchema> schemas = getSchemaResponse.getSchemas(); in testHasEnterpriseAccess()200 GetSchemaResponse getSchemaResponse = mEnterpriseSession.getSchemaAsync(PACKAGE_NAME, in testDoesNotHaveEnterpriseAccess() local202 assertThat(getSchemaResponse.getSchemas()).isEmpty(); in testDoesNotHaveEnterpriseAccess()