Home
last modified time | relevance | path

Searched refs:mMatchStream (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/
DJavaMidiTestModule.java72 private ArrayList<Byte> mMatchStream = new ArrayList<Byte>(); field in JavaMidiTestModule
181 mMatchStream.clear(); in setupTestMessages()
183 mMatchStream.add(mWarmUpMsg[byteIndex]); in setupTestMessages()
188 mMatchStream.add(mTestMessages.get(msgIndex).mMsgBytes[byteIndex]); in setupTestMessages()
195 logByteArray("mMatchStream: ", mMatchStream, 0); in setupTestMessages()
238 if (mReceiveStreamPos >= mMatchStream.size()) { in matchStream()
241 + " of " + mMatchStream.size()); in matchStream()
243 logByteArray("Expected: ", mMatchStream, 0); in matchStream()
249 if (bytes[offset + index] == mMatchStream.get(mReceiveStreamPos)) { in matchStream()
266 if (bytes[offset + index] != mMatchStream.get(mReceiveStreamPos)) { in matchStream()
[all …]
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp140 mMatchStream.clear(); in ~MidiTestManager()
176 mMatchStream.clear(); in buildMatchStream()
178 mMatchStream.push_back(warmupMsg[byteIndex]); in buildMatchStream()
182 mMatchStream.push_back(mTestMsgs[msgIndex].mMsgBytes[byteIndex]); in buildMatchStream()
232 if (mReceiveStreamPos >= mMatchStream.size()) { in matchStream()
239 if (bytes[index] == mMatchStream[mReceiveStreamPos]) { in matchStream()
254 if (bytes[index] != mMatchStream[mReceiveStreamPos]) { in matchStream()
257 index, bytes[index], mMatchStream[mReceiveStreamPos]); in matchStream()
387 if (totalNumReceived > mMatchStream.size()) { in ProcessInput()
394 if (totalNumReceived == mMatchStream.size()) { in ProcessInput()
DMidiTestManager.h48 std::vector<uint8_t> mMatchStream; variable