Searched defs:PowerMonitor (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/base/power_monitor/
H A Dpower_monitor.h20 class BASE_EXPORT PowerMonitor { class in namespace:base
23 explicit PowerMonitor(scoped_ptr<PowerMonitorSource> source);
24 ~PowerMonitor();
26 // Get the process-wide PowerMonitor (if not present, returns NULL).
27 static PowerMonitor* Get();
50 DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
H A Dpower_monitor.cc10 static PowerMonitor* g_power_monitor = NULL;
12 PowerMonitor::PowerMonitor(scoped_ptr<PowerMonitorSource> source) function in class:base::PowerMonitor
19 PowerMonitor::~PowerMonitor() {
25 PowerMonitor* PowerMonitor::Get() {
29 void PowerMonitor::AddObserver(PowerObserver* obs) {
33 void PowerMonitor::RemoveObserver(PowerObserver* obs) {
37 PowerMonitorSource* PowerMonitor
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A D__init__.py8 class PowerMonitor(object): class in inherits:object
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DPowerMonitor.java16 * Integrates native PowerMonitor with the java side.
19 public class PowerMonitor implements ApplicationStatus.ApplicationStateListener { class in inherits:ApplicationStatus.ApplicationStateListener
22 private static final PowerMonitor INSTANCE = new PowerMonitor();
24 private static PowerMonitor sInstance;
48 * Create a PowerMonitor instance if none exists.
63 private PowerMonitor() { method in class:PowerMonitor
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_service.cc145 class EasyUnlockService::PowerMonitor class in class:EasyUnlockService
148 explicit PowerMonitor(EasyUnlockService* service) function in class:EasyUnlockService::PowerMonitor
156 virtual ~PowerMonitor() {
173 base::Bind(&PowerMonitor::ResetWakingUp,
187 base::WeakPtrFactory<PowerMonitor> weak_ptr_factory_;
189 DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
505 power_monitor_.reset(new PowerMonitor(this));

Completed in 373 milliseconds