summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/foundation/ALooperRoster.cpp
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-03-04 16:51:05 -0800
committerLajos Molnar <lajos@google.com>2015-03-05 17:49:51 -0800
commitfa8b4792228083a4c95e8bd1c28690d44bb48bd6 (patch)
tree5f521f522d653c8a550ccb73389103a886583728 /media/libstagefright/foundation/ALooperRoster.cpp
parent1d15ab58bf8239069ef343de6cb21aabf3ef7d78 (diff)
downloadframeworks_av-fa8b4792228083a4c95e8bd1c28690d44bb48bd6.zip
frameworks_av-fa8b4792228083a4c95e8bd1c28690d44bb48bd6.tar.gz
frameworks_av-fa8b4792228083a4c95e8bd1c28690d44bb48bd6.tar.bz2
stagefright: remove AMessage methods using id()
Bug: 19607784 Change-Id: I4b2ca396fb50cde5e7dc9801add69037febe698d
Diffstat (limited to 'media/libstagefright/foundation/ALooperRoster.cpp')
-rw-r--r--media/libstagefright/foundation/ALooperRoster.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/media/libstagefright/foundation/ALooperRoster.cpp b/media/libstagefright/foundation/ALooperRoster.cpp
index 3484579..c4e6788 100644
--- a/media/libstagefright/foundation/ALooperRoster.cpp
+++ b/media/libstagefright/foundation/ALooperRoster.cpp
@@ -100,22 +100,6 @@ void ALooperRoster::unregisterStaleHandlers() {
}
}
-void ALooperRoster::getHandlerAndLooper(
- ALooper::handler_id handlerID, wp<AHandler> *handler, wp<ALooper> *looper) {
- Mutex::Autolock autoLock(mLock);
-
- ssize_t index = mHandlers.indexOfKey(handlerID);
-
- if (index < 0) {
- handler->clear();
- looper->clear();
- return;
- }
-
- *handler = mHandlers.valueAt(index).mHandler;
- *looper = mHandlers.valueAt(index).mLooper;
-}
-
status_t ALooperRoster::postAndAwaitResponse(
const sp<AMessage> &msg, sp<AMessage> *response) {
Mutex::Autolock autoLock(mLock);