Lines Matching refs:replyID
176 void MediaCodec::PostReplyWithError(int32_t replyID, int32_t err) {
179 response->postReply(replyID);
643 bool MediaCodec::handleDequeueInputBuffer(uint32_t replyID, bool newRequest) {
646 PostReplyWithError(replyID, INVALID_OPERATION);
649 PostReplyWithError(replyID, getStickyError());
662 response->postReply(replyID);
667 bool MediaCodec::handleDequeueOutputBuffer(uint32_t replyID, bool newRequest) {
718 response->postReply(replyID);
1191 uint32_t replyID;
1192 CHECK(msg->senderAwaitsResponse(&replyID));
1195 PostReplyWithError(replyID, INVALID_OPERATION);
1199 mReplyID = replyID;
1227 uint32_t replyID;
1228 CHECK(msg->senderAwaitsResponse(&replyID));
1236 PostReplyWithError(replyID, INVALID_OPERATION);
1253 response->postReply(replyID);
1259 uint32_t replyID;
1260 CHECK(msg->senderAwaitsResponse(&replyID));
1263 PostReplyWithError(replyID, INVALID_OPERATION);
1283 PostReplyWithError(replyID, err);
1290 mReplyID = replyID;
1316 uint32_t replyID;
1317 CHECK(msg->senderAwaitsResponse(&replyID));
1321 PostReplyWithError(replyID, INVALID_OPERATION);
1325 mReplyID = replyID;
1332 uint32_t replyID;
1333 CHECK(msg->senderAwaitsResponse(&replyID));
1338 PostReplyWithError(replyID, OK);
1341 PostReplyWithError(replyID, INVALID_OPERATION);
1345 mReplyID = replyID;
1358 uint32_t replyID;
1359 CHECK(msg->senderAwaitsResponse(&replyID));
1379 response->postReply(replyID);
1390 (new AMessage)->postReply(replyID);
1394 mReplyID = replyID;
1406 uint32_t replyID;
1407 CHECK(msg->senderAwaitsResponse(&replyID));
1411 PostReplyWithError(replyID, INVALID_OPERATION);
1417 PostReplyWithError(replyID, INVALID_OPERATION);
1421 if (handleDequeueInputBuffer(replyID, true /* new request */)) {
1429 PostReplyWithError(replyID, -EAGAIN);
1434 mDequeueInputReplyID = replyID;
1467 uint32_t replyID;
1468 CHECK(msg->senderAwaitsResponse(&replyID));
1471 PostReplyWithError(replyID, INVALID_OPERATION);
1474 PostReplyWithError(replyID, getStickyError());
1480 PostReplyWithError(replyID, err);
1486 uint32_t replyID;
1487 CHECK(msg->senderAwaitsResponse(&replyID));
1491 PostReplyWithError(replyID, INVALID_OPERATION);
1495 if (handleDequeueOutputBuffer(replyID, true /* new request */)) {
1503 PostReplyWithError(replyID, -EAGAIN);
1508 mDequeueOutputReplyID = replyID;
1541 uint32_t replyID;
1542 CHECK(msg->senderAwaitsResponse(&replyID));
1545 PostReplyWithError(replyID, INVALID_OPERATION);
1548 PostReplyWithError(replyID, getStickyError());
1554 PostReplyWithError(replyID, err);
1560 uint32_t replyID;
1561 CHECK(msg->senderAwaitsResponse(&replyID));
1564 PostReplyWithError(replyID, INVALID_OPERATION);
1567 PostReplyWithError(replyID, getStickyError());
1571 mReplyID = replyID;
1578 uint32_t replyID;
1579 CHECK(msg->senderAwaitsResponse(&replyID));
1582 PostReplyWithError(replyID, INVALID_OPERATION);
1585 PostReplyWithError(replyID, getStickyError());
1606 (new AMessage)->postReply(replyID);
1612 uint32_t replyID;
1613 CHECK(msg->senderAwaitsResponse(&replyID));
1616 PostReplyWithError(replyID, INVALID_OPERATION);
1619 PostReplyWithError(replyID, getStickyError());
1623 mReplyID = replyID;
1638 uint32_t replyID;
1639 CHECK(msg->senderAwaitsResponse(&replyID));
1645 PostReplyWithError(replyID, INVALID_OPERATION);
1648 PostReplyWithError(replyID, getStickyError());
1654 response->postReply(replyID);
1675 uint32_t replyID;
1676 CHECK(msg->senderAwaitsResponse(&replyID));
1679 PostReplyWithError(replyID, INVALID_OPERATION);
1685 response->postReply(replyID);
1691 uint32_t replyID;
1692 CHECK(msg->senderAwaitsResponse(&replyID));
1699 PostReplyWithError(replyID, err);