/cts/tests/app/app/src/android/app/stubs/ |
D | TestedScreen.java | 40 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 …]
|
D | FragmentResultActivity.java | 32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate() 33 String result = getIntent().getStringExtra(EXTRA_RESULT_CONTENT); in onCreate()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | TestedScreen.java | 40 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 …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | PipActivity.java | 137 if (getIntent().hasExtra(EXTRA_PIP_ORIENTATION)) { in onCreate() 138 final int ori = Integer.parseInt(getIntent().getStringExtra(EXTRA_PIP_ORIENTATION)); in onCreate() 143 if (getIntent().hasExtra(EXTRA_SHOW_OVER_KEYGUARD)) { in onCreate() 148 if (getIntent().hasExtra(EXTRA_DISMISS_KEYGUARD)) { in onCreate() 154 if (getIntent().hasExtra(EXTRA_ENTER_PIP)) { in onCreate() 155 if (getIntent().hasExtra(EXTRA_ENTER_PIP_ASPECT_RATIO_NUMERATOR) in onCreate() 156 && getIntent().hasExtra(EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR)) { in onCreate() 160 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate() 175 if (getIntent().hasExtra(EXTRA_SET_ASPECT_RATIO_NUMERATOR) in onCreate() 176 && getIntent().hasExtra(EXTRA_SET_ASPECT_RATIO_DENOMINATOR)) { in onCreate() [all …]
|
D | AssistantActivity.java | 44 if (getIntent().hasExtra(EXTRA_ASSISTANT_LAUNCH_NEW_TASK)) { in onCreate() 46 getIntent().getStringExtra(EXTRA_ASSISTANT_LAUNCH_NEW_TASK)); in onCreate() 52 if (getIntent().hasExtra(EXTRA_ASSISTANT_DISPLAY_ID)) { in onCreate() 53 activityOptions.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()
|
D | UnresponsiveActivity.java | 36 final int delay = getIntent().getIntExtra(EXTRA_ON_CREATE_DELAY_MS, 0); in onCreate() 43 final int delay = getIntent().getIntExtra(EXTRA_DELAY_UI_THREAD_MS, 0); in onResume() 53 final int delay = getIntent().getIntExtra(EXTRA_ON_KEYDOWN_DELAY_MS, 0); in onKeyDown() 60 final int delay = getIntent().getIntExtra(EXTRA_ON_MOTIONEVENT_DELAY_MS, 0); in onTouchEvent()
|
D | TurnScreenOnActivity.java | 29 final boolean useShowWhenLocked = getIntent().getBooleanExtra( in onCreate() 31 if (getIntent().getBooleanExtra(Components.TurnScreenOnActivity.EXTRA_USE_WINDOW_FLAGS, in onCreate() 44 final long sleepMs = getIntent().getLongExtra( in onCreate()
|
D | TestActivityWithSameAffinity.java | 38 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()
|
D | LaunchAssistantActivityIntoAssistantStack.java | 30 final Intent intent = getIntent(); in onResume() 34 AssistantActivity.launchActivityIntoAssistantStack(this, getIntent().getExtras()); in onResume()
|
/cts/tests/app/StorageDelegator/src/com/android/test/storagedelegator/ |
D | StorageDelegator.java | 45 if (!getIntent().getAction().equals(ACTION_CREATE_FILE_WITH_CONTENT)) { in onCreate() 46 Log.w(TAG, "Unsupported action: " + getIntent().getAction()); in onCreate() 51 final String path = getIntent().getStringExtra(EXTRA_PATH); in onCreate() 52 final String contents = getIntent().getStringExtra(EXTRA_CONTENTS); in onCreate() 73 getIntent().<RemoteCallback>getParcelableExtra(EXTRA_CALLBACK).sendResult(result); in sendResult()
|
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 85 String queryType = getIntent().getStringExtra(QUERY_TYPE); in onCreate() 139 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in queryForUri() 153 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in isFileDescriptorRedactedForUri() 171 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in isFilePathForUriRedacted() 191 if (getIntent().hasExtra(INTENT_EXTRA_PATH)) { in sendMetadata() 192 final String filePath = getIntent().getStringExtra(INTENT_EXTRA_PATH); in sendMetadata() 204 if (getIntent().hasExtra(INTENT_EXTRA_PATH)) { in sendDirectoryEntries() 205 final String directoryPath = getIntent().getStringExtra(INTENT_EXTRA_PATH); in sendDirectoryEntries() 225 if (getIntent().hasExtra(INTENT_EXTRA_PATH)) { in createImageEntry() 226 final String path = getIntent().getStringExtra(INTENT_EXTRA_PATH); in createImageEntry() [all …]
|
/cts/tests/tests/assist/service/src/android/assist/service/ |
D | DelayedAssistantActivity.java | 33 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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceOwnerRequestingBugreportTestActivity.java | 81 String action = getIntent().getAction(); in onCreate() 91 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 94 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 102 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 105 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 114 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 117 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 171 String action = getIntent().getAction(); in finish() 194 .putExtra(EXTRA_TEST_ID, getIntent().getStringExtra(EXTRA_TEST_ID)))); in addTestsToAdapter() 199 .putExtra(EXTRA_TEST_ID, getIntent().getStringExtra(EXTRA_TEST_ID)))); in addTestsToAdapter() [all …]
|
D | LocationTestActivity.java | 62 switch (getIntent().getAction()) { in getTestId() 95 switch (getIntent().getAction()) { in getInstructions() 110 switch (getIntent().getAction()) { in getCheckerIntentAction() 123 switch (getIntent().getAction()) { in locationExpected()
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
D | SimpleActivityStartFgService.java | 42 final String action = getIntent().getAction(); in onCreate() 52 Intent serviceIntent = getIntent().getParcelableExtra("service"); in onCreate() 67 Intent serviceIntent = getIntent().getParcelableExtra("service"); in onNewIntent() 76 Intent serviceIntent = getIntent().getParcelableExtra("service"); in attemptStartService()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutLaunchedActivity.java | 55 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/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/ |
D | SessionInspectorActivity.java | 40 RemoteCallback remoteCallback = getIntent().getParcelableExtra(EXTRA_RESULT_RECEIVER); in onCreate() 42 String action = getIntent().getAction(); in onCreate() 53 final int sessionId = getIntent().getIntExtra(EXTRA_SESSION_ID, 0); in onCreate() 60 final int sessionId = getIntent().getIntExtra(EXTRA_SESSION_ID, 0); in onCreate()
|
/cts/tests/MediaProviderTranscode/helper/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestHelper.java | 45 String queryType = getIntent().getStringExtra(INTENT_QUERY_TYPE); in onCreate() 51 final File file = new File(getIntent().getStringExtra(INTENT_EXTRA_PATH)); in onCreate() 58 getApplicationContext().grantUriPermission(getIntent().getStringExtra( in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/ |
D | UiccTransactionEvent3EmulatorActivity.java | 107 Bundle bundle = getIntent().getExtras(); in initProcess() 114 …mTextView.setText("Pass - NFC Action:" + getIntent().getAction() + " uri:" + getIntent().getDataSt… in initProcess() 123 …mTextView.setText("Fail - Action:" + getIntent().getAction() + " uri:" + getIntent().getDataString… in initProcess()
|
D | UiccTransactionEvent1EmulatorActivity.java | 108 Bundle bundle = getIntent().getExtras(); in initProcess() 115 …mTextView.setText("Pass - NFC Action:" + getIntent().getAction() + " uri:" + getIntent().getDataSt… in initProcess() 124 …mTextView.setText("Fail - Action:" + getIntent().getAction() + " uri:" + getIntent().getDataString… in initProcess()
|
D | UiccTransactionEvent2EmulatorActivity.java | 108 Bundle bundle = getIntent().getExtras(); in initProcess() 115 …mTextView.setText("Pass - NFC Action:" + getIntent().getAction() + " uri:" + getIntent().getDataSt… in initProcess() 124 …mTextView.setText("Fail - Action:" + getIntent().getAction() + " uri:" + getIntent().getDataString… in initProcess()
|
/cts/common/device-side/bedstead/eventlib/src/test/testapp/src/main/java/com/android/eventlib/tests/testapp/ |
D | EventLoggingActivity.java | 18 .setTag(getIntent().getStringExtra("TAG")) in onResume() 19 .setData(getIntent().getStringExtra("DATA")) in onResume()
|
/cts/tests/tests/telephony/TestSmsRetrieverApp/src/android/telephony/cts/smsretriever/ |
D | MainActivity.java | 38 if (getIntent().getAction() == null) { in onCreate() 58 assertThat(getIntent().getStringExtra("message"), in onCreate() 67 getIntent().<RemoteCallback>getParcelableExtra("callback").sendResult(result); in sendResult()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleClientTestBase.java | 381 final Intent intent = getIntent(); in onCreate() 406 if (getIntent().getBooleanExtra(EXTRA_FINISH_IN_ON_START, false)) { in onStart() 416 final Intent intent = getIntent(); in onResume() 427 if (getIntent().getBooleanExtra(EXTRA_FINISH_IN_ON_PAUSE, false)) { in onPause() 437 if (getIntent().getBooleanExtra(EXTRA_FINISH_IN_ON_STOP, false)) { in onStop() 459 if (getIntent().getBooleanExtra(EXTRA_ACTIVITY_ON_USER_LEAVE_HINT, false)) { in onUserLeaveHint() 515 if (!getIntent().getBooleanExtra(EXTRA_SKIP_TOP_RESUMED_STATE, false)) { in onTopResumedActivityChanged() 596 if (getIntent().hasExtra(EXTRA_USE_TRANSLUCENT_RESULT)) { in onCreate() 602 final Bundle forwardExtras = getIntent().getBundleExtra(EXTRA_FORWARD_EXTRAS); in onCreate() 613 && getIntent().getBooleanExtra(EXTRA_LAUNCH_ON_RESUME_AFTER_RESULT, false)) { in onResume() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TestCrossProfileViewEventActivity.java | 44 final Intent intent = getIntent(); in onStart() 48 final Bundle bundle = getIntent().getExtras(); in onStart() 54 getIntent().getFlags() in onStart()
|