Home
last modified time | relevance | path

Searched refs:getExtras (Results 1 – 25 of 229) sorted by relevance

12345678910

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java228 final int n = command.getExtras().getInt("n"); in onHandleCommand()
229 final int flag = command.getExtras().getInt("flag"); in onHandleCommand()
233 final int n = command.getExtras().getInt("n"); in onHandleCommand()
234 final int flag = command.getExtras().getInt("flag"); in onHandleCommand()
238 final int flag = command.getExtras().getInt("flag"); in onHandleCommand()
242 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand()
243 final int afterLength = command.getExtras().getInt("afterLength"); in onHandleCommand()
244 final int flags = command.getExtras().getInt("flags"); in onHandleCommand()
249 final int reqModes = command.getExtras().getInt("reqModes"); in onHandleCommand()
254 command.getExtras().getParcelable("request"); in onHandleCommand()
[all …]
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DLaunchingActivity.java36 if (intent != null && intent.getExtras() != null in onCreate()
37 && intent.getExtras().getBoolean(KEY_FINISH_BEFORE_LAUNCH)) { in onCreate()
41 launchActivityFromExtras(intent.getExtras()); in onCreate()
48 launchActivityFromExtras(intent.getExtras()); in onNewIntent()
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java83 mOnReceiveCommand.accept(MockA11yImeCommand.fromBundle(intent.getExtras())); in onReceive()
251 final CharSequence text = command.getExtras().getCharSequence("text"); in onHandleCommand()
253 command.getExtras().getInt("newCursorPosition"); in onHandleCommand()
254 final TextAttribute textAttribute = command.getExtras().getParcelable( in onHandleCommand()
261 final int start = command.getExtras().getInt("start"); in onHandleCommand()
262 final int end = command.getExtras().getInt("end"); in onHandleCommand()
267 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand()
268 final int afterLength = command.getExtras().getInt("afterLength"); in onHandleCommand()
269 final int flags = command.getExtras().getInt("flags"); in onHandleCommand()
274 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand()
[all …]
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DShortcutConfirmPin.java55 replyAction = shortcut.getExtras().getString(Constants.EXTRA_REPLY_ACTION); in onCreate()
67 if (shortcut.getExtras().getBoolean(Constants.IGNORE)) { in onCreate()
75 final boolean expectPinned = shortcut.getExtras().getBoolean(Constants.ALREADY_PINNED); in onCreate()
81 final String expectLabel = shortcut.getExtras().getString(Constants.LABEL); in onCreate()
90 if (shortcut.getExtras().getBoolean(Constants.HAS_ICON)) { in onCreate()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DLaunchAssistantActivityIntoAssistantStack.java32 TranslucentAssistantActivity.launchActivityIntoAssistantStack(this, intent.getExtras()); in onResume()
34 AssistantActivity.launchActivityIntoAssistantStack(this, getIntent().getExtras()); in onResume()
DAssistantVoiceInteractionService.java50 mExtras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); in onStartCommand()
DLaunchAssistantActivityFromSession.java25 AssistantVoiceInteractionService.launchAssistantActivity(this, getIntent().getExtras()); in onResume()
/cts/tests/tests/telecom/CallStreamingServiceTestApp/src/android/telecom/cts/streamingtestapp/
DCtsCallStreamingService.java35 Log.i(LOG_TAG, "onCallStreamingStarted: id=" + call.getExtras()); in onCallStreamingStarted()
37 sCallBundle.putBundle(EXTRA_CALL_EXTRAS, call.getExtras()); in onCallStreamingStarted()
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/
DCtsThirdPartyInCallService.java48 Bundle extras = details.getExtras();
163 return sCalls.stream().filter(c -> c.getDetails().getExtras() != null in waitForExtrasChanged()
164 && c.getDetails().getExtras().containsKey(mExpectedKey) in waitForExtrasChanged()
165 && c.getDetails().getExtras().getString(mExpectedKey).equals(mExpectedValue)) in waitForExtrasChanged()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DPlaybackStateTest.java76 assertNull(state.getExtras()); in testBuilder()
107 assertEquals(EXTRAS_VALUE, state.getExtras().get(EXTRAS_KEY)); in testBuilder_setterMethods()
215 assertEquals(EXTRAS_VALUE, stateOut.getExtras().get(EXTRAS_KEY)); in testWriteToParcel()
247 assertEquals(EXTRAS_VALUE, customAction.getExtras().get(EXTRAS_KEY)); in testCustomAction()
336 assertEquals(action1.getExtras() != null, action2.getExtras() != null); in assertCustomActionEquals()
337 if (action1.getExtras() != null) { in assertCustomActionEquals()
338 assertEquals(action1.getExtras().get(EXTRAS_KEY), action2.getExtras().get(EXTRAS_KEY)); in assertCustomActionEquals()
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/
DShortcutManagerPostBackupTest.java50 assertNull(si.getExtras()); in testRestoredOnOldVersion()
84 assertNull(si.getExtras()); in testRestoredOnNewVersion()
116 assertNull(si.getExtras()); in testRestoreWrongKey()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobWorkItemTest.java69 final PersistableBundle extras = actualJwi.getExtras(); in testAllInfoGivenToJob()
87 assertTrue(jwi.getExtras().isEmpty()); in testIntentOnlyItem_builder()
99 assertTrue(jwi.getExtras().isEmpty()); in testIntentOnlyItem_ctor()
123 assertTrue(jwi.getExtras().isEmpty()); in testItemWithEstimatedBytes_builder()
148 assertTrue(jwi.getExtras().isEmpty()); in testItemWithEstimatedBytes_ctor()
160 assertTrue(jwi.getExtras().isEmpty()); in testItemWithMinimumChunkBytes_builder()
212 assertTrue(jwi.getExtras().isEmpty()); in testItemWithMinimumChunkBytes_ctor()
257 final PersistableBundle extras = jwi.getExtras(); in testItemWithPersistableBundle()
/cts/tests/app/app/src/android/app/stubs/
DSimpleActivity.java39 final Bundle extras = intent.getExtras(); in onCreate()
72 if (intent.getExtras().getBoolean("finish")) { in onNewIntent()
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java231 assertEquals(null, connection.getExtras()); in testSetAndGetExtras()
237 final Bundle retrieved = connection.getExtras(); in testSetAndGetExtras()
258 assertEquals(null, connection.getExtras()); in testPutExtras()
264 final Bundle retrieved = connection.getExtras(); in testPutExtras()
285 assertEquals(null, connection.getExtras()); in testRemoveExtras()
292 final Bundle retrieved = connection.getExtras(); in testRemoveExtras()
313 assertEquals(null, connection.getExtras()); in testRemoveExtrasVariable()
321 final Bundle retrieved = connection.getExtras(); in testRemoveExtrasVariable()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java89 assertThat(split.first.getExtras()).isNotNull(); in testPartition_multipleItems()
92 assertThat(split.second.getExtras()).isNotNull(); in testPartition_multipleItems()
142 assertThat(copy.getExtras()).isSameInstanceAs(original.getExtras()); in testBuilder_copy()
170 assertThat(copy.getExtras()).isEqualTo(null); in testBuilder_copyAndUpdate()
268 assertThat(fromParcel.getExtras()).isEqualTo(null); in testParcel_withMinimalMetadata()
288 assertThat(fromParcel.getExtras().keySet()).isEqualTo(extras.keySet()); in testParcel_withAllMetadata()
289 assertThat(fromParcel.getExtras().getString("one")).isEqualTo("sample value"); in testParcel_withAllMetadata()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DConfigUpdateIntentsTest.java134 assertTrue(configUpdateIntent.getExtras() in testConfigUpdateReceiversIntent()
138 assertTrue(configUpdateIntent.getExtras() in testConfigUpdateReceiversIntent()
142 assertTrue(configUpdateIntent.getExtras() in testConfigUpdateReceiversIntent()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPostUpgradeTest.java42 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade()
47 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade()
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/
DExecuteAppFunctionResponseCtsTest.java66 assertThat(restored.getExtras().size()).isEqualTo(1); in build()
67 assertThat(restored.getExtras().getString("extra")).isEqualTo("value"); in build()
DExecuteAppFunctionRequestCtsTest.java72 assertThat(restored.getExtras().size()).isEqualTo(1); in build()
73 assertThat(restored.getExtras().getString("extra")).isEqualTo("value"); in build()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextLinksTest.java71 assertTrue(textLinks.getExtras().isEmpty()); in testTextLinks_defaultValues()
85 assertEquals(BUNDLE_VALUE, textLinks.getExtras().getString(BUNDLE_KEY)); in testTextLinks_full()
93 assertEquals(Bundle.EMPTY, textLinkNoExtra.getExtras()); in testTextLinks_full()
99 assertEquals(BUNDLE_VALUE, textLinkHasExtra.getExtras().getString(BUNDLE_KEY)); in testTextLinks_full()
232 assertTrue(request.getExtras().isEmpty()); in testTextLinksRequest_defaultValues()
251 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextLinksRequest_full()
DTextClassificationTest.java123 assertEquals(BUNDLE_VALUE, classification.getExtras().getString(BUNDLE_KEY)); in testTextClassification()
176 assertTrue(classification.getExtras().isEmpty()); in testTextClassification_defaultValues()
191 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextClassificationRequest()
203 assertTrue(request.getExtras().isEmpty()); in testTextClassificationRequest_nullValues()
211 assertTrue(request.getExtras().isEmpty()); in testTextClassificationRequest_defaultValues()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DContentCaptureContextTest.java95 assertExtras(context.getExtras()); in testSetGetBundle()
119 assertThat(context.getExtras()).isNull(); in testForLocus_valid()
128 assertExtras(context.getExtras()); in assertEverything()
/cts/tests/translation/src/android/translation/cts/unittests/
DTranslationValueTest.java80 assertThat(value.getExtras()).isNotNull(); in testTranslationResponseValue_validDictionary()
82 final Bundle e = value.getExtras(); in testTranslationResponseValue_validDictionary()
135 assertThat(value.getExtras()).isEqualTo(Bundle.EMPTY); in testTranslationResponseValue_validTransliteration()
/cts/tests/tests/os/src/android/os/cts/
DLocalService.java67 if (intent.getExtras() != null) { in onStart()
69 = (IBinderParcelable) intent.getExtras().getParcelable(REPORT_OBJ_NAME); in onStart()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java105 if (intent.getExtras() != null) {
106 int initialDelay = intent.getExtras().getInt(IntentKeys.SCROLL_DELAY);
107 int scrollCount = intent.getExtras().getInt(IntentKeys.SCROLL_COUNT);
108 int scrollInterval = intent.getExtras().getInt(IntentKeys.SCROLL_INTERVAL);

12345678910