summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2014-07-23 14:47:00 -0700
committerChong Zhang <chz@google.com>2014-07-23 21:51:56 +0000
commit2cbba477bea136698944ece498115dbddd7bb659 (patch)
treedc6d44820c96b69e157f376d3ae02d0012640a66 /include/binder
parent45e695a248ab9548c1e8ab976572f7a978ecd64b (diff)
downloadframeworks_native-2cbba477bea136698944ece498115dbddd7bb659.zip
frameworks_native-2cbba477bea136698944ece498115dbddd7bb659.tar.gz
frameworks_native-2cbba477bea136698944ece498115dbddd7bb659.tar.bz2
add noteResetVideo/Audio to IBatteryStats
Bug: 12979595 Change-Id: Ida474e539a3af0a85ec157a66bbf986430c8020e
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/IBatteryStats.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/binder/IBatteryStats.h b/include/binder/IBatteryStats.h
index ff3de24..7ddac57 100644
--- a/include/binder/IBatteryStats.h
+++ b/include/binder/IBatteryStats.h
@@ -34,6 +34,8 @@ public:
virtual void noteStopVideo(int uid) = 0;
virtual void noteStartAudio(int uid) = 0;
virtual void noteStopAudio(int uid) = 0;
+ virtual void noteResetVideo() = 0;
+ virtual void noteResetAudio() = 0;
enum {
NOTE_START_SENSOR_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION,
@@ -42,6 +44,8 @@ public:
NOTE_STOP_VIDEO_TRANSACTION,
NOTE_START_AUDIO_TRANSACTION,
NOTE_STOP_AUDIO_TRANSACTION,
+ NOTE_RESET_VIDEO_TRANSACTION,
+ NOTE_RESET_AUDIO_TRANSACTION,
};
};