Home
last modified time | relevance | path

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

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoInstrument.java83 private boolean isActivityRunnable(Class activityClass) { in isActivityRunnable() argument
85 if (DeviceInfoActivity.class == activityClass) { in isActivityRunnable()
89 if (!DeviceInfoActivity.class.isAssignableFrom(activityClass)) { in isActivityRunnable()
94 return mCollectorSet.contains(activityClass.getName()); in isActivityRunnable()
104 Class activityClass = null; in runActivity() local
106 activityClass = Class.forName(activityName); in runActivity()
111 if (activityClass == null || !isActivityRunnable(activityClass)) { in runActivity()
123 String className = activityClass.getSimpleName(); in runActivity()
/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/libs/deviceutil/src/android/cts/util/
DCtsActivityInstrumentationTestCase2.java31 public CtsActivityInstrumentationTestCase2(Class<T> activityClass) { in CtsActivityInstrumentationTestCase2() argument
32 super(activityClass); in CtsActivityInstrumentationTestCase2()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityActivityTestCase.java46 public AccessibilityActivityTestCase(Class<T> activityClass) { in AccessibilityActivityTestCase() argument
47 super(activityClass); in AccessibilityActivityTestCase()
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DGLUtils.cpp62 jclass activityClass = sEnv->FindClass("com/android/cts/opengl/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/
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/tests/app/src/android/app/cts/
DActivityManagerTest.java218 private final <T extends Activity> void startSubActivity(Class<T> activityClass) {
220 final ActivityMonitor monitor = new ActivityMonitor(activityClass.getName(), result, false);
222 launchActivity(STUB_PACKAGE_NAME, activityClass, null);