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.java68 private static final Bundle EXTRAS = new Bundle(); field in ContentResolverWrapTest
118 doReturn(EXTRAS).when(mProvider).call(AUTHORITY, METHOD, ARG, EXTRAS); in testCall()
119 assertEquals(EXTRAS, mResolver.call(AUTHORITY, METHOD, ARG, EXTRAS)); in testCall()
120 assertEquals(EXTRAS, mResolver.call(URI, METHOD, ARG, EXTRAS)); in testCall()
155 doReturn(URI).when(mProvider).insert(URI, VALUES, EXTRAS); in testInsert_Extras()
156 assertEquals(URI, mResolver.insert(URI, VALUES, EXTRAS)); in testInsert_Extras()
167 doReturn(21).when(mProvider).update(URI, VALUES, EXTRAS); in testUpdate_Extras()
168 assertEquals(21, mResolver.update(URI, VALUES, EXTRAS)); in testUpdate_Extras()
179 doReturn(21).when(mProvider).delete(URI, EXTRAS); in testDelete_Extras()
180 assertEquals(21, mResolver.delete(URI, EXTRAS)); in testDelete_Extras()
[all …]
DContentProviderClientTest.java76 private static final Bundle EXTRAS = new Bundle(); field in ContentProviderClientTest
221 mContentProviderClient.insert(URI, VALUES, EXTRAS); in testInsert()
222 verify(mIContentProvider).insert(mAttributionSource, URI, VALUES, EXTRAS); in testInsert()
227 VALUES, EXTRAS); in testInsertTimeout()
229 testTimeout(() -> mContentProviderClient.insert(URI, VALUES, EXTRAS)); in testInsertTimeout()
231 verify(mIContentProvider, after(150)).insert(mAttributionSource, URI, VALUES, EXTRAS); in testInsertTimeout()
249 mContentProviderClient.delete(URI, EXTRAS); in testDelete()
250 verify(mIContentProvider).delete(mAttributionSource, URI, EXTRAS); in testDelete()
254 doAnswer(ANSWER_SLEEP).when(mIContentProvider).delete(mAttributionSource, URI, EXTRAS); in testDeleteTimeout()
256 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()