Home
last modified time | relevance | path

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

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DAtomTestUtils.java138 for (int dataIndex = 0; dataIndex < data.size(); dataIndex++) { in assertStatesOccurredInOrder()
139 AtomsProto.Atom atom = data.get(dataIndex).getAtom(); in assertStatesOccurredInOrder()
145 LogUtil.CLog.i("The following atom at dataIndex=" + dataIndex + " is " in assertStatesOccurredInOrder()
147 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurredInOrder()
150 LogUtil.CLog.i("Assert that the following atom at dataIndex=" + dataIndex + " is" in assertStatesOccurredInOrder()
152 + data.get(dataIndex).getAtom().toString()); in assertStatesOccurredInOrder()
153 assertWithMessage("Missed first state").that(dataIndex).isNotEqualTo(0); in assertStatesOccurredInOrder()
159 assertTimeDiffBetween(data.get(dataIndex - 1), data.get(dataIndex), in assertStatesOccurredInOrder()
/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp194 for (int dataIndex = 0; dataIndex < count; dataIndex++) { in logBytes() local
195 sprintf(logBuff + (dataIndex * 6), "0x%.2X", bytes[dataIndex]); in logBytes()
196 if (dataIndex < count - 1) { in logBytes()
197 sprintf(logBuff + (dataIndex * 6) + 4, ", "); in logBytes()
/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()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java740 for (int dataIndex = 0; dataIndex < numData; dataIndex++) { in testEchoMultipleMessages()
741 buffer[dataIndex] = value; in testEchoMultipleMessages()
769 for (int dataIndex = 0; dataIndex < numData; dataIndex++) { in testEchoMultipleMessages()
771 messageReceivedIndex, messageSentIndex, dataIndex, in testEchoMultipleMessages()
773 assertEquals(msg, value, message.data[dataIndex]); in testEchoMultipleMessages()