Lines Matching refs:status
68 status_t status = remote()->transact(SET_CONFIGURATION, data, &reply); in setConfiguration() local
69 if (status == NO_ERROR) { in setConfiguration()
70 status = (status_t)reply.readInt32(); in setConfiguration()
72 return status; in setConfiguration()
82 status_t status = remote()->transact(GET_CONFIGURATION, data, &reply); in getConfiguration() local
83 if (status == NO_ERROR) { in getConfiguration()
84 status = (status_t)reply.readInt32(); in getConfiguration()
85 if (status == NO_ERROR) { in getConfiguration()
89 return status; in getConfiguration()
97 status_t status = remote()->transact(SET_MUTE, data, &reply); in setMute() local
98 if (status == NO_ERROR) { in setMute()
99 status = (status_t)reply.readInt32(); in setMute()
101 return status; in setMute()
111 status_t status = remote()->transact(GET_MUTE, data, &reply); in getMute() local
112 if (status == NO_ERROR) { in getMute()
113 status = (status_t)reply.readInt32(); in getMute()
114 if (status == NO_ERROR) { in getMute()
119 return status; in getMute()
128 status_t status = remote()->transact(SCAN, data, &reply); in scan() local
129 if (status == NO_ERROR) { in scan()
130 status = (status_t)reply.readInt32(); in scan()
132 return status; in scan()
141 status_t status = remote()->transact(STEP, data, &reply); in step() local
142 if (status == NO_ERROR) { in step()
143 status = (status_t)reply.readInt32(); in step()
145 return status; in step()
154 status_t status = remote()->transact(TUNE, data, &reply); in tune() local
155 if (status == NO_ERROR) { in tune()
156 status = (status_t)reply.readInt32(); in tune()
158 return status; in tune()
165 status_t status = remote()->transact(CANCEL, data, &reply); in cancel() local
166 if (status == NO_ERROR) { in cancel()
167 status = (status_t)reply.readInt32(); in cancel()
169 return status; in cancel()
180 status_t status = remote()->transact(GET_PROGRAM_INFORMATION, data, &reply); in getProgramInformation() local
181 if (status == NO_ERROR) { in getProgramInformation()
182 status = (status_t)reply.readInt32(); in getProgramInformation()
183 if (status == NO_ERROR) { in getProgramInformation()
187 return status; in getProgramInformation()
191 return status; in getProgramInformation()
199 status = radio_metadata_add_metadata(&info->metadata, metadata); in getProgramInformation()
203 return status; in getProgramInformation()
213 status_t status = remote()->transact(HAS_CONTROL, data, &reply); in hasControl() local
214 if (status == NO_ERROR) { in hasControl()
215 status = (status_t)reply.readInt32(); in hasControl()
216 if (status == NO_ERROR) { in hasControl()
220 return status; in hasControl()
242 status_t status = setConfiguration(&config); in onTransact() local
243 reply->writeInt32(status); in onTransact()
249 status_t status = getConfiguration(&config); in onTransact() local
250 reply->writeInt32(status); in onTransact()
251 if (status == NO_ERROR) { in onTransact()
259 status_t status = setMute(mute); in onTransact() local
260 reply->writeInt32(status); in onTransact()
266 status_t status = getMute(&mute); in onTransact() local
267 reply->writeInt32(status); in onTransact()
268 if (status == NO_ERROR) { in onTransact()
277 status_t status = scan(direction, skipSubChannel); in onTransact() local
278 reply->writeInt32(status); in onTransact()
285 status_t status = step(direction, skipSubChannel); in onTransact() local
286 reply->writeInt32(status); in onTransact()
293 status_t status = tune(channel, subChannel); in onTransact() local
294 reply->writeInt32(status); in onTransact()
299 status_t status = cancel(); in onTransact() local
300 reply->writeInt32(status); in onTransact()
307 status_t status = radio_metadata_allocate(&info.metadata, 0, 0); in onTransact() local
308 if (status != NO_ERROR) { in onTransact()
309 return status; in onTransact()
311 status = getProgramInformation(&info); in onTransact()
312 reply->writeInt32(status); in onTransact()
313 if (status == NO_ERROR) { in onTransact()
330 status_t status = hasControl(&control); in onTransact() local
331 reply->writeInt32(status); in onTransact()
332 if (status == NO_ERROR) { in onTransact()