Home
last modified time | relevance | path

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

/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp500 uint32_t totalSamples; in readEnergy() local
501 auto cb = [&s, &mQueue, &totalSamples, &railsInSample]( in readEnergy()
506 totalSamples = numSamples; in readEnergy()
515 uint32_t totalQuants = railsInSample * totalSamples; in readEnergy()
517 if (totalSamples > 0) { in readEnergy()
518 uint32_t batch = std::max(1, (int)((std::rand() % totalSamples) * railsInSample)); in readEnergy()
535 ASSERT_EQ(totalSamples, 0); in readEnergy()
539 ASSERT_EQ(totalSamples, 0); in readEnergy()
543 ASSERT_EQ(totalSamples, 0); in readEnergy()
547 ASSERT_EQ(totalSamples, 0); in readEnergy()