Searched refs:msgIndex (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/ |
D | NativeMidiEchoTest.java | 310 for(int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in test_D_EchoNMessages() 311 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_D_EchoNMessages() 312 timestamps[msgIndex]); in test_D_EchoNMessages() 324 for(int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in test_D_EchoNMessages() 325 NativeMidiMessage message = getReceivedMessageAt(mTestContext, msgIndex); in test_D_EchoNMessages() 326 compareMessages(buffers[msgIndex], timestamps[msgIndex], message); in test_D_EchoNMessages() 344 for(int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in test_E_FlushMessages() 345 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_E_FlushMessages() 346 timestamps[msgIndex]); in test_E_FlushMessages() 361 for(int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in test_E_FlushMessages() [all …]
|
/cts/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.cpp | 117 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in buildTestStream() local 118 mNumTestStreamBytes += mTestMsgs[msgIndex].mNumMsgBytes; in buildTestStream() 124 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in buildTestStream() local 125 for(int byteIndex = 0; byteIndex < mTestMsgs[msgIndex].mNumMsgBytes; byteIndex++) { in buildTestStream() 126 mTestStream[streamIndex++] = mTestMsgs[msgIndex].mMsgBytes[byteIndex]; in buildTestStream() 168 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in sendMessages() local 171 for(int byteIndex = 0; byteIndex < mTestMsgs[msgIndex].mNumMsgBytes; byteIndex++) { in sendMessages() 172 ALOGI(" 0x%X", mTestMsgs[msgIndex].mMsgBytes[byteIndex]); in sendMessages() 179 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in sendMessages() local 182 mTestMsgs[msgIndex].mMsgBytes, mTestMsgs[msgIndex].mNumMsgBytes); in sendMessages()
|
/cts/tests/tests/nativemidi/jni/ |
D | native-lib.cpp | 225 for (size_t msgIndex = 0; msgIndex < numMessages; msgIndex++) { in compareInsAndOuts() local 227 if (mReceivedMsgs[msgIndex].numDataBytes != mSentMsgs[msgIndex].numDataBytes) { in compareInsAndOuts() 230 mReceivedMsgs[msgIndex].numDataBytes, mSentMsgs[msgIndex].numDataBytes); in compareInsAndOuts() 235 if (mReceivedMsgs[msgIndex].timestamp != mSentMsgs[msgIndex].timestamp) { in compareInsAndOuts() 241 int dataLen = mReceivedMsgs[msgIndex].numDataBytes; in compareInsAndOuts() 244 if (mReceivedMsgs[msgIndex].dataBuff[dataIndex] != in compareInsAndOuts() 245 mSentMsgs[msgIndex].dataBuff[dataIndex]) { in compareInsAndOuts() 248 (int)mReceivedMsgs[msgIndex].dataBuff[dataIndex], in compareInsAndOuts() 249 (int)mSentMsgs[msgIndex].dataBuff[dataIndex]); in compareInsAndOuts() 267 for (int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in checkInOutLatency() local [all …]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GlVboPerfTest.java | 55 StringBuilder msgIndex = new StringBuilder(); in testVboWithVaryingIndexBufferNumbers() local 58 msgIndex.append("index buffer "); in testVboWithVaryingIndexBufferNumbers() 62 msgIndex.append(numIndexBuffers[i]).append(" "); in testVboWithVaryingIndexBufferNumbers() 66 Log.i(TAG, msgIndex.toString()); in testVboWithVaryingIndexBufferNumbers()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | MidiActivity.java | 693 for (int msgIndex = 0; msgIndex < mTestMessages.length; msgIndex++) { in setupTestMessages() 694 streamSize += mTestMessages[msgIndex].mMsgBytes.length; in setupTestMessages() 700 for (int msgIndex = 0; msgIndex < mTestMessages.length; msgIndex++) { in setupTestMessages() 701 int numBytes = mTestMessages[msgIndex].mMsgBytes.length; in setupTestMessages() 702 System.arraycopy(mTestMessages[msgIndex].mMsgBytes, 0, in setupTestMessages()
|