Home
last modified time | relevance | path

Searched refs:mParcelable (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DParcelableHolder.java77 private Parcelable mParcelable; field in ParcelableHolder
137 mParcelable = p; in setParcelable()
155 if (mParcelable != null && !clazz.isInstance(mParcelable)) { in getParcelable()
157 "The ParcelableHolder has " + mParcelable.getClass().getName() in getParcelable()
160 return (T) mParcelable; in getParcelable()
171 mParcelable = parcelable; in getParcelable()
188 mParcelable = null; in readFromParcel()
221 if (mParcelable == null) { in writeToParcel()
229 parcel.writeParcelable(mParcelable, 0); in writeToParcel()
242 if (mParcelable != null) { in describeContents()
[all …]
/frameworks/native/libs/binder/include/binder/
DParcelableHolder.h37 mParcelable = other.mParcelable; in ParcelableHolder()
51 this->mParcelable = nullptr; in reset()
68 this->mParcelable = p; in setParcelable()
79 if (!this->mParcelable || !this->mParcelableName) { in getParcelable()
89 *ret = std::static_pointer_cast<T>(mParcelable); in getParcelable()
99 this->mParcelable = std::make_shared<T>(); in getParcelable()
100 status = mParcelable.get()->readFromParcel(this->mParcelPtr.get()); in getParcelable()
103 this->mParcelable = nullptr; in getParcelable()
108 *ret = std::static_pointer_cast<T>(mParcelable); in getParcelable()
134 mutable std::shared_ptr<Parcelable> mParcelable;
/frameworks/native/libs/binder/
DParcelableHolder.cpp36 if (this->mParcelable) { in writeToParcel()
41 this->mParcelable->writeToParcel(p); in writeToParcel()
59 this->mParcelable = nullptr; in readFromParcel()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.h279 : AAudioCommandParam(), mParcelable(parcelable) { } in GetDescriptionParam()
282 AudioEndpointParcelable* mParcelable; variable
328 : AAudioCommandParam(), mParcelable(parcelable) { } in ExitStandbyParam()
331 AudioEndpointParcelable* mParcelable; variable
DAAudioServiceStreamBase.cpp496 : getDescription_l(param->mParcelable); in run()
502 : exitStandby_l(param->mParcelable); in run()