Lines Matching defs:response
542 sp<AMessage> response;
543 (void) msg->postAndAwaitResponse(&response);
728 sp<AMessage> response = new AMessage;
731 response->postReply(replyID);
843 sp<AMessage> response;
845 status_t err = msg->postAndAwaitResponse(&response);
846 if (err == OK && response != NULL) {
847 CHECK(response->findObject("format", &format));
858 sp<AMessage> response = new AMessage;
860 response->setObject("format", format);
864 response->postReply(replyID);
1015 sp<AMessage> response;
1017 status_t err = msg->postAndAwaitResponse(&response);
1018 if (err == OK && response != NULL) {
1019 CHECK(response->findInt32("index", &index));
1031 sp<AMessage> response = new AMessage;
1033 response->setInt32("index", index);
1037 response->postReply(replyID);
1073 sp<AMessage> response;
1074 status_t err = msg->postAndAwaitResponse(&response);
1075 if (err == OK && response != NULL) {
1076 CHECK(response->findInt32("err", &err));
1089 sp<AMessage> response = new AMessage;
1091 response->setInt32("err", err);
1095 response->postReply(replyID);
1193 sp<AMessage> response;
1194 status_t err = msg->postAndAwaitResponse(&response);
1195 if (err == OK && response != NULL) {
1196 CHECK(response->findInt32("err", &err));
1206 sp<AMessage> response = new AMessage;
1208 response->setInt32("err", err);
1212 response->postReply(replyID);