/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventOrderingVerificationTest.java | 66 List<Integer> indices = getIndices(stats); in testSingleOutofOrder() local 67 assertTrue(indices.contains(2)); in testSingleOutofOrder() 83 List<Integer> indices = getIndices(stats); in testMultipleOutOfOrder() local 84 assertTrue(indices.contains(1)); in testMultipleOutOfOrder() 85 assertTrue(indices.contains(2)); in testMultipleOutOfOrder() 86 assertTrue(indices.contains(3)); in testMultipleOutOfOrder() 87 assertTrue(indices.contains(4)); in testMultipleOutOfOrder() 109 List<Integer> indices = new ArrayList<Integer>(primitiveIndices.length); in getIndices() local 111 indices.add(index); in getIndices() 113 return indices; in getIndices()
|
D | EventGapVerificationTest.java | 69 int[] indices) { in runVerification() argument 86 assertEquals(indices.length, stats.getValue(SensorStats.EVENT_GAP_COUNT_KEY)); in runVerification() 89 assertEquals(indices.length, actualIndices.length); in runVerification() 91 for (int i = 0; i < indices.length; i++) { in runVerification() 92 assertEquals(indices[i], actualIndices[i]); in runVerification()
|
D | AbstractSensorVerification.java | 52 int[] indices = new int[eventsCount]; in getIndexArray() local 54 indices[i] = indexedEvents.get(i).index; in getIndexArray() 56 return indices; in getIndexArray()
|
D | TimestampClockSourceVerificationTest.java | 165 int[] indices) { in runVerification() argument 183 … assertEquals(indices.length, stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY)); in runVerification() 189 assertEquals(indices.length, actualIndices.length); in runVerification() 191 for (int i = 0; i < indices.length; i++) { in runVerification() 192 assertEquals(indices[i], actualIndices[i]); in runVerification()
|
/cts/suite/audio_quality/test/ |
D | TaskSequentialTest.cpp | 53 std::list<TaskCase::IndexPair>* indices = mTestCase->findAllIndices(RE); in TEST_F() local 54 ASSERT_TRUE(indices != NULL); in TEST_F() 55 ASSERT_TRUE(indices->size() == 1); in TEST_F() 60 delete indices; in TEST_F()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Canvas_VertexModeTest.java | 53 short[] indices = { 0, 1, 2, 3, 4, 1 }; in testValues() local 67 indices, in testValues() 80 indices, in testValues()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
D | Cube.java | 55 byte indices[] = { in Cube() 84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); in Cube() 85 mIndexBuffer.put(indices); in Cube()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasTests.java | 480 final short[] indices = { in testDrawVerticesTooFewVerts() local 487 verts, 8, texs, 0, colors, 0, indices, in testDrawVerticesTooFewVerts() 496 final short[] indices = { in testDrawVerticesTooFewTexs() local 503 verts, 0, texs, 30, colors, 0, indices, in testDrawVerticesTooFewTexs() 512 final short[] indices = { in testDrawVerticesTooFewColors() local 519 verts, 0, texs, 0, colors, 30, indices, in testDrawVerticesTooFewColors() 528 final short[] indices = { in testDrawVerticesTooFewIndices() local 535 verts, 0, texs, 0, colors, 0, indices, in testDrawVerticesTooFewIndices()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 208 ShortBuffer[] indices = mSpheres[i].getIndices(); in onDrawFrame() local 222 indices[j]); in onDrawFrame() 412 ShortBuffer[] indices = mSpheres[i].getIndices(); in createVbo() local 418 indices[j].limit() * Sphere.SHORT_SIZE, indices[j], in createVbo()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ObjImporter.java | 155 int[] indices = new int[]{0, 1, 2, 0, 2, 3}; in parse() local 158 int index = indices[i]; in parse()
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_InstanceNonce.c | 100 static int indices[] = { 0, 50, 99 }; in InstanceNonce_returnStringArray() local 129 (*env)->SetObjectArrayElement(env, result, indices[i], s); in InstanceNonce_returnStringArray()
|
D | android_jni_cts_StaticNonce.c | 99 static int indices[] = { 0, 50, 99 }; in StaticNonce_returnStringArray() local 128 (*env)->SetObjectArrayElement(env, result, indices[i], s); in StaticNonce_returnStringArray()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 572 ArrayList<Integer> indices = remainingResultIndicesMap.get(request); in getTotalCaptureResultsForRequests() local 573 if (indices == null) { in getTotalCaptureResultsForRequests() 574 indices = new ArrayList<>(); in getTotalCaptureResultsForRequests() 575 remainingResultIndicesMap.put(request, indices); in getTotalCaptureResultsForRequests() 577 indices.add(i); in getTotalCaptureResultsForRequests() 585 ArrayList<Integer> indices = remainingResultIndicesMap.get(request); in getTotalCaptureResultsForRequests() local 586 if (indices != null) { in getTotalCaptureResultsForRequests() 587 results[indices.get(0)] = result; in getTotalCaptureResultsForRequests() 588 indices.remove(0); in getTotalCaptureResultsForRequests() 591 if (indices.isEmpty()) { in getTotalCaptureResultsForRequests()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 838 List<Integer> indices = new ArrayList<>(); in getOutputBufferIndices() local 840 feedMoreFrames = indices.isEmpty(); in getOutputBufferIndices() 845 indices.add(index); in getOutputBufferIndices() 849 assertFalse(indices.isEmpty()); in getOutputBufferIndices() 850 return indices; in getOutputBufferIndices()
|