Home
last modified time | relevance | path

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

/external/libchrome/base/power_monitor/
Dpower_monitor_source.cc12 PowerMonitorSource::PowerMonitorSource() = default;
13 PowerMonitorSource::~PowerMonitorSource() = default;
15 bool PowerMonitorSource::IsOnBatteryPower() { in IsOnBatteryPower()
20 void PowerMonitorSource::ProcessPowerEvent(PowerEvent event_id) { in ProcessPowerEvent()
25 PowerMonitorSource* source = monitor->Source(); in ProcessPowerEvent()
62 void PowerMonitorSource::SetInitialOnBatteryPowerState(bool on_battery_power) { in SetInitialOnBatteryPowerState()
Dpower_monitor.h16 class PowerMonitorSource; variable
23 explicit PowerMonitor(std::unique_ptr<PowerMonitorSource> source);
40 friend class PowerMonitorSource;
42 PowerMonitorSource* Source();
49 std::unique_ptr<PowerMonitorSource> source_;
Dpower_monitor_source.h19 class BASE_EXPORT PowerMonitorSource {
21 PowerMonitorSource();
22 virtual ~PowerMonitorSource();
70 DISALLOW_COPY_AND_ASSIGN(PowerMonitorSource);
Dpower_monitor_device_source_android.cc13 void ProcessPowerEventHelper(PowerMonitorSource::PowerEvent event) { in ProcessPowerEventHelper()
14 PowerMonitorSource::ProcessPowerEvent(event); in ProcessPowerEventHelper()
25 ProcessPowerEventHelper(PowerMonitorSource::POWER_STATE_EVENT); in JNI_PowerMonitor_OnBatteryChargingChanged()
Dpower_monitor.cc15 PowerMonitor::PowerMonitor(std::unique_ptr<PowerMonitorSource> source) in PowerMonitor()
41 PowerMonitorSource* PowerMonitor::Source() { in Source()
Dpower_monitor_device_source.h26 class BASE_EXPORT PowerMonitorDeviceSource : public PowerMonitorSource {
Dpower_monitor_unittest.cc18 std::unique_ptr<PowerMonitorSource>(power_monitor_source_))); in PowerMonitorTest()
/external/libchrome/base/test/
Dpower_monitor_test_base.h13 class PowerMonitorTestSource : public PowerMonitorSource {
/external/libchrome/base/timer/
Dhi_res_timer_manager_unittest.cc26 std::unique_ptr<base::PowerMonitorSource> power_monitor_source( in TEST()