Searched defs:replyToken (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp236 status_t ALooper::awaitResponse(const sp<AReplyToken> &replyToken, sp<AMessage> *response) { argument
239 CHECK(replyToken != NULL);
240 while (!replyToken->retrieveReply(response)) {
252 status_t ALooper::postReply(const sp<AReplyToken> &replyToken, const sp<AMessage> &reply) { argument
254 status_t err = replyToken->setReply(reply);
H A DAMessage.cpp433 status_t AMessage::postReply(const sp<AReplyToken> &replyToken) { argument
434 if (replyToken == NULL) {
438 sp<ALooper> looper = replyToken->getLooper();
443 return looper->postReply(replyToken, this);
446 bool AMessage::senderAwaitsResponse(sp<AReplyToken> *replyToken) { argument
454 *replyToken = static_cast<AReplyToken *>(tmp.get());
459 return *replyToken != NULL;

Completed in 331 milliseconds