Home
last modified time | relevance | path

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

/cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/
DLifecycleVerifier.java27 static void assertLaunchSequence(Class<? extends Activity> activityClass, in assertLaunchSequence() argument
30 lifecycleLog.getActivityLog(activityClass); in assertLaunchSequence()
32 final String errorMessage = errorDuringTransition(activityClass, "launch"); in assertLaunchSequence()
68 static void assertLaunchAndStopSequence(Class<? extends Activity> activityClass, in assertLaunchAndStopSequence() argument
71 lifecycleLog.getActivityLog(activityClass); in assertLaunchAndStopSequence()
73 final String errorMessage = errorDuringTransition(activityClass, "launch and stop"); in assertLaunchAndStopSequence()
80 static void assertLaunchAndPauseSequence(Class<? extends Activity> activityClass, in assertLaunchAndPauseSequence() argument
83 lifecycleLog.getActivityLog(activityClass); in assertLaunchAndPauseSequence()
85 final String errorMessage = errorDuringTransition(activityClass, "launch and pause"); in assertLaunchAndPauseSequence()
92 static void assertRestartSequence(Class<? extends Activity> activityClass, in assertRestartSequence() argument
[all …]
DLifecycleTracker.java42 void waitForActivityTransitions(Class<? extends Activity> activityClass, in waitForActivityTransitions() argument
45 () -> mLifecycleLog.getActivityLog(activityClass).equals(expectedTransitions), in waitForActivityTransitions()
DActivityLifecycleClientTestBase.java100 protected Activity launchActivity(Class<? extends Activity> activityClass) { in launchActivity() argument
101 final Intent intent = new Intent(InstrumentationRegistry.getTargetContext(), activityClass); in launchActivity()
118 final void waitForActivityTransitions(Class<? extends Activity> activityClass, in waitForActivityTransitions() argument
121 mLifecycleTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitForActivityTransitions()
DLifecycleLog.java74 synchronized List<ActivityCallback> getActivityLog(Class<? extends Activity> activityClass) { in getActivityLog() argument
75 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.java259 Class<? extends Activity> activityClass) { in newCustomDescriptionBuilder() argument
260 final Intent intent = new Intent(mContext, activityClass); in newCustomDescriptionBuilder()
266 Class<? extends Activity> activityClass) { in newCustomDescription() argument
267 return newCustomDescriptionBuilder(activityClass).build(); in newCustomDescription()
DMultiWindowLoginActivityTest.java70 protected String runAmStartActivity(Class<? extends Activity> activityClass, int flags) { in runAmStartActivity() argument
71 return runAmStartActivity(activityClass.getName(), flags); in runAmStartActivity()
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/
DReferenceAppTestCase.java44 public ReferenceAppTestCase(String pkg, Class<T> activityClass, int maxStartupTimeMs) { in ReferenceAppTestCase() argument
45 super(pkg, activityClass); in ReferenceAppTestCase()
55 public ReferenceAppTestCase(String pkg, Class<T> activityClass) { in ReferenceAppTestCase() argument
56 this(pkg, activityClass, DEFAULT_MAX_STATUP_TIME_MS); in ReferenceAppTestCase()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityActivityTestCase.java49 public AccessibilityActivityTestCase(Class<T> activityClass) { in AccessibilityActivityTestCase() argument
50 super(activityClass); in AccessibilityActivityTestCase()
/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/tests/opengl/src/android/opengl/cts/
DColorBufferTest.java22 public ColorBufferTest(Class<OpenGLES20ActivityTwo> activityClass) { in ColorBufferTest() argument
23 super(activityClass); in ColorBufferTest()
DNativeColorBufferTest.java23 public NativeColorBufferTest(Class<OpenGLES20NativeActivityTwo> activityClass) { in NativeColorBufferTest() argument
24 super(activityClass); in NativeColorBufferTest()
/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.java237 private final <T extends Activity> void startSubActivity(Class<T> activityClass) {
239 final ActivityMonitor monitor = new ActivityMonitor(activityClass.getName(), result, false);
241 launchActivity(STUB_PACKAGE_NAME, activityClass, null);