Home
last modified time | relevance | path

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

/frameworks/av/media/utils/
DBatteryNotifier.cpp28 void BatteryNotifier::DeathNotifier::binderDied(const wp<IBinder>& /*who*/) { in binderDied()
29 BatteryNotifier::getInstance().onBatteryStatServiceDied(); in binderDied()
32 BatteryNotifier::BatteryNotifier() {} in BatteryNotifier() function in android::BatteryNotifier
34 BatteryNotifier::~BatteryNotifier() { in ~BatteryNotifier()
41 void BatteryNotifier::noteStartVideo(uid_t uid) { in noteStartVideo()
50 void BatteryNotifier::noteStopVideo(uid_t uid) { in noteStopVideo()
68 void BatteryNotifier::noteResetVideo() { in noteResetVideo()
77 void BatteryNotifier::noteStartAudio(uid_t uid) { in noteStartAudio()
86 void BatteryNotifier::noteStopAudio(uid_t uid) { in noteStopAudio()
104 void BatteryNotifier::noteResetAudio() { in noteResetAudio()
[all …]
DAndroid.bp20 "BatteryNotifier.cpp",
/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h32 class BatteryNotifier : public Singleton<BatteryNotifier> {
34 friend class Singleton<BatteryNotifier>;
35 BatteryNotifier();
38 ~BatteryNotifier();
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp225 BatteryNotifier::getInstance().noteStartVideo(uid); in noteStartVideo()
228 BatteryNotifier::getInstance().noteStopVideo(uid); in noteStopVideo()
231 BatteryNotifier::getInstance().noteResetVideo(); in noteResetVideo()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp158 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onFirstRef()
539 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onTorchStatusChangedLocked()
3407 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientAdded()
3418 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientRemoved()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2808 BatteryNotifier::getInstance().noteResetVideo(); in BatteryTracker()
/frameworks/av/services/audioflinger/
DThreads.cpp1698 BatteryNotifier::getInstance().noteStopAudio(track->uid()); in clear()
1724 BatteryNotifier::getInstance().noteStartAudio(uid); in updatePowerState()
1730 BatteryNotifier::getInstance().noteStopAudio(uid); in updatePowerState()
DAudioFlinger.cpp207 BatteryNotifier::getInstance().noteResetAudio(); in AudioFlinger()