Lines Matching refs:status

69         status_t status = remote()->transact(SET_CONFIGURATION, data, &reply);
70 if (status == NO_ERROR) {
71 status = (status_t)reply.readInt32();
73 return status;
83 status_t status = remote()->transact(GET_CONFIGURATION, data, &reply);
84 if (status == NO_ERROR) {
85 status = (status_t)reply.readInt32();
86 if (status == NO_ERROR) {
90 return status;
98 status_t status = remote()->transact(SET_MUTE, data, &reply);
99 if (status == NO_ERROR) {
100 status = (status_t)reply.readInt32();
102 return status;
112 status_t status = remote()->transact(GET_MUTE, data, &reply);
113 if (status == NO_ERROR) {
114 status = (status_t)reply.readInt32();
115 if (status == NO_ERROR) {
120 return status;
129 status_t status = remote()->transact(SCAN, data, &reply);
130 if (status == NO_ERROR) {
131 status = (status_t)reply.readInt32();
133 return status;
142 status_t status = remote()->transact(STEP, data, &reply);
143 if (status == NO_ERROR) {
144 status = (status_t)reply.readInt32();
146 return status;
155 status_t status = remote()->transact(TUNE, data, &reply);
156 if (status == NO_ERROR) {
157 status = (status_t)reply.readInt32();
159 return status;
166 status_t status = remote()->transact(CANCEL, data, &reply);
167 if (status == NO_ERROR) {
168 status = (status_t)reply.readInt32();
170 return status;
181 status_t status = remote()->transact(GET_PROGRAM_INFORMATION, data, &reply);
182 if (status == NO_ERROR) {
183 status = (status_t)reply.readInt32();
184 if (status == NO_ERROR) {
196 status = radio_metadata_add_metadata(&info->metadata, newMetadata);
201 return status;
211 status_t status = remote()->transact(HAS_CONTROL, data, &reply);
212 if (status == NO_ERROR) {
213 status = (status_t)reply.readInt32();
214 if (status == NO_ERROR) {
218 return status;
240 status_t status = setConfiguration(&config);
241 reply->writeInt32(status);
247 status_t status = getConfiguration(&config);
248 reply->writeInt32(status);
249 if (status == NO_ERROR) {
257 status_t status = setMute(mute);
258 reply->writeInt32(status);
264 status_t status = getMute(&mute);
265 reply->writeInt32(status);
266 if (status == NO_ERROR) {
275 status_t status = scan(direction, skipSubChannel);
276 reply->writeInt32(status);
283 status_t status = step(direction, skipSubChannel);
284 reply->writeInt32(status);
291 status_t status = tune(channel, subChannel);
292 reply->writeInt32(status);
297 status_t status = cancel();
298 reply->writeInt32(status);
306 status_t status = getProgramInformation(&info);
307 reply->writeInt32(status);
308 if (status == NO_ERROR) {
323 status_t status = hasControl(&control);
324 reply->writeInt32(status);
325 if (status == NO_ERROR) {