Home
last modified time | relevance | path

Searched refs:setExtras (Results 1 – 25 of 106) sorted by relevance

12345

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DContentCaptureContextTest.java51 public void setExtras() { in setExtras() method in ContentCaptureContextTest
62 assertThrows(NullPointerException.class, () -> mBuilder.setExtras(null)); in testBuilder_invalidExtras()
68 assertThrows(IllegalStateException.class, () -> mBuilder.setExtras(mExtras)); in testAfterBuild_setExtras()
73 assertThat(mBuilder.setExtras(mExtras).build()).isNotNull(); in testAfterBuild_build()
91 final Builder builder = mBuilder.setExtras(mExtras); in testSetGetBundle()
101 .setExtras(mExtras); in testParcel()
/cts/tests/tests/content/src/android/content/cts/
DSyncRequestTest.java46 .setExtras(extras) in testBuilder_normal()
78 .setExtras(extras) in testBuilder_throwsException()
88 .setExtras(extras) in testBuilder_throwsException()
/cts/tests/translation/src/android/translation/cts/unittests/
DTranslationValueTest.java74 .setExtras(extras) in testTranslationResponseValue_validDictionary()
97 new TranslationResponseValue.Builder(STATUS_SUCCESS).setExtras(extras).build(); in testTranslationResponseValue_extrasEqualityWhenSameInstance()
99 new TranslationResponseValue.Builder(STATUS_SUCCESS).setExtras(extras).build(); in testTranslationResponseValue_extrasEqualityWhenSameInstance()
110 new TranslationResponseValue.Builder(STATUS_SUCCESS).setExtras(extras).build(); in testTranslationResponseValue_extrasEqualityWhenEmpty()
122 new TranslationResponseValue.Builder(STATUS_SUCCESS).setExtras(extras).build(); in testTranslationResponseValue_extrasEqualityWhenUnequal()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationProviderBaseTest.java120 location.setExtras(bundle); in testReportLocation_stripExtras()
123 expected.setExtras(null); in testReportLocation_stripExtras()
145 location1.setExtras(bundle); in testReportLocations_stripExtras()
147 location2.setExtras(bundle); in testReportLocations_stripExtras()
151 expected1.setExtras(null); in testReportLocations_stripExtras()
153 expected2.setExtras(null); in testReportLocations_stripExtras()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DPlaybackStateTest.java98 .setExtras(extras) in testBuilder_setterMethods()
158 .setExtras(extras) in testBuilder_addCustomActionWithCustomActionObject()
162 .setExtras(extras) in testBuilder_addCustomActionWithCustomActionObject()
182 .setExtras(extras) in testWriteToParcel()
192 .setExtras(extras); in testWriteToParcel()
197 .setExtras(extras) in testWriteToParcel()
242 .setExtras(extras) in testCustomAction()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DTextAttributeTest.java55 .setExtras(EXTRA_BUNDLE) in testTextAttribute()
64 .setExtras(EXTRA_BUNDLE) in testWriteToParcel()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaRoute2InfoTest.java130 .setExtras(extras) in testBuilderAndGettersOfMediaRoute2Info()
158 .setExtras(null) in testBuilderSetExtrasWithNull()
241 .setExtras(extras) in testEqualsCreatedWithSameArguments()
257 .setExtras(extras) in testEqualsCreatedWithSameArguments()
282 .setExtras(extras) in testEqualsCreatedWithBuilderCopyConstructor()
308 .setExtras(extras) in testEqualsReturnFalse()
359 .setExtras(extras) in testParcelingAndUnParceling()
DStubMediaBrowserService.java98 .setMediaId(id).setExtras(rootHints).build(), MediaItem.FLAG_BROWSABLE)); in onLoadChildren()
126 .setMediaId(id).setExtras(getBrowserRootHints()).build(), in onLoadItem()
155 .setMediaId(MEDIA_ID_CHILDREN_DELAYED).setExtras(mPendingRootHints).build(), in sendDelayedItemLoaded()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java47 .setExtras(b1) in testPreUpgrade()
56 .setExtras(b2) in testPreUpgrade()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextLanguageTest.java52 .setExtras(BUNDLE) in testTextLanguage()
82 .setExtras(BUNDLE) in testTextLanguageRequest()
DTextLinksTest.java78 .setExtras(BUNDLE) in testTextLinks_full()
105 .setExtras(BUNDLE) in testTextLinks_clearTextLinks()
243 .setExtras(BUNDLE) in testTextLinksRequest_full()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java74 .setExtras(new Bundle()) in testPartition_multipleItems()
112 .setExtras(new Bundle()) in testPartition_singleItem()
132 .setExtras(new Bundle()) in testBuilder_copy()
152 .setExtras(new Bundle()) in testBuilder_copyAndUpdate()
164 .setExtras(null) in testBuilder_copyAndUpdate()
280 .setExtras(extras) in testParcel_withAllMetadata()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java124 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestConfirmation()
144 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestCompleteVoice()
164 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestAbortVoice()
192 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestCommand()
229 .setExtras(extras) in onRequestPickOption()
303 AsyncTaskArg setExtras(Bundle e) {extras = e; return this;} in setExtras() method in MainInteractionSession.AsyncTaskArg
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerRequestPinTest.java85 .setExtras(extras) in testRequestPinShortcut()
151 .setExtras(extras) in testRequestPinShortcut_multiLaunchers()
211 .setExtras(extras) in testRequestPinShortcut_multiLaunchers_withDynamic()
261 .setExtras(extras) in testRequestPinShortcut_multiLaunchers_withDynamic()
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DMultiScreenLoginTest.java96 .setExtras(clientState1)
128 .setExtras(clientState2)
169 .setExtras(clientState1)
255 .setExtras(clientState1)
284 .setExtras(clientState2)
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobWorkItemTest.java43 .setExtras(pb) in testAllInfoGivenToJob()
249 JobWorkItem jwi = new JobWorkItem.Builder().setExtras(pb).build(); in testItemWithPersistableBundle()
263 new JobWorkItem.Builder().setExtras(null).build(); in testItemWithPersistableBundle()
305 JobWorkItem jwi = new JobWorkItem.Builder().setExtras(pb).build(); in testPersisted_withPersistableBundle()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DFillEventHistoryCommonTestCase.java123 .setExtras(clientState).build()); in testDatasetAuthenticationSelected()
161 .setExtras(clientState).build()); in testAuthenticationSelected()
163 sReplier.addResponse(new CannedFillResponse.Builder().setExtras(clientState) in testAuthenticationSelected()
208 .setExtras(clientState1) in testDatasetSelected_twoResponses()
249 .setExtras(clientState2) in testDatasetSelected_twoResponses()
440 .setExtras(getBundle("activity", "A")) in testEventsFromPreviousSessionIsDiscarded()
459 .setExtras(getBundle("activity", "B")) in testEventsFromPreviousSessionIsDiscarded()
477 .setExtras(getBundle("activity", "A")) in testEventsFromPreviousSessionIsDiscarded()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConference.java64 setExtras(a.getExtras()); in MockConference()
209 setExtras(extras); in onExtrasChanged()
DTestUtils.java243 .setExtras(SUPPORTS_HANDOVER_FROM_EXTRAS)
254 .setExtras(SUPPORTS_HANDOVER_TO_EXTRAS)
316 .setExtras(SELF_MANAGED_ACCOUNT_2_EXTRAS)
329 .setExtras(SELF_MANAGED_ACCOUNT_1_EXTRAS)
342 .setExtras(SELF_MANAGED_ACCOUNT_4_EXTRAS)
355 .setExtras(SELF_MANAGED_CS_1_ACCOUNT_1_EXTRAS)
366 .setExtras(SELF_MANAGED_CS_1_ACCOUNT_1_EXTRAS)
377 .setExtras(SELF_MANAGED_CS_1_ACCOUNT_3_EXTRAS)
1041 .setExtras(TestUtils.SELF_MANAGED_ACCOUNT_1_EXTRAS); in buildSelfManagedPhoneAccount()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/clipboard/
DClipboardPreviewTestActivity.java63 cd.getDescription().setExtras(pb); in setClipboardData()
/cts/tests/smartspace/src/android/smartspace/cts/
DSmartspaceTestUtils.java61 .setExtras(extras).build(); in createSmartspaceTapAction()
DSmartspaceConfigTest.java56 "ui_surface").setSmartspaceTargetCount(5).setExtras(extras).build(); in testCreateSmartspaceConfig()
DTapActionTest.java59 .setExtras(extras) in testCreateTapAction()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DAuthenticationTest.java177 .setExtras(authentionClientState) in testDatasetAuthTwoFieldsReplaceResponse()
704 .setExtras(Helper.newClientState("CSI", "FromResponse")) in fillDatasetAuthWithClientState()
776 .setExtras(clientState).build()); in fillResponseAuthBothFields()
782 .setExtras(clientState) in fillResponseAuthBothFields()
872 .setExtras(clientState) in testFillResponseAuthJustOneField()
1096 authenticatedResponseBuilder.setExtras( in fillResponseAuthWithClientState()
1112 .setExtras(Helper.newClientState("CSI", "FromResponse")) in fillResponseAuthWithClientState()
1168 .setExtras(clientState).build()); in testFillResponseFiltering()
1174 .setExtras(clientState) in testFillResponseFiltering()
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/
DExecuteAppFunctionResponseCtsTest.java59 .setExtras(extras) in build()

12345