Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DPersistableBundle.cpp72 #define RETURN_IF_FAILED(calledOnce) \ macro
98 RETURN_IF_FAILED(parcel->writeInt32(0)); in writeToParcel()
103 RETURN_IF_FAILED(parcel->writeInt32(1)); // dummy, will hold length in writeToParcel()
104 RETURN_IF_FAILED(parcel->writeInt32(BUNDLE_MAGIC_NATIVE)); in writeToParcel()
107 RETURN_IF_FAILED(writeToParcelInner(parcel)); in writeToParcel()
117 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(length))); in writeToParcel()
324 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(num_entries))); in writeToParcelInner()
327 RETURN_IF_FAILED(parcel->writeString16(key_val_pair.first)); in writeToParcelInner()
328 RETURN_IF_FAILED(parcel->writeInt32(VAL_BOOLEAN)); in writeToParcelInner()
329 RETURN_IF_FAILED(parcel->writeBool(key_val_pair.second)); in writeToParcelInner()
[all …]
DIpPrefix.cpp38 #define RETURN_IF_FAILED(calledOnce) \ macro
62 RETURN_IF_FAILED(parcel->writeByteVector(byte_vector)); in writeToParcel()
63 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(mPrefixLength))); in writeToParcel()
75 RETURN_IF_FAILED(parcel->readByteVector(&byte_vector)); in readFromParcel()
76 RETURN_IF_FAILED(parcel->readInt32(&mPrefixLength)); in readFromParcel()
/frameworks/av/include/media/
DMicrophoneInfo.h29 #define RETURN_IF_FAILED(calledOnce) \ macro
76 RETURN_IF_FAILED(parcel->writeString16(mDeviceId)); in writeToParcel()
77 RETURN_IF_FAILED(parcel->writeInt32(mPortId)); in writeToParcel()
78 RETURN_IF_FAILED(parcel->writeUint32(mType)); in writeToParcel()
79 RETURN_IF_FAILED(parcel->writeString16(mAddress)); in writeToParcel()
80 RETURN_IF_FAILED(parcel->writeInt32(mDeviceLocation)); in writeToParcel()
81 RETURN_IF_FAILED(parcel->writeInt32(mDeviceGroup)); in writeToParcel()
82 RETURN_IF_FAILED(parcel->writeInt32(mIndexInTheGroup)); in writeToParcel()
83 RETURN_IF_FAILED(writeFloatVector(parcel, mGeometricLocation)); in writeToParcel()
84 RETURN_IF_FAILED(writeFloatVector(parcel, mOrientation)); in writeToParcel()
[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(mProperties.writeToParcel(parcel)); in writeToParcel()
69 RETURN_IF_FAILED(mProperties.writeToParcel(parcel)); in writeToParcel()
[all …]