Home
last modified time | relevance | path

Searched refs:dataIndex (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java421 for (int dataIndex = 0; dataIndex < numData; dataIndex++) { in testEchoMultipleMessages()
422 buffer[dataIndex] = value; in testEchoMultipleMessages()
450 for (int dataIndex = 0; dataIndex < numData; dataIndex++) { in testEchoMultipleMessages()
452 messageReceivedIndex, messageSentIndex, dataIndex, in testEchoMultipleMessages()
454 assertEquals(msg, value, message.data[dataIndex]); in testEchoMultipleMessages()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DAtomTestCase.java629 for (int dataIndex = 0; dataIndex < data.size(); dataIndex++) { in assertStatesOccurred()
630 Atom atom = data.get(dataIndex).getAtom(); in assertStatesOccurred()
636 LogUtil.CLog.i("The following atom at dataIndex=" + dataIndex + " is " in assertStatesOccurred()
638 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurred()
641 LogUtil.CLog.i("Assert that the following atom at dataIndex=" + dataIndex + " is" in assertStatesOccurred()
643 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurred()
644 assertTrue("Missed first state", dataIndex != 0); // should not be on first data in assertStatesOccurred()
650 assertTimeDiffBetween(data.get(dataIndex - 1), data.get(dataIndex), in assertStatesOccurred()
/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp242 for (int dataIndex = 0; dataIndex < dataLen; dataIndex++) { in compareInsAndOuts() local
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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java185 int dataIndex=0; in initFromString() local
189 data[dataIndex++] = value; in initFromString()