Lines Matching refs:data
98 Parcel data, reply; in setDeviceConnectionState() local
99 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setDeviceConnectionState()
100 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState()
101 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState()
102 data.writeCString(device_address); in setDeviceConnectionState()
103 data.writeCString(device_name); in setDeviceConnectionState()
104 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
112 Parcel data, reply; in getDeviceConnectionState() local
113 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDeviceConnectionState()
114 data.writeInt32(static_cast <uint32_t>(device)); in getDeviceConnectionState()
115 data.writeCString(device_address); in getDeviceConnectionState()
116 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState()
124 Parcel data, reply; in handleDeviceConfigChange() local
125 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in handleDeviceConfigChange()
126 data.writeInt32(static_cast <uint32_t>(device)); in handleDeviceConfigChange()
127 data.writeCString(device_address); in handleDeviceConfigChange()
128 data.writeCString(device_name); in handleDeviceConfigChange()
129 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange()
135 Parcel data, reply; in setPhoneState() local
136 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setPhoneState()
137 data.writeInt32(state); in setPhoneState()
138 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState()
144 Parcel data, reply; in setForceUse() local
145 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setForceUse()
146 data.writeInt32(static_cast <uint32_t>(usage)); in setForceUse()
147 data.writeInt32(static_cast <uint32_t>(config)); in setForceUse()
148 remote()->transact(SET_FORCE_USE, data, &reply); in setForceUse()
154 Parcel data, reply; in getForceUse() local
155 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getForceUse()
156 data.writeInt32(static_cast <uint32_t>(usage)); in getForceUse()
157 remote()->transact(GET_FORCE_USE, data, &reply); in getForceUse()
169 Parcel data, reply; in getOutput() local
170 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getOutput()
171 data.writeInt32(static_cast <uint32_t>(stream)); in getOutput()
172 data.writeInt32(samplingRate); in getOutput()
173 data.writeInt32(static_cast <uint32_t>(format)); in getOutput()
174 data.writeInt32(channelMask); in getOutput()
175 data.writeInt32(static_cast <uint32_t>(flags)); in getOutput()
178 data.writeInt32(0); in getOutput()
180 data.writeInt32(1); in getOutput()
181 data.write(offloadInfo, sizeof(audio_offload_info_t)); in getOutput()
183 remote()->transact(GET_OUTPUT, data, &reply); in getOutput()
197 Parcel data, reply; in getOutputForAttr() local
198 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getOutputForAttr()
218 data.writeInt32(0); in getOutputForAttr()
220 data.writeInt32(1); in getOutputForAttr()
221 data.write(attr, sizeof(audio_attributes_t)); in getOutputForAttr()
223 data.writeInt32(session); in getOutputForAttr()
225 data.writeInt32(0); in getOutputForAttr()
227 data.writeInt32(1); in getOutputForAttr()
228 data.writeInt32(*stream); in getOutputForAttr()
230 data.writeInt32(uid); in getOutputForAttr()
231 data.write(config, sizeof(audio_config_t)); in getOutputForAttr()
232 data.writeInt32(static_cast <uint32_t>(flags)); in getOutputForAttr()
233 data.writeInt32(selectedDeviceId); in getOutputForAttr()
234 data.writeInt32(*portId); in getOutputForAttr()
235 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr()
256 Parcel data, reply; in startOutput() local
257 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in startOutput()
258 data.writeInt32(output); in startOutput()
259 data.writeInt32((int32_t) stream); in startOutput()
260 data.writeInt32((int32_t) session); in startOutput()
261 remote()->transact(START_OUTPUT, data, &reply); in startOutput()
269 Parcel data, reply; in stopOutput() local
270 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in stopOutput()
271 data.writeInt32(output); in stopOutput()
272 data.writeInt32((int32_t) stream); in stopOutput()
273 data.writeInt32((int32_t) session); in stopOutput()
274 remote()->transact(STOP_OUTPUT, data, &reply); in stopOutput()
282 Parcel data, reply; in releaseOutput() local
283 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseOutput()
284 data.writeInt32(output); in releaseOutput()
285 data.writeInt32((int32_t)stream); in releaseOutput()
286 data.writeInt32((int32_t)session); in releaseOutput()
287 remote()->transact(RELEASE_OUTPUT, data, &reply); in releaseOutput()
300 Parcel data, reply; in getInputForAttr() local
301 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getInputForAttr()
314 data.write(attr, sizeof(audio_attributes_t)); in getInputForAttr()
315 data.writeInt32(session); in getInputForAttr()
316 data.writeInt32(pid); in getInputForAttr()
317 data.writeInt32(uid); in getInputForAttr()
318 data.write(config, sizeof(audio_config_base_t)); in getInputForAttr()
319 data.writeInt32(flags); in getInputForAttr()
320 data.writeInt32(selectedDeviceId); in getInputForAttr()
321 data.writeInt32(*portId); in getInputForAttr()
322 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); in getInputForAttr()
338 Parcel data, reply; in startInput() local
339 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in startInput()
340 data.writeInt32(input); in startInput()
341 data.writeInt32(session); in startInput()
342 remote()->transact(START_INPUT, data, &reply); in startInput()
349 Parcel data, reply; in stopInput() local
350 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in stopInput()
351 data.writeInt32(input); in stopInput()
352 data.writeInt32(session); in stopInput()
353 remote()->transact(STOP_INPUT, data, &reply); in stopInput()
360 Parcel data, reply; in releaseInput() local
361 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseInput()
362 data.writeInt32(input); in releaseInput()
363 data.writeInt32(session); in releaseInput()
364 remote()->transact(RELEASE_INPUT, data, &reply); in releaseInput()
371 Parcel data, reply; in initStreamVolume() local
372 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in initStreamVolume()
373 data.writeInt32(static_cast <uint32_t>(stream)); in initStreamVolume()
374 data.writeInt32(indexMin); in initStreamVolume()
375 data.writeInt32(indexMax); in initStreamVolume()
376 remote()->transact(INIT_STREAM_VOLUME, data, &reply); in initStreamVolume()
384 Parcel data, reply; in setStreamVolumeIndex() local
385 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setStreamVolumeIndex()
386 data.writeInt32(static_cast <uint32_t>(stream)); in setStreamVolumeIndex()
387 data.writeInt32(index); in setStreamVolumeIndex()
388 data.writeInt32(static_cast <uint32_t>(device)); in setStreamVolumeIndex()
389 remote()->transact(SET_STREAM_VOLUME, data, &reply); in setStreamVolumeIndex()
397 Parcel data, reply; in getStreamVolumeIndex() local
398 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getStreamVolumeIndex()
399 data.writeInt32(static_cast <uint32_t>(stream)); in getStreamVolumeIndex()
400 data.writeInt32(static_cast <uint32_t>(device)); in getStreamVolumeIndex()
402 remote()->transact(GET_STREAM_VOLUME, data, &reply); in getStreamVolumeIndex()
410 Parcel data, reply; in getStrategyForStream() local
411 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getStrategyForStream()
412 data.writeInt32(static_cast <uint32_t>(stream)); in getStrategyForStream()
413 remote()->transact(GET_STRATEGY_FOR_STREAM, data, &reply); in getStrategyForStream()
419 Parcel data, reply; in getDevicesForStream() local
420 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDevicesForStream()
421 data.writeInt32(static_cast <uint32_t>(stream)); in getDevicesForStream()
422 remote()->transact(GET_DEVICES_FOR_STREAM, data, &reply); in getDevicesForStream()
428 Parcel data, reply; in getOutputForEffect() local
429 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getOutputForEffect()
430 data.write(desc, sizeof(effect_descriptor_t)); in getOutputForEffect()
431 remote()->transact(GET_OUTPUT_FOR_EFFECT, data, &reply); in getOutputForEffect()
441 Parcel data, reply; in registerEffect() local
442 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in registerEffect()
443 data.write(desc, sizeof(effect_descriptor_t)); in registerEffect()
444 data.writeInt32(io); in registerEffect()
445 data.writeInt32(strategy); in registerEffect()
446 data.writeInt32(session); in registerEffect()
447 data.writeInt32(id); in registerEffect()
448 remote()->transact(REGISTER_EFFECT, data, &reply); in registerEffect()
454 Parcel data, reply; in unregisterEffect() local
455 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in unregisterEffect()
456 data.writeInt32(id); in unregisterEffect()
457 remote()->transact(UNREGISTER_EFFECT, data, &reply); in unregisterEffect()
463 Parcel data, reply; in setEffectEnabled() local
464 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setEffectEnabled()
465 data.writeInt32(id); in setEffectEnabled()
466 data.writeInt32(enabled); in setEffectEnabled()
467 remote()->transact(SET_EFFECT_ENABLED, data, &reply); in setEffectEnabled()
473 Parcel data, reply; in isStreamActive() local
474 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isStreamActive()
475 data.writeInt32((int32_t) stream); in isStreamActive()
476 data.writeInt32(inPastMs); in isStreamActive()
477 remote()->transact(IS_STREAM_ACTIVE, data, &reply); in isStreamActive()
483 Parcel data, reply; in isStreamActiveRemotely() local
484 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isStreamActiveRemotely()
485 data.writeInt32((int32_t) stream); in isStreamActiveRemotely()
486 data.writeInt32(inPastMs); in isStreamActiveRemotely()
487 remote()->transact(IS_STREAM_ACTIVE_REMOTELY, data, &reply); in isStreamActiveRemotely()
493 Parcel data, reply; in isSourceActive() local
494 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isSourceActive()
495 data.writeInt32((int32_t) source); in isSourceActive()
496 remote()->transact(IS_SOURCE_ACTIVE, data, &reply); in isSourceActive()
507 Parcel data, reply; in queryDefaultPreProcessing() local
508 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in queryDefaultPreProcessing()
509 data.writeInt32(audioSession); in queryDefaultPreProcessing()
510 data.writeInt32(*count); in queryDefaultPreProcessing()
511 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply); in queryDefaultPreProcessing()
527 Parcel data, reply; in isOffloadSupported() local
528 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isOffloadSupported()
529 data.write(&info, sizeof(audio_offload_info_t)); in isOffloadSupported()
530 remote()->transact(IS_OFFLOAD_SUPPORTED, data, &reply); in isOffloadSupported()
544 Parcel data, reply; in listAudioPorts() local
545 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in listAudioPorts()
547 data.writeInt32(role); in listAudioPorts()
548 data.writeInt32(type); in listAudioPorts()
549 data.writeInt32(numPortsReq); in listAudioPorts()
550 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); in listAudioPorts()
572 Parcel data, reply; in getAudioPort() local
573 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getAudioPort()
574 data.write(port, sizeof(struct audio_port)); in getAudioPort()
575 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); in getAudioPort()
590 Parcel data, reply; in createAudioPatch() local
591 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in createAudioPatch()
592 data.write(patch, sizeof(struct audio_patch)); in createAudioPatch()
593 data.write(handle, sizeof(audio_patch_handle_t)); in createAudioPatch()
594 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); in createAudioPatch()
605 Parcel data, reply; in releaseAudioPatch() local
606 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseAudioPatch()
607 data.write(&handle, sizeof(audio_patch_handle_t)); in releaseAudioPatch()
608 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); in releaseAudioPatch()
623 Parcel data, reply; in listAudioPatches() local
624 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in listAudioPatches()
626 data.writeInt32(numPatchesReq); in listAudioPatches()
627 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); in listAudioPatches()
649 Parcel data, reply; in setAudioPortConfig() local
650 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAudioPortConfig()
651 data.write(config, sizeof(struct audio_port_config)); in setAudioPortConfig()
652 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); in setAudioPortConfig()
661 Parcel data, reply; in registerClient() local
662 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in registerClient()
663 data.writeStrongBinder(IInterface::asBinder(client)); in registerClient()
664 remote()->transact(REGISTER_CLIENT, data, &reply); in registerClient()
669 Parcel data, reply; in setAudioPortCallbacksEnabled() local
670 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAudioPortCallbacksEnabled()
671 data.writeInt32(enabled ? 1 : 0); in setAudioPortCallbacksEnabled()
672 remote()->transact(SET_AUDIO_PORT_CALLBACK_ENABLED, data, &reply); in setAudioPortCallbacksEnabled()
682 Parcel data, reply; in acquireSoundTriggerSession() local
683 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in acquireSoundTriggerSession()
684 status_t status = remote()->transact(ACQUIRE_SOUNDTRIGGER_SESSION, data, &reply); in acquireSoundTriggerSession()
699 Parcel data, reply; in releaseSoundTriggerSession() local
700 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseSoundTriggerSession()
701 data.writeInt32(session); in releaseSoundTriggerSession()
702 status_t status = remote()->transact(RELEASE_SOUNDTRIGGER_SESSION, data, &reply); in releaseSoundTriggerSession()
711 Parcel data, reply; in getPhoneState() local
712 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getPhoneState()
713 status_t status = remote()->transact(GET_PHONE_STATE, data, &reply); in getPhoneState()
722 Parcel data, reply; in registerPolicyMixes() local
723 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in registerPolicyMixes()
724 data.writeInt32(registration ? 1 : 0); in registerPolicyMixes()
729 size_t sizePosition = data.dataPosition(); in registerPolicyMixes()
730 data.writeInt32(size); in registerPolicyMixes()
733 size_t position = data.dataPosition(); in registerPolicyMixes()
734 if (mixes[i].writeToParcel(&data) != NO_ERROR) { in registerPolicyMixes()
735 data.setDataPosition(position); in registerPolicyMixes()
740 size_t position = data.dataPosition(); in registerPolicyMixes()
741 data.setDataPosition(sizePosition); in registerPolicyMixes()
742 data.writeInt32(finalSize); in registerPolicyMixes()
743 data.setDataPosition(position); in registerPolicyMixes()
745 status_t status = remote()->transact(REGISTER_POLICY_MIXES, data, &reply); in registerPolicyMixes()
756 Parcel data, reply; in startAudioSource() local
757 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in startAudioSource()
761 data.write(source, sizeof(struct audio_port_config)); in startAudioSource()
762 data.write(attributes, sizeof(audio_attributes_t)); in startAudioSource()
763 status_t status = remote()->transact(START_AUDIO_SOURCE, data, &reply); in startAudioSource()
777 Parcel data, reply; in stopAudioSource() local
778 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in stopAudioSource()
779 data.writeInt32(handle); in stopAudioSource()
780 status_t status = remote()->transact(STOP_AUDIO_SOURCE, data, &reply); in stopAudioSource()
790 Parcel data, reply; in setMasterMono() local
791 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setMasterMono()
792 data.writeInt32(static_cast<int32_t>(mono)); in setMasterMono()
793 status_t status = remote()->transact(SET_MASTER_MONO, data, &reply); in setMasterMono()
805 Parcel data, reply; in getMasterMono() local
806 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getMasterMono()
808 status_t status = remote()->transact(GET_MASTER_MONO, data, &reply); in getMasterMono()
826 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
830 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
832 static_cast <audio_devices_t>(data.readInt32()); in onTransact()
834 static_cast <audio_policy_dev_state_t>(data.readInt32()); in onTransact()
835 const char *device_address = data.readCString(); in onTransact()
836 const char *device_name = data.readCString(); in onTransact()
850 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
852 static_cast<audio_devices_t> (data.readInt32()); in onTransact()
853 const char *device_address = data.readCString(); in onTransact()
865 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
867 static_cast <audio_devices_t>(data.readInt32()); in onTransact()
868 const char *device_address = data.readCString(); in onTransact()
869 const char *device_name = data.readCString(); in onTransact()
882 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
884 (audio_mode_t) data.readInt32()))); in onTransact()
889 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
891 data.readInt32()); in onTransact()
893 static_cast <audio_policy_forced_cfg_t>(data.readInt32()); in onTransact()
899 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
901 data.readInt32()); in onTransact()
907 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
909 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
910 uint32_t samplingRate = data.readInt32(); in onTransact()
911 audio_format_t format = (audio_format_t) data.readInt32(); in onTransact()
912 audio_channel_mask_t channelMask = data.readInt32(); in onTransact()
914 static_cast <audio_output_flags_t>(data.readInt32()); in onTransact()
915 bool hasOffloadInfo = data.readInt32() != 0; in onTransact()
918 data.read(&offloadInfo, sizeof(audio_offload_info_t)); in onTransact()
931 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
933 bool hasAttributes = data.readInt32() != 0; in onTransact()
935 data.read(&attr, sizeof(audio_attributes_t)); in onTransact()
937 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
939 bool hasStream = data.readInt32() != 0; in onTransact()
941 stream = (audio_stream_type_t)data.readInt32(); in onTransact()
943 uid_t uid = (uid_t)data.readInt32(); in onTransact()
946 data.read(&config, sizeof(audio_config_t)); in onTransact()
948 static_cast <audio_output_flags_t>(data.readInt32()); in onTransact()
949 audio_port_handle_t selectedDeviceId = data.readInt32(); in onTransact()
950 audio_port_handle_t portId = (audio_port_handle_t)data.readInt32(); in onTransact()
964 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
965 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32()); in onTransact()
967 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
968 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
976 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
977 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32()); in onTransact()
979 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
980 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
988 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
989 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32()); in onTransact()
990 audio_stream_type_t stream = (audio_stream_type_t)data.readInt32(); in onTransact()
991 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
997 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
999 data.read(&attr, sizeof(audio_attributes_t)); in onTransact()
1000 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
1001 pid_t pid = (pid_t)data.readInt32(); in onTransact()
1002 uid_t uid = (uid_t)data.readInt32(); in onTransact()
1005 data.read(&config, sizeof(audio_config_base_t)); in onTransact()
1006 audio_input_flags_t flags = (audio_input_flags_t) data.readInt32(); in onTransact()
1007 audio_port_handle_t selectedDeviceId = (audio_port_handle_t) data.readInt32(); in onTransact()
1008 audio_port_handle_t portId = (audio_port_handle_t)data.readInt32(); in onTransact()
1022 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1023 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); in onTransact()
1024 audio_session_t session = static_cast <audio_session_t>(data.readInt32()); in onTransact()
1030 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1031 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); in onTransact()
1032 audio_session_t session = static_cast <audio_session_t>(data.readInt32()); in onTransact()
1038 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1039 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32()); in onTransact()
1040 audio_session_t session = static_cast <audio_session_t>(data.readInt32()); in onTransact()
1046 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1048 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1049 int indexMin = data.readInt32(); in onTransact()
1050 int indexMax = data.readInt32(); in onTransact()
1056 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1058 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1059 int index = data.readInt32(); in onTransact()
1060 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1068 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1070 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1071 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1080 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1082 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1088 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1090 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1096 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1098 data.read(&desc, sizeof(effect_descriptor_t)); in onTransact()
1105 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1107 data.read(&desc, sizeof(effect_descriptor_t)); in onTransact()
1108 audio_io_handle_t io = data.readInt32(); in onTransact()
1109 uint32_t strategy = data.readInt32(); in onTransact()
1110 audio_session_t session = (audio_session_t) data.readInt32(); in onTransact()
1111 int id = data.readInt32(); in onTransact()
1121 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1122 int id = data.readInt32(); in onTransact()
1128 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1129 int id = data.readInt32(); in onTransact()
1130 bool enabled = static_cast <bool>(data.readInt32()); in onTransact()
1136 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1137 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32(); in onTransact()
1138 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact()
1144 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1145 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32(); in onTransact()
1146 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact()
1152 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1153 audio_source_t source = (audio_source_t) data.readInt32(); in onTransact()
1159 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1160 audio_session_t audioSession = (audio_session_t) data.readInt32(); in onTransact()
1161 uint32_t count = data.readInt32(); in onTransact()
1184 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1186 data.read(&info, sizeof(audio_offload_info_t)); in onTransact()
1193 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1194 audio_port_role_t role = (audio_port_role_t)data.readInt32(); in onTransact()
1195 audio_port_type_t type = (audio_port_type_t)data.readInt32(); in onTransact()
1196 unsigned int numPortsReq = data.readInt32(); in onTransact()
1225 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1227 if (data.read(&port, sizeof(struct audio_port)) != NO_ERROR) { in onTransact()
1239 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1241 data.read(&patch, sizeof(struct audio_patch)); in onTransact()
1243 if (data.read(&handle, sizeof(audio_patch_handle_t)) != NO_ERROR) { in onTransact()
1255 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1257 data.read(&handle, sizeof(audio_patch_handle_t)); in onTransact()
1264 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1265 unsigned int numPatchesReq = data.readInt32(); in onTransact()
1294 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1296 data.read(&config, sizeof(struct audio_port_config)); in onTransact()
1303 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1305 data.readStrongBinder()); in onTransact()
1311 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1312 setAudioPortCallbacksEnabled(data.readInt32() == 1); in onTransact()
1317 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1319 data.readStrongBinder()); in onTransact()
1334 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1336 data.readStrongBinder()); in onTransact()
1337 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
1344 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1350 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1351 bool registration = data.readInt32() == 1; in onTransact()
1353 size_t size = (size_t)data.readInt32(); in onTransact()
1359 if (mix.readFromParcel((Parcel*)&data) == NO_ERROR) { in onTransact()
1369 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1371 data.read(&source, sizeof(struct audio_port_config)); in onTransact()
1373 data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
1382 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1383 audio_patch_handle_t handle = (audio_patch_handle_t) data.readInt32(); in onTransact()
1390 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1391 bool mono = static_cast<bool>(data.readInt32()); in onTransact()
1398 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1409 return BBinder::onTransact(code, data, reply, flags); in onTransact()