Home
last modified time | relevance | path

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

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_listener.cpp37 void BatteryStatsListener::OnEvent(std::shared_ptr<HiviewDFX::HiSysEventRecord> sysEvent) in OnEvent()
59 void BatteryStatsListener::ProcessHiSysEvent(const std::string& eventName, const Json::Value& root) in ProcessHiSysEvent()
108 void BatteryStatsListener::ProcessCameraEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessCameraEvent()
137 void BatteryStatsListener::ProcessAudioEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessAudioEvent()
163 void BatteryStatsListener::ProcessSensorEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessSensorEvent()
187 void BatteryStatsListener::ProcessGnssEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessGnssEvent()
205 void BatteryStatsListener::ProcessBluetoothBrEvent(StatsUtils::StatsData& data, const Json::Value& … in ProcessBluetoothBrEvent()
235 void BatteryStatsListener::ProcessBluetoothBleEvent(StatsUtils::StatsData& data, const Json::Value&… in ProcessBluetoothBleEvent()
263 void BatteryStatsListener::ProcessBluetoothEvent(StatsUtils::StatsData& data, const Json::Value& ro… in ProcessBluetoothEvent()
274 void BatteryStatsListener::ProcessWifiEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessWifiEvent()
[all …]
Dbattery_stats_service.cpp160 listenerPtr_ = std::make_shared<BatteryStatsListener>(); in AddHiSysEventListener()
/base/powermgr/battery_statistics/services/native/include/
Dbattery_stats_listener.h27 class BatteryStatsListener : public HiviewDFX::HiSysEventListener {
29 explicit BatteryStatsListener() : HiviewDFX::HiSysEventListener() {} in BatteryStatsListener() function
30 virtual ~BatteryStatsListener() {} in ~BatteryStatsListener()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_alarm_test.cpp45 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_subscriber_test.cpp53 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_audio_test.cpp45 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_dump_test.cpp50 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_location_test.cpp45 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_powermgr_test.cpp48 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_display_test.cpp69 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_wifi_test.cpp46 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_camera_test.cpp45 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_phone_test.cpp47 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()
Dstats_service_bluetooth_test.cpp87 g_statsService->listenerPtr_ = std::make_shared<BatteryStatsListener>(); in SetUpTestCase()