Lines Matching refs:reply
100 Parcel data, reply; in createTrack() local
118 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply); in createTrack()
122 lSessionId = reply.readInt32(); in createTrack()
126 lStatus = reply.readInt32(); in createTrack()
127 track = interface_cast<IAudioTrack>(reply.readStrongBinder()); in createTrack()
147 Parcel data, reply; in openRecord() local
163 status_t lStatus = remote()->transact(OPEN_RECORD, data, &reply); in openRecord()
167 lSessionId = reply.readInt32(); in openRecord()
171 lStatus = reply.readInt32(); in openRecord()
172 record = interface_cast<IAudioRecord>(reply.readStrongBinder()); in openRecord()
182 Parcel data, reply; in sampleRate() local
185 remote()->transact(SAMPLE_RATE, data, &reply); in sampleRate()
186 return reply.readInt32(); in sampleRate()
192 Parcel data, reply;
195 remote()->transact(CHANNEL_COUNT, data, &reply);
196 return reply.readInt32();
202 Parcel data, reply; in format() local
205 remote()->transact(FORMAT, data, &reply); in format()
206 return (audio_format_t) reply.readInt32(); in format()
211 Parcel data, reply; in frameCount() local
214 remote()->transact(FRAME_COUNT, data, &reply); in frameCount()
215 return reply.readInt32(); in frameCount()
220 Parcel data, reply; in latency() local
223 remote()->transact(LATENCY, data, &reply); in latency()
224 return reply.readInt32(); in latency()
229 Parcel data, reply; in setMasterVolume() local
232 remote()->transact(SET_MASTER_VOLUME, data, &reply); in setMasterVolume()
233 return reply.readInt32(); in setMasterVolume()
238 Parcel data, reply; in setMasterMute() local
241 remote()->transact(SET_MASTER_MUTE, data, &reply); in setMasterMute()
242 return reply.readInt32(); in setMasterMute()
247 Parcel data, reply; in masterVolume() local
249 remote()->transact(MASTER_VOLUME, data, &reply); in masterVolume()
250 return reply.readFloat(); in masterVolume()
255 Parcel data, reply; in masterMute() local
257 remote()->transact(MASTER_MUTE, data, &reply); in masterMute()
258 return reply.readInt32(); in masterMute()
264 Parcel data, reply; in setStreamVolume() local
269 remote()->transact(SET_STREAM_VOLUME, data, &reply); in setStreamVolume()
270 return reply.readInt32(); in setStreamVolume()
275 Parcel data, reply; in setStreamMute() local
279 remote()->transact(SET_STREAM_MUTE, data, &reply); in setStreamMute()
280 return reply.readInt32(); in setStreamMute()
285 Parcel data, reply; in streamVolume() local
289 remote()->transact(STREAM_VOLUME, data, &reply); in streamVolume()
290 return reply.readFloat(); in streamVolume()
295 Parcel data, reply; in streamMute() local
298 remote()->transact(STREAM_MUTE, data, &reply); in streamMute()
299 return reply.readInt32(); in streamMute()
304 Parcel data, reply; in setMode() local
307 remote()->transact(SET_MODE, data, &reply); in setMode()
308 return reply.readInt32(); in setMode()
313 Parcel data, reply; in setMicMute() local
316 remote()->transact(SET_MIC_MUTE, data, &reply); in setMicMute()
317 return reply.readInt32(); in setMicMute()
322 Parcel data, reply; in getMicMute() local
324 remote()->transact(GET_MIC_MUTE, data, &reply); in getMicMute()
325 return reply.readInt32(); in getMicMute()
330 Parcel data, reply; in setParameters() local
334 remote()->transact(SET_PARAMETERS, data, &reply); in setParameters()
335 return reply.readInt32(); in setParameters()
340 Parcel data, reply; in getParameters() local
344 remote()->transact(GET_PARAMETERS, data, &reply); in getParameters()
345 return reply.readString8(); in getParameters()
350 Parcel data, reply; in registerClient() local
353 remote()->transact(REGISTER_CLIENT, data, &reply); in registerClient()
359 Parcel data, reply; in getInputBufferSize() local
364 remote()->transact(GET_INPUTBUFFERSIZE, data, &reply); in getInputBufferSize()
365 return reply.readInt32(); in getInputBufferSize()
376 Parcel data, reply; in openOutput() local
391 remote()->transact(OPEN_OUTPUT, data, &reply); in openOutput()
392 audio_io_handle_t output = (audio_io_handle_t) reply.readInt32(); in openOutput()
394 devices = (audio_devices_t)reply.readInt32(); in openOutput()
396 samplingRate = reply.readInt32(); in openOutput()
398 format = (audio_format_t) reply.readInt32(); in openOutput()
400 channelMask = (audio_channel_mask_t)reply.readInt32(); in openOutput()
402 latency = reply.readInt32(); in openOutput()
410 Parcel data, reply; in openDuplicateOutput() local
414 remote()->transact(OPEN_DUPLICATE_OUTPUT, data, &reply); in openDuplicateOutput()
415 return (audio_io_handle_t) reply.readInt32(); in openDuplicateOutput()
420 Parcel data, reply; in closeOutput() local
423 remote()->transact(CLOSE_OUTPUT, data, &reply); in closeOutput()
424 return reply.readInt32(); in closeOutput()
429 Parcel data, reply; in suspendOutput() local
432 remote()->transact(SUSPEND_OUTPUT, data, &reply); in suspendOutput()
433 return reply.readInt32(); in suspendOutput()
438 Parcel data, reply; in restoreOutput() local
441 remote()->transact(RESTORE_OUTPUT, data, &reply); in restoreOutput()
442 return reply.readInt32(); in restoreOutput()
451 Parcel data, reply; in openInput() local
463 remote()->transact(OPEN_INPUT, data, &reply); in openInput()
464 audio_io_handle_t input = (audio_io_handle_t) reply.readInt32(); in openInput()
465 devices = (audio_devices_t)reply.readInt32(); in openInput()
467 samplingRate = reply.readInt32(); in openInput()
469 format = (audio_format_t) reply.readInt32(); in openInput()
471 channelMask = (audio_channel_mask_t)reply.readInt32(); in openInput()
478 Parcel data, reply; in closeInput() local
481 remote()->transact(CLOSE_INPUT, data, &reply); in closeInput()
482 return reply.readInt32(); in closeInput()
487 Parcel data, reply; in setStreamOutput() local
491 remote()->transact(SET_STREAM_OUTPUT, data, &reply); in setStreamOutput()
492 return reply.readInt32(); in setStreamOutput()
497 Parcel data, reply; in setVoiceVolume() local
500 remote()->transact(SET_VOICE_VOLUME, data, &reply); in setVoiceVolume()
501 return reply.readInt32(); in setVoiceVolume()
507 Parcel data, reply; in getRenderPosition() local
510 remote()->transact(GET_RENDER_POSITION, data, &reply); in getRenderPosition()
511 status_t status = reply.readInt32(); in getRenderPosition()
513 uint32_t tmp = reply.readInt32(); in getRenderPosition()
517 tmp = reply.readInt32(); in getRenderPosition()
527 Parcel data, reply; in getInputFramesLost() local
530 remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply); in getInputFramesLost()
531 return reply.readInt32(); in getInputFramesLost()
536 Parcel data, reply; in newAudioSessionId() local
538 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply); in newAudioSessionId()
541 id = reply.readInt32(); in newAudioSessionId()
548 Parcel data, reply; in acquireAudioSessionId() local
551 remote()->transact(ACQUIRE_AUDIO_SESSION_ID, data, &reply); in acquireAudioSessionId()
556 Parcel data, reply; in releaseAudioSessionId() local
559 remote()->transact(RELEASE_AUDIO_SESSION_ID, data, &reply); in releaseAudioSessionId()
564 Parcel data, reply; in queryNumberEffects() local
566 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); in queryNumberEffects()
570 status = reply.readInt32(); in queryNumberEffects()
575 *numEffects = (uint32_t)reply.readInt32(); in queryNumberEffects()
585 Parcel data, reply; in queryEffect() local
588 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); in queryEffect()
592 status = reply.readInt32(); in queryEffect()
596 reply.read(pDescriptor, sizeof(effect_descriptor_t)); in queryEffect()
606 Parcel data, reply; in getEffectDescriptor() local
609 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); in getEffectDescriptor()
613 status = reply.readInt32(); in getEffectDescriptor()
617 reply.read(pDescriptor, sizeof(effect_descriptor_t)); in getEffectDescriptor()
631 Parcel data, reply; in createEffect() local
649 status_t lStatus = remote()->transact(CREATE_EFFECT, data, &reply); in createEffect()
653 lStatus = reply.readInt32(); in createEffect()
654 int tmp = reply.readInt32(); in createEffect()
658 tmp = reply.readInt32(); in createEffect()
662 effect = interface_cast<IEffect>(reply.readStrongBinder()); in createEffect()
663 reply.read(pDesc, sizeof(effect_descriptor_t)); in createEffect()
675 Parcel data, reply; in moveEffects() local
680 remote()->transact(MOVE_EFFECTS, data, &reply); in moveEffects()
681 return reply.readInt32(); in moveEffects()
686 Parcel data, reply; in loadHwModule() local
689 remote()->transact(LOAD_HW_MODULE, data, &reply); in loadHwModule()
690 return (audio_module_handle_t) reply.readInt32(); in loadHwModule()
695 Parcel data, reply; in getPrimaryOutputSamplingRate() local
697 remote()->transact(GET_PRIMARY_OUTPUT_SAMPLING_RATE, data, &reply); in getPrimaryOutputSamplingRate()
698 return reply.readInt32(); in getPrimaryOutputSamplingRate()
703 Parcel data, reply; in getPrimaryOutputFrameCount() local
705 remote()->transact(GET_PRIMARY_OUTPUT_FRAME_COUNT, data, &reply); in getPrimaryOutputFrameCount()
706 return reply.readInt32(); in getPrimaryOutputFrameCount()
716 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
720 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
736 reply->writeInt32(sessionId); in onTransact()
737 reply->writeInt32(status); in onTransact()
738 reply->writeStrongBinder(track->asBinder()); in onTransact()
742 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
755 reply->writeInt32(sessionId); in onTransact()
756 reply->writeInt32(status); in onTransact()
757 reply->writeStrongBinder(record->asBinder()); in onTransact()
761 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
762 reply->writeInt32( sampleRate((audio_io_handle_t) data.readInt32()) ); in onTransact()
767 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
768 reply->writeInt32( channelCount((audio_io_handle_t) data.readInt32()) ); in onTransact()
773 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
774 reply->writeInt32( format((audio_io_handle_t) data.readInt32()) ); in onTransact()
778 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
779 reply->writeInt32( frameCount((audio_io_handle_t) data.readInt32()) ); in onTransact()
783 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
784 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) ); in onTransact()
788 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
789 reply->writeInt32( setMasterVolume(data.readFloat()) ); in onTransact()
793 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
794 reply->writeInt32( setMasterMute(data.readInt32()) ); in onTransact()
798 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
799 reply->writeFloat( masterVolume() ); in onTransact()
803 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
804 reply->writeInt32( masterMute() ); in onTransact()
808 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
812 reply->writeInt32( setStreamVolume((audio_stream_type_t) stream, volume, output) ); in onTransact()
816 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
818 reply->writeInt32( setStreamMute((audio_stream_type_t) stream, data.readInt32()) ); in onTransact()
822 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
825 reply->writeFloat( streamVolume((audio_stream_type_t) stream, output) ); in onTransact()
829 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
831 reply->writeInt32( streamMute((audio_stream_type_t) stream) ); in onTransact()
835 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
837 reply->writeInt32( setMode(mode) ); in onTransact()
841 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
843 reply->writeInt32( setMicMute(state) ); in onTransact()
847 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
848 reply->writeInt32( getMicMute() ); in onTransact()
852 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
855 reply->writeInt32(setParameters(ioHandle, keyValuePairs)); in onTransact()
859 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
862 reply->writeString8(getParameters(ioHandle, keys)); in onTransact()
867 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
873 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
877 reply->writeInt32( getInputBufferSize(sampleRate, format, channelMask) ); in onTransact()
881 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
897 reply->writeInt32((int32_t) output); in onTransact()
898 reply->writeInt32(devices); in onTransact()
899 reply->writeInt32(samplingRate); in onTransact()
900 reply->writeInt32(format); in onTransact()
901 reply->writeInt32(channelMask); in onTransact()
902 reply->writeInt32(latency); in onTransact()
906 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
909 reply->writeInt32((int32_t) openDuplicateOutput(output1, output2)); in onTransact()
913 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
914 reply->writeInt32(closeOutput((audio_io_handle_t) data.readInt32())); in onTransact()
918 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
919 reply->writeInt32(suspendOutput((audio_io_handle_t) data.readInt32())); in onTransact()
923 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
924 reply->writeInt32(restoreOutput((audio_io_handle_t) data.readInt32())); in onTransact()
928 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
940 reply->writeInt32((int32_t) input); in onTransact()
941 reply->writeInt32(devices); in onTransact()
942 reply->writeInt32(samplingRate); in onTransact()
943 reply->writeInt32(format); in onTransact()
944 reply->writeInt32(channelMask); in onTransact()
948 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
949 reply->writeInt32(closeInput((audio_io_handle_t) data.readInt32())); in onTransact()
953 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
956 reply->writeInt32(setStreamOutput((audio_stream_type_t) stream, output)); in onTransact()
960 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
962 reply->writeInt32( setVoiceVolume(volume) ); in onTransact()
966 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
971 reply->writeInt32(status); in onTransact()
973 reply->writeInt32(halFrames); in onTransact()
974 reply->writeInt32(dspFrames); in onTransact()
979 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
981 reply->writeInt32(getInputFramesLost(ioHandle)); in onTransact()
985 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
986 reply->writeInt32(newAudioSessionId()); in onTransact()
990 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
996 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1002 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1005 reply->writeInt32(status); in onTransact()
1007 reply->writeInt32((int32_t)numEffects); in onTransact()
1012 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1015 reply->writeInt32(status); in onTransact()
1017 reply->write(&desc, sizeof(effect_descriptor_t)); in onTransact()
1022 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1027 reply->writeInt32(status); in onTransact()
1029 reply->write(&desc, sizeof(effect_descriptor_t)); in onTransact()
1034 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1047 reply->writeInt32(status); in onTransact()
1048 reply->writeInt32(id); in onTransact()
1049 reply->writeInt32(enabled); in onTransact()
1050 reply->writeStrongBinder(effect->asBinder()); in onTransact()
1051 reply->write(&desc, sizeof(effect_descriptor_t)); in onTransact()
1055 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1059 reply->writeInt32(moveEffects(session, srcOutput, dstOutput)); in onTransact()
1063 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1064 reply->writeInt32(loadHwModule(data.readCString())); in onTransact()
1068 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1069 reply->writeInt32(getPrimaryOutputSamplingRate()); in onTransact()
1073 CHECK_INTERFACE(IAudioFlinger, data, reply); in onTransact()
1074 reply->writeInt32(getPrimaryOutputFrameCount()); in onTransact()
1078 return BBinder::onTransact(code, data, reply, flags); in onTransact()