Lines Matching refs:err
43 status_t err = OK; in readFromParcel() local
46 if ((err = parcel->readInt32(&cameraIdCount)) != OK) { in readFromParcel()
47 ALOGE("%s: Failed to read the camera id count from parcel: %d", __FUNCTION__, err); in readFromParcel()
48 return err; in readFromParcel()
52 if ((err = parcel->readString16(&id)) != OK) { in readFromParcel()
54 return err; in readFromParcel()
68 status_t err = OK; in writeToParcel() local
70 if ((err = parcel->writeInt32(mConcurrentCameraIds.size())) != OK) { in writeToParcel()
71 ALOGE("%s: Failed to write the camera id count to parcel: %d", __FUNCTION__, err); in writeToParcel()
72 return err; in writeToParcel()
76 if ((err = parcel->writeString16(String16(it.c_str()))) != OK) { in writeToParcel()
77 ALOGE("%s: Failed to write the camera id string to parcel: %d", __FUNCTION__, err); in writeToParcel()
78 return err; in writeToParcel()
92 status_t err = OK; in readFromParcel() local
94 if ((err = parcel->readString16(&id)) != OK) { in readFromParcel()
96 return err; in readFromParcel()
98 if ((err = mSessionConfiguration.readFromParcel(parcel)) != OK) { in readFromParcel()
100 return err; in readFromParcel()
113 status_t err = OK; in writeToParcel() local
114 if ((err = parcel->writeString16(String16(mCameraId.c_str()))) != OK) { in writeToParcel()
116 return err; in writeToParcel()
119 if ((err = mSessionConfiguration.writeToParcel(parcel) != OK)) { in writeToParcel()
121 return err; in writeToParcel()