Lines Matching refs:parcel
65 OutputConfiguration::OutputConfiguration(const Parcel& parcel) : in OutputConfiguration() argument
68 readFromParcel(&parcel); in OutputConfiguration()
71 status_t OutputConfiguration::readFromParcel(const Parcel* parcel) { in readFromParcel() argument
75 if (parcel == nullptr) return BAD_VALUE; in readFromParcel()
77 if ((err = parcel->readInt32(&rotation)) != OK) { in readFromParcel()
83 if ((err = parcel->readInt32(&setID)) != OK) { in readFromParcel()
89 if ((err = parcel->readInt32(&surfaceType)) != OK) { in readFromParcel()
95 if ((err = parcel->readInt32(&width)) != OK) { in readFromParcel()
101 if ((err = parcel->readInt32(&height)) != OK) { in readFromParcel()
107 if ((err = surfaceShim.readFromParcel(parcel)) != OK) { in readFromParcel()
141 status_t OutputConfiguration::writeToParcel(Parcel* parcel) const { in writeToParcel()
143 if (parcel == nullptr) return BAD_VALUE; in writeToParcel()
146 err = parcel->writeInt32(mRotation); in writeToParcel()
149 err = parcel->writeInt32(mSurfaceSetID); in writeToParcel()
152 err = parcel->writeInt32(mSurfaceType); in writeToParcel()
155 err = parcel->writeInt32(mWidth); in writeToParcel()
158 err = parcel->writeInt32(mHeight); in writeToParcel()
165 err = surfaceShim.writeToParcel(parcel); in writeToParcel()