Lines Matching refs:status

227             status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply);
228 if (status != NO_ERROR) {
229 return status;
231 status = (status_t)reply.readInt32();
232 if (status != NO_ERROR) {
233 return status;
239 return status;
310 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply);
311 if (status != NO_ERROR) {
312 return status;
314 status = reply.readInt32();
315 if (status != NO_ERROR) {
316 return status;
498 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply);
499 if (status != NO_ERROR) {
500 return status;
502 status = static_cast <status_t> (reply.readInt32());
509 return status;
537 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply);
538 if (status == NO_ERROR) {
539 status = (status_t)reply.readInt32();
542 if (status == NO_ERROR) {
551 return status;
562 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply);
563 if (status != NO_ERROR ||
564 (status = (status_t)reply.readInt32()) != NO_ERROR) {
565 return status;
568 return status;
581 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply);
582 if (status != NO_ERROR ||
583 (status = (status_t)reply.readInt32()) != NO_ERROR) {
584 return status;
587 return status;
595 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply);
596 if (status != NO_ERROR) {
597 status = (status_t)reply.readInt32();
599 return status;
614 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply);
615 if (status == NO_ERROR) {
616 status = (status_t)reply.readInt32();
619 if (status == NO_ERROR) {
628 return status;
639 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply);
640 if (status != NO_ERROR) {
641 status = (status_t)reply.readInt32();
643 return status;
671 status_t status = remote()->transact(ACQUIRE_SOUNDTRIGGER_SESSION, data, &reply);
672 if (status != NO_ERROR) {
673 return status;
675 status = (status_t)reply.readInt32();
676 if (status == NO_ERROR) {
681 return status;
689 status_t status = remote()->transact(RELEASE_SOUNDTRIGGER_SESSION, data, &reply);
690 if (status != NO_ERROR) {
691 return status;
700 status_t status = remote()->transact(GET_PHONE_STATE, data, &reply);
701 if (status != NO_ERROR) {
732 status_t status = remote()->transact(REGISTER_POLICY_MIXES, data, &reply);
733 if (status == NO_ERROR) {
734 status = (status_t)reply.readInt32();
736 return status;
750 status_t status = remote()->transact(START_AUDIO_SOURCE, data, &reply);
751 if (status != NO_ERROR) {
752 return status;
754 status = (status_t)reply.readInt32();
755 if (status != NO_ERROR) {
756 return status;
759 return status;
767 status_t status = remote()->transact(STOP_AUDIO_SOURCE, data, &reply);
768 if (status != NO_ERROR) {
769 return status;
771 status = (status_t)reply.readInt32();
772 return status;
780 status_t status = remote()->transact(SET_MASTER_MONO, data, &reply);
781 if (status != NO_ERROR) {
782 return status;
795 status_t status = remote()->transact(GET_MASTER_MONO, data, &reply);
796 if (status != NO_ERROR) {
797 return status;
799 status = static_cast<status_t>(reply.readInt32());
800 if (status == NO_ERROR) {
803 return status;
916 status_t status = getOutputForAttr(hasAttributes ? &attr : NULL,
920 reply->writeInt32(status);
972 status_t status = getInputForAttr(&attr, &input, session, pid, uid,
975 reply->writeInt32(status);
976 if (status == NO_ERROR) {
1034 status_t status = getStreamVolumeIndex(stream, &index, device);
1036 reply->writeInt32(static_cast <uint32_t>(status));
1128 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount);
1129 reply->writeInt32(status);
1130 if (status != NO_ERROR && status != NO_MEMORY) {
1141 return status;
1170 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
1171 reply->writeInt32(status);
1174 if (status == NO_ERROR) {
1191 status_t status = getAudioPort(&port);
1192 reply->writeInt32(status);
1193 if (status == NO_ERROR) {
1207 status_t status = createAudioPatch(&patch, &handle);
1208 reply->writeInt32(status);
1209 if (status == NO_ERROR) {
1219 status_t status = releaseAudioPatch(handle);
1220 reply->writeInt32(status);
1240 status_t status = listAudioPatches(&numPatches, patches, &generation);
1241 reply->writeInt32(status);
1243 if (status == NO_ERROR) {
1258 status_t status = setAudioPortConfig(&config);
1259 reply->writeInt32(status);
1284 status_t status = acquireSoundTriggerSession(&session, &ioHandle, &device);
1285 reply->writeInt32(status);
1286 if (status == NO_ERROR) {
1299 status_t status = releaseSoundTriggerSession(session);
1300 reply->writeInt32(status);
1324 status_t status = registerPolicyMixes(mixes, registration);
1325 reply->writeInt32(status);
1336 status_t status = startAudioSource(&source, &attributes, &handle);
1337 reply->writeInt32(status);
1345 status_t status = stopAudioSource(handle);
1346 reply->writeInt32(status);
1353 status_t status = setMasterMono(mono);
1354 reply->writeInt32(status);
1361 status_t status = getMasterMono(&mono);
1362 reply->writeInt32(status);
1363 if (status == NO_ERROR) {