Home
last modified time | relevance | path

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

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DAtomTestUtils.java79 for (int dataIndex = 0; dataIndex < data.size(); dataIndex++) { in assertStatesOccurred()
80 AtomsProto.Atom atom = data.get(dataIndex).getAtom(); in assertStatesOccurred()
86 LogUtil.CLog.i("The following atom at dataIndex=" + dataIndex + " is " in assertStatesOccurred()
88 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurred()
91 LogUtil.CLog.i("Assert that the following atom at dataIndex=" + dataIndex + " is" in assertStatesOccurred()
93 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurred()
94 assertWithMessage("Missed first state").that(dataIndex).isNotEqualTo(0); in assertStatesOccurred()
100 assertTimeDiffBetween(data.get(dataIndex - 1), data.get(dataIndex), in assertStatesOccurred()
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp139 for (int dataIndex = 0; dataIndex < count; dataIndex++) { in logBytes() local
140 sprintf(logBuff + (dataIndex * 6), "0x%.2X", bytes[dataIndex]); in logBytes()
141 if (dataIndex < count - 1) { in logBytes()
142 sprintf(logBuff + (dataIndex * 6) + 4, ", "); in logBytes()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java491 for (int dataIndex = 0; dataIndex < numData; dataIndex++) { in testEchoMultipleMessages()
492 buffer[dataIndex] = value; in testEchoMultipleMessages()
520 for (int dataIndex = 0; dataIndex < numData; dataIndex++) { in testEchoMultipleMessages()
522 messageReceivedIndex, messageSentIndex, dataIndex, in testEchoMultipleMessages()
524 assertEquals(msg, value, message.data[dataIndex]); in testEchoMultipleMessages()
/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/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DAtomTestCase.java711 for (int dataIndex = 0; dataIndex < data.size(); dataIndex++) { in assertStatesOccurred()
712 Atom atom = data.get(dataIndex).getAtom(); in assertStatesOccurred()
718 LogUtil.CLog.i("The following atom at dataIndex=" + dataIndex + " is " in assertStatesOccurred()
720 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurred()
723 LogUtil.CLog.i("Assert that the following atom at dataIndex=" + dataIndex + " is" in assertStatesOccurred()
725 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurred()
726 assertWithMessage("Missed first state").that(dataIndex).isNotEqualTo(0); in assertStatesOccurred()
732 assertTimeDiffBetween(data.get(dataIndex - 1), data.get(dataIndex), in assertStatesOccurred()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java185 int dataIndex=0; in initFromString() local
189 data[dataIndex++] = value; in initFromString()