Lines Matching defs:replyID

535 void MediaCodec::PostReplyWithError(const sp<AReplyToken> &replyID, int32_t err) {
544 response->postReply(replyID);
821 sp<AReplyToken> replyID;
822 CHECK(msg->senderAwaitsResponse(&replyID));
823 response->postReply(replyID);
1320 bool MediaCodec::handleDequeueInputBuffer(const sp<AReplyToken> &replyID, bool newRequest) {
1323 PostReplyWithError(replyID, INVALID_OPERATION);
1326 PostReplyWithError(replyID, getStickyError());
1339 response->postReply(replyID);
1344 bool MediaCodec::handleDequeueOutputBuffer(const sp<AReplyToken> &replyID, bool newRequest) {
1347 PostReplyWithError(replyID, INVALID_OPERATION);
1349 PostReplyWithError(replyID, getStickyError());
1351 PostReplyWithError(replyID, INFO_OUTPUT_BUFFERS_CHANGED);
1354 PostReplyWithError(replyID, INFO_FORMAT_CHANGED);
1381 response->postReply(replyID);
1893 sp<AReplyToken> replyID;
1894 CHECK(msg->senderAwaitsResponse(&replyID));
1897 PostReplyWithError(replyID, INVALID_OPERATION);
1901 mReplyID = replyID;
1938 sp<AReplyToken> replyID;
1939 CHECK(msg->senderAwaitsResponse(&replyID));
1947 PostReplyWithError(replyID, INVALID_OPERATION);
1964 response->postReply(replyID);
1970 sp<AReplyToken> replyID;
1971 CHECK(msg->senderAwaitsResponse(&replyID));
1974 PostReplyWithError(replyID, INVALID_OPERATION);
1993 PostReplyWithError(replyID, err);
2000 mReplyID = replyID;
2041 sp<AReplyToken> replyID;
2042 CHECK(msg->senderAwaitsResponse(&replyID));
2092 PostReplyWithError(replyID, err);
2099 sp<AReplyToken> replyID;
2100 CHECK(msg->senderAwaitsResponse(&replyID));
2104 PostReplyWithError(replyID, INVALID_OPERATION);
2108 mReplyID = replyID;
2122 sp<AReplyToken> replyID;
2123 CHECK(msg->senderAwaitsResponse(&replyID));
2132 PostReplyWithError(replyID, OK);
2135 PostReplyWithError(replyID, INVALID_OPERATION);
2139 mReplyID = replyID;
2152 sp<AReplyToken> replyID;
2153 CHECK(msg->senderAwaitsResponse(&replyID));
2159 response->postReply(replyID);
2176 response->postReply(replyID);
2208 response->postReply(replyID);
2227 (new AMessage)->postReply(replyID);
2236 PostReplyWithError(replyID, getStickyError());
2240 mReplyID = replyID;
2257 sp<AReplyToken> replyID;
2258 CHECK(msg->senderAwaitsResponse(&replyID));
2262 PostReplyWithError(replyID, INVALID_OPERATION);
2268 PostReplyWithError(replyID, INVALID_OPERATION);
2272 if (handleDequeueInputBuffer(replyID, true /* new request */)) {
2280 PostReplyWithError(replyID, -EAGAIN);
2285 mDequeueInputReplyID = replyID;
2318 sp<AReplyToken> replyID;
2319 CHECK(msg->senderAwaitsResponse(&replyID));
2322 PostReplyWithError(replyID, INVALID_OPERATION);
2325 PostReplyWithError(replyID, getStickyError());
2331 PostReplyWithError(replyID, err);
2337 sp<AReplyToken> replyID;
2338 CHECK(msg->senderAwaitsResponse(&replyID));
2342 PostReplyWithError(replyID, INVALID_OPERATION);
2346 if (handleDequeueOutputBuffer(replyID, true /* new request */)) {
2354 PostReplyWithError(replyID, -EAGAIN);
2359 mDequeueOutputReplyID = replyID;
2392 sp<AReplyToken> replyID;
2393 CHECK(msg->senderAwaitsResponse(&replyID));
2396 PostReplyWithError(replyID, INVALID_OPERATION);
2399 PostReplyWithError(replyID, getStickyError());
2405 PostReplyWithError(replyID, err);
2411 sp<AReplyToken> replyID;
2412 CHECK(msg->senderAwaitsResponse(&replyID));
2415 PostReplyWithError(replyID, INVALID_OPERATION);
2418 PostReplyWithError(replyID, getStickyError());
2422 mReplyID = replyID;
2429 sp<AReplyToken> replyID;
2430 CHECK(msg->senderAwaitsResponse(&replyID));
2432 PostReplyWithError(replyID, INVALID_OPERATION);
2435 PostReplyWithError(replyID, getStickyError());
2457 (new AMessage)->postReply(replyID);
2463 sp<AReplyToken> replyID;
2464 CHECK(msg->senderAwaitsResponse(&replyID));
2467 PostReplyWithError(replyID, INVALID_OPERATION);
2470 PostReplyWithError(replyID, getStickyError());
2474 mReplyID = replyID;
2489 sp<AReplyToken> replyID;
2490 CHECK(msg->senderAwaitsResponse(&replyID));
2496 PostReplyWithError(replyID, INVALID_OPERATION);
2499 PostReplyWithError(replyID, getStickyError());
2505 response->postReply(replyID);
2526 sp<AReplyToken> replyID;
2527 CHECK(msg->senderAwaitsResponse(&replyID));
2530 PostReplyWithError(replyID, INVALID_OPERATION);
2536 response->postReply(replyID);
2542 sp<AReplyToken> replyID;
2543 CHECK(msg->senderAwaitsResponse(&replyID));
2550 PostReplyWithError(replyID, err);