Home
last modified time | relevance | path

Searched refs:activityClass (Results 1 – 18 of 18) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DLifecycleVerifier.java51 static void assertLaunchSequence(Class<? extends Activity> activityClass, in assertLaunchSequence() argument
54 lifecycleLog.getActivityLog(activityClass); in assertLaunchSequence()
56 final String errorMessage = errorDuringTransition(activityClass, "launch"); in assertLaunchSequence()
58 final List<LifecycleLog.ActivityCallback> launchSequence = getLaunchSequence(activityClass); in assertLaunchSequence()
68 Class<? extends Activity> activityClass) { in getLaunchSequence() argument
69 return CALLBACK_TRACKING_CLASS.isAssignableFrom(activityClass) in getLaunchSequence()
120 static void assertLaunchAndStopSequence(Class<? extends Activity> activityClass, in assertLaunchAndStopSequence() argument
122 assertLaunchAndStopSequence(activityClass, lifecycleLog, in assertLaunchAndStopSequence()
126 static void assertLaunchAndStopSequence(Class<? extends Activity> activityClass, in assertLaunchAndStopSequence() argument
129 lifecycleLog.getActivityLog(activityClass); in assertLaunchAndStopSequence()
[all …]
DActivityLifecycleClientTestBase.java138 protected Activity launchActivity(Class<? extends Activity> activityClass) { in launchActivity() argument
139 final Intent intent = new Intent(mTargetContext, activityClass); in launchActivity()
157 final void waitForActivityTransitions(Class<? extends Activity> activityClass, in waitForActivityTransitions() argument
160 mLifecycleTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitForActivityTransitions()
168 final void waitAndAssertActivityTransitions(Class<? extends Activity> activityClass, in waitAndAssertActivityTransitions() argument
171 mLifecycleTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitAndAssertActivityTransitions()
173 LifecycleVerifier.assertSequence(activityClass, getLifecycleLog(), expectedTransitions, in waitAndAssertActivityTransitions()
187 Class<? extends Activity> activityClass, ActivityCallback stage) { in state() argument
188 return new Pair<>(activityClass, stage); in state()
460 final Class<? extends Activity> activityClass = activity.getClass(); in moveTaskToPrimarySplitScreenAndVerify() local
[all …]
DLifecycleTracker.java58 void waitForActivityTransitions(Class<? extends Activity> activityClass, in waitForActivityTransitions() argument
61 () -> mLifecycleLog.getActivityLog(activityClass).equals(expectedTransitions), in waitForActivityTransitions()
77 final Class<? extends Activity> activityClass = callbackPair.first; in pendingCallbacks() local
79 mLifecycleLog.getActivityLog(activityClass); in pendingCallbacks()
DLifecycleLog.java112 List<ActivityCallback> getActivityLog(Class<? extends Activity> activityClass) { in getActivityLog() argument
113 final String activityName = activityClass.getCanonicalName(); in getActivityLog()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutofillActivityTestRule.java26 public AutofillActivityTestRule(Class<T> activityClass) { in AutofillActivityTestRule() argument
27 super(activityClass); in AutofillActivityTestRule()
30 public AutofillActivityTestRule(Class<T> activityClass, boolean launchActivity) { in AutofillActivityTestRule() argument
31 super(activityClass, false, launchActivity); in AutofillActivityTestRule()
DCustomDescriptionWithLinkTestCase.java57 protected CustomDescriptionWithLinkTestCase(@NonNull Class<A> activityClass) { in CustomDescriptionWithLinkTestCase() argument
58 mActivityClass = activityClass; in CustomDescriptionWithLinkTestCase()
270 Class<? extends Activity> activityClass) { in newCustomDescriptionBuilder() argument
271 final Intent intent = new Intent(mContext, activityClass); in newCustomDescriptionBuilder()
277 Class<? extends Activity> activityClass) { in newCustomDescription() argument
278 return newCustomDescriptionBuilder(activityClass).build(); in newCustomDescription()
DMultiWindowLoginActivityTest.java81 protected String runAmStartActivity(Class<? extends Activity> activityClass, int flags) {
82 return runAmStartActivity(activityClass.getName(), flags);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DActivityLauncher.java39 @NonNull Class<A> activityClass) { in ActivityLauncher() argument
40 mWatcher = watcher.watch(activityClass); in ActivityLauncher()
41 mActivityTestRule = new ActivityTestRule<>(activityClass); in ActivityLauncher()
42 mLaunchIntent = new Intent(context, activityClass); in ActivityLauncher()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DActivityLauncher.java39 @NonNull Class<A> activityClass) { in ActivityLauncher() argument
40 mWatcher = watcher.watch(activityClass); in ActivityLauncher()
41 mActivityTestRule = new ActivityTestRule<>(activityClass); in ActivityLauncher()
42 mLaunchIntent = new Intent(context, activityClass); in ActivityLauncher()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayClientTests.java87 private void testDisplayIdUpdateOnMove(Class<? extends Activity> activityClass, in testDisplayIdUpdateOnMove() argument
90 activityClass, true /* initialTouchMode */, false /* launchActivity */); in testDisplayIdUpdateOnMove()
107 final Intent newDisplayIntent = new Intent(mContext, activityClass); in testDisplayIdUpdateOnMove()
166 private void testDisplayIdUpdateWhenImeMove(Class<? extends ImeTestActivity> activityClass) in testDisplayIdUpdateWhenImeMove() argument
172 activityClass, mockImeSession, DEFAULT_DISPLAY); in testDisplayIdUpdateWhenImeMove()
179 activityClass, mockImeSession, newDisplay.mId); in testDisplayIdUpdateWhenImeMove()
183 private void assertImeShownAndMatchesDisplayId(Class<? extends ImeTestActivity> activityClass, in assertImeShownAndMatchesDisplayId() argument
187 final Intent intent = new Intent(mContext, activityClass) in assertImeShownAndMatchesDisplayId()
/cts/tests/openglperf2/jni/graphics/
DGLUtils.cpp62 jclass activityClass = sEnv->FindClass("android/opengl2/cts/reference/GLGameActivity"); in loadTexture() local
63 if (activityClass == NULL) { in loadTexture()
67 jmethodID loadTexture = sEnv->GetStaticMethodID(activityClass, "loadTexture", in loadTexture()
74 textureId = sEnv->CallStaticIntMethod(activityClass, loadTexture, sAssetManager, pathStr); in loadTexture()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureIntegrationAutoActivityLaunchTest.java46 @NonNull Class<A> activityClass) { in AbstractContentCaptureIntegrationAutoActivityLaunchTest()
47 mActivityClass = activityClass; in AbstractContentCaptureIntegrationAutoActivityLaunchTest()
/cts/tests/tests/opengl/src/android/opengl/cts/
DNativeColorBufferTest.java23 public NativeColorBufferTest(Class<OpenGLES20NativeActivityTwo> activityClass) { in NativeColorBufferTest() argument
24 super(activityClass); in NativeColorBufferTest()
DColorBufferTest.java22 public ColorBufferTest(Class<OpenGLES20ActivityTwo> activityClass) { in ColorBufferTest() argument
23 super(activityClass); in ColorBufferTest()
/cts/tests/app/src/android/app/cts/
DInstrumentation_ActivityMonitorTest.java295 public CustomActivityMonitor(String activityClass, ActivityResult result, in CustomActivityMonitor() argument
297 super(activityClass, result, blocked); in CustomActivityMonitor()
DActivityManagerTest.java247 private final <T extends Activity> void startSubActivity(Class<T> activityClass) {
249 final ActivityMonitor monitor = new ActivityMonitor(activityClass.getName(), result, false);
251 launchActivity(STUB_PACKAGE_NAME, activityClass, null);
DActivityManagerProcessStateTest.java1895 private final <T extends Activity> Activity startSubActivity(Class<T> activityClass) { in startSubActivity() argument
1899 activityClass.getName(), result, false); in startSubActivity()
1901 launchActivity(STUB_PACKAGE_NAME, activityClass, null); in startSubActivity()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java364 void launchTestActivityOnDisplaySync(Class<T> activityClass, int displayId) { in launchTestActivityOnDisplaySync() argument
365 launchTestActivityOnDisplaySync(new Intent(mContext, activityClass), displayId); in launchTestActivityOnDisplaySync()