Home
last modified time | relevance | path

Searched refs:OpenGLESActivity (Results 1 – 4 of 4) sorted by relevance

/cts/tests/vr/src/android/vr/cts/
DVrExtensionBehaviorTest.java23 public class VrExtensionBehaviorTest extends ActivityInstrumentationTestCase2<OpenGLESActivity> {
34 private OpenGLESActivity mActivity;
37 super(OpenGLESActivity.class); in VrExtensionBehaviorTest()
40 private OpenGLESActivity getGlEsActivity(int viewIndex, int createProtected, in getGlEsActivity()
43 intent.putExtra(OpenGLESActivity.EXTRA_VIEW_INDEX, viewIndex); in getGlEsActivity()
44 intent.putExtra(OpenGLESActivity.EXTRA_PROTECTED, createProtected); in getGlEsActivity()
45 intent.putExtra(OpenGLESActivity.EXTRA_PRIORITY, priorityAttribute); in getGlEsActivity()
46 intent.putExtra(OpenGLESActivity.EXTRA_MUTABLE, mutableAttribute); in getGlEsActivity()
48 OpenGLESActivity activity = getActivity(); in getGlEsActivity()
57 mActivity = getGlEsActivity(OpenGLESActivity.RENDERER_BASIC, 1, 0, 0); in testProtectedContent()
[all …]
DVrDisplayTest.java29 public class VrDisplayTest extends ActivityInstrumentationTestCase2<OpenGLESActivity> {
31 private OpenGLESActivity mActivity;
34 super(OpenGLESActivity.class); in VrDisplayTest()
37 private OpenGLESActivity getGlEsActivity(int latchCount, int viewIndex) { in getGlEsActivity()
39 intent.putExtra(OpenGLESActivity.EXTRA_LATCH_COUNT, latchCount); in getGlEsActivity()
40 intent.putExtra(OpenGLESActivity.EXTRA_VIEW_INDEX, viewIndex); in getGlEsActivity()
41 intent.putExtra(OpenGLESActivity.EXTRA_PROTECTED, 0); in getGlEsActivity()
42 intent.putExtra(OpenGLESActivity.EXTRA_PRIORITY, 0); in getGlEsActivity()
44 OpenGLESActivity activity = getActivity(); in getGlEsActivity()
58 mActivity = getGlEsActivity(NUM_FRAMES + 1, OpenGLESActivity.RENDERER_REFRESHRATE); in testRefreshRateIsAtLeast60Hz()
[all …]
DVrSetFIFOThreadTest.java32 public class VrSetFIFOThreadTest extends ActivityInstrumentationTestCase2<OpenGLESActivity> {
33 private OpenGLESActivity mActivity;
48 super(OpenGLESActivity.class); in VrSetFIFOThreadTest()
68 intent.putExtra(OpenGLESActivity.EXTRA_VIEW_INDEX, viewIndex); in setIntent()
69 intent.putExtra(OpenGLESActivity.EXTRA_PROTECTED, createProtected); in setIntent()
70 intent.putExtra(OpenGLESActivity.EXTRA_PRIORITY, priorityAttribute); in setIntent()
71 intent.putExtra(OpenGLESActivity.EXTRA_MUTABLE, mutableAttribute); in setIntent()
76 setIntent(OpenGLESActivity.RENDERER_BASIC, 1, 0, 0); in testSetVrThreadAPISuccess()
100 setIntent(OpenGLESActivity.RENDERER_BASIC, 1, 0, 0); in testSetVrThreadAPIFailure()
DOpenGLESActivity.java40 public class OpenGLESActivity extends Activity { class