Home
last modified time | relevance | path

Searched refs:setSchemaRequest (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DAppSearchHelperTest.java118 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in tearDown() local
120 mDb.setSchemaAsync(setSchemaRequest).get(); in tearDown()
157 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in testIndexContacts_shouldCompleteNormallyOnError() local
160 mDb.setSchemaAsync(setSchemaRequest).get(); in testIndexContacts_shouldCompleteNormallyOnError()
172 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in testIndexContacts_shouldNotCompleteNormallyOnError() local
175 mDb.setSchemaAsync(setSchemaRequest).get(); in testIndexContacts_shouldNotCompleteNormallyOnError()
278 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in testCreateAppSearchHelper_compatibleSchemaChange2() local
281 mDb.setSchemaAsync(setSchemaRequest).get(); in testCreateAppSearchHelper_compatibleSchemaChange2()
294 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in testCreateAppSearchHelper_incompatibleSchemaChange() local
297 mDb.setSchemaAsync(setSchemaRequest).get(); in testCreateAppSearchHelper_incompatibleSchemaChange()
[all …]
DContactsIndexerUserInstanceTest.java122 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in tearDown() local
124 db.setSchemaAsync(setSchemaRequest).get(); in tearDown()
791 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in testDeltaUpdate_notTriggered_afterCompatibleSchemaChange() local
795 db.setSchemaAsync(setSchemaRequest).get(); in testDeltaUpdate_notTriggered_afterCompatibleSchemaChange()
838 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in testDeltaUpdate_triggered_afterIncompatibleSchemaChange() local
842 db.setSchemaAsync(setSchemaRequest).get(); in testDeltaUpdate_triggered_afterIncompatibleSchemaChange()
DContactsIndexerImplTest.java80 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in tearDown() local
82 db.setSchemaAsync(setSchemaRequest).get(); in tearDown()
DEnterpriseContactsTest.java177 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder() in tearDown() local
179 mDb.setSchemaAsync(setSchemaRequest).get(); in tearDown()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DInternalVisibilityConfig.java52 @NonNull SetSchemaRequest setSchemaRequest) { in toInternalVisibilityConfigs()
53 Set<AppSearchSchema> searchSchemas = setSchemaRequest.getSchemas(); in toInternalVisibilityConfigs()
54 Set<String> schemasNotDisplayedBySystem = setSchemaRequest.getSchemasNotDisplayedBySystem(); in toInternalVisibilityConfigs()
56 setSchemaRequest.getSchemasVisibleToPackages(); in toInternalVisibilityConfigs()
58 setSchemaRequest.getRequiredPermissionsForSchemaTypeVisibility(); in toInternalVisibilityConfigs()
60 setSchemaRequest.getPubliclyVisibleSchemas(); in toInternalVisibilityConfigs()
62 setSchemaRequest.getSchemasVisibleToConfigs(); in toInternalVisibilityConfigs()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DSyncAppSearchSessionImpl.java62 public SetSchemaResponse setSchema(@NonNull SetSchemaRequest setSchemaRequest) in setSchema() argument
64 Objects.requireNonNull(setSchemaRequest); in setSchema()
67 mSession.setSchema(setSchemaRequest, mExecutor, mExecutor, resultHandler)); in setSchema()
DSyncAppSearchSession.java44 SetSchemaResponse setSchema(@NonNull SetSchemaRequest setSchemaRequest) in setSchema() argument
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityToDocumentConverterTest.java62 SetSchemaRequest setSchemaRequest = in testToGenericDocuments() local
137 InternalVisibilityConfig.toInternalVisibilityConfigs(setSchemaRequest); in testToGenericDocuments()
313 SetSchemaRequest setSchemaRequest = in testToGenericDocumentAndBack() local
332 InternalVisibilityConfig.toInternalVisibilityConfigs(setSchemaRequest); in testToGenericDocumentAndBack()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppSearchHelperTest.java122 SetSchemaRequest setSchemaRequest = in testIndexApps_compatibleSchemaChange() local
131 session.setSchemaAsync(setSchemaRequest).get(); in testIndexApps_compatibleSchemaChange()
150 SetSchemaRequest setSchemaRequest = in testIndexApps_incompatibleSchemaChange() local
155 session.setSchemaAsync(setSchemaRequest).get(); in testIndexApps_incompatibleSchemaChange()
DAppsIndexerUserInstanceTest.java537 SetSchemaRequest setSchemaRequest = in testUpdate_triggered_afterCompatibleSchemaChange() local
542 db.setSchemaAsync(setSchemaRequest).get(); in testUpdate_triggered_afterCompatibleSchemaChange()
609 SetSchemaRequest setSchemaRequest = in testUpdate_triggered_afterIncompatibleSchemaChange() local
614 db.setSchemaAsync(setSchemaRequest).get(); in testUpdate_triggered_afterIncompatibleSchemaChange()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DInternalVisibilityConfigTest.java78 SetSchemaRequest setSchemaRequest = in testToInternalVisibilityConfig() local
93 InternalVisibilityConfig.toInternalVisibilityConfigs(setSchemaRequest); in testToInternalVisibilityConfig()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchDao.java239 SetSchemaRequest setSchemaRequest = setSchemaRequestBuilder.build(); in writeData() local
245 session -> session.setSchemaAsync(setSchemaRequest), executor) in writeData()
304 SetSchemaRequest setSchemaRequest = in deleteData() local
311 session -> session.setSchemaAsync(setSchemaRequest), executor) in deleteData()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/
DAppSearchDaoWriter.java96 SetSchemaRequest setSchemaRequest = setSchemaRequestBuilder.build(); in writeData() local
101 session -> session.setSchemaAsync(setSchemaRequest), in writeData()
/packages/modules/ExtServices/java/src/android/ext/services/common/
DAdServicesAppsearchDeleteJob.java329 SetSchemaRequest setSchemaRequest = new SetSchemaRequest.Builder().setForceOverride( in getDeleteSchemaResponse() local
333 session -> session.setSchemaAsync(setSchemaRequest), executor) in getDeleteSchemaResponse()
/packages/modules/AppSearch/flags/
Dappsearch.aconfig102 description: "Enable the addSchemaTypeVisibleToConfig API in the setSchemaRequest."