Home
last modified time | relevance | path

Searched refs:startActivity (Results 1 – 25 of 220) sorted by relevance

123456789

/cts/tests/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java93 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/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleFreeformTests.java76 mTargetContext.startActivity(firstIntent, bundle); in testLaunchInFreeform()
98 mTargetContext.startActivity(firstIntent, bundle); in testMultiLaunchInFreeform()
102 mTargetContext.startActivity(secondIntent, bundle); in testMultiLaunchInFreeform()
106 mTargetContext.startActivity(thirdIntent, bundle); in testMultiLaunchInFreeform()
134 mTargetContext.startActivity(firstIntent, bundle); in testLaunchOccludingInFreeform()
140 mTargetContext.startActivity(thirdIntent, bundle); in testLaunchOccludingInFreeform()
191 mTargetContext.startActivity(firstIntent, bundle); in testLaunchTranslucentInFreeform()
198 mTargetContext.startActivity(thirdIntent, bundle); in testLaunchTranslucentInFreeform()
255 mTargetContext.startActivity(intent, bundle); in testPreQTopProcessResumedActivityInFreeform()
262 mTargetContext.startActivity(intent, bundle); in testPreQTopProcessResumedActivityInFreeform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DSetNewPasswordComplexityTest.java25 startActivity(intent); in onCreate()
32 startActivity(intent); in onCreate()
39 startActivity(intent); in onCreate()
46 startActivity(intent); in onCreate()
DCANotifyOnBootActivity.java38 v -> startActivity(new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD))); in onCreate()
52 startActivity(new Intent("com.android.settings.TRUSTED_CREDENTIALS_USER")); in onClick()
84 startActivity(new Intent("android.credentials.INSTALL")); in onClick()
DLockConfirmBypassTest.java54 startActivity(setPasswordIntent); in onCreate()
64 startActivity(setPasswordIntent); in onCreate()
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/
DForegroundActivity.java53 startActivity(newIntent); in onCreate()
57 startActivity(newIntent); in onCreate()
67 startActivity(newIntent); in onCreate()
78 startActivity(getIntent()); in onPause()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java145 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testKeyReceiving()
157 startActivity(SecondaryActivity.class, secondaryDisplayId); in testKeyReceiving()
196 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testMovingDisplayToTopByKeyEvent()
203 startActivity(SecondaryActivity.class, secondaryDisplayId); in testMovingDisplayToTopByKeyEvent()
218 final LosingFocusActivity activity = startActivity(LosingFocusActivity.class, in testDelayLosingFocus()
235 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testPointerCapture()
248 startActivity(SecondaryActivity.class, secondaryDisplayId); in testPointerCapture()
271 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testDisplayChanged()
278 secondaryActivity = startActivity(SecondaryActivity.class, secondaryDisplayId); in testDisplayChanged()
298 PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, DEFAULT_DISPLAY); in testTapFocusableWindow()
[all …]
DWindowManagerTestBase.java48 static <T extends FocusableActivity> T startActivity(Class<T> cls) throws InterruptedException { in startActivity() method in WindowManagerTestBase
49 return startActivity(cls, DEFAULT_DISPLAY); in startActivity()
52 static <T extends FocusableActivity> T startActivity(Class<T> cls, int displayId) in startActivity() method in WindowManagerTestBase
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivityTest.java96 mActivity.startActivity(intent); in restartActivity()
101 startActivity(); in testAutoFillOneDatasetAndSave()
144 startActivity(); in testAutoFillOneDatasetAndSave_largeAssistStructure()
208 startActivity(); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
277 startActivity(); in saveTest()
320 startActivity(); in testPartitionedSave()
377 startActivity(); in testDelayedSave()
446 startActivity(); in testSave_launchIntent()
481 startActivity(); in testSaveThenStartNewSessionRightAway()
516 startActivity(); in testSaveWithParcelableOnClientState()
[all …]
DCustomDescriptionWithLinkTestCase.java61 protected void startActivity() { in startActivity() method in CustomDescriptionWithLinkTestCase
62 startActivity(false); in startActivity()
65 protected void startActivity(boolean remainOnRecents) { in startActivity() method in CustomDescriptionWithLinkTestCase
260 mContext.startActivity(intent); in startActivityOnNewTask()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DSingleTaskInstanceDisplayActivity.java29 startActivity(new Intent(this, SingleTaskInstanceDisplayActivity2.class)); in onCreate()
33 startActivity(new Intent(this, SingleTaskInstanceDisplayActivity3.class)); in onCreate()
DAssistantActivity.java53 startActivity(launchIntent, displayOptions.toBundle()); in onCreate()
55 startActivity(launchIntent); in onCreate()
87 caller.startActivity(intent, options.toBundle()); in launchActivityIntoAssistantStack()
DRecursiveActivity.java36 startActivity(intent); in onCreate()
41 startActivity(intent); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/
DDialerImplementsTelecomIntentsActivity.java77 (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/hostsidetests/angle/src/android/angle/cts/
DCtsAngleDeveloperOptionHostTest.java66 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in setAndValidatePkgDriver()
272 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testMultipleUpdateDriverValues()
286 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testMultipleUpdateDriverValues()
296 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testMultipleUpdateDriverValues()
325 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testDefaultNotInSettings()
353 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testUninstalledPkgsNotInSettings()
387 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testMultipleDevOptionsAngleDefault()
418 startActivity(getDevice(), ANGLE_MAIN_ACTIVTY); in testMultipleDevOptionsAngleNativeUninstall()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcDialogs.java39 context.startActivity(intent); in createNotEnabledDialog()
54 context.startActivity(intent);
79 context.startActivity(intent);
/cts/hostsidetests/incident/apps/errorsapp/src/com/android/server/cts/errors/
DErrorsTests.java77 mContext.startActivity(intent); in testException()
93 mContext.startActivity(intent); in testANR()
111 mContext.startActivity(intent); in testNativeCrash()
125 mContext.startActivity(intent); in testTombstone()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java145 mContext.startActivity(intent); in testBackgroundActivityNotBlockedWhenForegroundActivityExists()
168 mContext.startActivity(intent); in testActivityNotBlockedWhenForegroundActivityLaunch()
185 mContext.startActivity(intent); in testActivityNotBlockedwhenForegroundActivityLaunchInSameTask()
218 mContext.startActivity(intent); in testActivityNotBlockedWhenForegroundActivityLaunchInDifferentTask()
248 mContext.startActivity(intent); in testActivityBlockedWhenForegroundActivityRestartsItself()
274 mContext.startActivity(intent); in testSecondActivityNotBlockedWhenForegroundActivityLaunch()
302 mContext.startActivity(intent); in testPendingIntentActivityNotBlocked_appAIsForeground()
322 mContext.startActivity(intent); in testPendingIntentBroadcastActivityNotBlocked_appBIsForeground()
400 mContext.startActivity(intent); in assertPendingIntentBroadcastTimeoutTest()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java56 mActivityControl.startActivity(); in testPerformDirectAction()
81 mActivityControl.startActivity(); in testCancelPerformedDirectAction()
106 mActivityControl.startActivity(); in testVoiceInteractorDestroy()
124 mActivityControl.startActivity(); in testNotifyDirectActionsChanged()
158 mContext.startActivity(intent); in startVoiceInteractionSession()
240 void startActivity() throws Exception { in startActivity() method in DirectActionsTest.ActivityControl
264 mContext.startActivity(intent); in startActivity()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPrimaryUserTest.java58 getActivity().startActivity(PrimaryUserActivity.ACTION); in testAddCrossProfileIntentFilter_primary()
73 getActivity().startActivity(ManagedProfileActivity.ACTION); in testAddCrossProfileIntentFilter_managed()
DManagedProfileTest.java75 getActivity().startActivity(ManagedProfileActivity.ACTION); in testClearCrossProfileIntentFilters()
90 getActivity().startActivity(PrimaryUserActivity.ACTION); in testAddCrossProfileIntentFilter_primary()
121 getActivity().startActivity(ManagedProfileActivity.ACTION); in testAddCrossProfileIntentFilter_managed()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java300 InstrumentationRegistry.getContext().startActivity(startNormalIntent, null /*options*/); in testStartNormal()
315 InstrumentationRegistry.getContext().startActivity(startNormalIntent, null /*options*/); in testStartNormal()
331 InstrumentationRegistry.getContext().startActivity(startNormalIntent, null /*options*/); in testStartNormal()
366 InstrumentationRegistry.getContext().startActivity( in testStartEphemeral()
377 InstrumentationRegistry.getContext().startActivity( in testStartEphemeral()
390 InstrumentationRegistry.getContext().startActivity( in testStartEphemeral()
402 InstrumentationRegistry.getContext().startActivity( in testStartEphemeral()
416 InstrumentationRegistry.getContext().startActivity( in testStartEphemeral()
429 InstrumentationRegistry.getContext().startActivity( in testStartEphemeral()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java59 mContext.startActivity(sharePidIntent); in testPid()
67 mContext.startActivity(sharePidStubIntent); in testPid()
77 mContext.startActivity(noSharePidIntent); in testPid()
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultTest.java127 Activity activity = startActivity(themeId); in assertGetActionBar()
140 Activity activity = startActivity(themeId); in assertActionBarWhenLarge()
155 private Activity startActivity(int themeId) { in startActivity() method in DeviceDefaultTest
/cts/tests/app/src/android/app/cts/
DNewDocumentTest.java41 getContext().startActivity(intent); in testNewDocument()
46 getContext().startActivity(intent); in testNewDocument()

123456789