Lines Matching refs:Content
97 template<typename T> class Value::Content : public Value::ContentBase { class in android::binder::Value
99 Content() = default;
100 Content(const T & value) : mValue(value) { } in Content() function in android::binder::Value::Content
102 virtual ~Content() = default;
118 return new Content(mValue); in clone()
126 return mValue == static_cast<const Content<T>* >(&rhs)->mValue; in operator ==()
139 *out = static_cast<const Content<T>*>(this)->mValue; in get()
258 mContent = new Content< T >(rhs); \
262 : mContent(new Content< T >(value)) \
314 RETURN_IF_FAILED(parcel->TYPEMETHOD(static_cast<const Content<T>*>(mContent)->mValue)); \ in writeToParcel()
319 RETURN_IF_FAILED(static_cast<const Content<T>*>(mContent)->mValue.writeToParcel(parcel)); \ in writeToParcel()
370 mContent = new Content<T>(); \ in readFromParcel()
371 RETURN_IF_FAILED(parcel->TYPEMETHOD(&static_cast<Content<T>*>(mContent)->mValue)); \ in readFromParcel()
375 mContent = new Content<T>(); \ in readFromParcel()
376 RETURN_IF_FAILED(static_cast<Content<T>*>(mContent)->mValue.readFromParcel(parcel)); \ in readFromParcel()