/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/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 …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | PipActivity.java | 183 if (getIntent().hasExtra(EXTRA_PIP_ORIENTATION)) { in onCreate() 184 final int ori = Integer.parseInt(getIntent().getStringExtra(EXTRA_PIP_ORIENTATION)); in onCreate() 199 if (getIntent().hasExtra(EXTRA_ENTER_PIP_ASPECT_RATIO_NUMERATOR) in onCreate() 200 && getIntent().hasExtra(EXTRA_ENTER_PIP_ASPECT_RATIO_DENOMINATOR)) { in onCreate() 204 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate() 208 builder.setExpandedAspectRatio(getAspectRatio(getIntent(), in onCreate() 224 if (getIntent().hasExtra(EXTRA_SET_ASPECT_RATIO_NUMERATOR) in onCreate() 225 && getIntent().hasExtra(EXTRA_SET_ASPECT_RATIO_DENOMINATOR)) { in onCreate() 228 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate() 245 if (getIntent().hasExtra(EXTRA_IS_SEAMLESS_RESIZE_ENABLED)) { in onCreate() [all …]
|
D | AssistantActivity.java | 46 if (getIntent().hasExtra(EXTRA_ASSISTANT_LAUNCH_NEW_TASK)) { in onCreate() 48 getIntent().getStringExtra(EXTRA_ASSISTANT_LAUNCH_NEW_TASK)); in onCreate() 52 if (getIntent().hasExtra(EXTRA_ASSISTANT_DISPLAY_ID)) { in onCreate() 54 displayOptions.setLaunchDisplayId(Integer.parseInt(getIntent() in onCreate() 63 if (getIntent().hasExtra(EXTRA_ASSISTANT_ENTER_PIP)) { in onCreate() 73 if (getIntent().hasExtra(EXTRA_ASSISTANT_FINISH_SELF)) { in onCreate()
|
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 | UnresponsiveActivity.java | 34 final int delay = getIntent().getIntExtra(EXTRA_ON_CREATE_DELAY_MS, 0); in onCreate() 40 final int delay = getIntent().getIntExtra(EXTRA_ON_KEYDOWN_DELAY_MS, 0); in onKeyDown() 47 final int delay = getIntent().getIntExtra(EXTRA_ON_MOTIONEVENT_DELAY_MS, 0); in onTouchEvent()
|
D | LaunchEnterPipActivity.java | 28 PipActivity.launchEnterPipActivity(this, getIntent().getExtras()); in onCreate() 36 if (getIntent().hasExtra(EXTRA_FINISH_TRAMPOLINE_ON_RESUME)) { 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/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/ |
D | UiccTransactionEvent1EmulatorActivity.java | 92 Bundle bundle = getIntent().getExtras(); in initProcess() 93 if (bundle != null && getIntent().getAction() != null) { in initProcess() 99 …mTextView.setText("Pass - NFC Action:" + getIntent().getAction() + " uri:" + getIntent().getDataSt… in initProcess() 108 …mTextView.setText("Fail - Action:" + getIntent().getAction() + " uri:" + getIntent().getDataString… in initProcess()
|
D | UiccTransactionEvent2EmulatorActivity.java | 92 Bundle bundle = getIntent().getExtras(); in initProcess() 93 if (bundle != null && getIntent().getAction() != null) { in initProcess() 99 …mTextView.setText("Pass - NFC Action:" + getIntent().getAction() + " uri:" + getIntent().getDataSt… in initProcess() 108 …mTextView.setText("Fail - Action:" + getIntent().getAction() + " uri:" + getIntent().getDataString… in initProcess()
|
D | UiccTransactionEvent3EmulatorActivity.java | 91 Bundle bundle = getIntent().getExtras(); in initProcess() 92 if (bundle != null && getIntent().getAction() != null) { in initProcess() 98 …mTextView.setText("Pass - NFC Action:" + getIntent().getAction() + " uri:" + getIntent().getDataSt… in initProcess() 107 …mTextView.setText("Fail - Action:" + getIntent().getAction() + " uri:" + getIntent().getDataString… in initProcess()
|
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 113 String queryType = getIntent().getStringExtra(QUERY_TYPE); in onCreate() 188 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in queryForUri() 204 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in queryRowId() 221 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in queryOwnerPackageNames() 243 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in deleteMediaByUri() 257 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in updateMediaByUri() 258 final Bundle attributes = getIntent().getBundleExtra(INTENT_EXTRA_ARGS); in updateMediaByUri() 277 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in queryMediaByUri() 278 final Bundle projectionBundle = getIntent().getBundleExtra(INTENT_EXTRA_ARGS); in queryMediaByUri() 307 final Uri uri = getIntent().getParcelableExtra(INTENT_EXTRA_URI); in queryWithArgs() [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 | 82 String action = getIntent().getAction(); in onCreate() 93 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 96 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 104 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 107 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 116 TestResult.setPassedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 119 TestResult.setFailedResult(this, getIntent().getStringExtra(EXTRA_TEST_ID), in onCreate() 173 String action = getIntent().getAction(); in finish() 196 .putExtra(EXTRA_TEST_ID, getIntent().getStringExtra(EXTRA_TEST_ID)))); in addTestsToAdapter() 201 .putExtra(EXTRA_TEST_ID, getIntent().getStringExtra(EXTRA_TEST_ID)))); in addTestsToAdapter() [all …]
|
/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/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | MainActivity.java | 58 final Uri uri = getIntent().getData(); in getStringIntentExtra() 64 return getIntent().getStringExtra(key); in getStringIntentExtra() 68 String value = getIntent().getStringExtra(key); in getIntegerIntentExtra() 77 final Uri uri = getIntent().getData(); in getBooleanIntentExtra() 83 return getIntent().getBooleanExtra(key, false) || "true".equals( in getBooleanIntentExtra() 84 getIntent().getStringExtra(key)); in getBooleanIntentExtra() 109 RemoteCallback remoteCallback = getIntent().getParcelableExtra( in onCreate() 112 String sessionId = getIntent().getStringExtra( in onCreate()
|
/cts/tests/tests/virtualdevice/app/src/android/virtualdevice/streamedtestapp/ |
D | ClipboardTestActivity.java | 55 int deviceId = getIntent().getIntExtra(EXTRA_DEVICE_ID, getDeviceId()); in processAction() 59 String action = getIntent().getAction(); in processAction() 66 Intent intent = getIntent(); in processAction() 72 getIntent().getParcelableExtra(EXTRA_RESULT_RECEIVER, RemoteCallback.class); in processAction()
|
/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/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | LifecycleTrackingActivity.java | 53 final Intent intent = getIntent(); in onCreate() 78 if (getIntent().getBooleanExtra(EXTRA_FINISH_IN_ON_START, false)) { in onStart() 88 final Intent intent = getIntent(); in onResume() 99 if (getIntent().getBooleanExtra(EXTRA_FINISH_IN_ON_PAUSE, false)) { in onPause() 109 if (getIntent().getBooleanExtra(EXTRA_FINISH_IN_ON_STOP, false)) { in onStop() 131 if (getIntent().getBooleanExtra(EXTRA_ACTIVITY_ON_USER_LEAVE_HINT, false)) { in onUserLeaveHint()
|
/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/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/inputmethod/testlauncher/src/android/view/inputmethod/ctstestlauncher/ |
D | LauncherActivity.java | 45 getIntent().getStringExtra(MockTestActivityUtil.EXTRA_KEY_PRIVATE_IME_OPTIONS); in onCreate() 50 if (getIntent().getBooleanExtra(MockTestActivityUtil.EXTRA_HANDWRITING_DELEGATE, false)) { in onCreate() 53 if (getIntent().getBooleanExtra( in onCreate()
|
/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()
|