Lines Matching refs:status
111 status_t *status) in createTrack() argument
170 if (status != NULL) { in createTrack()
171 *status = lStatus; in createTrack()
191 status_t *status) in openRecord() argument
267 if (status != NULL) { in openRecord()
268 *status = lStatus; in openRecord()
470 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); in openOutput() local
471 if (status != NO_ERROR) { in openOutput()
473 return status; in openOutput()
475 status = (status_t)reply.readInt32(); in openOutput()
476 if (status != NO_ERROR) { in openOutput()
478 return status; in openOutput()
546 status_t status = remote()->transact(OPEN_INPUT, data, &reply); in openInput() local
547 if (status != NO_ERROR) { in openInput()
549 return status; in openInput()
551 status = (status_t)reply.readInt32(); in openInput()
552 if (status != NO_ERROR) { in openInput()
554 return status; in openInput()
596 status_t status = reply.readInt32(); in getRenderPosition() local
597 if (status == NO_ERROR) { in getRenderPosition()
607 return status; in getRenderPosition()
615 status_t status = remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply); in getInputFramesLost() local
616 if (status != NO_ERROR) { in getInputFramesLost()
627 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply); in newAudioUniqueId() local
629 if (status == NO_ERROR) { in newAudioUniqueId()
657 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); in queryNumberEffects() local
658 if (status != NO_ERROR) { in queryNumberEffects()
659 return status; in queryNumberEffects()
661 status = reply.readInt32(); in queryNumberEffects()
662 if (status != NO_ERROR) { in queryNumberEffects()
663 return status; in queryNumberEffects()
679 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); in queryEffect() local
680 if (status != NO_ERROR) { in queryEffect()
681 return status; in queryEffect()
683 status = reply.readInt32(); in queryEffect()
684 if (status != NO_ERROR) { in queryEffect()
685 return status; in queryEffect()
700 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); in getEffectDescriptor() local
701 if (status != NO_ERROR) { in getEffectDescriptor()
702 return status; in getEffectDescriptor()
704 status = reply.readInt32(); in getEffectDescriptor()
705 if (status != NO_ERROR) { in getEffectDescriptor()
706 return status; in getEffectDescriptor()
719 status_t *status, in createEffect() argument
728 if (status != NULL) { in createEffect()
729 *status = BAD_VALUE; in createEffect()
757 if (status != NULL) { in createEffect()
758 *status = lStatus; in createEffect()
818 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); in listAudioPorts() local
819 if (status != NO_ERROR || in listAudioPorts()
820 (status = (status_t)reply.readInt32()) != NO_ERROR) { in listAudioPorts()
821 return status; in listAudioPorts()
825 return status; in listAudioPorts()
835 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); in getAudioPort() local
836 if (status != NO_ERROR || in getAudioPort()
837 (status = (status_t)reply.readInt32()) != NO_ERROR) { in getAudioPort()
838 return status; in getAudioPort()
841 return status; in getAudioPort()
853 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); in createAudioPatch() local
854 if (status != NO_ERROR || in createAudioPatch()
855 (status = (status_t)reply.readInt32()) != NO_ERROR) { in createAudioPatch()
856 return status; in createAudioPatch()
859 return status; in createAudioPatch()
866 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); in releaseAudioPatch() local
867 if (status != NO_ERROR) { in releaseAudioPatch()
868 status = (status_t)reply.readInt32(); in releaseAudioPatch()
870 return status; in releaseAudioPatch()
881 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); in listAudioPatches() local
882 if (status != NO_ERROR || in listAudioPatches()
883 (status = (status_t)reply.readInt32()) != NO_ERROR) { in listAudioPatches()
884 return status; in listAudioPatches()
888 return status; in listAudioPatches()
898 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); in setAudioPortConfig() local
899 if (status != NO_ERROR) { in setAudioPortConfig()
900 status = (status_t)reply.readInt32(); in setAudioPortConfig()
902 return status; in setAudioPortConfig()
909 status_t status = remote()->transact(GET_AUDIO_HW_SYNC, data, &reply); in getAudioHwSyncForSession() local
910 if (status != NO_ERROR) { in getAudioHwSyncForSession()
926 status_t status = remote()->transact(FRAME_COUNT_HAL, data, &reply); in frameCountHAL() local
927 if (status != NO_ERROR) { in frameCountHAL()
961 status_t status = NO_ERROR; in onTransact() local
966 status = DEAD_OBJECT; in onTransact()
971 &sessionId, clientUid, &status); in onTransact()
972 LOG_ALWAYS_FATAL_IF((track != 0) != (status == NO_ERROR)); in onTransact()
977 reply->writeInt32(status); in onTransact()
997 status_t status = NO_ERROR; in onTransact() local
1001 &status); in onTransact()
1002 LOG_ALWAYS_FATAL_IF((record != 0) != (status == NO_ERROR)); in onTransact()
1007 reply->writeInt32(status); in onTransact()
1142 status_t status = openOutput(module, &output, &config, in onTransact() local
1145 reply->writeInt32((int32_t)status); in onTransact()
1146 if (status == NO_ERROR) { in onTransact()
1189 status_t status = openInput(module, &input, &config, in onTransact() local
1191 reply->writeInt32((int32_t) status); in onTransact()
1192 if (status == NO_ERROR) { in onTransact()
1221 status_t status = getRenderPosition(&halFrames, &dspFrames, output); in onTransact() local
1222 reply->writeInt32(status); in onTransact()
1223 if (status == NO_ERROR) { in onTransact()
1257 status_t status = queryNumberEffects(&numEffects); in onTransact() local
1258 reply->writeInt32(status); in onTransact()
1259 if (status == NO_ERROR) { in onTransact()
1267 status_t status = queryEffect(data.readInt32(), &desc); in onTransact() local
1268 reply->writeInt32(status); in onTransact()
1269 if (status == NO_ERROR) { in onTransact()
1279 status_t status = getEffectDescriptor(&uuid, &desc); in onTransact() local
1280 reply->writeInt32(status); in onTransact()
1281 if (status == NO_ERROR) { in onTransact()
1297 status_t status = NO_ERROR; in onTransact() local
1302 opPackageName, &status, &id, &enabled); in onTransact()
1303 reply->writeInt32(status); in onTransact()
1354 status_t status = listAudioPorts(&numPorts, ports); in onTransact() local
1355 reply->writeInt32(status); in onTransact()
1357 if (status == NO_ERROR) { in onTransact()
1372 status_t status = getAudioPort(&port); in onTransact() local
1373 reply->writeInt32(status); in onTransact()
1374 if (status == NO_ERROR) { in onTransact()
1387 status_t status = createAudioPatch(&patch, &handle); in onTransact() local
1388 reply->writeInt32(status); in onTransact()
1389 if (status == NO_ERROR) { in onTransact()
1398 status_t status = releaseAudioPatch(handle); in onTransact() local
1399 reply->writeInt32(status); in onTransact()
1417 status_t status = listAudioPatches(&numPatches, patches); in onTransact() local
1418 reply->writeInt32(status); in onTransact()
1420 if (status == NO_ERROR) { in onTransact()
1433 status_t status = setAudioPortConfig(&config); in onTransact() local
1434 reply->writeInt32(status); in onTransact()