Lines Matching defs:AMessage
40 friend struct AMessage;
43 sp<AMessage> mReply;
50 bool retrieveReply(sp<AMessage> *reply) {
58 status_t setReply(const sp<AMessage> &reply);
61 struct AMessage : public RefBase {
62 AMessage();
63 AMessage(uint32_t what, const sp<const AHandler> &handler);
65 // Construct an AMessage from a parcel.
66 // nestingAllowed determines how many levels AMessage can be nested inside
67 // AMessage. The default value here is arbitrarily set to 255.
70 // - an AMessage nested deeper than maxNestingLevel; or
81 // AMessage Message
82 static sp<AMessage> FromParcel(const Parcel &parcel,
85 // Write this AMessage to a parcel.
86 // All items in the AMessage must have types that are recognized by
107 void setMessage(const char *name, const sp<AMessage> &obj);
124 bool findMessage(const char *name, sp<AMessage> *obj) const;
134 status_t postAndAwaitResponse(sp<AMessage> *response);
150 sp<AMessage> dup() const;
153 // an AMessage with the differences.
156 // This is true for AMessages that have no corresponding AMessage equivalent in |other|.
158 // the AMessage (or AMessages if deep is |false|) are returned in new objects.
159 sp<AMessage> changesFrom(const sp<const AMessage> &other, bool deep = false) const;
181 virtual ~AMessage();
233 DISALLOW_EVIL_CONSTRUCTORS(AMessage);