/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleVerifier.java | 51 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 …]
|
D | ActivityLifecycleClientTestBase.java | 138 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 …]
|
D | LifecycleTracker.java | 58 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()
|
D | LifecycleLog.java | 112 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/ |
D | AutofillActivityTestRule.java | 26 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()
|
D | CustomDescriptionWithLinkTestCase.java | 57 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()
|
D | MultiWindowLoginActivityTest.java | 81 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/ |
D | ActivityLauncher.java | 39 @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/ |
D | ActivityLauncher.java | 39 @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/ |
D | MultiDisplayClientTests.java | 87 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/ |
D | GLUtils.cpp | 62 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/ |
D | AbstractContentCaptureIntegrationAutoActivityLaunchTest.java | 46 @NonNull Class<A> activityClass) { in AbstractContentCaptureIntegrationAutoActivityLaunchTest() 47 mActivityClass = activityClass; in AbstractContentCaptureIntegrationAutoActivityLaunchTest()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | ColorBufferTest.java | 22 public ColorBufferTest(Class<OpenGLES20ActivityTwo> activityClass) { in ColorBufferTest() argument 23 super(activityClass); in ColorBufferTest()
|
D | NativeColorBufferTest.java | 23 public NativeColorBufferTest(Class<OpenGLES20NativeActivityTwo> activityClass) { in NativeColorBufferTest() argument 24 super(activityClass); in NativeColorBufferTest()
|
/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityMonitorTest.java | 295 public CustomActivityMonitor(String activityClass, ActivityResult result, in CustomActivityMonitor() argument 297 super(activityClass, result, blocked); in CustomActivityMonitor()
|
D | ActivityManagerTest.java | 240 private final <T extends Activity> void startSubActivity(Class<T> activityClass) { 242 final ActivityMonitor monitor = new ActivityMonitor(activityClass.getName(), result, false); 244 launchActivity(STUB_PACKAGE_NAME, activityClass, null);
|
D | ActivityManagerProcessStateTest.java | 1757 private final <T extends Activity> Activity startSubActivity(Class<T> activityClass) { in startSubActivity() argument 1761 activityClass.getName(), result, false); in startSubActivity() 1763 launchActivity(STUB_PACKAGE_NAME, activityClass, null); in startSubActivity()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 363 void launchTestActivityOnDisplaySync(Class<T> activityClass, int displayId) { in launchTestActivityOnDisplaySync() argument 364 launchTestActivityOnDisplaySync(new Intent(mContext, activityClass), displayId); in launchTestActivityOnDisplaySync()
|