Home
last modified time | relevance | path

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

1234

/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/activitymanager/app_base/src/android/server/am/
DLaunchingActivity.java33 ActivityLauncher.launchActivityFromExtras(this, intent.getExtras()); in onCreate()
40 ActivityLauncher.launchActivityFromExtras(this, intent.getExtras()); in onNewIntent()
/cts/tests/framework/base/activitymanager/app/src/android/server/am/
DLaunchAssistantActivityIntoAssistantStack.java33 TranslucentAssistantActivity.launchActivityIntoAssistantStack(this, intent.getExtras()); in onResume()
35 AssistantActivity.launchActivityIntoAssistantStack(this, getIntent().getExtras()); in onResume()
DAssistantVoiceInteractionService.java47 Bundle extras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); in onStartCommand()
DLaunchAssistantActivityFromSession.java25 AssistantVoiceInteractionService.launchAssistantActivity(this, getIntent().getExtras()); in onResume()
DLaunchBroadcastReceiver.java31 ActivityLauncher.launchActivityFromExtras(context, intent.getExtras()); in onReceive()
DMoveTaskToBackActivity.java38 mFinishPoint = intent.getExtras().getString(EXTRA_FINISH_POINT); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DPlaybackStateTest.java67 assertNull(state.getExtras()); in testBuilder()
98 assertEquals(EXTRAS_VALUE, state.getExtras().get(EXTRAS_KEY)); in testBuilder_setterMethods()
206 assertEquals(EXTRAS_VALUE, stateOut.getExtras().get(EXTRAS_KEY)); in testWriteToParcel()
238 assertEquals(EXTRAS_VALUE, customAction.getExtras().get(EXTRAS_KEY)); in testCustomAction()
260 assertEquals(action1.getExtras() != null, action2.getExtras() != null); in assertCustomActionEquals()
261 if (action1.getExtras() != null) { in assertCustomActionEquals()
262 assertEquals(action1.getExtras().get(EXTRAS_KEY), action2.getExtras().get(EXTRAS_KEY)); in assertCustomActionEquals()
DResourceManagerTestActivity1.java34 Bundle extras = getIntent().getExtras(); in onCreate()
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/
DShortcutManagerPostBackupTest.java50 assertNull(si.getExtras()); in testRestoredOnOldVersion()
86 assertNull(si.getExtras()); in testRestoredOnNewVersion()
118 assertNull(si.getExtras()); in testRestoreWrongKey()
DMainActivity.java32 final PersistableBundle extras = request.getShortcutInfo().getExtras(); in onCreate()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java320 if (mCall.getDetails().getExtras() != null) { in testExtras()
321 assertThat(mCall.getDetails().getExtras(), instanceOf(Bundle.class)); in testExtras()
386 assertEquals(mStatusHints.getExtras(), mCall.getDetails().getStatusHints().getExtras()); in testStatusHints()
419 Bundle callExtras = mCall.getDetails().getExtras(); in testExtrasPropagation()
444 Bundle extras = mCall.getDetails().getExtras(); in testConnectionPutExtras()
488 Bundle extras = mCall.getDetails().getExtras(); in verifyRemoveConnectionExtras()
509 Bundle extras = mConnection.getExtras(); in testCallPutExtras()
532 extras = mConnection.getExtras(); in testCallRemoveExtras()
542 extras = mConnection.getExtras(); in testCallRemoveExtras()
563 extras = mConnection.getExtras(); in testCallRemoveExtras2()
[all …]
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()
DConferenceTest.java188 assertFalse(conf.getDetails().getExtras().containsKey( in testConferenceSetters()
272 Bundle changedExtras = conf.getDetails().getExtras(); in testConferencePutExtras()
294 Bundle extras = mConferenceObject.getExtras(); in testConferenceRemoveExtras()
317 Bundle extras = mConferenceObject.getExtras(); in testConferenceRemoveExtras2()
350 Bundle changedExtras = mConferenceObject.getExtras(); in testConferenceOnExtraschanged()
409 assertTrue(areBundlesEqual(connection1.getExtras(), mConferenceObject.getExtras())); in verifyConferenceObject()
502 return call.getDetails().getExtras() != null ? in assertCallExtras()
503 call.getDetails().getExtras().getString(key) : null; in assertCallExtras()
DMockConference.java49 setExtras(a.getExtras()); in MockConference()
146 Bundle bundle = remoteConference.getExtras(); in setRemoteConference()
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
DShortcutManagerPostUpgradeTest.java41 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade()
46 s.getExtras().getInt(Consts.EXTRA_ICON_RES_ID)); in testPostUpgrade()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java67 if (intent.getExtras() != null) { in onStart()
69 = (IBinderParcelable) intent.getExtras().getParcelable(REPORT_OBJ_NAME); in onStart()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoProcessOutgoingCallPermissionTest.java69 Bundle xtrs = ntnt.getExtras(); in testProcessOutgoingCall()
89 Bundle xtrs = intent.getExtras(); in onReceive()
/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);
/cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
DReplyUtil.java95 if (ret.get().getExtras().getBoolean("success")) { in invokeAndWaitForReply()
98 Assert.fail(ret.get().getExtras().getString("error")); in invokeAndWaitForReply()
/cts/tests/framework/base/activitymanager/appSecondUid/src/android/server/am/second/
DLaunchBroadcastReceiver.java32 ActivityLauncher.launchActivityFromExtras(context, intent.getExtras()); in onReceive()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAuthenticatorActivity.java33 response.onResult(result.getExtras()); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsSelfManagedConnectionService.java93 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createConnection()
99 connection.setExtras(request.getExtras()); in createConnection()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountAuthenticatorDummyActivity.java22 response.onResult(result.getExtras()); in onCreate()

1234