Home
last modified time | relevance | path

Searched refs:getIntent (Results 1 – 25 of 199) sorted by relevance

12345678

/cts/tests/app/app/src/android/app/stubs/
DTestedScreen.java40 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate()
41 final Intent intent = new Intent(getIntent()); in onCreate()
46 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate()
49 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate()
50 if (!getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onCreate()
64 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume()
65 if (getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onResume()
86 final Intent intent = new Intent(getIntent()).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP) in launchClearTask()
94 if (CLEAR_TASK.equals(getIntent().getAction())) {
106 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { in queueIdle()
[all …]
DFragmentResultActivity.java32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate()
33 String result = getIntent().getStringExtra(EXTRA_RESULT_CONTENT); in onCreate()
DLaunchpadActivity.java184 final String action = getIntent().getAction(); in onCreate()
281 final String action = getIntent().getAction(); in onResume()
286 final Intent intent = getIntent(); in onResume()
293 final Intent intent = getIntent(); in onResume()
299 final Intent intent = getIntent(); in onResume()
378 final Intent intent = getIntent(); in onResume()
383 final Intent intent = getIntent(); in onResume()
389 final Intent intent = getIntent(); in onResume()
395 final Intent intent = getIntent(); in onResume()
443 String action = getIntent().getAction(); in checkLifecycle()
/cts/tests/tests/os/src/android/os/cts/
DTestedScreen.java40 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate()
41 final Intent intent = new Intent(getIntent()); in onCreate()
46 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate()
49 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate()
50 if (!getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onCreate()
64 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume()
65 if (getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onResume()
86 final Intent intent = new Intent(getIntent()).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP) in launchClearTask()
94 if (CLEAR_TASK.equals(getIntent().getAction())) {
106 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { in queueIdle()
[all …]
DLaunchpadActivity.java178 final String action = getIntent().getAction(); in onCreate()
275 final String action = getIntent().getAction(); in onResume()
280 final Intent intent = getIntent(); in onResume()
286 final Intent intent = getIntent(); in onResume()
292 final Intent intent = getIntent(); in onResume()
371 final Intent intent = getIntent(); in onResume()
376 final Intent intent = getIntent(); in onResume()
382 final Intent intent = getIntent(); in onResume()
388 final Intent intent = getIntent(); in onResume()
436 String action = getIntent().getAction(); in checkLifecycle()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPipActivity.java114 if (getIntent().hasExtra(EXTRA_PIP_ORIENTATION)) { in onCreate()
115 final int ori = Integer.parseInt(getIntent().getStringExtra(EXTRA_PIP_ORIENTATION)); in onCreate()
120 if (getIntent().hasExtra(EXTRA_SHOW_OVER_KEYGUARD)) { in onCreate()
125 if (getIntent().hasExtra(EXTRA_DISMISS_KEYGUARD)) { in onCreate()
131 if (getIntent().hasExtra(EXTRA_ENTER_PIP)) { in onCreate()
132 if (getIntent().hasExtra(EXTRA_ENTER_PIP_ASPECT_RATIO_NUMERATOR) in onCreate()
133 && getIntent().hasExtra(EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR)) { in onCreate()
137 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate()
152 if (getIntent().hasExtra(EXTRA_SET_ASPECT_RATIO_NUMERATOR) in onCreate()
153 && getIntent().hasExtra(EXTRA_SET_ASPECT_RATIO_DENOMINATOR)) { in onCreate()
[all …]
DAssistantActivity.java43 if (getIntent().hasExtra(EXTRA_ASSISTANT_LAUNCH_NEW_TASK)) { in onCreate()
45 getIntent().getStringExtra(EXTRA_ASSISTANT_LAUNCH_NEW_TASK)); in onCreate()
49 if (getIntent().hasExtra(EXTRA_ASSISTANT_DISPLAY_ID)) { in onCreate()
51 displayOptions.setLaunchDisplayId(Integer.parseInt(getIntent() in onCreate()
60 if (getIntent().hasExtra(EXTRA_ASSISTANT_ENTER_PIP)) { in onCreate()
70 if (getIntent().hasExtra(EXTRA_ASSISTANT_FINISH_SELF)) { in onCreate()
DTestActivityWithSameAffinity.java38 if (getIntent().hasExtra(EXTRA_ENTER_PIP)) { in onCreate()
43 String launchActivityComponent = getIntent().getStringExtra(EXTRA_START_ACTIVITY); in onCreate()
56 if (getIntent().hasExtra(EXTRA_FINISH_SELF_ON_RESUME)) { in onResume()
DLaunchAssistantActivityIntoAssistantStack.java30 final Intent intent = getIntent(); in onResume()
34 AssistantActivity.launchActivityIntoAssistantStack(this, getIntent().getExtras()); in onResume()
DTopActivity.java36 final boolean useWallpaper = getIntent().getBooleanExtra(EXTRA_TOP_WALLPAPER, false); in onCreate()
41 final int finishDelay = getIntent().getIntExtra(EXTRA_FINISH_DELAY, 0); in onCreate()
/cts/tests/tests/assist/service/src/android/assist/service/
DDelayedAssistantActivity.java33 RemoteCallback remoteCallback = getIntent().getParcelableExtra(Utils.EXTRA_REMOTE_CALLBACK); in onCreate()
38 intent.putExtra(Utils.TESTCASE_TYPE, getIntent().getStringExtra(Utils.TESTCASE_TYPE)); in onCreate()
40 getIntent().getIntExtra(Utils.DISPLAY_WIDTH_KEY, 0)); in onCreate()
42 getIntent().getIntExtra(Utils.DISPLAY_HEIGHT_KEY, 0)); in onCreate()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutLaunchedActivity.java55 mInstanceId, action, getIntent())); in log()
66 mIntentToAdd = getIntent(); in onCreate()
78 if (!Objects.equals(getIntent().getAction(), sExpectedVisibleOrder.get(0))) { in onResume()
86 sReceivedIntents.add(new Intent(getIntent())); in onResume()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDummyCrossProfileViewEventActivity.java44 final Intent intent = getIntent(); in onStart()
48 final Bundle bundle = getIntent().getExtras(); in onStart()
54 getIntent().getFlags() in onStart()
DComponentDisablingActivity.java37 String extraClassName = getIntent().getStringExtra(EXTRA_CLASS_NAME); in onCreate()
38 String extraPackage = getIntent().getStringExtra(EXTRA_PACKAGE); in onCreate()
/cts/tests/tests/telephony/TestSmsRetrieverApp/src/android/telephony/cts/smsretriever/
DMainActivity.java58 if (getIntent().getAction() == null) { in onCreate()
65 assertThat(getIntent().getStringExtra("message"), in onCreate()
74 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in sendResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DManagedUserPositiveTestActivity.java59 if (ACTION_CHECK_AFFILIATED_PROFILE_OWNER.equals(getIntent().getAction())) { in onCreate()
62 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
65 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
96 if (!ACTION_CHECK_AFFILIATED_PROFILE_OWNER.equals(getIntent().getAction())) { in finish()
109 .putExtra(EXTRA_TEST_ID, getIntent().getStringExtra(EXTRA_TEST_ID)))); in addTestsToAdapter()
DDeviceOwnerRequestingBugreportTestActivity.java69 if (ACTION_CHECK_DEVICE_OWNER_FOR_REQUESTING_BUGREPORT.equals(getIntent().getAction())) { in onCreate()
73 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
76 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate()
125 if (!ACTION_CHECK_DEVICE_OWNER_FOR_REQUESTING_BUGREPORT.equals(getIntent().getAction())) { in finish()
137 .putExtra(EXTRA_TEST_ID, getIntent().getStringExtra(EXTRA_TEST_ID)))); in addTestsToAdapter()
DPolicyTransparencyTestActivity.java152 mTitle = getIntent().getStringExtra(EXTRA_TITLE); in onCreate()
153 mTestId = getIntent().getStringExtra(EXTRA_TEST_ID); in onCreate()
154 mSettingsIntentAction = getIntent().getStringExtra(EXTRA_SETTINGS_INTENT_ACTION); in onCreate()
155 mTest = getIntent().getStringExtra(EXTRA_TEST); in onCreate()
169 final String userRestriction = getIntent().getStringExtra( in updateTestInstructions()
239 final String userRestriction = getIntent().getStringExtra( in onCheckedChanged()
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DTestApp.java31 Log.i(TAG, "TestApp created: " + getIntent()); in onCreate()
32 mTestCaseName = getIntent().getStringExtra(Utils.TESTCASE_TYPE); in onCreate()
/cts/hostsidetests/shortcuts/deviceside/backup/launcher4old/src/android/content/pm/cts/shortcut/backup/launcher4/
DMainActivity.java29 if (LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT.equals(getIntent().getAction())) { in onCreate()
31 .getPinItemRequest(getIntent()); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAuthenticationActivity.java209 final AssistStructure structure = getIntent().getParcelableExtra( in doIt()
214 sData = getIntent().getBundleExtra(AutofillManager.EXTRA_CLIENT_STATE); in doIt()
216 sResponses.get(getIntent().getIntExtra(EXTRA_RESPONSE_ID, 0)); in doIt()
218 sDatasets.get(getIntent().getIntExtra(EXTRA_DATASET_ID, 0)); in doIt()
239 final Bundle outClientState = getIntent().getBundleExtra(EXTRA_OUTPUT_CLIENT_STATE); in doIt()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/
DCustomPrintOptionsActivity.java63 PrintJobInfo printJobInfo = getIntent().getParcelableExtra( in onCreate()
65 PrinterInfo printerInfo = getIntent().getParcelableExtra( in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralActivity.java39 final Intent intent = getIntent(); in onCreate()
50 .setIntent(getIntent()) in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/
DEphemeralActivity.java38 final Intent intent = getIntent(); in onCreate()
49 .setIntent(getIntent()) in onCreate()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DWebLinkActivity.java37 final String documentId = getIntent().getStringExtra(EXTRA_DOCUMENT_ID); in onCreate()
38 final String email = getIntent().getStringExtra(Intent.EXTRA_EMAIL); in onCreate()

12345678