Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/
DJavaMidiTestModule.java74 private int mReceiveStreamPos; field in JavaMidiTestModule
103 mReceiveStreamPos = 0; in startLoopbackTest()
192 mReceiveStreamPos = 0; in setupTestMessages()
238 if (mReceiveStreamPos >= mMatchStream.size()) { in matchStream()
249 if (bytes[offset + index] == mMatchStream.get(mReceiveStreamPos)) { in matchStream()
251 mReceiveStreamPos++; in matchStream()
257 if ((mReceiveStreamPos == 0) in matchStream()
260 mReceiveStreamPos += mWarmUpMsg.length; in matchStream()
266 if (bytes[offset + index] != mMatchStream.get(mReceiveStreamPos)) { in matchStream()
270 int expectedValue = mMatchStream.get(mReceiveStreamPos) & 0x000000FF; in matchStream()
[all …]
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp133 mReceiveStreamPos(0), in MidiTestManager()
187 mReceiveStreamPos = 0; in buildMatchStream()
232 if (mReceiveStreamPos >= mMatchStream.size()) { in matchStream()
233 ALOGD("matchStream() out-of-bounds @%d", mReceiveStreamPos); in matchStream()
239 if (bytes[index] == mMatchStream[mReceiveStreamPos]) { in matchStream()
242 mReceiveStreamPos++; in matchStream()
248 if ((mReceiveStreamPos == 0) && bytes[index] != makeMIDICmd(kMIDIChanCmd_Control, 0)) { in matchStream()
251 mReceiveStreamPos += sizeof(warmupMsg); in matchStream()
254 if (bytes[index] != mMatchStream[mReceiveStreamPos]) { in matchStream()
257 index, bytes[index], mMatchStream[mReceiveStreamPos]); in matchStream()
[all …]
DMidiTestManager.h50 int mReceiveStreamPos; variable