Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DEventOrderingVerificationTest.java66 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()
DEventGapVerificationTest.java69 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()
DAbstractSensorVerification.java52 int[] indices = new int[eventsCount]; in getIndexArray() local
54 indices[i] = indexedEvents.get(i).index; in getIndexArray()
56 return indices; in getIndexArray()
DTimestampClockSourceVerificationTest.java165 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/
DTaskSequentialTest.cpp53 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/
DCanvas_VertexModeTest.java43 short[] indices = { 0, 1, 2, 3, 4, 1 }; in testValues() local
57 indices, in testValues()
70 indices, in testValues()
DCanvasTest.java1634 final short[] indices = { in testDrawVertices() local
1640 mCanvas.drawVertices(VertexMode.TRIANGLES, 10, verts, 8, texs, 0, colors, 0, indices, in testDrawVertices()
1650 mCanvas.drawVertices(VertexMode.TRIANGLES, 10, verts, 0, texs, 30, colors, 0, indices, in testDrawVertices()
1660 mCanvas.drawVertices(VertexMode.TRIANGLES, 10, verts, 0, texs, 0, colors, 30, indices, in testDrawVertices()
1670 mCanvas.drawVertices(VertexMode.TRIANGLES, 10, verts, 0, texs, 0, colors, 0, indices, in testDrawVertices()
1680 mCanvas.drawVertices(VertexMode.TRIANGLES, 0, verts, 0, null, 0, colors, 0, indices, 0, 0, in testDrawVertices()
1683 mCanvas.drawVertices(VertexMode.TRIANGLE_STRIP, 0, verts, 0, null, 0, null, 0, indices, 0, in testDrawVertices()
1690 mCanvas.drawVertices(VertexMode.TRIANGLES, 10, verts, 0, texs, 0, colors, 0, indices, 0, 6, in testDrawVertices()
1693 mCanvas.drawVertices(VertexMode.TRIANGLE_STRIP, 10, verts, 0, texs, 0, colors, 0, indices, in testDrawVertices()
1696 mCanvas.drawVertices(VertexMode.TRIANGLE_FAN, 10, verts, 0, texs, 0, colors, 0, indices, 0, in testDrawVertices()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCube.java55 byte indices[] = { in Cube()
84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); in Cube()
85 mIndexBuffer.put(indices); in Cube()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java205 ShortBuffer[] indices = mSpheres[i].getIndices(); in onDrawFrame() local
219 indices[j]); in onDrawFrame()
409 ShortBuffer[] indices = mSpheres[i].getIndices(); in createVbo() local
415 indices[j].limit() * Sphere.SHORT_SIZE, indices[j], in createVbo()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c100 static int indices[] = { 0, 50, 99 }; in InstanceNonce_returnStringArray() local
129 (*env)->SetObjectArrayElement(env, result, indices[i], s); in InstanceNonce_returnStringArray()
Dandroid_jni_cts_StaticNonce.c99 static int indices[] = { 0, 50, 99 }; in StaticNonce_returnStringArray() local
128 (*env)->SetObjectArrayElement(env, result, indices[i], s); in StaticNonce_returnStringArray()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java550 ArrayList<Integer> indices = remainingResultIndicesMap.get(request); in getTotalCaptureResultsForRequests() local
551 if (indices == null) { in getTotalCaptureResultsForRequests()
552 indices = new ArrayList<>(); in getTotalCaptureResultsForRequests()
553 remainingResultIndicesMap.put(request, indices); in getTotalCaptureResultsForRequests()
555 indices.add(i); in getTotalCaptureResultsForRequests()
563 ArrayList<Integer> indices = remainingResultIndicesMap.get(request); in getTotalCaptureResultsForRequests() local
564 if (indices != null) { in getTotalCaptureResultsForRequests()
565 results[indices.get(0)] = result; in getTotalCaptureResultsForRequests()
566 indices.remove(0); in getTotalCaptureResultsForRequests()
569 if (indices.isEmpty()) { in getTotalCaptureResultsForRequests()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java696 List<Integer> indices = new ArrayList<>(); in getOutputBufferIndices() local
698 feedMoreFrames = indices.isEmpty(); in getOutputBufferIndices()
704 indices.add(index); in getOutputBufferIndices()
708 assertFalse(indices.isEmpty()); in getOutputBufferIndices()
709 return indices; in getOutputBufferIndices()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...