Searched defs:power_monitor (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/base/timer/
H A Dhi_res_timer_manager_win.cc7 #include "base/power_monitor/power_monitor.h"
14 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
15 DCHECK(power_monitor != NULL);
16 power_monitor->AddObserver(this);
17 UseHiResClock(!power_monitor->IsOnBatteryPower());
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dpower_monitor_controller.py5 import telemetry.core.platform.power_monitor as power_monitor namespace
8 class PowerMonitorController(power_monitor.PowerMonitor):
H A Dandroid_temperature_monitor.py5 import telemetry.core.platform.power_monitor as power_monitor namespace
10 class AndroidTemperatureMonitor(power_monitor.PowerMonitor):
H A Dpower_monitor_controller_unittest.py7 import telemetry.core.platform.power_monitor as power_monitor namespace
8 from telemetry.core.platform.power_monitor import power_monitor_controller
14 class P1(power_monitor.PowerMonitor):
20 class P2(power_monitor.PowerMonitor):
H A Dsysfs_power_monitor.py11 from telemetry.core.platform import power_monitor namespace
17 class SysfsPowerMonitor(power_monitor.PowerMonitor):
H A Dmsr_power_monitor.py10 from telemetry.core.platform import power_monitor namespace
55 class MsrPowerMonitor(power_monitor.PowerMonitor):
H A Dpowermetrics_power_monitor.py16 from telemetry.core.platform import power_monitor namespace
19 class PowerMetricsPowerMonitor(power_monitor.PowerMonitor):
H A Dippet_power_monitor.py18 from telemetry.core.platform import power_monitor namespace
68 class IppetPowerMonitor(power_monitor.PowerMonitor):
/external/chromium_org/content/browser/
H A Dpower_monitor_message_broadcaster.cc7 #include "base/power_monitor/power_monitor.h"
16 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
17 if (power_monitor)
18 power_monitor->AddObserver(this);
22 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
23 if (power_monitor)
24 power_monitor->RemoveObserver(this);
28 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
30 if (power_monitor)
[all...]
/external/chromium_org/net/http/
H A Dhttp_network_layer.cc8 #include "base/power_monitor/power_monitor.h"
28 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
29 if (power_monitor)
30 power_monitor->AddObserver(this);
36 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
37 if (power_monitor)
38 power_monitor->RemoveObserver(this);
/external/chromium_org/content/browser/renderer_host/media/
H A Dpeer_connection_tracker_host.cc6 #include "base/power_monitor/power_monitor.h"
53 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
54 if (power_monitor)
55 power_monitor->AddObserver(this);
60 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
61 if (power_monitor)
62 power_monitor->RemoveObserver(this);
H A Dmedia_stream_manager.cc14 #include "base/power_monitor/power_monitor.h"
394 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
396 // MediaStreamManager, but power_monitor may be NULL in unit tests.
397 if (power_monitor)
398 power_monitor->AddObserver(this);
406 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
409 if (power_monitor)
410 power_monitor->RemoveObserver(this);
/external/chromium_org/content/gpu/
H A Dgpu_watchdog_thread.cc16 #include "base/power_monitor/power_monitor.h"
117 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
118 if (power_monitor)
119 power_monitor->RemoveObserver(this);
269 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
270 DCHECK(power_monitor);
271 power_monitor->AddObserver(this);
/external/chromium_org/net/url_request/
H A Durl_request_job.cc10 #include "base/power_monitor/power_monitor.h"
38 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
39 if (power_monitor)
40 power_monitor->AddObserver(this);
245 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); local
246 if (power_monitor)
247 power_monitor->RemoveObserver(this);

Completed in 199 milliseconds