Home
last modified time | relevance | path

Searched refs:targetActivity (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java122 TargetActivity targetActivity = waitForTargetActivity(); in testMakeBasic() local
123 assertFalse(targetActivity.isActivityTransitionRunning()); in testMakeBasic()
125 targetActivity.finish(); in testMakeBasic()
128 assertFalse(targetActivity.isActivityTransitionRunning()); in testMakeBasic()
146 TargetActivity targetActivity = waitForTargetActivity(); in viewsNotStripped() local
147 verify(targetActivity.enterListener, within(5000)).onTransitionStart(any()); in viewsNotStripped()
148 verify(targetActivity.enterListener, within(5000)).onTransitionEnd(any()); in viewsNotStripped()
152 assertTargetContains(targetActivity.enterTransition, in viewsNotStripped()
154 assertTargetExcludes(targetActivity.enterTransition, R.id.holder); in viewsNotStripped()
156 assertTargetContains(targetActivity.sharedElementEnterTransition, R.id.holder); in viewsNotStripped()
[all …]
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetTest.java74 final OverlayTargetActivity targetActivity = mActivityTestRule.getActivity(); in overlayEnabled_activityInForeground() local
76 targetActivity.setConfigurationChangedCallback((activity, config) -> { in overlayEnabled_activityInForeground()
90 final OverlayTargetActivity targetActivity = mActivityTestRule.getActivity(); in overlayEnabled_activityInBackground_toForeground() local
95 targetActivity.setConfigurationChangedCallback((activity, config) -> { in overlayEnabled_activityInBackground_toForeground()
109 targetActivity.startActivity(intent); in overlayEnabled_activityInBackground_toForeground()
/cts/tests/tests/content/src/android/content/pm/cts/
DActivityInfoTest.java99 assertEquals(mActivityInfo.targetActivity, info.targetActivity); in testWriteToParcel()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21254/test-app/src/android/security/cts/CVE_2023_21254_test/
DDeviceTest.java80 final String targetActivity = "android.security.cts.CVE_2023_21254_helper.PocActivity"; in testPocCVE_2023_21254() local
83 .setClassName(helperAppPkg, targetActivity) in testPocCVE_2023_21254()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/
DActivities.java204 String activityName = (resolveInfo.activityInfo.targetActivity != null) in getResolvedActivityOfIntent()
205 ? resolveInfo.activityInfo.targetActivity : resolveInfo.activityInfo.name; in getResolvedActivityOfIntent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleTests.java727 final ComponentName targetActivity = builder.getTargetActivity(); in testRestoreFromKill() local
734 final int targetActivityTDAFeatureId = mWmState.getTaskDisplayAreaFeatureId(targetActivity); in testRestoreFromKill()
744 targetActivity, isTranslucent ? STATE_PAUSED : STATE_STOPPED); in testRestoreFromKill()
751 AmUtils.runKill(targetActivity.getPackageName(), true /* wait */); in testRestoreFromKill()
758 mWmState.waitForValidState(targetActivity); in testRestoreFromKill()
760 targetActivity); in testRestoreFromKill()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java402 TestAppActivityReference targetActivity = testAppInstance.activities().any(); in startActivity_byIntent_differentPackage_throwsException() local
404 intent.setComponent(targetActivity.component().componentName()); in startActivity_byIntent_differentPackage_throwsException()
420 TestAppActivityReference targetActivity = testAppInstance.activities().any(); in startActivity_byComponent_differentPackage_throwsException() local
425 targetActivity.component().componentName(), in startActivity_byComponent_differentPackage_throwsException()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java759 assertEquals(target.targetActivity, mIntent.resolveActivityInfo(pm, 1).targetActivity); in testResolveActivityInfo()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2452 public LaunchActivityBuilder setTargetActivity(ComponentName targetActivity) {
2453 mTargetActivity = targetActivity;
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1640 field public static final int targetActivity = 16843266; // 0x1010202
12121 field public String targetActivity;