Lines Matching refs:obj
259 const char *name, const sp<RefBase> &obj, Type type) {
263 if (obj != NULL) { obj->incStrong(this); }
264 item->u.refValue = obj.get();
267 void AMessage::setObject(const char *name, const sp<RefBase> &obj) {
268 setObjectInternal(name, obj, kTypeObject);
275 void AMessage::setMessage(const char *name, const sp<AMessage> &obj) {
279 if (obj != NULL) { obj->incStrong(this); }
280 item->u.refValue = obj.get();
304 bool AMessage::findObject(const char *name, sp<RefBase> *obj) const {
307 *obj = item->u.refValue;
322 bool AMessage::findMessage(const char *name, sp<AMessage> *obj) const {
325 *obj = static_cast<AMessage *>(item->u.refValue);