Lines Matching refs:msg
57 BMessage msg;
58 msg.AddString("notify_title", fTitle);
59 msg.AddInt32("notify_type", (int32)fType);
60 msg.AddInt32("notify_lastreceived", (int32)fLastReceived);
61 msg.AddBool("notify_enabled", fEnabled);
63 if (numBytes < msg.FlattenedSize())
66 return msg.Flatten((char*)buffer, numBytes);
73 BMessage msg;
74 msg.AddString("notify_title", fTitle);
75 msg.AddInt32("notify_type", (int32)fType);
76 msg.AddInt32("notify_lastreceived", (int32)fLastReceived);
77 msg.AddBool("notify_enabled", fEnabled);
79 return msg.FlattenedSize();
104 BMessage msg;
105 status_t error = msg.Unflatten((const char*)buffer);
108 msg.FindString("notify_title", &fTitle);
109 msg.FindInt32("notify_type", (int32 *)&fType);
110 msg.FindInt32("notify_lastreceived", (int32 *)&fLastReceived);
111 msg.FindBool("notify_enabled", &fEnabled);