Lines Matching refs:AMessage

44 status_t AReplyToken::setReply(const sp<AMessage> &reply) {  in setReply()
55 AMessage::AMessage(void) in AMessage() function in android::AMessage
60 AMessage::AMessage(uint32_t what, const sp<const AHandler> &handler) in AMessage() function in android::AMessage
65 AMessage::~AMessage() { in ~AMessage()
69 void AMessage::setWhat(uint32_t what) { in setWhat()
73 uint32_t AMessage::what() const { in what()
77 void AMessage::setTarget(const sp<const AHandler> &handler) { in setTarget()
89 void AMessage::clear() { in clear()
99 void AMessage::freeItemValue(Item *item) { in freeItemValue()
153 inline size_t AMessage::findItemIndex(const char *name, size_t len) const { in findItemIndex()
183 void AMessage::Item::setName(const char *name, size_t len) { in setName()
189 AMessage::Item::Item(const char *name, size_t len) in Item()
195 AMessage::Item *AMessage::allocateItem(const char *name) { in allocateItem()
214 const AMessage::Item *AMessage::findItem( in findItem()
225 bool AMessage::findAsFloat(const char *name, float *value) const { in findAsFloat()
252 bool AMessage::findAsInt64(const char *name, int64_t *value) const { in findAsInt64()
270 bool AMessage::contains(const char *name) const { in contains()
276 void AMessage::set##NAME(const char *name, TYPENAME value) { \
285 bool AMessage::find##NAME(const char *name, TYPENAME *value) const { /* NOLINT */ \
303 void AMessage::setString( in BASIC_TYPE()
312 void AMessage::setString( in setString()
317 void AMessage::setObjectInternal( in setObjectInternal()
328 void AMessage::setObject(const char *name, const sp<RefBase> &obj) { in setObject()
332 void AMessage::setBuffer(const char *name, const sp<ABuffer> &buffer) { in setBuffer()
336 void AMessage::setMessage(const char *name, const sp<AMessage> &obj) { in setMessage()
346 void AMessage::setRect( in setRect()
360 bool AMessage::findString(const char *name, AString *value) const { in findString()
369 bool AMessage::findObject(const char *name, sp<RefBase> *obj) const { in findObject()
378 bool AMessage::findBuffer(const char *name, sp<ABuffer> *buf) const { in findBuffer()
387 bool AMessage::findMessage(const char *name, sp<AMessage> *obj) const { in findMessage()
390 *obj = static_cast<AMessage *>(item->u.refValue); in findMessage()
396 bool AMessage::findRect( in findRect()
412 void AMessage::deliver() { in deliver()
422 status_t AMessage::post(int64_t delayUs) { in post()
433 status_t AMessage::postUnique(const sp<RefBase> &token, int64_t delayUs) { in postUnique()
444 status_t AMessage::postAndAwaitResponse(sp<AMessage> *response) { in postAndAwaitResponse()
462 status_t AMessage::postReply(const sp<AReplyToken> &replyToken) { in postReply()
475 bool AMessage::senderAwaitsResponse(sp<AReplyToken> *replyToken) { in senderAwaitsResponse()
491 sp<AMessage> AMessage::dup() const { in dup()
492 sp<AMessage> msg = new AMessage(mWhat, mHandler.promote()); in dup()
529 sp<AMessage> copy = in dup()
530 static_cast<AMessage *>(from->u.refValue)->dup(); in dup()
565 AString AMessage::debugString(int32_t indent) const { in debugString()
644 static_cast<AMessage *>( in debugString()
675 sp<AMessage> AMessage::FromParcel(const Parcel &parcel, size_t maxNestingLevel) { in FromParcel()
677 sp<AMessage> msg = new AMessage(); in FromParcel()
752 sp<AMessage> subMsg = AMessage::FromParcel( in FromParcel()
780 void AMessage::writeToParcel(Parcel *parcel) const { in writeToParcel()
827 static_cast<AMessage *>(item.u.refValue)->writeToParcel(parcel); in writeToParcel()
841 sp<AMessage> AMessage::changesFrom(const sp<const AMessage> &other, bool deep) const { in changesFrom()
843 return const_cast<AMessage*>(this); in changesFrom()
846 sp<AMessage> diff = new AMessage; in changesFrom()
928 sp<AMessage> myMsg = static_cast<AMessage *>(item.u.refValue); in changesFrom()
935 sp<AMessage> oMsg = in changesFrom()
936 oitem == NULL ? NULL : static_cast<AMessage *>(oitem->u.refValue); in changesFrom()
937 sp<AMessage> changes = myMsg->changesFrom(oMsg, deep); in changesFrom()
960 size_t AMessage::countEntries() const { in countEntries()
965 size_t AMessage::maxAllowedEntries() { in maxAllowedEntries()
969 const char *AMessage::getEntryNameAt(size_t index, Type *type) const { in getEntryNameAt()
981 AMessage::ItemData AMessage::getEntryAt(size_t index) const { in getEntryAt()
999 sp<AMessage> msg = static_cast<AMessage *>(mItems[index].u.refValue); in getEntryAt()
1015 status_t AMessage::setEntryNameAt(size_t index, const char *name) { in setEntryNameAt()
1035 status_t AMessage::setEntryAt(size_t index, const ItemData &item) { in setEntryAt()
1038 sp<AMessage> msgValue; in setEntryAt()
1089 status_t AMessage::removeEntryAt(size_t index) { in removeEntryAt()
1109 status_t AMessage::removeEntryByName(const char *name) { in removeEntryByName()
1120 void AMessage::setItem(const char *name, const ItemData &item) { in setItem()
1129 AMessage::ItemData AMessage::findItem(const char *name) const { in findItem()
1133 void AMessage::extend(const sp<AMessage> &other) { in extend()
1148 size_t AMessage::findEntryByName(const char *name) const { in findEntryByName()