Home
last modified time | relevance | path

Searched refs:searchContext (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DSyncAppSearchImplTest.java71 AppSearchManager.SearchContext searchContext = in clean() local
74 mAppSearch.createSearchSession(searchContext, mExecutor, future::complete); in clean()
86 AppSearchManager.SearchContext searchContext = in testSynchronousMethods() local
90 new SyncAppSearchSessionImpl(mAppSearch, searchContext, mExecutor); in testSynchronousMethods()
162 AppSearchManager.SearchContext searchContext = in testClosedCallbackExecutor() local
165 new SyncAppSearchSessionImpl(mAppSearch, searchContext, callbackExecutor)); in testClosedCallbackExecutor()
DAppsIndexerUserInstanceTest.java533 AppSearchManager.SearchContext searchContext = in testUpdate_triggered_afterCompatibleSchemaChange() local
536 AppSearchSessionShimImpl.createSearchSessionAsync(searchContext).get(); in testUpdate_triggered_afterCompatibleSchemaChange()
604 AppSearchManager.SearchContext searchContext = in testUpdate_triggered_afterIncompatibleSchemaChange() local
607 AppSearchSessionShimImpl.createSearchSessionAsync(searchContext).get(); in testUpdate_triggered_afterIncompatibleSchemaChange()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DSyncAppSearchSessionImpl.java37 @NonNull AppSearchManager.SearchContext searchContext, in SyncAppSearchSessionImpl() argument
42 Objects.requireNonNull(searchContext); in SyncAppSearchSessionImpl()
48 searchContext, executor, resultHandler)); in SyncAppSearchSessionImpl()
DAppSearchHelper.java111 AppSearchManager.SearchContext searchContext = in initializeAppSearchSessions() local
114 new SyncAppSearchSessionImpl(mAppSearchManager, searchContext, mExecutor); in initializeAppSearchSessions()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchManager.java208 @NonNull SearchContext searchContext, in createSearchSession()
211 Objects.requireNonNull(searchContext); in createSearchSession()
215 searchContext, in createSearchSession()
DAppSearchSession.java112 @NonNull AppSearchManager.SearchContext searchContext, in createSearchSession()
124 searchContext.mDatabaseName, in createSearchSession()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DGlobalSearchSessionUnitTest.java68 AppSearchManager.SearchContext searchContext = in setUp() local
71 mAppSearch.createSearchSession(searchContext, mExecutor, future2::complete); in setUp()
DAppSearchSessionUnitTest.java48 AppSearchManager.SearchContext searchContext = in setUp() local
51 mAppSearch.createSearchSession(searchContext, mExecutor, future::complete); in setUp()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java118 AppSearchManager.SearchContext searchContext = in tearDown() local
121 searchContext).get(); in tearDown()
787 AppSearchManager.SearchContext searchContext = in testDeltaUpdate_notTriggered_afterCompatibleSchemaChange() local
790 searchContext).get(); in testDeltaUpdate_notTriggered_afterCompatibleSchemaChange()
834 AppSearchManager.SearchContext searchContext = in testDeltaUpdate_triggered_afterIncompatibleSchemaChange() local
837 searchContext).get(); in testDeltaUpdate_triggered_afterIncompatibleSchemaChange()
DAppSearchHelperTest.java109 AppSearchManager.SearchContext searchContext = in setUp() local
112 searchContext).get(); in setUp()
DContactsIndexerImplTest.java76 AppSearchManager.SearchContext searchContext = in tearDown() local
79 searchContext).get(); in tearDown()
DEnterpriseContactsTest.java161 AppSearchManager.SearchContext searchContext = new AppSearchManager.SearchContext.Builder( in setUp() local
163 mDb = AppSearchSessionShimImpl.createSearchSessionAsync(mContext, searchContext, in setUp()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java184 final AppSearchManager.SearchContext searchContext = in createAppSearchSessionAsync() local
187 searchContext, in createAppSearchSessionAsync()