Searched refs:power_monitor (Results 1 - 25 of 47) sorted by relevance

12

/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/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());
H A Dhi_res_timer_manager_unittest.cc9 #include "base/power_monitor/power_monitor.h"
10 #include "base/power_monitor/power_monitor_device_source.h"
24 scoped_ptr<base::PowerMonitor> power_monitor(
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dippet_power_monitor_unittest.py10 from telemetry.core.platform.power_monitor import ippet_power_monitor
22 power_monitor = ippet_power_monitor.IppetPowerMonitor(platform_backend)
23 if not power_monitor.CanMonitorPower():
27 power_monitor.StartMonitoringPower(None)
28 statistics = power_monitor.StopMonitoringPower()
H A Dmsr_power_monitor_unittest.py11 from telemetry.core.platform.power_monitor import msr_power_monitor
18 power_monitor = msr_power_monitor.MsrPowerMonitor(platform_backend)
19 if not power_monitor.CanMonitorPower():
23 power_monitor.StartMonitoringPower(None)
25 statistics = power_monitor.StopMonitoringPower()
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 Dpower_monitor_controller.py5 import telemetry.core.platform.power_monitor as power_monitor namespace
8 class PowerMonitorController(power_monitor.PowerMonitor):
H A Dpowermetrics_power_monitor_unittest.py13 from telemetry.core.platform.power_monitor import powermetrics_power_monitor
20 power_monitor = powermetrics_power_monitor.PowerMetricsPowerMonitor(backend)
24 self.assertEqual(power_monitor.CanMonitorPower(), mavericks_or_later,
42 power_monitor = powermetrics_power_monitor.PowerMetricsPowerMonitor(
44 if not power_monitor.CanMonitorPower():
49 self.assertFalse(power_monitor.CanMeasurePerApplicationPower())
H A Dandroid_ds2784_power_monitor_unittest.py7 from telemetry.core.platform.power_monitor import android_ds2784_power_monitor
H A Dmonsoon_power_monitor_unittest.py8 from telemetry.core.platform.power_monitor import monsoon_power_monitor
H A Dandroid_temperature_monitor.py5 import telemetry.core.platform.power_monitor as power_monitor namespace
10 class AndroidTemperatureMonitor(power_monitor.PowerMonitor):
H A Dandroid_temperature_monitor_unittest.py7 from telemetry.core.platform.power_monitor import android_temperature_monitor
17 def __init__(self, power_monitor, expected_temperature):
18 super(TemperatureMonitorForTesting, self).__init__(power_monitor, None)
H A Dandroid_dumpsys_power_monitor_unittest.py8 from telemetry.core.platform.power_monitor import android_dumpsys_power_monitor
H A Dsysfs_power_monitor_unittest.py7 from telemetry.core.platform.power_monitor import sysfs_power_monitor
H A Dmsr_power_monitor.py10 from telemetry.core.platform import power_monitor namespace
55 class MsrPowerMonitor(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 Dandroid_dumpsys_power_monitor.py9 from telemetry.core.platform.power_monitor import sysfs_power_monitor
H A Dcros_power_monitor_unittest.py7 from telemetry.core.platform.power_monitor import cros_power_monitor
/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);
/external/chromium_org/components/nacl/loader/
H A Dnacl_main.cc9 #include "base/power_monitor/power_monitor.h"
10 #include "base/power_monitor/power_monitor_device_source.h"
27 base::PowerMonitor power_monitor(power_monitor_source.Pass());
H A Dnacl_helper_win_64.cc8 #include "base/power_monitor/power_monitor.h"
9 #include "base/power_monitor/power_monitor_device_source.h"
35 base::PowerMonitor power_monitor(power_monitor_source.Pass());
/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/tools/telemetry/telemetry/core/platform/
H A Dandroid_platform_backend.py16 from telemetry.core.platform.power_monitor import android_ds2784_power_monitor
17 from telemetry.core.platform.power_monitor import android_dumpsys_power_monitor
18 from telemetry.core.platform.power_monitor import android_temperature_monitor
19 from telemetry.core.platform.power_monitor import monsoon_power_monitor
20 from telemetry.core.platform.power_monitor import power_monitor_controller
/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 170 milliseconds

12