/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerTestBase.java | 43 public static <T extends FocusableActivity> T startActivity(Class<T> cls) { in startActivity() method in WindowManagerTestBase 44 return startActivity(cls, DEFAULT_DISPLAY); in startActivity() 47 protected static <T extends FocusableActivity> T startActivity(Class<T> cls, int displayId) { in startActivity() method in WindowManagerTestBase 48 return startActivity(cls, displayId, true /* hasFocus */); in startActivity() 51 protected static <T extends FocusableActivity> T startActivity( in startActivity() method in WindowManagerTestBase 53 return startActivity(cls, displayId, hasFocus, WINDOWING_MODE_UNDEFINED); in startActivity() 58 return startActivity(cls, DEFAULT_DISPLAY, true /* hasFocus */, windowingMode); in startActivityInWindowingMode() 63 return startActivity(cls, DEFAULT_DISPLAY, true /* hasFocus */, WINDOWING_MODE_FULLSCREEN); in startActivityInWindowingModeFullScreen() 66 public static <T extends FocusableActivity> T startActivity( in startActivity() method in WindowManagerTestBase 68 return startActivity(cls, displayId, hasFocus, windowingMode, INVALID_STACK_ID); in startActivity() [all …]
|
/cts/tests/tests/match_flags/src/android/matchflags/cts/ |
D | MatchFlagTests.java | 72 startActivity(onlyBrowserIntent); in startNoBrowserIntentWithNoMatchingApps() 75 startActivity(onlyBrowserIntent); in startNoBrowserIntentWithNoMatchingApps() 86 startActivity(noBrowserWithBrowserOnlyIntent); in startNoBrowserIntentWithNoMatchingApps() 97 startActivity(sharedIntent); in startRequireDefaultWithNoDefault() 103 startActivity(sharedIntentRequireDefault); in startRequireDefaultWithNoDefault() 114 startActivity(uniqueIntent); in startRequireDefaultWithSingleMatch() 135 startActivity(uniqueUriIntent); in startNoBrowserRequireDefaultInternal() 145 startActivity(uniqueUriIntentNoBrowserRequireDefault); in startNoBrowserRequireDefaultInternal() 163 startActivity(uniqueUriIntentNoBrowserRequireDefault); in startNoBrowserRequireDefaultInternal() 187 private static void startActivity(Intent onlyBrowserIntent) { in startActivity() method in MatchFlagTests [all …]
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | SettingsIntentsInWorkProfileTest.java | 55 startActivity(intent); in settingActivity_launchIgnoreBatteryOptimizationIntent_shouldNotCrash() 63 startActivity(intent); in settingActivity_launchManageWriteSettingsIntent_shouldNotCrash() 71 startActivity(intent); in settingActivity_launchAppUsageIntent_shouldNotCrash() 79 startActivity(intent); in settingActivity_launchApplicationDetailsIntent_shouldNotCrash() 86 startActivity(intent); in settingActivity_launchDeviceInfoSetting_shouldNotCrash() 89 private void startActivity(Intent intent) { in startActivity() method in SettingsIntentsInWorkProfileTest 98 targetContext.startActivity(intent); in startActivity()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ComponentCallerTest.java | 161 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_throwsIfCallerOfApiDoesNotHaveTheSameAccessToContentUri() 180 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_throwsIfContentUriWasNotPassedAtLaunch() 197 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_returnsCorrectResultEvenIfCallerOfActivityGrantsAndDies() 215 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_getDataContentUriViaPermission_noPermission() 233 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_getDataContentUriViaPermission_hasRead() 251 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_getDataContentUriViaPermission_hasReadButNoWrite() 269 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_clipDataContentUri_noPermission() 288 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_clipDataContentUri_hasRead() 307 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_clipDataContentUri_hasReadButNoWrite() 325 mContext.startActivity(intent); in testActivityInitialCaller_checkContentUriPermission_extraStreamContentUri_noPermission() [all …]
|
D | ShareIdentityTest.java | 409 mContext.startActivity(testIntent); in testShareIdentity_explicitIdentityShared_identityAvailableToActivity() 425 mContext.startActivity(testIntent); in testShareIdentity_defaultIdentityNotShared_identityNotAvailableToActivity() 446 mContext.startActivity(testIntent); in testShareIdentity_explicitIdentityNotShared_identityNotAvailableToActivity() 472 mContext.startActivity(intent); in testShareIdentity_identityNotSharedSameUid_identityAvailableToActivity() 500 mContext.startActivity(testIntent); in testShareIdentity_startActivityForResult_identityNotAvailableToActivity() 524 mContext.startActivity(testIntent); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityShared_identityAvailable() 541 mContext.startActivity(testIntent); in testShareIdentity_sendBroadcastToManifestReceiverIdentityShared_identityAvailable() 559 mContext.startActivity(testIntent); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityNotShared_identityNotAvailable() 582 mContext.startActivity(testIntent); in testShareIdentity_sendBroadcastToManifestReceiverIdentityNotShared_identityNotAvailable() 604 mContext.startActivity(testIntent); in testShareIdentity_sendBroadcastToRuntimeReceiverDefault_identityNotAvailable() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalActivityManagerTestHelper.java | 93 mLocalActivityManager.startActivity(id, intent); in testRemoveAllActivity() 121 mLocalActivityManager.startActivity(id1, intent); in testDispatchDestroy() 135 mLocalActivityManager.startActivity(id2, intent); in testDispatchDestroy() 163 mLocalActivityManager.startActivity(id, intent); in testSaveInstanceState() 182 mLocalActivityManager.startActivity(id, intent); in testDispatchPauseFalse() 196 mLocalActivityManager.startActivity(id, intent); in testDispatchPauseTrue() 210 mLocalActivityManager.startActivity(id, intent); in testDispatchStop() 232 mLocalActivityManager.startActivity("_id" + System.currentTimeMillis(), intent); in testDispatchCreate() 268 final Window w = mLocalActivityManager.startActivity(id, intent); in testStartActivity() 303 if (mLocalActivityManager.startActivity(null, intent) == null) { in testStartActivity() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/ |
D | Activity.java | 96 public void startActivity(Intent intent) { in startActivity() method in Activity 99 ComponentReference startActivity = TestApis.activities().foregroundActivity(); in startActivity() local 100 mActivity.startActivity(intent); in startActivity() 102 .toNotBeEqualTo(startActivity) in startActivity() 106 mActivity.startActivity(intent); in startActivity()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/ |
D | BackgroundActivityLaunchTest.java | 159 mContext.startActivity(intent); in testBackgroundActivityBlockedInStartNextMatchingActivity() 188 startActivity(APP_A_33.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinGracePeriodAndSdk33_isNotBlocked() 200 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinASMGracePeriod_isBlocked() 214 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinBalAfterAsmGracePeriod_isBlocked() 237 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivityBlockedWhenForegroundActivityNotTop() 256 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivityNotBlockedWhenForegroundActivityTop() 269 startActivity(APP_A_33.FOREGROUND_ACTIVITY); in testBackgroundActivityWhenForegroundActivityNotTopUsingSdk33_IsNotBlocked() 289 startActivity(APP_A.FOREGROUND_ACTIVITY); in testActivityNotBlockedWhenForegroundActivityLaunch() 303 startActivity(APP_A.FOREGROUND_ACTIVITY); in testActivityBroughtToTopOfTaskWhenLaunchedInTheBackground() 322 startActivity(APP_A.FOREGROUND_ACTIVITY); in testActivityBlockedFromBgActivityInFgTask() [all …]
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/steps/ |
D | LaunchIntentStep.java | 46 startActivity(mIntent); in interact() 51 protected void startActivity(Intent intent) { in startActivity() method in LaunchIntentStep 54 TestApis.context().instrumentedContext().startActivity(mIntent); in startActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | SetNewPasswordComplexityTest.java | 27 startActivity(intent); in onCreate() 35 startActivity(intent); in onCreate() 42 startActivity(intent); in onCreate() 49 startActivity(intent); in onCreate()
|
D | CANotifyOnBootActivity.java | 32 v -> startActivity(new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD))); in onCreate() 46 startActivity(new Intent("com.android.settings.TRUSTED_CREDENTIALS_USER")); in onClick() 61 startActivity(new Intent(Settings.ACTION_SECURITY_SETTINGS)); in onClick()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | SingleTaskInstanceDisplayActivity.java | 29 startActivity(new Intent(this, SingleTaskInstanceDisplayActivity2.class)); in onCreate() 33 startActivity(new Intent(this, SingleTaskInstanceDisplayActivity3.class)); in onCreate()
|
D | RecursiveActivity.java | 36 startActivity(intent); in onCreate() 41 startActivity(intent); in onCreate()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | RelaunchingActivity.java | 32 startActivity(intent); in onPause() 38 startActivity(intent); in onPause()
|
D | PipActivity.java | 35 startActivity(intent); in onPause() 41 startActivity(intent); in onPause()
|
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/src/android/media/audio/cts/audiorecordpermissiontests/ |
D | AudioRecordPermissionTests.java | 87 startActivity(TEST_PACKAGE); in testMovingFromTopToBackground_isSilenced() 105 startActivity(TEST_PACKAGE); in testMovingFromTopToSleep_isSilenced() 131 startActivity(TEST_PACKAGE); in testMovingFromTopToForegroundServiceWithMicCapabilities_isNotSilenced() 150 startActivity(TEST_PACKAGE); in testMovingFromTopToForegroundServiceWithoutMicCapabilities_isSilenced() 168 startActivity(TEST_PACKAGE); in testIfTargetPre34_MovingFromTopToBackground_isNotSilenced() 181 private void startActivity(String packageName) throws Exception { in startActivity() method in AudioRecordPermissionTests 187 mInstrumentation.getTargetContext().startActivity(intent); in startActivity()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | IntentLaunchActivity.java | 168 startActivity(innerIntent); in onCreate() 178 startActivity(intent); in onCreate() 186 startActivity(intent); in onCreate() 193 startActivity(intent); in onCreate() 210 startActivity(intent); in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20475/test-app/src/android/security/cts/CVE_2022_20475/ |
D | PocActivity.java | 33 startActivity(targetIntent); in onCreate() 37 startActivity(new Intent(this, HijackActivity.class)); in onCreate()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | InstallConstraintsTest.kt | 158 startActivity(TestApp.A) in <lambda>() 171 startActivity(TestApp.B) in <lambda>() 190 startActivity(TestApp.A) in <lambda>() 203 startActivity(TestApp.B) in <lambda>() 290 startActivity(TestApp.A, "com.android.cts.install.lib.testapp.TestServiceActivity") in <lambda>() 303 startActivity(TestApp.B) in <lambda>() 330 startActivity(HelloWorldUsingSdk1.packageName, in <lambda>() 343 startActivity(TestApp.B) in <lambda>() 366 startActivity(TestApp.A) in <lambda>() 399 startActivity(TestApp.B) in <lambda>() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityCaptureCallbackTests.java | 56 mPrimaryActivity = startActivity(PrimaryActivity.class, DEFAULT_DISPLAY); in setUp() 82 startActivity(SecondaryActivity.class, newDisplay.mId, /* hasFocus */ false); in testScreencaptureInvokeCallbackOnAllVisibleActivities() 100 startActivity(SecondaryActivity.class, newDisplay.mId, /* hasFocus */ false); in testScreencaptureInvokeCallbackOnOneDisplay() 117 startActivity(SecondaryActivity.class, newDisplay.mId, /* hasFocus */ false); in testScreencaptureInvokeCallbackOnRegisteredVisibleActivities() 131 startActivity(SecondaryActivity.class, DEFAULT_DISPLAY); in testScreencaptureInvokeCallbackOnVisibleOnly()
|
/cts/tests/tests/app/test-apps/TestShareIdentityApp/src/android/app/cts/testshareidentity/ |
D | TestShareIdentityReceiver.java | 52 context.startActivity(newIntent); in onReceive() 56 context.startActivity(newIntent, bundle); in onReceive() 61 context.startActivity(newIntent, bundle); in onReceive()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/ |
D | DialerImplementsTelecomIntentsActivity.java | 77 (View unused) -> startActivity(new Intent(TelecomManager.ACTION_SHOW_CALL_SETTINGS))); in onCreate() 82 startActivity(new Intent(TelecomManager.ACTION_SHOW_RESPOND_VIA_SMS_SETTINGS))); in onCreate() 87 (View unused) -> startActivity(new Intent(TelecomManager.ACTION_CHANGE_PHONE_ACCOUNTS))); in onCreate() 93 startActivity(new Intent(TelecomManager.ACTION_SHOW_CALL_ACCESSIBILITY_SETTINGS))); in onCreate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 120 mActivity.startActivity(intent); in restartActivity() 126 startActivity(); in testAutoFillOneDatasetAndSave() 168 startActivity(); in testAutoFillOneDatasetAndSave_largeAssistStructure() 231 startActivity(); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly() 310 startActivity(); in saveTest() 352 startActivity(); in testPartitionedSave() 408 startActivity(); in testDelayedSave() 474 startActivity(); in testSave_launchIntent() 510 startActivity(); in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi() 571 startActivity(); in testCloseSaveUiThenStartNewSessionRightAway() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | AutofillForAllAppsTest.java | 145 startActivity(); in testUnimportantViewTriggerFillRequest() 166 startActivity(); in testUnimportantViewNotTriggerFillRequestWhenActivityInDenylist() 187 startActivity(); in testUnimportantViewTriggerFillRequestWhenDenylistIsWronglyFormatted() 207 startActivity(); in testUnimportantViewNotTriggerFillRequestWhenPackageInDenylist() 227 startActivity(); in testUnimportantViewTriggerFillRequestWhenOtherActivityOfPackageInDenylist() 504 private LoginNotImportantForAutofillActivity startActivity() throws Exception { in startActivity() method in AutofillForAllAppsTest 507 mContext.startActivity(intent); in startActivity() 517 mContext.startActivity(intent); in startLoginNotImportantUsernameImportantPasswordActivity() 525 mContext.startActivity(intent); in startImeOptionActivity() 533 mContext.startActivity(intent); in startMultilineLoginActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | PowerPolicyTestActivity.java | 77 startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS)); in onCreate() 86 startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS)); in onCreate() 95 startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS)); in onCreate() 129 startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS)); in onCreate() 138 startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS)); in onCreate() 147 startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS)); in onCreate()
|