summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java')
-rw-r--r--core/java/com/android/internal/app/IBatteryStats.aidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/com/android/internal/app/IBatteryStats.aidl b/core/java/com/android/internal/app/IBatteryStats.aidl
index 88ef395..d040d3f 100644
--- a/core/java/com/android/internal/app/IBatteryStats.aidl
+++ b/core/java/com/android/internal/app/IBatteryStats.aidl
@@ -24,8 +24,15 @@ interface IBatteryStats {
byte[] getStatistics();
void noteStartWakelock(int uid, String name, int type);
void noteStopWakelock(int uid, String name, int type);
+
+ /* DO NOT CHANGE the position of noteStartSensor without updating
+ SensorService.cpp */
void noteStartSensor(int uid, int sensor);
+
+ /* DO NOT CHANGE the position of noteStopSensor without updating
+ SensorService.cpp */
void noteStopSensor(int uid, int sensor);
+
void noteStartGps(int uid);
void noteStopGps(int uid);
void noteScreenOn();