Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/tests/
DBatteryChecker_test.cpp58 sp<BatteryChecker> mBatteryChecker; member in android::BatteryCheckerTestHandler
69 mBatteryChecker = new BatteryChecker( in runTest()
114 mBatteryChecker->setExecuting(true); in onMessageReceived()
117 mBatteryChecker->setExecuting(false); in onMessageReceived()
120 mBatteryChecker->onCodecActivity([this] () { mOnCounter++; }); in onMessageReceived()
123 mBatteryChecker->onClientRemoved(); in onMessageReceived()
126 mBatteryChecker->onCheckBatteryTimer(msg, [this] () { mOffCounter++; }); in onMessageReceived()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp755 if (mBatteryChecker != nullptr) { in statsBufferSent()
756 mBatteryChecker->onCodecActivity([this] () { in statsBufferSent()
795 if (mBatteryChecker != nullptr) { in statsBufferReceived()
796 mBatteryChecker->onCodecActivity([this] () { in statsBufferReceived()
991 mBatteryChecker = new BatteryChecker(new AMessage(kWhatCheckBatteryStats, this)); in init()
2416 if (mBatteryChecker != nullptr) { in onMessageReceived()
2417 mBatteryChecker->onClientRemoved(); in onMessageReceived()
3133 if (mBatteryChecker != nullptr) { in onMessageReceived()
3134 mBatteryChecker->onCheckBatteryTimer(msg, [this] () { in onMessageReceived()
3237 if (mBatteryChecker != nullptr) { in setState()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h467 sp<BatteryChecker> mBatteryChecker; member