summaryrefslogtreecommitdiffstats
path: root/healthd/BatteryPropertiesRegistrar.h
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2013-09-18 20:09:33 -0700
committerTodd Poynor <toddpoynor@google.com>2013-10-22 16:32:54 -0700
commit020369d8724eff2b87350e54e157a609846166e4 (patch)
tree57eed3999a23125cfc1666b4c1c6305b36f10bb3 /healthd/BatteryPropertiesRegistrar.h
parent6dcc45ed6dd455d82ecfb3addf247125846f3019 (diff)
downloadcore-020369d8724eff2b87350e54e157a609846166e4.tar.gz
core-020369d8724eff2b87350e54e157a609846166e4.tar.bz2
core-020369d8724eff2b87350e54e157a609846166e4.zip
healthd: BatteryService dumpstate support
Change-Id: Ia6938b7126751801310632c995af0f96e41f5f64
Diffstat (limited to 'healthd/BatteryPropertiesRegistrar.h')
-rw-r--r--healthd/BatteryPropertiesRegistrar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/healthd/BatteryPropertiesRegistrar.h b/healthd/BatteryPropertiesRegistrar.h
index 3e86fdf17..88538744d 100644
--- a/healthd/BatteryPropertiesRegistrar.h
+++ b/healthd/BatteryPropertiesRegistrar.h
@@ -19,6 +19,7 @@
#include <binder/IBinder.h>
#include <utils/Mutex.h>
+#include <utils/String16.h>
#include <utils/Vector.h>
#include <batteryservice/BatteryService.h>
#include <batteryservice/IBatteryPropertiesListener.h>
@@ -39,6 +40,7 @@ private:
void registerListener(const sp<IBatteryPropertiesListener>& listener);
void unregisterListener(const sp<IBatteryPropertiesListener>& listener);
status_t getProperty(int id, struct BatteryProperty *val);
+ status_t dump(int fd, const Vector<String16>& args);
void binderDied(const wp<IBinder>& who);
};