Home
last modified time | relevance | path

Searched refs:RETURN_IF_FAILED (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/
DPersistableBundle.cpp76 #define RETURN_IF_FAILED(calledOnce) \ macro
101 RETURN_IF_FAILED(parcel->writeInt32(0)); in writeToParcel()
106 RETURN_IF_FAILED(parcel->writeInt32(1)); // dummy, will hold length in writeToParcel()
107 RETURN_IF_FAILED(parcel->writeInt32(BUNDLE_MAGIC_NATIVE)); in writeToParcel()
110 RETURN_IF_FAILED(writeToParcelInner(parcel)); in writeToParcel()
120 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(length))); in writeToParcel()
327 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(num_entries))); in writeToParcelInner()
330 RETURN_IF_FAILED(parcel->writeString16(key_val_pair.first)); in writeToParcelInner()
331 RETURN_IF_FAILED(parcel->writeInt32(VAL_BOOLEAN)); in writeToParcelInner()
332 RETURN_IF_FAILED(parcel->writeBool(key_val_pair.second)); in writeToParcelInner()
[all …]
/frameworks/base/media/native/midi/
DMidiDeviceInfo.cpp49 #define RETURN_IF_FAILED(calledOnce) \ macro
60 RETURN_IF_FAILED(parcel->writeInt32(mType)); in writeToParcel()
61 RETURN_IF_FAILED(parcel->writeInt32(mId)); in writeToParcel()
62 RETURN_IF_FAILED(parcel->writeInt32((int32_t)mInputPortNames.size())); in writeToParcel()
63 RETURN_IF_FAILED(parcel->writeInt32((int32_t)mOutputPortNames.size())); in writeToParcel()
64 RETURN_IF_FAILED(writeStringVector(parcel, mInputPortNames)); in writeToParcel()
65 RETURN_IF_FAILED(writeStringVector(parcel, mOutputPortNames)); in writeToParcel()
66 RETURN_IF_FAILED(parcel->writeInt32(mIsPrivate ? 1 : 0)); in writeToParcel()
67 RETURN_IF_FAILED(parcel->writeInt32(mDefaultProtocol)); in writeToParcel()
68 RETURN_IF_FAILED(mProperties.writeToParcel(parcel)); in writeToParcel()
[all …]