Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp61 uint8_t* mMsgBytes; member in TestMessage
65 : mMsgBytes(NULL), mNumMsgBytes(0) in TestMessage()
69 delete[] mMsgBytes; in ~TestMessage()
77 mMsgBytes = new uint8_t[numMsgBytes]; in set()
78 memcpy(mMsgBytes, msgBytes, mNumMsgBytes * sizeof(uint8_t)); in set()
126 mTestStream[streamIndex++] = mTestMsgs[msgIndex].mMsgBytes[byteIndex]; in buildTestStream()
172 ALOGI(" 0x%X", mTestMsgs[msgIndex].mMsgBytes[byteIndex]); in sendMessages()
182 mTestMsgs[msgIndex].mMsgBytes, mTestMsgs[msgIndex].mNumMsgBytes); in sendMessages()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DMidiActivity.java487 public byte[] mMsgBytes; field in MidiActivity.TestMessage
492 Log.i(TAG, " count [" + count + " : " + mMsgBytes.length + "]"); in matches()
494 if (count != mMsgBytes.length) { in matches()
501 Log.i(TAG, " [" + msg[offset + index] + " : " + mMsgBytes[index] + "]"); in matches()
503 if (msg[offset + index] != mMsgBytes[index]) { in matches()
670 mTestMessages[0].mMsgBytes = new byte[]{makeMIDICmd(kMIDICmd_KeyDown, 0), 64, 12}; in setupTestMessages()
674 mTestMessages[1].mMsgBytes = new byte[]{makeMIDICmd(kMIDICmd_KeyDown, 0), 64, 45}; in setupTestMessages()
687 mTestMessages[2].mMsgBytes = sysExMsg; in setupTestMessages()
694 streamSize += mTestMessages[msgIndex].mMsgBytes.length; in setupTestMessages()
701 int numBytes = mTestMessages[msgIndex].mMsgBytes.length; in setupTestMessages()
[all …]