HomeSort by relevance Sort by last modified time
    Searched refs:PowerMonitor (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/base/power_monitor/
power_monitor.cc 10 static PowerMonitor* g_power_monitor = NULL;
12 PowerMonitor::PowerMonitor(scoped_ptr<PowerMonitorSource> source)
19 PowerMonitor::~PowerMonitor() {
25 PowerMonitor* PowerMonitor::Get() {
29 void PowerMonitor::AddObserver(PowerObserver* obs) {
33 void PowerMonitor::RemoveObserver(PowerObserver* obs) {
37 PowerMonitorSource* PowerMonitor::Source()
    [all...]
power_monitor.h 20 class BASE_EXPORT PowerMonitor {
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);
power_monitor_source.h 16 class PowerMonitor;
power_monitor_source.cc 25 PowerMonitor* monitor = PowerMonitor::Get();
power_monitor_unittest.cc 15 power_monitor_.reset(new PowerMonitor(
21 PowerMonitor* monitor() { return power_monitor_.get(); }
25 scoped_ptr<PowerMonitor> power_monitor_;
30 // PowerMonitorSource is tightly coupled with the PowerMonitor, so this test
  /external/chromium_org/base/timer/
hi_res_timer_manager_win.cc 14 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
21 base::PowerMonitor::Get()->RemoveObserver(this);
hi_res_timer_manager_unittest.cc 22 scoped_ptr<base::PowerMonitor> power_monitor(
23 new base::PowerMonitor(power_monitor_source.Pass()));
28 // test is running on a laptop/battery, then the PowerMonitor would have
  /external/chromium_org/content/browser/
power_monitor_message_broadcaster.cc 16 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
22 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
power_monitor_message_broadcaster_unittest.cc 53 power_monitor_.reset(new base::PowerMonitor(
59 base::PowerMonitor* monitor() { return power_monitor_.get(); }
63 scoped_ptr<base::PowerMonitor> power_monitor_;
browser_main_loop.h 20 class PowerMonitor;
137 scoped_ptr<base::PowerMonitor> power_monitor_;
  /external/chromium_org/base/android/java/src/org/chromium/base/
PowerMonitor.java 16 * Integrates native PowerMonitor with the java side.
19 public class PowerMonitor implements ActivityStatus.StateListener {
22 private static final PowerMonitor INSTANCE = new PowerMonitor();
24 private static PowerMonitor sInstance;
57 private PowerMonitor() {
PowerStatusReceiver.java 14 * PowerMonitor.
21 PowerMonitor.onBatteryChargingChanged(intent);
  /external/chromium_org/net/http/
http_network_layer.cc 28 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
36 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
  /external/chromium_org/content/child/
power_monitor_broadcast_source_unittest.cc 17 power_monitor_.reset(new base::PowerMonitor(
23 base::PowerMonitor* monitor() { return power_monitor_.get(); }
29 scoped_ptr<base::PowerMonitor> power_monitor_;
child_thread.h 228 scoped_ptr<base::PowerMonitor> power_monitor_;
child_thread.cc 214 if (!base::PowerMonitor::Get()) {
219 power_monitor_.reset(new base::PowerMonitor(
  /external/chromium_org/components/nacl/loader/
nacl_main.cc 27 base::PowerMonitor power_monitor(power_monitor_source.Pass());
nacl_helper_win_64.cc 35 base::PowerMonitor power_monitor(power_monitor_source.Pass());
  /external/chromium_org/testing/android/java/src/org/chromium/native_test/
ChromeNativeTestActivity.java 14 import org.chromium.base.PowerMonitor;
34 PowerMonitor.createForTests(this);
  /external/chromium_org/content/gpu/
gpu_watchdog_thread.cc 117 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
269 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
  /external/chromium_org/net/url_request/
url_request_job.cc 38 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
236 base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
  /external/chromium_org/chrome/browser/extensions/
event_router_forwarder_unittest.cc 100 dummy.reset(new base::PowerMonitor(power_monitor_source.Pass()));
127 scoped_ptr<base::PowerMonitor> dummy;
  /external/chromium_org/base/
base_jni_headers.target.darwin-arm.mk 18 # "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/base/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/base/ActivityStatus.java', 'android/java/src/org/chromium/base/BuildInfo.java', 'android/java/src/org/chromium/base/CommandLine.java', 'android/java/src/org/chromium/base/ContentUriUtils.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', 'android/java/src/org/chromium/base/JavaHandlerThread.java', 'android/java/src/org/chromium/base/PathService.java', 'android/java/src/org/chromium/base/PathUtils.java', 'android/java/src/org/chromium/base/PowerMonitor.java', 'android/java/src/org/chromium/base/SystemMessageHandler.java', 'android/java/src/org/chromium/base/SysUtils.java', 'android/java/src/org/chromium/base/ThreadUtils.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/base/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
123 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/PowerMonitor.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
124 mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/PowerMonitor.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
base_jni_headers.target.darwin-mips.mk 18 # "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/base/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/base/ActivityStatus.java', 'android/java/src/org/chromium/base/BuildInfo.java', 'android/java/src/org/chromium/base/CommandLine.java', 'android/java/src/org/chromium/base/ContentUriUtils.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', 'android/java/src/org/chromium/base/JavaHandlerThread.java', 'android/java/src/org/chromium/base/PathService.java', 'android/java/src/org/chromium/base/PathUtils.java', 'android/java/src/org/chromium/base/PowerMonitor.java', 'android/java/src/org/chromium/base/SystemMessageHandler.java', 'android/java/src/org/chromium/base/SysUtils.java', 'android/java/src/org/chromium/base/ThreadUtils.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/base/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
123 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/PowerMonitor.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
124 mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/PowerMonitor.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
base_jni_headers.target.darwin-x86.mk 18 # "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/base/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/base/ActivityStatus.java', 'android/java/src/org/chromium/base/BuildInfo.java', 'android/java/src/org/chromium/base/CommandLine.java', 'android/java/src/org/chromium/base/ContentUriUtils.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', 'android/java/src/org/chromium/base/JavaHandlerThread.java', 'android/java/src/org/chromium/base/PathService.java', 'android/java/src/org/chromium/base/PathUtils.java', 'android/java/src/org/chromium/base/PowerMonitor.java', 'android/java/src/org/chromium/base/SystemMessageHandler.java', 'android/java/src/org/chromium/base/SysUtils.java', 'android/java/src/org/chromium/base/ThreadUtils.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/base/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
123 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/PowerMonitor.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
124 mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/PowerMonitor.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long

Completed in 229 milliseconds

1 2