Home
last modified time | relevance | path

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

/system/chre/apps/chqts/src/general_test/
Dtimer_set_test.cc107 mStages = static_cast<Stage*>(chreHeapAlloc(sizeof(*mStages) * in initStages()
109 if (mStages == nullptr) { in initStages()
116 new(&mStages[0]) Stage(0, kShortDuration, nullptr, true); in initStages()
118 new(&mStages[1]) Stage(1, kShortDuration, COOKIE(-1), true); in initStages()
120 new(&mStages[2]) Stage(2, kShortDuration, COOKIE(2), true); in initStages()
122 new(&mStages[3]) Stage(3, kLongDuration, COOKIE(3), true); in initStages()
124 new(&mStages[4]) Stage(4, kLongDuration, COOKIE(4), false); in initStages()
126 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()
70 mStages{ in TimerCancelTest()
Dtimer_cancel_test.h55 Stage mStages[kStageCount]; variable
Dtimer_set_test.h64 Stage *mStages; variable