/external/chromium_org/base/power_monitor/ |
D | power_monitor.cc | 10 static PowerMonitor* g_power_monitor = NULL; 12 PowerMonitor::PowerMonitor(scoped_ptr<PowerMonitorSource> source) in PowerMonitor() function in base::PowerMonitor 19 PowerMonitor::~PowerMonitor() { in ~PowerMonitor() 25 PowerMonitor* PowerMonitor::Get() { in Get() 29 void PowerMonitor::AddObserver(PowerObserver* obs) { in AddObserver() 33 void PowerMonitor::RemoveObserver(PowerObserver* obs) { in RemoveObserver() 37 PowerMonitorSource* PowerMonitor::Source() { in Source() 41 bool PowerMonitor::IsOnBatteryPower() { in IsOnBatteryPower() 45 void PowerMonitor::NotifyPowerStateChange(bool battery_in_use) { in NotifyPowerStateChange() 51 void PowerMonitor::NotifySuspend() { in NotifySuspend() [all …]
|
D | power_monitor.h | 20 class BASE_EXPORT PowerMonitor { 23 explicit PowerMonitor(scoped_ptr<PowerMonitorSource> source); 24 ~PowerMonitor(); 27 static PowerMonitor* Get(); 50 DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
|
D | power_monitor_unittest.cc | 15 power_monitor_.reset(new PowerMonitor( in PowerMonitorTest() 21 PowerMonitor* monitor() { return power_monitor_.get(); } in monitor() 25 scoped_ptr<PowerMonitor> power_monitor_;
|
D | power_monitor_source.cc | 25 PowerMonitor* monitor = PowerMonitor::Get(); in ProcessPowerEvent()
|
D | power_monitor_source.h | 16 class PowerMonitor; variable
|
D | power_monitor_device_source_mac.mm | 70 // Need to call AllocateSystemIOPorts() before creating a PowerMonitor
|
/external/chromium_org/content/browser/ |
D | power_monitor_message_broadcaster.cc | 16 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in PowerMonitorMessageBroadcaster() 22 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~PowerMonitorMessageBroadcaster()
|
D | power_monitor_message_broadcaster_unittest.cc | 53 power_monitor_.reset(new base::PowerMonitor( in PowerMonitorMessageBroadcasterTest() 59 base::PowerMonitor* monitor() { return power_monitor_.get(); } in monitor() 63 scoped_ptr<base::PowerMonitor> power_monitor_;
|
D | browser_main_loop.h | 20 class PowerMonitor; variable 137 scoped_ptr<base::PowerMonitor> power_monitor_;
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
D | PowerMonitor.java | 19 public class PowerMonitor implements ActivityStatus.StateListener { class 22 private static final PowerMonitor INSTANCE = new PowerMonitor(); 24 private static PowerMonitor sInstance; 57 private PowerMonitor() { in PowerMonitor() method in PowerMonitor
|
D | PowerStatusReceiver.java | 21 PowerMonitor.onBatteryChargingChanged(intent); in onReceive()
|
/external/chromium_org/net/http/ |
D | http_network_layer.cc | 28 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in HttpNetworkLayer() 36 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~HttpNetworkLayer()
|
/external/chromium_org/base/timer/ |
D | hi_res_timer_manager_win.cc | 14 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in HighResolutionTimerManager() 21 base::PowerMonitor::Get()->RemoveObserver(this); in ~HighResolutionTimerManager()
|
D | hi_res_timer_manager_unittest.cc | 22 scoped_ptr<base::PowerMonitor> power_monitor( in TEST() 23 new base::PowerMonitor(power_monitor_source.Pass())); in TEST()
|
/external/chromium_org/content/child/ |
D | power_monitor_broadcast_source_unittest.cc | 17 power_monitor_.reset(new base::PowerMonitor( in PowerMonitorBroadcastSourceTest() 23 base::PowerMonitor* monitor() { return power_monitor_.get(); } in monitor() 29 scoped_ptr<base::PowerMonitor> power_monitor_;
|
D | child_thread.cc | 214 if (!base::PowerMonitor::Get()) { in Init() 219 power_monitor_.reset(new base::PowerMonitor( in Init()
|
D | child_thread.h | 228 scoped_ptr<base::PowerMonitor> power_monitor_;
|
/external/chromium_org/content/gpu/ |
D | gpu_watchdog_thread.cc | 117 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~GpuWatchdogThread() 269 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in OnAddPowerObserver()
|
/external/chromium_org/testing/android/java/src/org/chromium/native_test/ |
D | ChromeNativeTestActivity.java | 14 import org.chromium.base.PowerMonitor; 34 PowerMonitor.createForTests(this); in onCreate()
|
/external/chromium_org/tools/valgrind/tsan_v2/ |
D | suppressions.txt | 101 race:base::PowerMonitor::PowerMonitor 102 race:base::PowerMonitor::AddObserver
|
/external/chromium_org/net/url_request/ |
D | url_request_job.cc | 38 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in URLRequestJob() 236 base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); in ~URLRequestJob()
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_main.cc | 27 base::PowerMonitor power_monitor(power_monitor_source.Pass()); in NaClMain()
|
D | nacl_helper_win_64.cc | 35 base::PowerMonitor power_monitor(power_monitor_source.Pass()); in NaClBrokerMain()
|
/external/chromium_org/chrome/browser/extensions/ |
D | event_router_forwarder_unittest.cc | 100 dummy.reset(new base::PowerMonitor(power_monitor_source.Pass())); in EventRouterForwarderTest() 127 scoped_ptr<base::PowerMonitor> dummy;
|
/external/chromium_org/tools/valgrind/tsan/ |
D | suppressions.txt | 1106 fun:base::PowerMonitor::PowerMonitor 1115 fun:base::PowerMonitor::*
|