Lines Matching refs:err
69 status_t err; in writeToParcel() local
71 err = out->writeString16(mTag); in writeToParcel()
72 if (err != NO_ERROR) { in writeToParcel()
73 return err; in writeToParcel()
76 err = out->writeInt64(mTimeMillis); in writeToParcel()
77 if (err != NO_ERROR) { in writeToParcel()
78 return err; in writeToParcel()
82 err = out->writeInt32(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be safe in writeToParcel()
83 if (err != NO_ERROR) { in writeToParcel()
84 return err; in writeToParcel()
87 err = out->writeParcelFileDescriptor(mFd); in writeToParcel()
88 if (err != NO_ERROR) { in writeToParcel()
89 return err; in writeToParcel()
92 err = out->writeInt32(mFlags | HAS_BYTE_ARRAY); in writeToParcel()
93 if (err != NO_ERROR) { in writeToParcel()
94 return err; in writeToParcel()
96 err = out->writeByteVector(mData); in writeToParcel()
97 if (err != NO_ERROR) { in writeToParcel()
98 return err; in writeToParcel()
107 status_t err; in readFromParcel() local
109 err = in->readString16(&mTag); in readFromParcel()
110 if (err != NO_ERROR) { in readFromParcel()
111 return err; in readFromParcel()
114 err = in->readInt64(&mTimeMillis); in readFromParcel()
115 if (err != NO_ERROR) { in readFromParcel()
116 return err; in readFromParcel()
119 err = in->readInt32(&mFlags); in readFromParcel()
120 if (err != NO_ERROR) { in readFromParcel()
121 return err; in readFromParcel()
125 err = in->readByteVector(&mData); in readFromParcel()
126 if (err != NO_ERROR) { in readFromParcel()
127 return err; in readFromParcel()