Home
last modified time | relevance | path

Searched refs:EXTRAS (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java66 private static final Bundle EXTRAS = new Bundle(); field in ContentResolverWrapTest
116 doReturn(EXTRAS).when(mProvider).call(AUTHORITY, METHOD, ARG, EXTRAS); in testCall()
117 assertEquals(EXTRAS, mResolver.call(AUTHORITY, METHOD, ARG, EXTRAS)); in testCall()
118 assertEquals(EXTRAS, mResolver.call(URI, METHOD, ARG, EXTRAS)); in testCall()
153 doReturn(URI).when(mProvider).insert(URI, VALUES, EXTRAS); in testInsert_Extras()
154 assertEquals(URI, mResolver.insert(URI, VALUES, EXTRAS)); in testInsert_Extras()
165 doReturn(21).when(mProvider).update(URI, VALUES, EXTRAS); in testUpdate_Extras()
166 assertEquals(21, mResolver.update(URI, VALUES, EXTRAS)); in testUpdate_Extras()
177 doReturn(21).when(mProvider).delete(URI, EXTRAS); in testDelete_Extras()
178 assertEquals(21, mResolver.delete(URI, EXTRAS)); in testDelete_Extras()
[all …]
DContentProviderClientTest.java74 private static final Bundle EXTRAS = new Bundle(); field in ContentProviderClientTest
218 mContentProviderClient.insert(URI, VALUES, EXTRAS); in testInsert()
219 verify(mIContentProvider).insert(mAttributionSource, URI, VALUES, EXTRAS); in testInsert()
224 VALUES, EXTRAS); in testInsertTimeout()
226 testTimeout(() -> mContentProviderClient.insert(URI, VALUES, EXTRAS)); in testInsertTimeout()
228 verify(mIContentProvider).insert(mAttributionSource, URI, VALUES, EXTRAS); in testInsertTimeout()
246 mContentProviderClient.delete(URI, EXTRAS); in testDelete()
247 verify(mIContentProvider).delete(mAttributionSource, URI, EXTRAS); in testDelete()
251 doAnswer(ANSWER_SLEEP).when(mIContentProvider).delete(mAttributionSource, URI, EXTRAS); in testDeleteTimeout()
253 testTimeout(() -> mContentProviderClient.delete(URI, EXTRAS)); in testDeleteTimeout()
[all …]
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DConversationActionTest.java52 private static final Bundle EXTRAS = new Bundle(); field in ConversationActionTest
54 EXTRAS.putString(TEXT, TEXT); in EXTRAS.putString()
80 .setExtras(EXTRAS) in testConversationAction_full()
DConversationActionsTest.java48 private static final Bundle EXTRAS = new Bundle(); field in ConversationActionsTest
50 EXTRAS.putString(TEXT, TEXT); in EXTRAS.putString()
58 .setExtras(EXTRAS) in testMessage_full()
116 .setExtras(EXTRAS) in testRequest_full()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetTest.java52 private static final Bundle EXTRAS = new Bundle(); field in SearchTargetTest
67 .setExtras(EXTRAS);
91 assertThat(target.getExtras().size()).isEqualTo(EXTRAS.size()); in assertEverythingSearchAction()
DSearchUiManagerTest.java89 private static final Bundle EXTRAS = new Bundle(); field in SearchUiManagerTest
104 SearchContext searchContext = new SearchContext(RESULT_TYPES, TIMEOUT_MS, EXTRAS); in setUp()
128 assertTrue(equalBundles(mWatcher.searchContext.getExtras(), EXTRAS)); in testCreateSearchSession() local
134 assertTrue(equalBundles(EXTRAS, searchContext.getExtras())); in testSearchContextCtor()
140 assertTrue(equalBundles(EXTRAS, query.getExtras())); in testQueryCtor()