summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2015-02-18 23:05:27 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-18 23:05:27 +0000
commit1fb8290c1f99e1db96b681e6eaae0193ea81674e (patch)
tree8325cc8242245d4c5c29e8ac13d84fea29b20694 /include
parent8d48bed0f29cf008ddc9e56bb0661f34b8e7c724 (diff)
parenta7c1df10d39a8056ca755ccd77b06816c6de3225 (diff)
downloadframeworks_av-1fb8290c1f99e1db96b681e6eaae0193ea81674e.zip
frameworks_av-1fb8290c1f99e1db96b681e6eaae0193ea81674e.tar.gz
frameworks_av-1fb8290c1f99e1db96b681e6eaae0193ea81674e.tar.bz2
am a7c1df10: am a963dacc: am 64753517: Merge "Add dumpsys info"
* commit 'a7c1df10d39a8056ca755ccd77b06816c6de3225': Add dumpsys info
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/foundation/AHandler.h7
-rw-r--r--include/media/stagefright/foundation/ALooperRoster.h3
2 files changed, 9 insertions, 1 deletions
diff --git a/include/media/stagefright/foundation/AHandler.h b/include/media/stagefright/foundation/AHandler.h
index b008b54..41ade77 100644
--- a/include/media/stagefright/foundation/AHandler.h
+++ b/include/media/stagefright/foundation/AHandler.h
@@ -19,6 +19,7 @@
#define A_HANDLER_H_
#include <media/stagefright/foundation/ALooper.h>
+#include <utils/KeyedVector.h>
#include <utils/RefBase.h>
namespace android {
@@ -27,7 +28,8 @@ struct AMessage;
struct AHandler : public RefBase {
AHandler()
- : mID(0) {
+ : mID(0),
+ mMessageCounter(0) {
}
ALooper::handler_id id() const {
@@ -48,6 +50,9 @@ private:
mID = id;
}
+ uint32_t mMessageCounter;
+ KeyedVector<uint32_t, uint32_t> mMessages;
+
DISALLOW_EVIL_CONSTRUCTORS(AHandler);
};
diff --git a/include/media/stagefright/foundation/ALooperRoster.h b/include/media/stagefright/foundation/ALooperRoster.h
index 4d76b64..a0be8eb 100644
--- a/include/media/stagefright/foundation/ALooperRoster.h
+++ b/include/media/stagefright/foundation/ALooperRoster.h
@@ -20,6 +20,7 @@
#include <media/stagefright/foundation/ALooper.h>
#include <utils/KeyedVector.h>
+#include <utils/String16.h>
namespace android {
@@ -42,6 +43,8 @@ struct ALooperRoster {
sp<ALooper> findLooper(ALooper::handler_id handlerID);
+ void dump(int fd, const Vector<String16>& args);
+
private:
struct HandlerInfo {
wp<ALooper> mLooper;