/external/chromium_org/content/browser/ |
D | power_monitor_message_broadcaster.cc | 16 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in PowerMonitorMessageBroadcaster() local 17 if (power_monitor) in PowerMonitorMessageBroadcaster() 18 power_monitor->AddObserver(this); in PowerMonitorMessageBroadcaster() 22 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~PowerMonitorMessageBroadcaster() local 23 if (power_monitor) in ~PowerMonitorMessageBroadcaster() 24 power_monitor->RemoveObserver(this); in ~PowerMonitorMessageBroadcaster() 28 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in Init() local 30 if (power_monitor) in Init() 31 OnPowerStateChange(power_monitor->IsOnBatteryPower()); in Init()
|
/external/chromium_org/net/http/ |
D | http_network_layer.cc | 28 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in HttpNetworkLayer() local 29 if (power_monitor) in HttpNetworkLayer() 30 power_monitor->AddObserver(this); in HttpNetworkLayer() 36 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~HttpNetworkLayer() local 37 if (power_monitor) in ~HttpNetworkLayer() 38 power_monitor->RemoveObserver(this); in ~HttpNetworkLayer()
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
D | ippet_power_monitor_unittest.py | 10 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()
|
D | msr_power_monitor_unittest.py | 11 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()
|
D | powermetrics_power_monitor_unittest.py | 13 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())
|
D | power_monitor_controller_unittest.py | 7 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):
|
D | power_monitor_controller.py | 5 import telemetry.core.platform.power_monitor as power_monitor namespace 8 class PowerMonitorController(power_monitor.PowerMonitor):
|
D | android_temperature_monitor.py | 5 import telemetry.core.platform.power_monitor as power_monitor namespace 10 class AndroidTemperatureMonitor(power_monitor.PowerMonitor):
|
D | android_temperature_monitor_unittest.py | 7 from telemetry.core.platform.power_monitor import android_temperature_monitor 17 def __init__(self, power_monitor, expected_temperature): argument 18 super(TemperatureMonitorForTesting, self).__init__(power_monitor, None)
|
D | msr_power_monitor.py | 10 from telemetry.core.platform import power_monitor 55 class MsrPowerMonitor(power_monitor.PowerMonitor):
|
D | android_ds2784_power_monitor_unittest.py | 7 from telemetry.core.platform.power_monitor import android_ds2784_power_monitor
|
D | monsoon_power_monitor_unittest.py | 8 from telemetry.core.platform.power_monitor import monsoon_power_monitor
|
D | sysfs_power_monitor.py | 11 from telemetry.core.platform import power_monitor 17 class SysfsPowerMonitor(power_monitor.PowerMonitor):
|
D | powermetrics_power_monitor.py | 16 from telemetry.core.platform import power_monitor 19 class PowerMetricsPowerMonitor(power_monitor.PowerMonitor):
|
/external/chromium_org/base/timer/ |
D | hi_res_timer_manager_win.cc | 14 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in HighResolutionTimerManager() local 15 DCHECK(power_monitor != NULL); in HighResolutionTimerManager() 16 power_monitor->AddObserver(this); in HighResolutionTimerManager() 17 UseHiResClock(!power_monitor->IsOnBatteryPower()); in HighResolutionTimerManager()
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | peer_connection_tracker_host.cc | 53 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in OnChannelConnected() local 54 if (power_monitor) in OnChannelConnected() 55 power_monitor->AddObserver(this); in OnChannelConnected() 60 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in OnChannelClosing() local 61 if (power_monitor) in OnChannelClosing() 62 power_monitor->RemoveObserver(this); in OnChannelClosing()
|
/external/chromium_org/content/gpu/ |
D | gpu_watchdog_thread.cc | 117 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~GpuWatchdogThread() local 118 if (power_monitor) in ~GpuWatchdogThread() 119 power_monitor->RemoveObserver(this); in ~GpuWatchdogThread() 269 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in OnAddPowerObserver() local 270 DCHECK(power_monitor); in OnAddPowerObserver() 271 power_monitor->AddObserver(this); in OnAddPowerObserver()
|
/external/chromium_org/base/power_monitor/ |
D | power_monitor_device_source_mac.mm | 8 #include "base/power_monitor/power_monitor_device_source.h" 10 #include "base/power_monitor/power_monitor.h" 11 #include "base/power_monitor/power_monitor_source.h"
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
D | android_platform_backend.py | 16 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/base/ |
D | base.gypi | 430 'power_monitor/power_monitor.cc', 431 'power_monitor/power_monitor.h', 432 'power_monitor/power_monitor_device_source_android.cc', 433 'power_monitor/power_monitor_device_source_android.h', 434 'power_monitor/power_monitor_device_source.cc', 435 'power_monitor/power_monitor_device_source.h', 436 'power_monitor/power_monitor_device_source_ios.mm', 437 'power_monitor/power_monitor_device_source_mac.mm', 438 'power_monitor/power_monitor_device_source_posix.cc', 439 'power_monitor/power_monitor_device_source_win.cc', [all …]
|
D | BUILD.gn | 441 "power_monitor/power_monitor.cc", 442 "power_monitor/power_monitor.h", 443 "power_monitor/power_monitor_device_source.cc", 444 "power_monitor/power_monitor_device_source.h", 445 "power_monitor/power_monitor_device_source_android.cc", 446 "power_monitor/power_monitor_device_source_android.h", 447 "power_monitor/power_monitor_device_source_ios.mm", 448 "power_monitor/power_monitor_device_source_mac.mm", 449 "power_monitor/power_monitor_device_source_posix.cc", 450 "power_monitor/power_monitor_device_source_win.cc", [all …]
|
D | base.target.linux-arm64.mk | 169 base/power_monitor/power_monitor.cc \ 170 base/power_monitor/power_monitor_device_source_android.cc \ 171 base/power_monitor/power_monitor_device_source.cc \ 172 base/power_monitor/power_monitor_source.cc \
|
D | base.target.darwin-arm64.mk | 169 base/power_monitor/power_monitor.cc \ 170 base/power_monitor/power_monitor_device_source_android.cc \ 171 base/power_monitor/power_monitor_device_source.cc \ 172 base/power_monitor/power_monitor_source.cc \
|
/external/chromium_org/net/url_request/ |
D | url_request_job.cc | 38 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in URLRequestJob() local 39 if (power_monitor) in URLRequestJob() 40 power_monitor->AddObserver(this); in URLRequestJob() 245 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~URLRequestJob() local 246 if (power_monitor) in ~URLRequestJob() 247 power_monitor->RemoveObserver(this); in ~URLRequestJob()
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_main.cc | 27 base::PowerMonitor power_monitor(power_monitor_source.Pass()); in NaClMain() local
|