Home
last modified time | relevance | path

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

/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DAtomTestCase.java628 int stateSetIndex = 0; // Tracks which state set we expect the data to be in. in assertStatesOccurred() local
634 if (stateSets.get(stateSetIndex).contains(state)) { in assertStatesOccurred()
637 + "in stateSetIndex " + stateSetIndex + ":\n" in assertStatesOccurred()
640 stateSetIndex += 1; in assertStatesOccurred()
642 + " in stateSetIndex " + stateSetIndex + ":\n" in assertStatesOccurred()
645 assertTrue("Too many states (" + (stateSetIndex + 1) + ")", in assertStatesOccurred()
646 stateSetIndex < stateSets.size()); in assertStatesOccurred()
648 stateSets.get(stateSetIndex).contains(state)); in assertStatesOccurred()
655 assertTrue("Too few states (" + (stateSetIndex + 1) + ")", in assertStatesOccurred()
656 stateSetIndex == stateSets.size() - 1); in assertStatesOccurred()