/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | LaunchingActivity.java | 36 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/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/ |
D | ShortcutConfirmPin.java | 55 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/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 136 mOnReceiveCommand.accept(ImeCommand.fromBundle(intent.getExtras())); in onReceive() 200 final int n = command.getExtras().getInt("n"); in onHandleCommand() 201 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 205 final int n = command.getExtras().getInt("n"); in onHandleCommand() 206 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 210 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 214 final int reqModes = command.getExtras().getInt("reqModes"); in onHandleCommand() 219 command.getExtras().getParcelable("request"); in onHandleCommand() 220 final int flags = command.getExtras().getInt("flags"); in onHandleCommand() 225 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand() [all …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LaunchAssistantActivityIntoAssistantStack.java | 32 TranslucentAssistantActivity.launchActivityIntoAssistantStack(this, intent.getExtras()); in onResume() 34 AssistantActivity.launchActivityIntoAssistantStack(this, getIntent().getExtras()); in onResume()
|
D | AssistantVoiceInteractionService.java | 50 mExtras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); in onStartCommand()
|
D | LaunchAssistantActivityFromSession.java | 25 AssistantVoiceInteractionService.launchAssistantActivity(this, getIntent().getExtras()); in onResume()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PlaybackStateTest.java | 76 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/ |
D | ShortcutManagerPostBackupTest.java | 50 assertNull(si.getExtras()); in testRestoredOnOldVersion() 86 assertNull(si.getExtras()); in testRestoredOnNewVersion() 118 assertNull(si.getExtras()); in testRestoreWrongKey()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | SimpleActivity.java | 37 final Bundle extras = intent.getExtras(); in onCreate() 67 if (intent.getExtras().getBoolean("finish")) { in onNewIntent()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 81 assertThat(split.first.getExtras()).isNotNull(); in testPartition_multipleItems() 84 assertThat(split.second.getExtras()).isNotNull(); in testPartition_multipleItems() 132 assertThat(copy.getExtras()).isSameInstanceAs(original.getExtras()); in testBuilder_copy() 158 assertThat(copy.getExtras()).isEqualTo(null); in testBuilder_copyAndUpdate() 235 assertThat(fromParcel.getExtras()).isEqualTo(null); in testParcel_withMinimalMetadata() 254 assertThat(fromParcel.getExtras().keySet()).isEqualTo(extras.keySet()); in testParcel_withAllMetadata() 255 assertThat(fromParcel.getExtras().getString("one")).isEqualTo("sample value"); in testParcel_withAllMetadata()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionTest.java | 231 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()
|
D | CallDetailsTest.java | 394 if (mCall.getDetails().getExtras() != null) { in testExtras() 395 assertThat(mCall.getDetails().getExtras(), instanceOf(Bundle.class)); in testExtras() 460 assertEquals(mStatusHints.getExtras(), mCall.getDetails().getStatusHints().getExtras()); in testStatusHints() 519 Bundle callExtras = mCall.getDetails().getExtras(); in testExtrasPropagation() 570 Bundle callExtras = mCall.getDetails().getExtras(); in testExtrasBlocking() 599 Bundle extras = mCall.getDetails().getExtras(); in testConnectionPutExtras() 655 Bundle extras = mCall.getDetails().getExtras(); in verifyRemoveConnectionExtras() 676 Bundle extras = mConnection.getExtras(); in testCallPutExtras() 699 extras = mConnection.getExtras(); in testCallRemoveExtras() 709 extras = mConnection.getExtras(); in testCallRemoveExtras() [all …]
|
D | ConferenceTest.java | 211 assertFalse(conf.getDetails().getExtras().containsKey( in testConferenceSetters() 342 Bundle changedExtras = conf.getDetails().getExtras(); in testConferencePutExtras() 374 Bundle extras = mConferenceObject.getExtras(); in testConferenceRemoveExtras() 397 Bundle extras = mConferenceObject.getExtras(); in testConferenceRemoveExtras2() 430 Bundle changedExtras = mConferenceObject.getExtras(); in testConferenceOnExtraschanged() 503 assertTrue(areBundlesEqual(connection1.getExtras(), mConferenceObject.getExtras())); in verifyConferenceObject() 596 return call.getDetails().getExtras() != null ? in assertCallExtras() 597 call.getDetails().getExtras().getString(key) : null; in assertCallExtras()
|
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
D | ShortcutManagerPostUpgradeTest.java | 41 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade() 46 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextLinksTest.java | 71 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() 250 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextLinksRequest_full()
|
D | TextClassificationTest.java | 119 assertEquals(BUNDLE_VALUE, classification.getExtras().getString(BUNDLE_KEY)); in testTextClassification() 172 assertTrue(classification.getExtras().isEmpty()); in testTextClassification_defaultValues() 184 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextClassificationRequest() 195 assertTrue(request.getExtras().isEmpty()); in testTextClassificationRequest_nullValues() 203 assertTrue(request.getExtras().isEmpty()); in testTextClassificationRequest_defaultValues()
|
D | TextLanguageTest.java | 63 assertEquals(BUNDLE_VALUE, language.getExtras().getString(BUNDLE_KEY)); in testTextLanguage() 86 assertEquals(BUNDLE_VALUE, request.getExtras().getString(BUNDLE_KEY)); in testTextLanguageRequest()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoProcessOutgoingCallPermissionTest.java | 68 Bundle xtrs = ntnt.getExtras(); in testProcessOutgoingCall() 88 Bundle xtrs = intent.getExtras(); in onReceive()
|
/cts/tests/translation/src/android/translation/cts/unittests/ |
D | TranslationValueTest.java | 80 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/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureContextTest.java | 95 assertExtras(context.getExtras()); in testSetGetBundle() 119 assertThat(context.getExtras()).isNull(); in testForLocus_valid() 128 assertExtras(context.getExtras()); in assertEverything()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocalService.java | 67 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/ |
D | MainFragment.java | 105 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);
|
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/ |
D | ReplyUtil.java | 95 if (ret.get().getExtras().getBoolean("success")) { in invokeAndWaitForReply() 98 Assert.fail(ret.get().getExtras().getString("error")); in invokeAndWaitForReply()
|
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/ |
D | LaunchBroadcastReceiver.java | 31 ActivityLauncher.launchActivityFromExtras(context, intent.getExtras()); in onReceive()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsSelfManagedConnectionService.java | 93 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createConnection() 99 connection.setExtras(request.getExtras()); in createConnection()
|