Home
last modified time | relevance | path

Searched refs:mMsgBytes (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp71 uint8_t* mMsgBytes; member in TestMessage
75 : mMsgBytes(NULL), mNumMsgBytes(0) in TestMessage()
79 delete[] mMsgBytes; in ~TestMessage()
87 mMsgBytes = new uint8_t[numMsgBytes]; in set()
88 memcpy(mMsgBytes, msgBytes, mNumMsgBytes * sizeof(uint8_t)); in set()
97 mMsgBytes = new uint8_t[mNumMsgBytes]; in setSysExMessage()
98 memset(mMsgBytes, 0, mNumMsgBytes * sizeof(uint8_t)); in setSysExMessage()
99 mMsgBytes[0] = kMIDISysCmd_SysEx; in setSysExMessage()
101 mMsgBytes[index] = (uint8_t) (index % 100); in setSysExMessage()
103 mMsgBytes[numMsgBytes - 1] = kMIDISysCmd_EndOfSysEx; in setSysExMessage()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/
DJavaMidiTestModule.java187 byteIndex < mTestMessages.get(msgIndex).mMsgBytes.length; byteIndex++) { in setupTestMessages()
188 mMatchStream.add(mTestMessages.get(msgIndex).mMsgBytes[byteIndex]); in setupTestMessages()
332 logByteArray("send: ", msg.mMsgBytes, 0, msg.mMsgBytes.length); in sendMessages()
334 portSend(mIODevice.mSendPort, msg.mMsgBytes, 0, msg.mMsgBytes.length, in sendMessages()
336 totalSent += msg.mMsgBytes.length; in sendMessages()
346 public byte[] mMsgBytes; field in JavaMidiTestModule.TestMessage
349 mMsgBytes = msgBytes; in TestMessage()
355 Log.i(TAG, " count [" + count + " : " + mMsgBytes.length + "]"); in matches()
357 if (count != mMsgBytes.length) { in matches()
364 Log.i(TAG, " [" + msg[offset + index] + " : " + mMsgBytes[index] + "]"); in matches()
[all …]