Lines Matching refs:data

131         Parcel data, reply;  in setDeviceConnectionState()  local
132 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setDeviceConnectionState()
133 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState()
134 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState()
135 data.writeCString(device_address); in setDeviceConnectionState()
136 data.writeCString(device_name); in setDeviceConnectionState()
137 data.writeInt32(static_cast <uint32_t>(encodedFormat)); in setDeviceConnectionState()
138 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply); in setDeviceConnectionState()
146 Parcel data, reply; in getDeviceConnectionState() local
147 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDeviceConnectionState()
148 data.writeInt32(static_cast <uint32_t>(device)); in getDeviceConnectionState()
149 data.writeCString(device_address); in getDeviceConnectionState()
150 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply); in getDeviceConnectionState()
159 Parcel data, reply; in handleDeviceConfigChange() local
160 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in handleDeviceConfigChange()
161 data.writeInt32(static_cast <uint32_t>(device)); in handleDeviceConfigChange()
162 data.writeCString(device_address); in handleDeviceConfigChange()
163 data.writeCString(device_name); in handleDeviceConfigChange()
164 data.writeInt32(static_cast <uint32_t>(encodedFormat)); in handleDeviceConfigChange()
165 remote()->transact(HANDLE_DEVICE_CONFIG_CHANGE, data, &reply); in handleDeviceConfigChange()
171 Parcel data, reply; in setPhoneState() local
172 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setPhoneState()
173 data.writeInt32(state); in setPhoneState()
174 remote()->transact(SET_PHONE_STATE, data, &reply); in setPhoneState()
180 Parcel data, reply; in setForceUse() local
181 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setForceUse()
182 data.writeInt32(static_cast <uint32_t>(usage)); in setForceUse()
183 data.writeInt32(static_cast <uint32_t>(config)); in setForceUse()
184 remote()->transact(SET_FORCE_USE, data, &reply); in setForceUse()
190 Parcel data, reply; in getForceUse() local
191 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getForceUse()
192 data.writeInt32(static_cast <uint32_t>(usage)); in getForceUse()
193 remote()->transact(GET_FORCE_USE, data, &reply); in getForceUse()
199 Parcel data, reply; in getOutput() local
200 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getOutput()
201 data.writeInt32(static_cast <uint32_t>(stream)); in getOutput()
202 remote()->transact(GET_OUTPUT, data, &reply); in getOutput()
218 Parcel data, reply; in getOutputForAttr() local
219 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getOutputForAttr()
240 data.write(attr, sizeof(audio_attributes_t)); in getOutputForAttr()
241 data.writeInt32(session); in getOutputForAttr()
243 data.writeInt32(0); in getOutputForAttr()
245 data.writeInt32(1); in getOutputForAttr()
246 data.writeInt32(*stream); in getOutputForAttr()
248 data.writeInt32(pid); in getOutputForAttr()
249 data.writeInt32(uid); in getOutputForAttr()
250 data.write(config, sizeof(audio_config_t)); in getOutputForAttr()
251 data.writeInt32(static_cast <uint32_t>(flags)); in getOutputForAttr()
252 data.writeInt32(*selectedDeviceId); in getOutputForAttr()
253 data.writeInt32(*portId); in getOutputForAttr()
254 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr()
274 return reply.read(secondaryOutputs->data(), in getOutputForAttr()
280 Parcel data, reply; in startOutput() local
281 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in startOutput()
282 data.writeInt32((int32_t)portId); in startOutput()
283 remote()->transact(START_OUTPUT, data, &reply); in startOutput()
289 Parcel data, reply; in stopOutput() local
290 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in stopOutput()
291 data.writeInt32((int32_t)portId); in stopOutput()
292 remote()->transact(STOP_OUTPUT, data, &reply); in stopOutput()
298 Parcel data, reply; in releaseOutput() local
299 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseOutput()
300 data.writeInt32((int32_t)portId); in releaseOutput()
301 remote()->transact(RELEASE_OUTPUT, data, &reply); in releaseOutput()
316 Parcel data, reply; in getInputForAttr() local
317 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getInputForAttr()
334 data.write(attr, sizeof(audio_attributes_t)); in getInputForAttr()
335 data.writeInt32(*input); in getInputForAttr()
336 data.writeInt32(riid); in getInputForAttr()
337 data.writeInt32(session); in getInputForAttr()
338 data.writeInt32(pid); in getInputForAttr()
339 data.writeInt32(uid); in getInputForAttr()
340 data.writeString16(opPackageName); in getInputForAttr()
341 data.write(config, sizeof(audio_config_base_t)); in getInputForAttr()
342 data.writeInt32(flags); in getInputForAttr()
343 data.writeInt32(*selectedDeviceId); in getInputForAttr()
344 data.writeInt32(*portId); in getInputForAttr()
345 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); in getInputForAttr()
361 Parcel data, reply; in startInput() local
362 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in startInput()
363 data.writeInt32(portId); in startInput()
364 remote()->transact(START_INPUT, data, &reply); in startInput()
371 Parcel data, reply; in stopInput() local
372 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in stopInput()
373 data.writeInt32(portId); in stopInput()
374 remote()->transact(STOP_INPUT, data, &reply); in stopInput()
380 Parcel data, reply; in releaseInput() local
381 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseInput()
382 data.writeInt32(portId); in releaseInput()
383 remote()->transact(RELEASE_INPUT, data, &reply); in releaseInput()
390 Parcel data, reply; in initStreamVolume() local
391 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in initStreamVolume()
392 data.writeInt32(static_cast <uint32_t>(stream)); in initStreamVolume()
393 data.writeInt32(indexMin); in initStreamVolume()
394 data.writeInt32(indexMax); in initStreamVolume()
395 remote()->transact(INIT_STREAM_VOLUME, data, &reply); in initStreamVolume()
403 Parcel data, reply; in setStreamVolumeIndex() local
404 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setStreamVolumeIndex()
405 data.writeInt32(static_cast <uint32_t>(stream)); in setStreamVolumeIndex()
406 data.writeInt32(index); in setStreamVolumeIndex()
407 data.writeInt32(static_cast <uint32_t>(device)); in setStreamVolumeIndex()
408 remote()->transact(SET_STREAM_VOLUME, data, &reply); in setStreamVolumeIndex()
416 Parcel data, reply; in getStreamVolumeIndex() local
417 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getStreamVolumeIndex()
418 data.writeInt32(static_cast <uint32_t>(stream)); in getStreamVolumeIndex()
419 data.writeInt32(static_cast <uint32_t>(device)); in getStreamVolumeIndex()
421 remote()->transact(GET_STREAM_VOLUME, data, &reply); in getStreamVolumeIndex()
430 Parcel data, reply; in setVolumeIndexForAttributes() local
431 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setVolumeIndexForAttributes()
432 data.write(&attr, sizeof(audio_attributes_t)); in setVolumeIndexForAttributes()
433 data.writeInt32(index); in setVolumeIndexForAttributes()
434 data.writeInt32(static_cast <uint32_t>(device)); in setVolumeIndexForAttributes()
435 status_t status = remote()->transact(SET_VOLUME_ATTRIBUTES, data, &reply); in setVolumeIndexForAttributes()
444 Parcel data, reply; in getVolumeIndexForAttributes() local
445 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getVolumeIndexForAttributes()
446 data.write(&attr, sizeof(audio_attributes_t)); in getVolumeIndexForAttributes()
447 data.writeInt32(static_cast <uint32_t>(device)); in getVolumeIndexForAttributes()
448 status_t status = remote()->transact(GET_VOLUME_ATTRIBUTES, data, &reply); in getVolumeIndexForAttributes()
461 Parcel data, reply; in getMinVolumeIndexForAttributes() local
462 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getMinVolumeIndexForAttributes()
463 data.write(&attr, sizeof(audio_attributes_t)); in getMinVolumeIndexForAttributes()
464 status_t status = remote()->transact(GET_MIN_VOLUME_FOR_ATTRIBUTES, data, &reply); in getMinVolumeIndexForAttributes()
477 Parcel data, reply; in getMaxVolumeIndexForAttributes() local
478 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getMaxVolumeIndexForAttributes()
479 data.write(&attr, sizeof(audio_attributes_t)); in getMaxVolumeIndexForAttributes()
480 status_t status = remote()->transact(GET_MAX_VOLUME_FOR_ATTRIBUTES, data, &reply); in getMaxVolumeIndexForAttributes()
493 Parcel data, reply; in getStrategyForStream() local
494 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getStrategyForStream()
495 data.writeInt32(static_cast <uint32_t>(stream)); in getStrategyForStream()
496 remote()->transact(GET_STRATEGY_FOR_STREAM, data, &reply); in getStrategyForStream()
502 Parcel data, reply; in getDevicesForStream() local
503 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getDevicesForStream()
504 data.writeInt32(static_cast <uint32_t>(stream)); in getDevicesForStream()
505 remote()->transact(GET_DEVICES_FOR_STREAM, data, &reply); in getDevicesForStream()
511 Parcel data, reply; in getOutputForEffect() local
512 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getOutputForEffect()
513 data.write(desc, sizeof(effect_descriptor_t)); in getOutputForEffect()
514 remote()->transact(GET_OUTPUT_FOR_EFFECT, data, &reply); in getOutputForEffect()
524 Parcel data, reply; in registerEffect() local
525 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in registerEffect()
526 data.write(desc, sizeof(effect_descriptor_t)); in registerEffect()
527 data.writeInt32(io); in registerEffect()
528 data.writeInt32(strategy); in registerEffect()
529 data.writeInt32(session); in registerEffect()
530 data.writeInt32(id); in registerEffect()
531 remote()->transact(REGISTER_EFFECT, data, &reply); in registerEffect()
537 Parcel data, reply; in unregisterEffect() local
538 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in unregisterEffect()
539 data.writeInt32(id); in unregisterEffect()
540 remote()->transact(UNREGISTER_EFFECT, data, &reply); in unregisterEffect()
546 Parcel data, reply; in setEffectEnabled() local
547 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setEffectEnabled()
548 data.writeInt32(id); in setEffectEnabled()
549 data.writeInt32(enabled); in setEffectEnabled()
550 remote()->transact(SET_EFFECT_ENABLED, data, &reply); in setEffectEnabled()
556 Parcel data, reply; in moveEffectsToIo() local
557 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in moveEffectsToIo()
558 data.writeInt32(ids.size()); in moveEffectsToIo()
560 data.writeInt32(id); in moveEffectsToIo()
562 data.writeInt32(io); in moveEffectsToIo()
563 status_t status = remote()->transact(MOVE_EFFECTS_TO_IO, data, &reply); in moveEffectsToIo()
572 Parcel data, reply; in isStreamActive() local
573 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isStreamActive()
574 data.writeInt32((int32_t) stream); in isStreamActive()
575 data.writeInt32(inPastMs); in isStreamActive()
576 remote()->transact(IS_STREAM_ACTIVE, data, &reply); in isStreamActive()
582 Parcel data, reply; in isStreamActiveRemotely() local
583 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isStreamActiveRemotely()
584 data.writeInt32((int32_t) stream); in isStreamActiveRemotely()
585 data.writeInt32(inPastMs); in isStreamActiveRemotely()
586 remote()->transact(IS_STREAM_ACTIVE_REMOTELY, data, &reply); in isStreamActiveRemotely()
592 Parcel data, reply; in isSourceActive() local
593 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isSourceActive()
594 data.writeInt32((int32_t) source); in isSourceActive()
595 remote()->transact(IS_SOURCE_ACTIVE, data, &reply); in isSourceActive()
606 Parcel data, reply; in queryDefaultPreProcessing() local
607 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in queryDefaultPreProcessing()
608 data.writeInt32(audioSession); in queryDefaultPreProcessing()
609 data.writeInt32(*count); in queryDefaultPreProcessing()
610 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply); in queryDefaultPreProcessing()
625 Parcel data, reply; in setAllowedCapturePolicy() local
626 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAllowedCapturePolicy()
627 data.writeInt32(uid); in setAllowedCapturePolicy()
628 data.writeInt32(flags); in setAllowedCapturePolicy()
629 remote()->transact(SET_ALLOWED_CAPTURE_POLICY, data, &reply); in setAllowedCapturePolicy()
635 Parcel data, reply; in isOffloadSupported() local
636 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isOffloadSupported()
637 data.write(&info, sizeof(audio_offload_info_t)); in isOffloadSupported()
638 remote()->transact(IS_OFFLOAD_SUPPORTED, data, &reply); in isOffloadSupported()
644 Parcel data, reply; in isDirectOutputSupported() local
645 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isDirectOutputSupported()
646 data.write(&config, sizeof(audio_config_base_t)); in isDirectOutputSupported()
647 data.write(&attributes, sizeof(audio_attributes_t)); in isDirectOutputSupported()
648 status_t status = remote()->transact(IS_DIRECT_OUTPUT_SUPPORTED, data, &reply); in isDirectOutputSupported()
662 Parcel data, reply; in listAudioPorts() local
663 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in listAudioPorts()
665 data.writeInt32(role); in listAudioPorts()
666 data.writeInt32(type); in listAudioPorts()
667 data.writeInt32(numPortsReq); in listAudioPorts()
668 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); in listAudioPorts()
690 Parcel data, reply; in getAudioPort() local
691 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getAudioPort()
692 data.write(port, sizeof(struct audio_port)); in getAudioPort()
693 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); in getAudioPort()
708 Parcel data, reply; in createAudioPatch() local
709 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in createAudioPatch()
710 data.write(patch, sizeof(struct audio_patch)); in createAudioPatch()
711 data.write(handle, sizeof(audio_patch_handle_t)); in createAudioPatch()
712 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); in createAudioPatch()
723 Parcel data, reply; in releaseAudioPatch() local
724 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseAudioPatch()
725 data.write(&handle, sizeof(audio_patch_handle_t)); in releaseAudioPatch()
726 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); in releaseAudioPatch()
741 Parcel data, reply; in listAudioPatches() local
742 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in listAudioPatches()
744 data.writeInt32(numPatchesReq); in listAudioPatches()
745 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); in listAudioPatches()
767 Parcel data, reply; in setAudioPortConfig() local
768 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAudioPortConfig()
769 data.write(config, sizeof(struct audio_port_config)); in setAudioPortConfig()
770 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); in setAudioPortConfig()
779 Parcel data, reply; in registerClient() local
780 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in registerClient()
781 data.writeStrongBinder(IInterface::asBinder(client)); in registerClient()
782 remote()->transact(REGISTER_CLIENT, data, &reply); in registerClient()
787 Parcel data, reply; in setAudioPortCallbacksEnabled() local
788 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAudioPortCallbacksEnabled()
789 data.writeInt32(enabled ? 1 : 0); in setAudioPortCallbacksEnabled()
790 remote()->transact(SET_AUDIO_PORT_CALLBACK_ENABLED, data, &reply); in setAudioPortCallbacksEnabled()
795 Parcel data, reply; in setAudioVolumeGroupCallbacksEnabled() local
796 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAudioVolumeGroupCallbacksEnabled()
797 data.writeInt32(enabled ? 1 : 0); in setAudioVolumeGroupCallbacksEnabled()
798 remote()->transact(SET_AUDIO_VOLUME_GROUP_CALLBACK_ENABLED, data, &reply); in setAudioVolumeGroupCallbacksEnabled()
808 Parcel data, reply; in acquireSoundTriggerSession() local
809 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in acquireSoundTriggerSession()
810 status_t status = remote()->transact(ACQUIRE_SOUNDTRIGGER_SESSION, data, &reply); in acquireSoundTriggerSession()
825 Parcel data, reply; in releaseSoundTriggerSession() local
826 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in releaseSoundTriggerSession()
827 data.writeInt32(session); in releaseSoundTriggerSession()
828 status_t status = remote()->transact(RELEASE_SOUNDTRIGGER_SESSION, data, &reply); in releaseSoundTriggerSession()
837 Parcel data, reply; in getPhoneState() local
838 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getPhoneState()
839 status_t status = remote()->transact(GET_PHONE_STATE, data, &reply); in getPhoneState()
848 Parcel data, reply; in registerPolicyMixes() local
849 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in registerPolicyMixes()
850 data.writeInt32(registration ? 1 : 0); in registerPolicyMixes()
855 size_t sizePosition = data.dataPosition(); in registerPolicyMixes()
856 data.writeInt32(size); in registerPolicyMixes()
859 size_t position = data.dataPosition(); in registerPolicyMixes()
860 if (mixes[i].writeToParcel(&data) != NO_ERROR) { in registerPolicyMixes()
861 data.setDataPosition(position); in registerPolicyMixes()
866 size_t position = data.dataPosition(); in registerPolicyMixes()
867 data.setDataPosition(sizePosition); in registerPolicyMixes()
868 data.writeInt32(finalSize); in registerPolicyMixes()
869 data.setDataPosition(position); in registerPolicyMixes()
871 status_t status = remote()->transact(REGISTER_POLICY_MIXES, data, &reply); in registerPolicyMixes()
882 Parcel data, reply; in startAudioSource() local
883 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in startAudioSource()
887 data.write(source, sizeof(struct audio_port_config)); in startAudioSource()
888 data.write(attributes, sizeof(audio_attributes_t)); in startAudioSource()
889 status_t status = remote()->transact(START_AUDIO_SOURCE, data, &reply); in startAudioSource()
903 Parcel data, reply; in stopAudioSource() local
904 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in stopAudioSource()
905 data.writeInt32(portId); in stopAudioSource()
906 status_t status = remote()->transact(STOP_AUDIO_SOURCE, data, &reply); in stopAudioSource()
916 Parcel data, reply; in setMasterMono() local
917 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setMasterMono()
918 data.writeInt32(static_cast<int32_t>(mono)); in setMasterMono()
919 status_t status = remote()->transact(SET_MASTER_MONO, data, &reply); in setMasterMono()
931 Parcel data, reply; in getMasterMono() local
932 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getMasterMono()
934 status_t status = remote()->transact(GET_MASTER_MONO, data, &reply); in getMasterMono()
947 Parcel data, reply; in getStreamVolumeDB() local
948 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getStreamVolumeDB()
949 data.writeInt32(static_cast <int32_t>(stream)); in getStreamVolumeDB()
950 data.writeInt32(static_cast <int32_t>(index)); in getStreamVolumeDB()
951 data.writeUint32(static_cast <uint32_t>(device)); in getStreamVolumeDB()
952 status_t status = remote()->transact(GET_STREAM_VOLUME_DB, data, &reply); in getStreamVolumeDB()
968 Parcel data, reply; in getSurroundFormats() local
969 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getSurroundFormats()
971 data.writeUint32(numSurroundFormatsReq); in getSurroundFormats()
972 data.writeBool(reported); in getSurroundFormats()
973 status_t status = remote()->transact(GET_SURROUND_FORMATS, data, &reply); in getSurroundFormats()
996 Parcel data, reply; in setSurroundFormatEnabled() local
997 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setSurroundFormatEnabled()
998 data.writeInt32(audioFormat); in setSurroundFormatEnabled()
999 data.writeBool(enabled); in setSurroundFormatEnabled()
1000 status_t status = remote()->transact(SET_SURROUND_FORMAT_ENABLED, data, &reply); in setSurroundFormatEnabled()
1014 Parcel data, reply; in getHwOffloadEncodingFormatsSupportedForA2DP() local
1015 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getHwOffloadEncodingFormatsSupportedForA2DP()
1016 status_t status = remote()->transact(GET_OFFLOAD_FORMATS_A2DP, data, &reply); in getHwOffloadEncodingFormatsSupportedForA2DP()
1037 Parcel data, reply; in addStreamDefaultEffect() local
1038 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in addStreamDefaultEffect()
1039 data.write(type, sizeof(effect_uuid_t)); in addStreamDefaultEffect()
1040 data.writeString16(opPackageName); in addStreamDefaultEffect()
1041 data.write(uuid, sizeof(effect_uuid_t)); in addStreamDefaultEffect()
1042 data.writeInt32(priority); in addStreamDefaultEffect()
1043 data.writeInt32((int32_t) usage); in addStreamDefaultEffect()
1044 status_t status = remote()->transact(ADD_STREAM_DEFAULT_EFFECT, data, &reply); in addStreamDefaultEffect()
1055 Parcel data, reply; in removeStreamDefaultEffect() local
1056 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in removeStreamDefaultEffect()
1057 data.writeInt32(id); in removeStreamDefaultEffect()
1058 status_t status = remote()->transact(REMOVE_STREAM_DEFAULT_EFFECT, data, &reply); in removeStreamDefaultEffect()
1072 Parcel data, reply; in addSourceDefaultEffect() local
1073 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in addSourceDefaultEffect()
1074 data.write(type, sizeof(effect_uuid_t)); in addSourceDefaultEffect()
1075 data.writeString16(opPackageName); in addSourceDefaultEffect()
1076 data.write(uuid, sizeof(effect_uuid_t)); in addSourceDefaultEffect()
1077 data.writeInt32(priority); in addSourceDefaultEffect()
1078 data.writeInt32((int32_t) source); in addSourceDefaultEffect()
1079 status_t status = remote()->transact(ADD_SOURCE_DEFAULT_EFFECT, data, &reply); in addSourceDefaultEffect()
1090 Parcel data, reply; in removeSourceDefaultEffect() local
1091 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in removeSourceDefaultEffect()
1092 data.writeInt32(id); in removeSourceDefaultEffect()
1093 status_t status = remote()->transact(REMOVE_SOURCE_DEFAULT_EFFECT, data, &reply); in removeSourceDefaultEffect()
1102 Parcel data, reply; in setAssistantUid() local
1103 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setAssistantUid()
1104 data.writeInt32(uid); in setAssistantUid()
1105 status_t status = remote()->transact(SET_ASSISTANT_UID, data, &reply); in setAssistantUid()
1114 Parcel data, reply; in setA11yServicesUids() local
1115 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setA11yServicesUids()
1116 data.writeInt32(uids.size()); in setA11yServicesUids()
1118 data.writeInt32(uid); in setA11yServicesUids()
1120 status_t status = remote()->transact(SET_A11Y_SERVICES_UIDS, data, &reply); in setA11yServicesUids()
1129 Parcel data, reply; in isHapticPlaybackSupported() local
1130 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in isHapticPlaybackSupported()
1131 status_t status = remote()->transact(IS_HAPTIC_PLAYBACK_SUPPORTED, data, &reply); in isHapticPlaybackSupported()
1140 Parcel data, reply; in setUidDeviceAffinities() local
1141 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setUidDeviceAffinities()
1143 data.writeInt32((int32_t) uid); in setUidDeviceAffinities()
1145 size_t sizePosition = data.dataPosition(); in setUidDeviceAffinities()
1146 data.writeInt32((int32_t) size); in setUidDeviceAffinities()
1149 size_t position = data.dataPosition(); in setUidDeviceAffinities()
1150 if (devices[i].writeToParcel(&data) != NO_ERROR) { in setUidDeviceAffinities()
1151 data.setDataPosition(position); in setUidDeviceAffinities()
1156 size_t position = data.dataPosition(); in setUidDeviceAffinities()
1157 data.setDataPosition(sizePosition); in setUidDeviceAffinities()
1158 data.writeInt32(finalSize); in setUidDeviceAffinities()
1159 data.setDataPosition(position); in setUidDeviceAffinities()
1162 status_t status = remote()->transact(SET_UID_DEVICE_AFFINITY, data, &reply); in setUidDeviceAffinities()
1170 Parcel data, reply; in removeUidDeviceAffinities() local
1171 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in removeUidDeviceAffinities()
1173 data.writeInt32((int32_t) uid); in removeUidDeviceAffinities()
1176 remote()->transact(REMOVE_UID_DEVICE_AFFINITY, data, &reply); in removeUidDeviceAffinities()
1185 Parcel data, reply; in listAudioProductStrategies() local
1186 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in listAudioProductStrategies()
1188 status_t status = remote()->transact(LIST_AUDIO_PRODUCT_STRATEGIES, data, &reply); in listAudioProductStrategies()
1214 Parcel data, reply; in getProductStrategyFromAudioAttributes() local
1215 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getProductStrategyFromAudioAttributes()
1216 status_t status = aa.writeToParcel(&data); in getProductStrategyFromAudioAttributes()
1220 status = remote()->transact(GET_STRATEGY_FOR_ATTRIBUTES, data, &reply); in getProductStrategyFromAudioAttributes()
1234 Parcel data, reply; in listAudioVolumeGroups() local
1235 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in listAudioVolumeGroups()
1237 status_t status = remote()->transact(LIST_AUDIO_VOLUME_GROUPS, data, &reply); in listAudioVolumeGroups()
1262 Parcel data, reply; in getVolumeGroupFromAudioAttributes() local
1263 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getVolumeGroupFromAudioAttributes()
1264 status_t status = aa.writeToParcel(&data); in getVolumeGroupFromAudioAttributes()
1268 status = remote()->transact(GET_VOLUME_GROUP_FOR_ATTRIBUTES, data, &reply); in getVolumeGroupFromAudioAttributes()
1282 Parcel data, reply; in setRttEnabled() local
1283 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setRttEnabled()
1284 data.writeInt32(static_cast<int32_t>(enabled)); in setRttEnabled()
1285 status_t status = remote()->transact(SET_RTT_ENABLED, data, &reply); in setRttEnabled()
1295 Parcel data, reply; in setPreferredDeviceForStrategy() local
1296 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in setPreferredDeviceForStrategy()
1297 data.writeUint32(static_cast<uint32_t>(strategy)); in setPreferredDeviceForStrategy()
1298 status_t status = device.writeToParcel(&data); in setPreferredDeviceForStrategy()
1303 data, &reply); in setPreferredDeviceForStrategy()
1312 Parcel data, reply; in removePreferredDeviceForStrategy() local
1313 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in removePreferredDeviceForStrategy()
1314 data.writeUint32(static_cast<uint32_t>(strategy)); in removePreferredDeviceForStrategy()
1316 data, &reply); in removePreferredDeviceForStrategy()
1326 Parcel data, reply; in getPreferredDeviceForStrategy() local
1327 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in getPreferredDeviceForStrategy()
1328 data.writeUint32(static_cast<uint32_t>(strategy)); in getPreferredDeviceForStrategy()
1330 data, &reply); in getPreferredDeviceForStrategy()
1343 Parcel data, reply; in onNewAudioModulesAvailable() local
1344 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor()); in onNewAudioModulesAvailable()
1345 remote()->transact(AUDIO_MODULES_UPDATED, data, &reply, IBinder::FLAG_ONEWAY); in onNewAudioModulesAvailable()
1354 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
1432 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1434 static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1436 static_cast <audio_policy_dev_state_t>(data.readInt32()); in onTransact()
1437 const char *device_address = data.readCString(); in onTransact()
1438 const char *device_name = data.readCString(); in onTransact()
1439 audio_format_t codecFormat = static_cast <audio_format_t>(data.readInt32()); in onTransact()
1454 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1456 static_cast<audio_devices_t> (data.readInt32()); in onTransact()
1457 const char *device_address = data.readCString(); in onTransact()
1469 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1471 static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1472 const char *device_address = data.readCString(); in onTransact()
1473 const char *device_name = data.readCString(); in onTransact()
1475 static_cast <audio_format_t>(data.readInt32()); in onTransact()
1489 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1491 (audio_mode_t) data.readInt32()))); in onTransact()
1496 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1498 data.readInt32()); in onTransact()
1500 static_cast <audio_policy_forced_cfg_t>(data.readInt32()); in onTransact()
1506 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1508 data.readInt32()); in onTransact()
1514 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1516 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1523 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1525 status_t status = data.read(&attr, sizeof(audio_attributes_t)); in onTransact()
1530 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
1532 bool hasStream = data.readInt32() != 0; in onTransact()
1534 stream = (audio_stream_type_t)data.readInt32(); in onTransact()
1536 pid_t pid = (pid_t)data.readInt32(); in onTransact()
1537 uid_t uid = (uid_t)data.readInt32(); in onTransact()
1540 data.read(&config, sizeof(audio_config_t)); in onTransact()
1542 static_cast <audio_output_flags_t>(data.readInt32()); in onTransact()
1543 audio_port_handle_t selectedDeviceId = data.readInt32(); in onTransact()
1544 audio_port_handle_t portId = (audio_port_handle_t)data.readInt32(); in onTransact()
1561 return reply->write(secondaryOutputs.data(), in onTransact()
1566 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1567 const audio_port_handle_t portId = static_cast <audio_port_handle_t>(data.readInt32()); in onTransact()
1573 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1574 const audio_port_handle_t portId = static_cast <audio_port_handle_t>(data.readInt32()); in onTransact()
1580 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1581 const audio_port_handle_t portId = static_cast <audio_port_handle_t>(data.readInt32()); in onTransact()
1587 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1589 data.read(&attr, sizeof(audio_attributes_t)); in onTransact()
1591 audio_io_handle_t input = (audio_io_handle_t)data.readInt32(); in onTransact()
1592 audio_unique_id_t riid = (audio_unique_id_t)data.readInt32(); in onTransact()
1593 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
1594 pid_t pid = (pid_t)data.readInt32(); in onTransact()
1595 uid_t uid = (uid_t)data.readInt32(); in onTransact()
1596 const String16 opPackageName = data.readString16(); in onTransact()
1599 data.read(&config, sizeof(audio_config_base_t)); in onTransact()
1600 audio_input_flags_t flags = (audio_input_flags_t) data.readInt32(); in onTransact()
1601 audio_port_handle_t selectedDeviceId = (audio_port_handle_t) data.readInt32(); in onTransact()
1602 audio_port_handle_t portId = (audio_port_handle_t)data.readInt32(); in onTransact()
1616 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1617 audio_port_handle_t portId = static_cast <audio_port_handle_t>(data.readInt32()); in onTransact()
1624 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1625 audio_port_handle_t portId = static_cast <audio_port_handle_t>(data.readInt32()); in onTransact()
1631 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1632 audio_port_handle_t portId = static_cast <audio_port_handle_t>(data.readInt32()); in onTransact()
1638 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1640 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1641 int indexMin = data.readInt32(); in onTransact()
1642 int indexMax = data.readInt32(); in onTransact()
1648 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1650 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1651 int index = data.readInt32(); in onTransact()
1652 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1660 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1662 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1663 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1672 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1674 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1680 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1682 status_t status = data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
1686 int index = data.readInt32(); in onTransact()
1687 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1695 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1697 status_t status = data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
1701 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32()); in onTransact()
1713 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1715 status_t status = data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
1730 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1732 status_t status = data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
1747 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1749 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
1755 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1757 if (data.read(&desc, sizeof(desc)) != NO_ERROR) { in onTransact()
1767 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1769 if (data.read(&desc, sizeof(desc)) != NO_ERROR) { in onTransact()
1773 audio_io_handle_t io = data.readInt32(); in onTransact()
1774 uint32_t strategy = data.readInt32(); in onTransact()
1775 audio_session_t session = (audio_session_t) data.readInt32(); in onTransact()
1776 int id = data.readInt32(); in onTransact()
1786 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1787 int id = data.readInt32(); in onTransact()
1793 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1794 int id = data.readInt32(); in onTransact()
1795 bool enabled = static_cast <bool>(data.readInt32()); in onTransact()
1801 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1804 status_t status = data.readInt32(&size); in onTransact()
1813 status = data.readInt32(&id); in onTransact()
1820 audio_io_handle_t io = data.readInt32(); in onTransact()
1826 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1827 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32(); in onTransact()
1828 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact()
1834 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1835 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32(); in onTransact()
1836 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact()
1842 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1843 audio_source_t source = (audio_source_t) data.readInt32(); in onTransact()
1849 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1850 audio_session_t audioSession = (audio_session_t) data.readInt32(); in onTransact()
1851 uint32_t count = data.readInt32(); in onTransact()
1874 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1876 data.read(&info, sizeof(audio_offload_info_t)); in onTransact()
1883 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1886 status_t status = data.read(&config, sizeof(audio_config_base_t)); in onTransact()
1888 status = data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
1895 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1896 audio_port_role_t role = (audio_port_role_t)data.readInt32(); in onTransact()
1897 audio_port_type_t type = (audio_port_type_t)data.readInt32(); in onTransact()
1898 unsigned int numPortsReq = data.readInt32(); in onTransact()
1927 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1929 if (data.read(&port, sizeof(struct audio_port)) != NO_ERROR) { in onTransact()
1941 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1943 data.read(&patch, sizeof(struct audio_patch)); in onTransact()
1945 if (data.read(&handle, sizeof(audio_patch_handle_t)) != NO_ERROR) { in onTransact()
1957 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1959 data.read(&handle, sizeof(audio_patch_handle_t)); in onTransact()
1966 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1967 unsigned int numPatchesReq = data.readInt32(); in onTransact()
1996 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
1998 data.read(&config, sizeof(struct audio_port_config)); in onTransact()
2006 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2008 data.readStrongBinder()); in onTransact()
2014 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2015 setAudioPortCallbacksEnabled(data.readInt32() == 1); in onTransact()
2020 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2021 setAudioVolumeGroupCallbacksEnabled(data.readInt32() == 1); in onTransact()
2026 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2028 data.readStrongBinder()); in onTransact()
2043 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2045 data.readStrongBinder()); in onTransact()
2046 audio_session_t session = (audio_session_t)data.readInt32(); in onTransact()
2053 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2059 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2060 bool registration = data.readInt32() == 1; in onTransact()
2062 size_t size = (size_t)data.readInt32(); in onTransact()
2068 if (mix.readFromParcel((Parcel*)&data) == NO_ERROR) { in onTransact()
2078 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2080 data.read(&source, sizeof(struct audio_port_config)); in onTransact()
2083 data.read(&attributes, sizeof(audio_attributes_t)); in onTransact()
2093 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2094 audio_port_handle_t portId = (audio_port_handle_t) data.readInt32(); in onTransact()
2101 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2102 bool mono = static_cast<bool>(data.readInt32()); in onTransact()
2109 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2120 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2122 static_cast <audio_stream_type_t>(data.readInt32()); in onTransact()
2123 int index = static_cast <int>(data.readInt32()); in onTransact()
2125 static_cast <audio_devices_t>(data.readUint32()); in onTransact()
2131 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2132 unsigned int numSurroundFormatsReq = data.readUint32(); in onTransact()
2136 bool reported = data.readBool(); in onTransact()
2166 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2167 audio_format_t audioFormat = (audio_format_t) data.readInt32(); in onTransact()
2168 bool enabled = data.readBool(); in onTransact()
2175 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2190 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2192 status_t status = data.read(&type, sizeof(effect_uuid_t)); in onTransact()
2197 status = data.readString16(&opPackageName); in onTransact()
2202 status = data.read(&uuid, sizeof(effect_uuid_t)); in onTransact()
2206 int32_t priority = data.readInt32(); in onTransact()
2207 audio_usage_t usage = (audio_usage_t) data.readInt32(); in onTransact()
2220 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2221 audio_unique_id_t id = static_cast<audio_unique_id_t>(data.readInt32()); in onTransact()
2227 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2229 status_t status = data.read(&type, sizeof(effect_uuid_t)); in onTransact()
2234 status = data.readString16(&opPackageName); in onTransact()
2239 status = data.read(&uuid, sizeof(effect_uuid_t)); in onTransact()
2243 int32_t priority = data.readInt32(); in onTransact()
2244 audio_source_t source = (audio_source_t) data.readInt32(); in onTransact()
2257 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2258 audio_unique_id_t id = static_cast<audio_unique_id_t>(data.readInt32()); in onTransact()
2264 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2266 status_t status = data.readInt32(&uid); in onTransact()
2276 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2279 status_t status = data.readInt32(&size); in onTransact()
2288 status = data.readInt32(&uid); in onTransact()
2300 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2307 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2308 const uid_t uid = (uid_t) data.readInt32(); in onTransact()
2310 size_t size = (size_t)data.readInt32(); in onTransact()
2313 if (device.readFromParcel((Parcel*)&data) == NO_ERROR) { in onTransact()
2323 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2324 const uid_t uid = (uid_t) data.readInt32(); in onTransact()
2331 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2359 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2361 status_t status = attributes.readFromParcel(&data); in onTransact()
2376 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2404 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2406 status_t status = attributes.readFromParcel(&data); in onTransact()
2421 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2422 uid_t uid = data.readInt32(); in onTransact()
2423 audio_flags_mask_t flags = data.readInt32(); in onTransact()
2430 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2431 bool enabled = static_cast<bool>(data.readInt32()); in onTransact()
2438 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2439 product_strategy_t strategy = (product_strategy_t) data.readUint32(); in onTransact()
2441 status_t status = device.readFromParcel((Parcel*)&data); in onTransact()
2451 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2452 product_strategy_t strategy = (product_strategy_t) data.readUint32(); in onTransact()
2459 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2460 product_strategy_t strategy = (product_strategy_t) data.readUint32(); in onTransact()
2472 CHECK_INTERFACE(IAudioPolicyService, data, reply); in onTransact()
2478 return BBinder::onTransact(code, data, reply, flags); in onTransact()