Lines Matching refs:status

42     status_t status;  in writeToParcel()  local
44 status = parcel->writeInt32(getDeviceId()); in writeToParcel()
45 if (status != NO_ERROR) goto error; in writeToParcel()
46 status = parcel->writeInt32(getSampleRate()); in writeToParcel()
47 if (status != NO_ERROR) goto error; in writeToParcel()
48 status = parcel->writeInt32(getSamplesPerFrame()); in writeToParcel()
49 if (status != NO_ERROR) goto error; in writeToParcel()
50 status = parcel->writeInt32((int32_t) getSharingMode()); in writeToParcel()
51 if (status != NO_ERROR) goto error; in writeToParcel()
52 status = parcel->writeInt32((int32_t) getFormat()); in writeToParcel()
53 if (status != NO_ERROR) goto error; in writeToParcel()
55 status = parcel->writeInt32((int32_t) getDirection()); in writeToParcel()
56 if (status != NO_ERROR) goto error; in writeToParcel()
57 status = parcel->writeInt32(getBufferCapacity()); in writeToParcel()
58 if (status != NO_ERROR) goto error; in writeToParcel()
59 status = parcel->writeInt32((int32_t) getUsage()); in writeToParcel()
60 if (status != NO_ERROR) goto error; in writeToParcel()
61 status = parcel->writeInt32((int32_t) getContentType()); in writeToParcel()
62 if (status != NO_ERROR) goto error; in writeToParcel()
63 status = parcel->writeInt32((int32_t) getInputPreset()); in writeToParcel()
64 if (status != NO_ERROR) goto error; in writeToParcel()
65 status = parcel->writeInt32((int32_t) getAllowedCapturePolicy()); in writeToParcel()
66 if (status != NO_ERROR) goto error; in writeToParcel()
67 status = parcel->writeInt32(getSessionId()); in writeToParcel()
68 if (status != NO_ERROR) goto error; in writeToParcel()
69 status = parcel->writeInt32(isPrivacySensitive() ? 1 : 0); in writeToParcel()
70 if (status != NO_ERROR) goto error; in writeToParcel()
73 ALOGE("%s(): write failed = %d", __func__, status); in writeToParcel()
74 return status; in writeToParcel()
79 status_t status = parcel->readInt32(&value); in readFromParcel() local
80 if (status != NO_ERROR) goto error; in readFromParcel()
82 status = parcel->readInt32(&value); in readFromParcel()
83 if (status != NO_ERROR) goto error; in readFromParcel()
85 status = parcel->readInt32(&value); in readFromParcel()
86 if (status != NO_ERROR) goto error; in readFromParcel()
88 status = parcel->readInt32(&value); in readFromParcel()
89 if (status != NO_ERROR) goto error; in readFromParcel()
91 status = parcel->readInt32(&value); in readFromParcel()
92 if (status != NO_ERROR) goto error; in readFromParcel()
95 status = parcel->readInt32(&value); in readFromParcel()
96 if (status != NO_ERROR) goto error; in readFromParcel()
98 status = parcel->readInt32(&value); in readFromParcel()
99 if (status != NO_ERROR) goto error; in readFromParcel()
101 status = parcel->readInt32(&value); in readFromParcel()
102 if (status != NO_ERROR) goto error; in readFromParcel()
104 status = parcel->readInt32(&value); in readFromParcel()
105 if (status != NO_ERROR) goto error; in readFromParcel()
107 status = parcel->readInt32(&value); in readFromParcel()
108 if (status != NO_ERROR) goto error; in readFromParcel()
110 status = parcel->readInt32(&value); in readFromParcel()
111 if (status != NO_ERROR) goto error; in readFromParcel()
113 status = parcel->readInt32(&value); in readFromParcel()
114 if (status != NO_ERROR) goto error; in readFromParcel()
116 status = parcel->readInt32(&value); in readFromParcel()
117 if (status != NO_ERROR) goto error; in readFromParcel()
121 ALOGE("%s(): read failed = %d", __func__, status); in readFromParcel()
122 return status; in readFromParcel()