/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/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/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContractIntentsTest.java | 31 public void assertCanBeHandled(Intent intent) { in assertCanBeHandled() argument 33 .getPackageManager().queryIntentActivities(intent, 0); in assertCanBeHandled() 35 assertTrue("No ResolveInfo found for " + intent.toString(), in assertCanBeHandled() 40 Intent intent = new Intent(Intent.ACTION_VIEW); in testViewContactDir() local 41 intent.setData(ContactsContract.Contacts.CONTENT_URI); in testViewContactDir() 42 assertCanBeHandled(intent); in testViewContactDir() 46 Intent intent = new Intent(Intent.ACTION_PICK); in testPickContactDir() local 47 intent.setData(ContactsContract.Contacts.CONTENT_URI); in testPickContactDir() 48 assertCanBeHandled(intent); in testPickContactDir() 52 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); in testGetContentContactDir() local [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/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 153 Intent intent = new Intent(); in testBackgroundActivityBlocked() local 154 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityBlocked() 155 mContext.sendBroadcast(intent); in testBackgroundActivityBlocked() 211 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() local 212 intent.setComponent(APP_A_START_ACTIVITY_RECEIVER); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() 213 mContext.sendBroadcast(intent); in testBackgroundActivityNotBlockedWhenSystemAlertWindowGranted() 221 Intent intent = new Intent(); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() local 222 intent.setComponent(APP_A_FOREGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() 223 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() 224 mContext.startActivity(intent); in testBackgroundActivityNotBlockedWhenForegroundActivityExists() [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | ImeCommandReceiver.java | 66 public void onReceive(Context context, Intent intent) { in onReceive() argument 67 final String command = intent.getStringExtra(ImeCommandConstants.EXTRA_COMMAND); in onReceive() 74 final CharSequence text = getCharSequence1(intent); in onReceive() 75 final int newCursorPosition = getInt1(intent); in onReceive() 80 final String imeId = getString1(intent); in onReceive() 85 final int flags = getInt1(intent); in onReceive() 90 final String imeId = getString1(intent); in onReceive() 109 private static CharSequence getCharSequence1(Intent intent) { in getCharSequence1() argument 110 return intent.getCharSequenceExtra(ImeCommandConstants.EXTRA_ARG_CHARSEQUENCE1); in getCharSequence1() 113 private static String getString1(Intent intent) { in getString1() argument [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 103 public void onReceive(Context context, Intent intent) { in onReceive() argument 106 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onReceive() 108 + intent); in onReceive() 111 doBindService(context, intent, SERVICE_NAME); in onReceive() 114 doUnbindService(context, intent); in onReceive() 117 doStartForegroundService(context, intent); in onReceive() 120 doStartService(context, intent); in onReceive() 124 doStopService(context, intent, FG_SERVICE_NAME); in onReceive() 127 doStartForegroundServiceWithType(context, intent); in onReceive() 130 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/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | IntentQueryHelperTest.java | 38 Intent intent = new Intent(); in matches_noRestrictions_returnsTrue() local 42 assertThat(intentQueryHelper.matches(intent)).isTrue(); in matches_noRestrictions_returnsTrue() 47 Intent intent = new Intent(); in matches_action_meetsRestriction_returnsTrue() local 48 intent.setAction(STRING_VALUE); in matches_action_meetsRestriction_returnsTrue() 54 assertThat(intentQueryHelper.matches(intent)).isTrue(); in matches_action_meetsRestriction_returnsTrue() 59 Intent intent = new Intent(); in matches_action_doesNotMeetRestriction_returnsFalse() local 60 intent.setAction(STRING_VALUE); in matches_action_doesNotMeetRestriction_returnsFalse() 66 assertThat(intentQueryHelper.matches(intent)).isFalse(); in matches_action_doesNotMeetRestriction_returnsFalse() 71 Intent intent = new Intent(); in matches_extras_meetsRestriction_returnsTrue() local 72 intent.putExtra(/* key= */ STRING_VALUE, /* value= */ STRING_VALUE); in matches_extras_meetsRestriction_returnsTrue() [all …]
|
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/ |
D | ErrorsTests.java | 67 Intent intent = new Intent(); in testException() local 68 intent.setClass(mContext, ExceptionActivity.class); in testException() 69 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testException() 70 mContext.startActivity(intent); in testException() 86 Intent intent = new Intent(); in testANR() local 87 intent.setClass(mContext, ANRActivity.class); in testANR() 88 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testANR() 89 mContext.startActivity(intent); in testANR() 108 Intent intent = new Intent(); in testNativeCrash() local 109 intent.setClass(mContext, NativeActivity.class); in testNativeCrash() [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() 58 Intent intent = new Intent(action); in getIntentSender() local 59 PendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, FLAG_MUTABLE); in getIntentSender() 67 Intent intent = mResults.take(); in getResult() local 68 Log.i(TAG, "Taking intent " + prettyPrint(intent)); in getResult() 69 return intent; in getResult() 72 private static String prettyPrint(Intent intent) { in prettyPrint() argument 73 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/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 138 final Intent intent = new Intent(queryType); in queryForUri() local 143 intent.putExtra(queryType, c != null && c.moveToFirst()); in queryForUri() 145 intent.putExtra(INTENT_EXCEPTION, e); in queryForUri() 148 return intent; in queryForUri() 152 final Intent intent = new Intent(queryType); in isFileDescriptorRedactedForUri() local 161 intent.putExtra(queryType, exifInterface.getGpsDateTime() == -1); in isFileDescriptorRedactedForUri() 163 intent.putExtra(INTENT_EXCEPTION, e); in isFileDescriptorRedactedForUri() 166 return intent; in isFileDescriptorRedactedForUri() 170 final Intent intent = new Intent(queryType); in isFilePathForUriRedacted() local 176 intent.putExtra(INTENT_EXCEPTION, new IOException("")); in isFilePathForUriRedacted() [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()
|
/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 …]
|