Searched refs:RETURN_IF_FAILED (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/binder/
H A DPersistableBundle.cpp70 #define RETURN_IF_FAILED(calledOnce) \ macro
96 RETURN_IF_FAILED(parcel->writeInt32(0));
101 RETURN_IF_FAILED(parcel->writeInt32(1)); // dummy, will hold length
102 RETURN_IF_FAILED(parcel->writeInt32(BUNDLE_MAGIC));
105 RETURN_IF_FAILED(writeToParcelInner(parcel));
115 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(length)));
322 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(num_entries)));
325 RETURN_IF_FAILED(parcel->writeString16(key_val_pair.first));
326 RETURN_IF_FAILED(parcel->writeInt32(VAL_BOOLEAN));
327 RETURN_IF_FAILED(parce
[all...]
H A DIpPrefix.cpp39 #define RETURN_IF_FAILED(calledOnce) \ macro
63 RETURN_IF_FAILED(parcel->writeByteVector(byte_vector));
64 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(mPrefixLength)));
76 RETURN_IF_FAILED(parcel->readByteVector(&byte_vector));
77 RETURN_IF_FAILED(parcel->readInt32(&mPrefixLength));
H A DValue.cpp47 #define RETURN_IF_FAILED(calledOnce) \ macro
311 RETURN_IF_FAILED(parcel->writeInt32(TYPEVAL)); \
312 RETURN_IF_FAILED(parcel->TYPEMETHOD(static_cast<const Content<T>*>(mContent)->mValue)); \
316 RETURN_IF_FAILED(parcel->writeInt32(TYPEVAL)); \
317 RETURN_IF_FAILED(static_cast<const Content<T>*>(mContent)->mValue.writeToParcel(parcel)); \
369 RETURN_IF_FAILED(parcel->TYPEMETHOD(&static_cast<Content<T>*>(mContent)->mValue)); \
374 RETURN_IF_FAILED(static_cast<Content<T>*>(mContent)->mValue.readFromParcel(parcel)); \
384 RETURN_IF_FAILED(parcel->readInt32(&value_type));
/frameworks/av/media/libmedia/
H A DMidiDeviceInfo.cpp49 #define RETURN_IF_FAILED(calledOnce) \ macro
60 RETURN_IF_FAILED(parcel->writeInt32(mType));
61 RETURN_IF_FAILED(parcel->writeInt32(mId));
62 RETURN_IF_FAILED(parcel->writeInt32((int32_t)mInputPortNames.size()));
63 RETURN_IF_FAILED(parcel->writeInt32((int32_t)mOutputPortNames.size()));
64 RETURN_IF_FAILED(writeStringVector(parcel, mInputPortNames));
65 RETURN_IF_FAILED(writeStringVector(parcel, mOutputPortNames));
66 RETURN_IF_FAILED(parcel->writeInt32(mIsPrivate ? 1 : 0));
67 RETURN_IF_FAILED(mProperties.writeToParcel(parcel));
69 RETURN_IF_FAILED(mPropertie
[all...]

Completed in 1445 milliseconds