Home
last modified time | relevance | path

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

/system/chre/apps/test/chqts/src/general_test/
Dtimer_set_test.cc110 mStages = static_cast<Stage *>(chreHeapAlloc(sizeof(*mStages) * kStageCount)); in initStages()
111 if (mStages == nullptr) { in initStages()
118 new (&mStages[0]) Stage(0, kShortDuration, nullptr, true); in initStages()
120 new (&mStages[1]) Stage(1, kShortDuration, COOKIE(-1), true); in initStages()
122 new (&mStages[2]) Stage(2, kShortDuration, COOKIE(2), true); in initStages()
124 new (&mStages[3]) Stage(3, kLongDuration, COOKIE(3), true); in initStages()
126 new (&mStages[4]) Stage(4, kLongDuration, COOKIE(4), false); in initStages()
128 new (&mStages[5]) Stage(5, kShortDuration, COOKIE(5), false); in initStages()
147 mStages[i].start(); in setUp()
154 chreHeapFree(mStages); in ~TimerSetTest()
[all …]
Dtimer_cancel_test.cc47 Stage *stage = &mStages[i]; in startStages()
71 mStages{ in TimerCancelTest()
Dtimer_cancel_test.h57 Stage mStages[kStageCount]; variable
Dtimer_set_test.h65 Stage *mStages; variable