Home
last modified time | relevance | path

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

123

/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/media/src/android/media/cts/
DPlaybackStateTest.java89 .setExtras(extras) in testBuilder_setterMethods()
149 .setExtras(extras) in testBuilder_addCustomActionWithCustomActionObject()
153 .setExtras(extras) in testBuilder_addCustomActionWithCustomActionObject()
173 .setExtras(extras) in testWriteToParcel()
183 .setExtras(extras); in testWriteToParcel()
188 .setExtras(extras) in testWriteToParcel()
233 .setExtras(extras) in testCustomAction()
DStubMediaBrowserService.java94 .setMediaId(id).setExtras(rootHints).build(), MediaItem.FLAG_BROWSABLE)); in onLoadChildren()
120 .setMediaId(id).setExtras(getBrowserRootHints()).build(), in onLoadItem()
141 .setMediaId(MEDIA_ID_CHILDREN_DELAYED).setExtras(mPendingRootHints).build(), in sendDelayedItemLoaded()
DMediaSession2Test.java183 .setExtras(extras) in testBuilder_setExtras_withFrameworkParcelable()
201 .setExtras(extras) in testBuilder_setExtras_withCustomParcelable()
213 .setExtras(extras) in testSession2Token()
288 .setExtras(extras) in testSession2Token_writeToParcel()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java114 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestConfirmation()
134 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestCompleteVoice()
154 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestAbortVoice()
182 AsyncTaskArg asyncTaskArg = new AsyncTaskArg().setRequest(request).setExtras(extras); in onRequestCommand()
219 .setExtras(extras) in onRequestPickOption()
263 AsyncTaskArg setExtras(Bundle e) {extras = e; return this;} in setExtras() method in MainInteractionSession.AsyncTaskArg
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierValueObjectsTest.java83 .setExtras(BUNDLE) in testTextSelection()
217 .setExtras(BUNDLE) in testTextClassification()
306 .setExtras(BUNDLE) in testTextClassificationRequest()
343 .setExtras(BUNDLE) in testTextLinks_full()
368 .setExtras(BUNDLE) in testTextLinksRequest_full()
389 .setExtras(BUNDLE) in testTextLanguage()
419 .setExtras(BUNDLE) in testTextLanguageRequest()
DTextClassifierEventTest.java169 .setExtras(extra) in createFullTextSelectionEvent()
230 .setExtras(extra) in createFullTextLinkifyEvent()
289 .setExtras(extra) in createFullConversationActionsEvent()
350 .setExtras(extra) in createFullLanguageDetectionEvent()
DConversationActionsTest.java77 .setExtras(EXTRAS) in testMessage_full()
182 .setExtras(EXTRAS) in testRequest_full()
215 .setExtras(EXTRAS) in testConversationAction_full()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPreUpgradeTest.java46 .setExtras(b1) in testPreUpgrade()
55 .setExtras(b2) in testPreUpgrade()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMultiScreenLoginTest.java87 .setExtras(clientState1)
119 .setExtras(clientState2)
159 .setExtras(clientState1)
245 .setExtras(clientState1)
274 .setExtras(clientState2)
DAuthenticationTest.java167 .setExtras(authentionClientState) in testDatasetAuthTwoFieldsReplaceResponse()
700 .setExtras(newClientState("CSI", "FromResponse")) in fillDatasetAuthWithClientState()
767 .setExtras(clientState).build()); in fillResponseAuthBothFields()
773 .setExtras(clientState) in fillResponseAuthBothFields()
863 .setExtras(clientState) in testFillResponseAuthJustOneField()
1069 authenticatedResponseBuilder.setExtras(newClientState("CSI", "FromAuthResponse")); in fillResponseAuthWithClientState()
1083 .setExtras(newClientState("CSI", "FromResponse")) in fillResponseAuthWithClientState()
1153 .setExtras(clientState).build()); in testFillResponseFiltering()
1159 .setExtras(clientState) in testFillResponseFiltering()
DFillEventHistoryTest.java95 .setExtras(clientState).build()); in testDatasetAuthenticationSelected()
128 .setExtras(clientState).build()); in testAuthenticationSelected()
130 sReplier.addResponse(new CannedFillResponse.Builder().setExtras(clientState) in testAuthenticationSelected()
164 .setExtras(clientState1) in testDatasetSelected_twoResponses()
201 .setExtras(clientState2) in testDatasetSelected_twoResponses()
372 .setExtras(getBundle("activity", "A")) in testEventsFromPreviousSessionIsDiscarded()
391 .setExtras(getBundle("activity", "B")) in testEventsFromPreviousSessionIsDiscarded()
DMultipleFragmentLoginTest.java68 .setExtras(clientState)
107 .setExtras(clientState)
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerRequestPinTest.java84 .setExtras(extras) in testRequestPinShortcut()
150 .setExtras(extras) in testRequestPinShortcut_multiLaunchers()
210 .setExtras(extras) in testRequestPinShortcut_multiLaunchers_withDynamic()
260 .setExtras(extras) in testRequestPinShortcut_multiLaunchers_withDynamic()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConference.java59 setExtras(a.getExtras()); in MockConference()
179 setExtras(extras); in onExtrasChanged()
DTestUtils.java170 .setExtras(SUPPORTS_HANDOVER_FROM_EXTRAS)
181 .setExtras(SUPPORTS_HANDOVER_TO_EXTRAS)
219 .setExtras(SELF_MANAGED_ACCOUNT_2_EXTRAS)
/cts/tests/tests/location/src/android/location/cts/
DAddressTest.java46 address.setExtras(extras); in testDescribeContents()
92 address.setExtras(extras); in testAccessExtras()
97 address.setExtras(null); in testAccessExtras()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher3/src/android/content/pm/cts/shortcut/backup/publisher3/
DShortcutManagerPreBackupTest.java43 .setExtras(makePersistableBundle("ek1", "ev1")) in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPreBackupTest.java44 .setExtras(makePersistableBundle("ek1", "ev1")) in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/
DShortcutManagerPreBackupTest.java44 .setExtras(makePersistableBundle("ek1", "ev1")) in testPreBackup()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPreBackupTest.java44 .setExtras(makePersistableBundle("ek1", "ev1")) in testPreBackup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsSelfManagedConnectionService.java99 connection.setExtras(request.getExtras()); in createConnection()
DCtsConnectionService.java143 connection.setExtras(request.getExtras()); in createManagedConnection()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java77 .setExtras(ByteString.copyFrom(ParcelUtils.toBytes(extras))).build()); in onPerformSync()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSource.java104 clipDescription.setExtras(extras); in setUpDragSource()

123