Home
last modified time | relevance | path

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

/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DAppSearchManagerCtsTest.java29 AppSearchManager.SearchContext searchContext = in testSearchContext_databaseName() local
33 assertThat(searchContext.getDatabaseName()).isEqualTo("dbName"); in testSearchContext_databaseName()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchUiManagerTest.java104 SearchContext searchContext = new SearchContext(RESULT_TYPES, TIMEOUT_MS, EXTRAS); in setUp() local
105 mClient = mManager.createSearchSession(searchContext); in setUp()
125 assertEquals(mWatcher.searchContext.getPackageName(), getContext().getPackageName()); in testCreateSearchSession()
126 assertEquals(mWatcher.searchContext.getResultTypes(), RESULT_TYPES); in testCreateSearchSession()
127 assertEquals(mWatcher.searchContext.getTimeoutMillis(), TIMEOUT_MS); in testCreateSearchSession()
128 assertTrue(equalBundles(mWatcher.searchContext.getExtras(), EXTRAS)); in testCreateSearchSession()
133 SearchContext searchContext = new SearchContext(RESULT_TYPES, TIMEOUT_MS); in testSearchContextCtor() local
134 assertTrue(equalBundles(EXTRAS, searchContext.getExtras())); in testSearchContextCtor()
DCtsSearchUiService.java74 sWatcher.searchContext = context; in onSearchSessionCreated()
146 public SearchContext searchContext; field in CtsSearchUiService.Watcher
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DAppSearchSessionShimImpl.java69 @NonNull AppSearchManager.SearchContext searchContext) { in createSearchSessionAsync()
71 return createSearchSessionAsync(context, searchContext, Executors.newCachedThreadPool()); in createSearchSessionAsync()
77 @NonNull AppSearchManager.SearchContext searchContext, @UserIdInt int userId) { in createSearchSessionAsync()
80 return createSearchSessionAsync(context, searchContext, Executors.newCachedThreadPool()); in createSearchSessionAsync()
87 @NonNull AppSearchManager.SearchContext searchContext, in createSearchSessionAsync() argument
91 appSearchManager.createSearchSession(searchContext, executor, future::set); in createSearchSessionAsync()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DEnterpriseContactsDeviceTest.java109 AppSearchManager.SearchContext searchContext = in setUpEnterpriseContactsWithPermissions() local
113 searchContext).get(); in setUpEnterpriseContactsWithPermissions()