Home
last modified time | relevance | path

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

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DAtomTestUtils.java137 int stateSetIndex = 0; // Tracks which state set we expect the data to be in. in assertStatesOccurredInOrder() local
143 if (stateSets.get(stateSetIndex).contains(state)) { in assertStatesOccurredInOrder()
146 + "in stateSetIndex " + stateSetIndex + ":\n" in assertStatesOccurredInOrder()
149 stateSetIndex += 1; in assertStatesOccurredInOrder()
151 + " in stateSetIndex " + stateSetIndex + ":\n" in assertStatesOccurredInOrder()
154 assertWithMessage("Too many states").that(stateSetIndex) in assertStatesOccurredInOrder()
157 .that(stateSets.get(stateSetIndex)).contains(state); in assertStatesOccurredInOrder()
164 assertWithMessage("Too few states").that(stateSetIndex).isEqualTo(stateSets.size() - 1); in assertStatesOccurredInOrder()