Lines Matching refs:parcel

75     virtual status_t writeToParcel(Parcel* parcel) const {  in writeToParcel()  argument
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()
89 RETURN_IF_FAILED(parcel->writeInt32(mFrequencyResponses[i].size())); in writeToParcel()
90 RETURN_IF_FAILED(writeFloatVector(parcel, mFrequencyResponses[i])); in writeToParcel()
96 RETURN_IF_FAILED(parcel->writeInt32Vector(channelMapping)); in writeToParcel()
97 RETURN_IF_FAILED(parcel->writeFloat(mSensitivity)); in writeToParcel()
98 RETURN_IF_FAILED(parcel->writeFloat(mMaxSpl)); in writeToParcel()
99 RETURN_IF_FAILED(parcel->writeFloat(mMinSpl)); in writeToParcel()
100 RETURN_IF_FAILED(parcel->writeInt32(mDirectionality)); in writeToParcel()
104 virtual status_t readFromParcel(const Parcel* parcel) { in readFromParcel() argument
105 RETURN_IF_FAILED(parcel->readString16(&mDeviceId)); in readFromParcel()
106 RETURN_IF_FAILED(parcel->readInt32(&mPortId)); in readFromParcel()
107 RETURN_IF_FAILED(parcel->readUint32(&mType)); in readFromParcel()
108 RETURN_IF_FAILED(parcel->readString16(&mAddress)); in readFromParcel()
109 RETURN_IF_FAILED(parcel->readInt32(&mDeviceLocation)); in readFromParcel()
110 RETURN_IF_FAILED(parcel->readInt32(&mDeviceGroup)); in readFromParcel()
111 RETURN_IF_FAILED(parcel->readInt32(&mIndexInTheGroup)); in readFromParcel()
112 RETURN_IF_FAILED(readFloatVector(parcel, &mGeometricLocation, 3)); in readFromParcel()
113 RETURN_IF_FAILED(readFloatVector(parcel, &mOrientation, 3)); in readFromParcel()
115 RETURN_IF_FAILED(parcel->readInt32(&frequenciesNum)); in readFromParcel()
117 RETURN_IF_FAILED(readFloatVector(parcel, &frequencies, frequenciesNum)); in readFromParcel()
119 RETURN_IF_FAILED(parcel->readInt32(&responsesNum)); in readFromParcel()
121 RETURN_IF_FAILED(readFloatVector(parcel, &responses, responsesNum)); in readFromParcel()
128 status_t result = parcel->readInt32Vector(&channelMapping); in readFromParcel()
138 RETURN_IF_FAILED(parcel->readFloat(&mSensitivity)); in readFromParcel()
139 RETURN_IF_FAILED(parcel->readFloat(&mMaxSpl)); in readFromParcel()
140 RETURN_IF_FAILED(parcel->readFloat(&mMinSpl)); in readFromParcel()
141 RETURN_IF_FAILED(parcel->readInt32(&mDirectionality)); in readFromParcel()
207 const Parcel* parcel, Vector<float> *vectorPtr, size_t defaultLength) { in readFloatVector() argument
209 status_t result = parcel->readFloatVector(&v); in readFloatVector()
221 status_t writeFloatVector(Parcel* parcel, const Vector<float>& vector) const { in writeFloatVector() argument
226 return parcel->writeFloatVector(v); in writeFloatVector()