Searched refs:msgIndex (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/ |
D | NativeMidiEchoTest.java | 314 for (int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in test_D_EchoNMessages() 315 writeMidiWithTimestamp(mTestContext, buffers[msgIndex], 0, buffers[msgIndex].length, in test_D_EchoNMessages() 316 timestamps[msgIndex]); in test_D_EchoNMessages() 328 for (int msgIndex = 0; msgIndex < numMessages; msgIndex++) { in test_D_EchoNMessages() 329 NativeMidiMessage message = getReceivedMessageAt(mTestContext, msgIndex); in test_D_EchoNMessages() 330 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 | 180 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in buildMatchStream() local 181 for(int byteIndex = 0; byteIndex < mTestMsgs[msgIndex].mNumMsgBytes; byteIndex++) { in buildMatchStream() 182 mMatchStream.push_back(mTestMsgs[msgIndex].mMsgBytes[byteIndex]); in buildMatchStream() 313 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in sendMessages() local 316 for(int byteIndex = 0; byteIndex < mTestMsgs[msgIndex].mNumMsgBytes; byteIndex++) { in sendMessages() 317 ALOGI(" 0x%X", mTestMsgs[msgIndex].mMsgBytes[byteIndex]); in sendMessages() 327 for(int msgIndex = 0; msgIndex < mNumTestMsgs; msgIndex++) { in sendMessages() local 329 portSend(mMidiSendPort, mTestMsgs[msgIndex].mMsgBytes, mTestMsgs[msgIndex].mNumMsgBytes, in sendMessages() 332 ALOGE("sendMessages(): Send failed. index: %d, error: %zd", msgIndex, numSent); 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/ |
D | JavaMidiTestModule.java | 185 for (int msgIndex = 0; msgIndex < mTestMessages.size(); msgIndex++) { in setupTestMessages() 187 byteIndex < mTestMessages.get(msgIndex).mMsgBytes.length; byteIndex++) { in setupTestMessages() 188 mMatchStream.add(mTestMessages.get(msgIndex).mMsgBytes[byteIndex]); in setupTestMessages()
|