/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | BaseTestAppDeviceAdminReceiver.java | 35 public void onEnabled(Context context, Intent intent) { in onEnabled() argument 36 super.onEnabled(context, intent); in onEnabled() 40 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested() argument 41 return super.onDisableRequested(context, intent); in onDisableRequested() 45 public void onDisabled(Context context, Intent intent) { in onDisabled() argument 46 super.onDisabled(context, intent); in onDisabled() 50 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged() argument 51 super.onPasswordChanged(context, intent); in onPasswordChanged() 55 public void onPasswordChanged(Context context, Intent intent, UserHandle user) { in onPasswordChanged() argument 56 super.onPasswordChanged(context, intent, user); in onPasswordChanged() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AvailableIntentsTest.java | 61 private void assertCanBeHandled(final Intent intent) { in assertCanBeHandled() argument 63 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertCanBeHandled() 73 private void assertDefaultHandlerValidPriority(final Intent intent) { in assertDefaultHandlerValidPriority() argument 75 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertDefaultHandlerValidPriority() 86 private void assertHandledBySystemOnly(final Intent intent) { in assertHandledBySystemOnly() argument 88 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertHandledBySystemOnly() 100 private void assertHandledBySelfOnly(final Intent intent) { in assertHandledBySelfOnly() argument 102 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0); in assertHandledBySelfOnly() 118 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in testViewNormalUrl() local 119 assertCanBeHandled(intent); in testViewNormalUrl() [all …]
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
D | EventLibActivityTest.java | 64 Intent intent = new Intent(); in launchEventLibActivity_logsActivityCreatedEvent() local 65 intent.setPackage(sContext.getPackageName()); in launchEventLibActivity_logsActivityCreatedEvent() 66 intent.setClassName(sContext.getPackageName(), EventLibActivity.class.getName()); in launchEventLibActivity_logsActivityCreatedEvent() 67 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in launchEventLibActivity_logsActivityCreatedEvent() 68 sContext.startActivity(intent); in launchEventLibActivity_logsActivityCreatedEvent() 78 Intent intent = new Intent(); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName() local 79 intent.setPackage(sContext.getPackageName()); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName() 80 intent.setClassName(sContext.getPackageName(), GENERATED_ACTIVITY_CLASS_NAME); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName() 81 intent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TASK); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName() 82 sContext.startActivity(intent); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName() [all …]
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/ |
D | EventLibDeviceAdminReceiver.java | 78 public void onEnabled(Context context, Intent intent) { in onEnabled() argument 80 DeviceAdminEnabledEvent.logger(this, context, intent); in onEnabled() 88 super.onEnabled(context, intent); in onEnabled() 92 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested() argument 94 DeviceAdminDisableRequestedEvent.logger(this, context, intent); in onDisableRequested() 102 return super.onDisableRequested(context, intent); in onDisableRequested() 106 public void onDisabled(Context context, Intent intent) { in onDisabled() argument 108 DeviceAdminDisabledEvent.logger(this, context, intent); in onDisabled() 116 super.onDisabled(context, intent); in onDisabled() 120 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged() argument [all …]
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | DelegatedScopesReceiverActivity.java | 55 public void onReceive(Context context, Intent intent) { 56 Log.d(TAG, "Received intent " + intent.getAction() + " on UID " + Process.myUid()); 57 if (ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED.equals(intent.getAction())) { 58 handleIntent(intent); 70 protected void onNewIntent(Intent intent) { in onNewIntent() argument 71 super.onNewIntent(intent); in onNewIntent() 72 handleIntent(intent); in onNewIntent() 89 private void handleIntent(Intent intent) { in handleIntent() argument 90 Log.d(TAG, "handleIntent(): " + intent); in handleIntent() 91 if (intent == null) { in handleIntent() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | Utils.java | 49 private static void call(Intent intent) { in call() argument 51 extras.putParcelable(Intent.EXTRA_INTENT, intent); in call() 85 Intent intent = new Intent(); in grantClipUriPermission() local 86 intent.setAction(action); in grantClipUriPermission() 87 intent.putExtra(EXTRA_INTENT, grantIntent); in grantClipUriPermission() 88 call(intent); in grantClipUriPermission() 92 Intent intent = new Intent(); in grantClipUriPermissionViaContext() local 93 intent.setAction(ACTION_GRANT_URI); in grantClipUriPermissionViaContext() 94 intent.putExtra(EXTRA_PACKAGE_NAME, getContext().getPackageName()); in grantClipUriPermissionViaContext() 95 intent.putExtra(EXTRA_URI, uri); in grantClipUriPermissionViaContext() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreIntentsTest.java | 71 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled() argument 73 .getPackageManager().queryIntentActivities(intent, 0); in assertCanBeHandled() 75 assertTrue("No ResolveInfo found for " + intent.toString(), in assertCanBeHandled() 81 Intent intent = new Intent(Intent.ACTION_PICK); in testPickImageDir() local 82 intent.setData(mExternalImages); in testPickImageDir() 83 assertCanBeHandled(intent); in testPickImageDir() 88 Intent intent = new Intent(Intent.ACTION_PICK); in testPickVideoDir() local 89 intent.setData(mExternalVideo); in testPickVideoDir() 90 assertCanBeHandled(intent); in testPickVideoDir() 95 Intent intent = new Intent(Intent.ACTION_PICK); in testPickAudioDir() local [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | NfcTest.java | 32 Intent intent = getTextShareIntent(); in testNfcShareDisabled() local 35 waitForNfcBeamActivityDisabled(intent, NFC_RESOLVE_TIMEOUT_MILLIS); in testNfcShareDisabled() 36 assertFalse("Nfc beam activity should not be resolved", isNfcBeamActivityResolved(intent)); in testNfcShareDisabled() 40 Intent intent = getTextShareIntent(); in testNfcShareEnabled() local 41 assertTrue("Nfc beam activity should be resolved", isNfcBeamActivityResolved(intent)); in testNfcShareEnabled() 44 private void waitForNfcBeamActivityDisabled(Intent intent, int maxDelayMillis) in waitForNfcBeamActivityDisabled() argument 47 while (isNfcBeamActivityResolved(intent) && totalDelayedMillis <= maxDelayMillis) { in waitForNfcBeamActivityDisabled() 54 Intent intent = new Intent(); in getTextShareIntent() local 55 intent.setAction(Intent.ACTION_SEND); in getTextShareIntent() 56 intent.putExtra(Intent.EXTRA_TEXT, SAMPLE_TEXT); in getTextShareIntent() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | IntentLaunchActivity.java | 104 Intent intent = getTestIntent(context, action); in getTestIntentWithExtrasInParceledIntent() local 105 Intent innerIntent = intent.getParcelableExtra(EXTRA_INNER_INTENT); in getTestIntentWithExtrasInParceledIntent() 109 return intent; in getTestIntentWithExtrasInParceledIntent() 136 Intent intent = getTestIntent(context, action); in getTestIntentWithUriIntentInExtras() local 137 Intent innerIntent = intent.getParcelableExtra(EXTRA_INNER_INTENT); in getTestIntentWithUriIntentInExtras() 142 intent.putExtra(EXTRA_INNER_INTENT_URI_STRING, intentUriString); in getTestIntentWithUriIntentInExtras() 143 intent.removeExtra(EXTRA_INNER_INTENT); in getTestIntentWithUriIntentInExtras() 144 return intent; in getTestIntentWithUriIntentInExtras() 151 Intent intent = new Intent(context, IntentLaunchActivity.class); in getTestIntent() local 152 intent.setAction(action); in getTestIntent() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PolicyTransparencyTest.java | 32 Intent intent = mDevicePolicyManager.createAdminSupportIntent( in testCameraDisabled() local 34 assertNotNull(intent); in testCameraDisabled() 36 intent.getStringExtra(DevicePolicyManager.EXTRA_RESTRICTION)); in testCameraDisabled() 39 intent = mDevicePolicyManager.createAdminSupportIntent( in testCameraDisabled() 41 assertNull(intent); in testCameraDisabled() 47 Intent intent = mDevicePolicyManager.createAdminSupportIntent( in testScreenCaptureDisabled() local 49 assertNotNull(intent); in testScreenCaptureDisabled() 51 intent.getStringExtra(DevicePolicyManager.EXTRA_RESTRICTION)); in testScreenCaptureDisabled() 54 intent = mDevicePolicyManager.createAdminSupportIntent( in testScreenCaptureDisabled() 56 assertNull(intent); in testScreenCaptureDisabled() [all …]
|
D | LockTaskUtilityActivity.java | 68 protected void onNewIntent(Intent intent) { in onNewIntent() argument 69 super.onNewIntent(intent); in onNewIntent() 70 handleIntent(intent); in onNewIntent() 100 private void handleIntent(Intent intent) { in handleIntent() argument 101 if (intent.getBooleanExtra(START_LOCK_TASK, false)) { in handleIntent() 104 if (intent.getBooleanExtra(STOP_LOCK_TASK, false)) { in handleIntent() 107 if (intent.hasExtra(START_ACTIVITY)) { in handleIntent() 108 Intent i = intent.getParcelableExtra(START_ACTIVITY); in handleIntent() 111 if (intent.getBooleanExtra(FINISH, false)) { in handleIntent() 117 private void sendLocalBroadcast(Intent intent) { in sendLocalBroadcast() argument [all …]
|
D | DelegatedCertInstallerTest.java | 86 public void onReceive(Context context, Intent intent) { 87 if (ACTION_CERT_OPERATION_DONE.equals(intent.getAction())) { 89 mReceivedResult = intent.getBooleanExtra(EXTRA_RESULT_VALUE, false); 91 (Exception) intent.getSerializableExtra(EXTRA_RESULT_EXCEPTION); 265 Intent intent = new Intent(); in installCaCert() local 266 intent.setAction(ACTION_INSTALL_CERT); in installCaCert() 267 intent.setComponent(CERT_INSTALLER_COMPONENT); in installCaCert() 268 intent.putExtra(EXTRA_CERT_DATA, cert); in installCaCert() 269 intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in installCaCert() 270 mContext.sendBroadcast(intent); in installCaCert() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | RemoteInputTest.java | 114 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataResultsFromIntent() local 117 RemoteInput.addDataResultToIntent(input, intent, putResults); in testRemoteInputBuilder_addAndGetDataResultsFromIntent() 119 verifyIntentHasDataResults(intent, uri); in testRemoteInputBuilder_addAndGetDataResultsFromIntent() 125 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetTextResultsFromIntent() local 130 RemoteInput.addResultsToIntent(arr, intent, putResults); in testRemoteInputBuilder_addAndGetTextResultsFromIntent() 132 verifyIntentHasTextResults(intent, charSequence); in testRemoteInputBuilder_addAndGetTextResultsFromIntent() 140 Intent intent = new Intent(); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentDataFirst() local 142 addDataResultsToIntent(input, intent, uri); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentDataFirst() 143 addTextResultsToIntent(input, intent, charSequence); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentDataFirst() 144 RemoteInput.setResultsSource(intent, RemoteInput.SOURCE_FREE_FORM_INPUT); in testRemoteInputBuilder_addAndGetDataAndTextResultsFromIntentDataFirst() [all …]
|
D | AttributionTagsTest.java | 64 final Intent intent = new Intent(mTargetContext, LocalActivity.class); in testActivity() local 66 mPackageManager.getActivityInfo(intent.getComponent(), 0).attributionTags[0]); in testActivity() 69 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testActivity() 70 mContext.startActivity(intent); in testActivity() 77 final Intent intent = new Intent(); in testActivityAlias() local 78 intent.setComponent(new ComponentName(mTargetContext.getPackageName(), in testActivityAlias() 81 mPackageManager.getActivityInfo(intent.getComponent(), 0).attributionTags[0]); in testActivityAlias() 84 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testActivityAlias() 85 mContext.startActivity(intent); in testActivityAlias() 92 final Intent intent = new Intent(mTargetContext, LocalService.class); in testService() local [all …]
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContractIntentsTest.java | 32 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled() argument 34 .getPackageManager().queryIntentActivities(intent, 0); in assertCanBeHandled() 36 assertTrue("No ResolveInfo found for " + intent.toString(), in assertCanBeHandled() 41 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewContactDir() local 42 intent.setData(ContactsContract.Contacts.CONTENT_URI); in testViewContactDir() 43 assertCanBeHandled(intent); in testViewContactDir() 47 Intent intent = new Intent(Intent.ACTION_PICK); in testPickContactDir() local 48 intent.setData(ContactsContract.Contacts.CONTENT_URI); in testPickContactDir() 49 assertCanBeHandled(intent); in testPickContactDir() 53 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testGetContentContactDir() local [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | ImeCommandReceiver.java | 67 public void onReceive(Context context, Intent intent) { in onReceive() argument 68 final String command = intent.getStringExtra(ImeCommandConstants.EXTRA_COMMAND); in onReceive() 75 final CharSequence text = getCharSequence1(intent); in onReceive() 76 final int newCursorPosition = getInt1(intent); in onReceive() 81 final String imeId = getString1(intent); in onReceive() 86 final int flags = getInt1(intent); in onReceive() 91 final String imeId = getString1(intent); in onReceive() 110 private static CharSequence getCharSequence1(Intent intent) { in getCharSequence1() argument 111 return intent.getCharSequenceExtra(ImeCommandConstants.EXTRA_ARG_CHARSEQUENCE1); in getCharSequence1() 114 private static String getString1(Intent intent) { in getString1() argument [all …]
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | LocalIntentSender.java | 45 public void onReceive(Context context, Intent intent) { in onReceive() argument 46 Log.i(TAG, "Received intent " + prettyPrint(intent)); in onReceive() 47 mResults.add(intent); in onReceive() 59 Intent intent = new Intent(action); in getIntentSender() local 60 PendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, FLAG_MUTABLE); in getIntentSender() 68 Intent intent = mResults.take(); in getResult() local 69 Log.i(TAG, "Taking intent " + prettyPrint(intent)); in getResult() 70 return intent; in getResult() 73 private static String prettyPrint(Intent intent) { in prettyPrint() argument 74 int sessionId = intent.getIntExtra(PackageInstaller.EXTRA_SESSION_ID, -1); in prettyPrint() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | SetNewPasswordComplexityTest.java | 22 Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD); in onCreate() 23 intent.putExtra(DevicePolicyManager.EXTRA_PASSWORD_COMPLEXITY, in onCreate() 25 startActivity(intent); in onCreate() 29 Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD); in onCreate() 30 intent.putExtra(DevicePolicyManager.EXTRA_PASSWORD_COMPLEXITY, in onCreate() 32 startActivity(intent); in onCreate() 36 Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD); in onCreate() 37 intent.putExtra(DevicePolicyManager.EXTRA_PASSWORD_COMPLEXITY, in onCreate() 39 startActivity(intent); in onCreate() 43 Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD); in onCreate() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 108 public void onReceive(Context context, Intent intent) { in onReceive() argument 111 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onReceive() 113 + intent); in onReceive() 116 doBindService(context, intent, SERVICE_NAME); in onReceive() 119 doUnbindService(context, intent); in onReceive() 122 doStartForegroundService(context, intent); in onReceive() 125 doStartService(context, intent); in onReceive() 129 doStopService(context, intent, FG_SERVICE_NAME); in onReceive() 132 doStartForegroundServiceWithType(context, intent); in onReceive() 135 doStopService(context, intent, FG_LOCATION_SERVICE_NAME); in onReceive() [all …]
|
D | LocalActivityManagerTestHelper.java | 91 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testRemoveAllActivity() local 92 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testRemoveAllActivity() 93 mLocalActivityManager.startActivity(id, intent); in testRemoveAllActivity() 119 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testDispatchDestroy() local 120 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testDispatchDestroy() 121 mLocalActivityManager.startActivity(id1, intent); in testDispatchDestroy() 135 mLocalActivityManager.startActivity(id2, intent); in testDispatchDestroy() 161 final Intent intent = new Intent(this, LocalActivityManagerStubActivity.class); in testSaveInstanceState() local 162 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testSaveInstanceState() 163 mLocalActivityManager.startActivity(id, intent); in testSaveInstanceState() [all …]
|
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/ |
D | ErrorsTests.java | 69 Intent intent = new Intent(); in testException() local 70 intent.setClass(mContext, ExceptionActivity.class); in testException() 71 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testException() 72 mContext.startActivity(intent); in testException() 88 Intent intent = new Intent(); in testANR() local 89 intent.setClass(mContext, ANRActivity.class); in testANR() 90 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testANR() 91 mContext.startActivity(intent); in testANR() 110 Intent intent = new Intent(); in testNativeCrash() local 111 intent.setClass(mContext, NativeActivity.class); in testNativeCrash() [all …]
|
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | IntentQueryHelperTest.java | 40 Intent intent = new Intent(); in matches_noRestrictions_returnsTrue() local 44 assertThat(intentQueryHelper.matches(intent)).isTrue(); in matches_noRestrictions_returnsTrue() 49 Intent intent = new Intent(); in matches_action_meetsRestriction_returnsTrue() local 50 intent.setAction(STRING_VALUE); in matches_action_meetsRestriction_returnsTrue() 56 assertThat(intentQueryHelper.matches(intent)).isTrue(); in matches_action_meetsRestriction_returnsTrue() 61 Intent intent = new Intent(); in matches_action_doesNotMeetRestriction_returnsFalse() local 62 intent.setAction(STRING_VALUE); in matches_action_doesNotMeetRestriction_returnsFalse() 68 assertThat(intentQueryHelper.matches(intent)).isFalse(); in matches_action_doesNotMeetRestriction_returnsFalse() 73 Intent intent = new Intent(); in matches_extras_meetsRestriction_returnsTrue() local 74 intent.putExtra(/* key= */ STRING_VALUE, /* value= */ STRING_VALUE); in matches_extras_meetsRestriction_returnsTrue() [all …]
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 193 Intent intent = new Intent(); in testBackgroundActivityBlocked() local 194 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityBlocked() 195 mContext.sendBroadcast(intent); in testBackgroundActivityBlocked() 251 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() local 252 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() 253 mContext.sendBroadcast(intent); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() 261 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() local 262 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() 263 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() 264 mContext.startActivity(intent); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | LaunchSequence.java | 17 package android.server.wm.intent; 22 import android.server.wm.intent.Persistence.LaunchFromIntent; 23 import android.server.wm.intent.Persistence.LaunchIntent; 97 static LaunchSequence create(LaunchIntent intent) { in create() argument 98 return new RootLaunch(intent.withFlags(Cases.NEW_TASK)); in create() 106 default LaunchSequence append(LaunchIntent intent) { in append() argument 107 return new ConsecutiveLaunch(this, intent, false, Optional.empty()); in append() 117 default LaunchSequence append(LaunchIntent intent, LaunchSequence launchFrom) { in append() argument 118 return new ConsecutiveLaunch(this, intent, false, Optional.of(launchFrom)); in append() 125 default LaunchSequence act(LaunchIntent intent) { in act() argument [all …]
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | LaunchingActivity.java | 35 final Intent intent = getIntent(); in onCreate() local 36 if (intent != null && intent.getExtras() != null in onCreate() 37 && intent.getExtras().getBoolean(KEY_FINISH_BEFORE_LAUNCH)) { in onCreate() 40 if (savedInstanceState == null && intent != null) { in onCreate() 41 launchActivityFromExtras(intent.getExtras()); in onCreate() 46 protected void onNewIntent(Intent intent) { in onNewIntent() argument 47 super.onNewIntent(intent); in onNewIntent() 48 launchActivityFromExtras(intent.getExtras()); in onNewIntent()
|