Lines Matching full:data
101 Parcel data, reply;
103 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
104 data.writeInt32((int32_t) streamType);
105 data.writeInt32(sampleRate);
106 data.writeInt32(format);
107 data.writeInt32(channelMask);
108 data.writeInt32(frameCount);
110 data.writeInt32(lFlags);
112 data.writeInt32(true);
113 data.writeStrongBinder(sharedBuffer->asBinder());
115 data.writeInt32(false);
117 data.writeInt32((int32_t) output);
118 data.writeInt32((int32_t) tid);
123 data.writeInt32(lSessionId);
124 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply);
157 Parcel data, reply;
159 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
160 data.writeInt32((int32_t) input);
161 data.writeInt32(sampleRate);
162 data.writeInt32(format);
163 data.writeInt32(channelMask);
164 data.writeInt32(frameCount);
166 data.writeInt32(lFlags);
167 data.writeInt32((int32_t) tid);
172 data.writeInt32(lSessionId);
173 status_t lStatus = remote()->transact(OPEN_RECORD, data, &reply);
207 Parcel data, reply;
208 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
209 data.writeInt32((int32_t) output);
210 remote()->transact(SAMPLE_RATE, data, &reply);
216 Parcel data, reply;
217 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
218 data.writeInt32((int32_t) output);
219 remote()->transact(FORMAT, data, &reply);
225 Parcel data, reply;
226 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
227 data.writeInt32((int32_t) output);
228 remote()->transact(FRAME_COUNT, data, &reply);
234 Parcel data, reply;
235 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
236 data.writeInt32((int32_t) output);
237 remote()->transact(LATENCY, data, &reply);
243 Parcel data, reply;
244 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
245 data.writeFloat(value);
246 remote()->transact(SET_MASTER_VOLUME, data, &reply);
252 Parcel data, reply;
253 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
254 data.writeInt32(muted);
255 remote()->transact(SET_MASTER_MUTE, data, &reply);
261 Parcel data, reply;
262 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
263 remote()->transact(MASTER_VOLUME, data, &reply);
269 Parcel data, reply;
270 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
271 remote()->transact(MASTER_MUTE, data, &reply);
278 Parcel data, reply;
279 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
280 data.writeInt32((int32_t) stream);
281 data.writeFloat(value);
282 data.writeInt32((int32_t) output);
283 remote()->transact(SET_STREAM_VOLUME, data, &reply);
289 Parcel data, reply;
290 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
291 data.writeInt32((int32_t) stream);
292 data.writeInt32(muted);
293 remote()->transact(SET_STREAM_MUTE, data, &reply);
299 Parcel data, reply;
300 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
301 data.writeInt32((int32_t) stream);
302 data.writeInt32((int32_t) output);
303 remote()->transact(STREAM_VOLUME, data, &reply);
309 Parcel data, reply;
310 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
311 data.writeInt32((int32_t) stream);
312 remote()->transact(STREAM_MUTE, data, &reply);
318 Parcel data, reply;
319 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
320 data.writeInt32(mode);
321 remote()->transact(SET_MODE, data, &reply);
327 Parcel data, reply;
328 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
329 data.writeInt32(state);
330 remote()->transact(SET_MIC_MUTE, data, &reply);
336 Parcel data, reply;
337 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
338 remote()->transact(GET_MIC_MUTE, data, &reply);
344 Parcel data, reply;
345 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
346 data.writeInt32((int32_t) ioHandle);
347 data.writeString8(keyValuePairs);
348 remote()->transact(SET_PARAMETERS, data, &reply);
354 Parcel data, reply;
355 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
356 data.writeInt32((int32_t) ioHandle);
357 data.writeString8(keys);
358 remote()->transact(GET_PARAMETERS, data, &reply);
364 Parcel data, reply;
365 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
366 data.writeStrongBinder(client->asBinder());
367 remote()->transact(REGISTER_CLIENT, data, &reply);
373 Parcel data, reply;
374 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
375 data.writeInt32(sampleRate);
376 data.writeInt32(format);
377 data.writeInt32(channelMask);
378 remote()->transact(GET_INPUTBUFFERSIZE, data, &reply);
391 Parcel data, reply;
398 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
399 data.writeInt32(module);
400 data.writeInt32(devices);
401 data.writeInt32(samplingRate);
402 data.writeInt32(format);
403 data.writeInt32(channelMask);
404 data.writeInt32(latency);
405 data.writeInt32((int32_t) flags);
407 data.writeInt32(0);
409 data.writeInt32(1);
410 data.write(offloadInfo, sizeof(audio_offload_info_t));
412 remote()->transact(OPEN_OUTPUT, data, &reply);
431 Parcel data, reply;
432 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
433 data.writeInt32((int32_t) output1);
434 data.writeInt32((int32_t) output2);
435 remote()->transact(OPEN_DUPLICATE_OUTPUT, data, &reply);
441 Parcel data, reply;
442 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
443 data.writeInt32((int32_t) output);
444 remote()->transact(CLOSE_OUTPUT, data, &reply);
450 Parcel data, reply;
451 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
452 data.writeInt32((int32_t) output);
453 remote()->transact(SUSPEND_OUTPUT, data, &reply);
459 Parcel data, reply;
460 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
461 data.writeInt32((int32_t) output);
462 remote()->transact(RESTORE_OUTPUT, data, &reply);
472 Parcel data, reply;
479 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
480 data.writeInt32(module);
481 data.writeInt32(devices);
482 data.writeInt32(samplingRate);
483 data.writeInt32(format);
484 data.writeInt32(channelMask);
485 remote()->transact(OPEN_INPUT, data, &reply);
500 Parcel data, reply;
501 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
502 data.writeInt32(input);
503 remote()->transact(CLOSE_INPUT, data, &reply);
509 Parcel data, reply;
510 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
511 data.writeInt32((int32_t) stream);
512 data.writeInt32((int32_t) output);
513 remote()->transact(SET_STREAM_OUTPUT, data, &reply);
519 Parcel data, reply;
520 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
521 data.writeFloat(volume);
522 remote()->transact(SET_VOICE_VOLUME, data, &reply);
529 Parcel data, reply;
530 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
531 data.writeInt32((int32_t) output);
532 remote()->transact(GET_RENDER_POSITION, data, &reply);
549 Parcel data, reply;
550 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
551 data.writeInt32((int32_t) ioHandle);
552 remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply);
558 Parcel data, reply;
559 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
560 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply);
570 Parcel data, reply;
571 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
572 data.writeInt32(audioSession);
573 remote()->transact(ACQUIRE_AUDIO_SESSION_ID, data, &reply);
578 Parcel data, reply;
579 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
580 data.writeInt32(audioSession);
581 remote()->transact(RELEASE_AUDIO_SESSION_ID, data, &reply);
586 Parcel data, reply;
587 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
588 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply);
607 Parcel data, reply;
608 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
609 data.writeInt32(index);
610 status_t status = remote()->transact(QUERY_EFFECT, data, &reply);
628 Parcel data, reply;
629 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
630 data.write(pUuid, sizeof(effect_uuid_t));
631 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply);
653 Parcel data, reply;
663 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
664 data.write(pDesc, sizeof(effect_descriptor_t));
665 data.writeStrongBinder(client->asBinder());
666 data.writeInt32(priority);
667 data.writeInt32((int32_t) output);
668 data.writeInt32(sessionId);
670 status_t lStatus = remote()->transact(CREATE_EFFECT, data, &reply);
696 Parcel data, reply;
697 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
698 data.writeInt32(session);
699 data.writeInt32((int32_t) srcOutput);
700 data.writeInt32((int32_t) dstOutput);
701 remote()->transact(MOVE_EFFECTS, data, &reply);
707 Parcel data, reply;
708 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
709 data.writeCString(name);
710 remote()->transact(LOAD_HW_MODULE, data, &reply);
716 Parcel data, reply;
717 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
718 remote()->transact(GET_PRIMARY_OUTPUT_SAMPLING_RATE, data, &reply);
724 Parcel data, reply;
725 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
726 remote()->transact(GET_PRIMARY_OUTPUT_FRAME_COUNT, data, &reply);
732 Parcel data, reply;
733 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
734 data.writeInt32((int) isLowRamDevice);
735 remote()->transact(SET_LOW_RAM_DEVICE, data, &reply);
746 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
750 CHECK_INTERFACE(IAudioFlinger, data, reply);
751 int streamType = data.readInt32();
752 uint32_t sampleRate = data.readInt32();
753 audio_format_t format = (audio_format_t) data.readInt32();
754 audio_channel_mask_t channelMask = data.readInt32();
755 size_t frameCount = data.readInt32();
756 track_flags_t flags = (track_flags_t) data.readInt32();
757 bool haveSharedBuffer = data.readInt32() != 0;
760 buffer = interface_cast<IMemory>(data.readStrongBinder());
762 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
763 pid_t tid = (pid_t) data.readInt32();
764 int sessionId = data.readInt32();
786 CHECK_INTERFACE(IAudioFlinger, data, reply);
787 audio_io_handle_t input = (audio_io_handle_t) data.readInt32();
788 uint32_t sampleRate = data.readInt32();
789 audio_format_t format = (audio_format_t) data.readInt32();
790 audio_channel_mask_t channelMask = data.readInt32();
791 size_t frameCount = data.readInt32();
792 track_flags_t flags = (track_flags_t) data.readInt32();
793 pid_t tid = (pid_t) data.readInt32();
794 int sessionId = data.readInt32();
806 CHECK_INTERFACE(IAudioFlinger, data, reply);
807 reply->writeInt32( sampleRate((audio_io_handle_t) data.readInt32()) );
811 CHECK_INTERFACE(IAudioFlinger, data, reply);
812 reply->writeInt32( format((audio_io_handle_t) data.readInt32()) );
816 CHECK_INTERFACE(IAudioFlinger, data, reply);
817 reply->writeInt32( frameCount((audio_io_handle_t) data.readInt32()) );
821 CHECK_INTERFACE(IAudioFlinger, data, reply);
822 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
826 CHECK_INTERFACE(IAudioFlinger, data, reply);
827 reply->writeInt32( setMasterVolume(data.readFloat()) );
831 CHECK_INTERFACE(IAudioFlinger, data, reply);
832 reply->writeInt32( setMasterMute(data.readInt32()) );
836 CHECK_INTERFACE(IAudioFlinger, data, reply);
841 CHECK_INTERFACE(IAudioFlinger, data, reply);
846 CHECK_INTERFACE(IAudioFlinger, data, reply);
847 int stream = data.readInt32();
848 float volume = data.readFloat();
849 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
854 CHECK_INTERFACE(IAudioFlinger, data, reply);
855 int stream = data.readInt32();
856 reply->writeInt32( setStreamMute((audio_stream_type_t) stream, data.readInt32()) );
860 CHECK_INTERFACE(IAudioFlinger, data, reply);
861 int stream = data.readInt32();
862 int output = data.readInt32();
867 CHECK_INTERFACE(IAudioFlinger, data, reply);
868 int stream = data.readInt32();
873 CHECK_INTERFACE(IAudioFlinger, data, reply);
874 audio_mode_t mode = (audio_mode_t) data.readInt32();
879 CHECK_INTERFACE(IAudioFlinger, data, reply);
880 int state = data.readInt32();
885 CHECK_INTERFACE(IAudioFlinger, data, reply);
890 CHECK_INTERFACE(IAudioFlinger, data, reply);
891 audio_io_handle_t ioHandle = (audio_io_handle_t) data
892 String8 keyValuePairs(data.readString8());
897 CHECK_INTERFACE(IAudioFlinger, data, reply);
898 audio_io_handle_t ioHandle = (audio_io_handle_t) data.readInt32();
899 String8 keys(data.readString8());
905 CHECK_INTERFACE(IAudioFlinger, data, reply);
907 data.readStrongBinder());
912 CHECK_INTERFACE(IAudioFlinger, data, reply);
913 uint32_t sampleRate = data.readInt32();
914 audio_format_t format = (audio_format_t) data.readInt32();
915 audio_channel_mask_t channelMask = data.readInt32();
920 CHECK_INTERFACE(IAudioFlinger, data, reply);
921 audio_module_handle_t module = (audio_module_handle_t)data.readInt32();
922 audio_devices_t devices = (audio_devices_t)data.readInt32();
923 uint32_t samplingRate = data.readInt32();
924 audio_format_t format = (audio_format_t) data.readInt32();
925 audio_channel_mask_t channelMask = (audio_channel_mask_t)data.readInt32();
926 uint32_t latency = data.readInt32();
927 audio_output_flags_t flags = (audio_output_flags_t) data.readInt32();
928 bool hasOffloadInfo = data.readInt32() != 0;
931 data.read(&offloadInfo, sizeof(audio_offload_info_t));
951 CHECK_INTERFACE(IAudioFlinger, data, reply);
952 audio_io_handle_t output1 = (audio_io_handle_t) data.readInt32();
953 audio_io_handle_t output2 = (audio_io_handle_t) data.readInt32();
958 CHECK_INTERFACE(IAudioFlinger, data, reply);
959 reply->writeInt32(closeOutput((audio_io_handle_t) data.readInt32()));
963 CHECK_INTERFACE(IAudioFlinger, data, reply);
964 reply->writeInt32(suspendOutput((audio_io_handle_t) data.readInt32()));
968 CHECK_INTERFACE(IAudioFlinger, data, reply);
969 reply->writeInt32(restoreOutput((audio_io_handle_t) data.readInt32()));
973 CHECK_INTERFACE(IAudioFlinger, data, reply);
974 audio_module_handle_t module = (audio_module_handle_t)data.readInt32();
975 audio_devices_t devices = (audio_devices_t)data.readInt32();
976 uint32_t samplingRate = data.readInt32();
977 audio_format_t format = (audio_format_t) data.readInt32();
978 audio_channel_mask_t channelMask = (audio_channel_mask_t)data.readInt32();
993 CHECK_INTERFACE(IAudioFlinger, data, reply);
994 reply->writeInt32(closeInput((audio_io_handle_t) data.readInt32()));
998 CHECK_INTERFACE(IAudioFlinger, data, reply);
999 uint32_t stream = data.readInt32();
1000 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
1005 CHECK_INTERFACE(IAudioFlinger, data, reply);
1006 float volume = data.readFloat();
1011 CHECK_INTERFACE(IAudioFlinger, data, reply);
1012 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
1024 CHECK_INTERFACE(IAudioFlinger, data, reply);
1025 audio_io_handle_t ioHandle = (audio_io_handle_t) data.readInt32();
1030 CHECK_INTERFACE(IAudioFlinger, data, reply);
1035 CHECK_INTERFACE(IAudioFlinger, data, reply);
1036 int audioSession = data.readInt32();
1041 CHECK_INTERFACE(IAudioFlinger, data, reply);
1042 int audioSession = data.readInt32();
1047 CHECK_INTERFACE(IAudioFlinger, data, reply);
1057 CHECK_INTERFACE(IAudioFlinger, data, reply);
1059 status_t status = queryEffect(data.readInt32(), &desc);
1067 CHECK_INTERFACE(IAudioFlinger, data, reply);
1069 data.read(&uuid, sizeof(effect_uuid_t));
1079 CHECK_INTERFACE(IAudioFlinger, data, reply);
1081 data.read(&desc, sizeof(effect_descriptor_t));
1082 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder());
1083 int32_t priority = data.readInt32();
1084 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
1085 int sessionId = data.readInt32();
1100 CHECK_INTERFACE(IAudioFlinger, data, reply);
1101 int session = data.readInt32();
1102 audio_io_handle_t srcOutput = (audio_io_handle_t) data.readInt32();
1103 audio_io_handle_t dstOutput = (audio_io_handle_t) data.readInt32();
1108 CHECK_INTERFACE(IAudioFlinger, data, reply);
1109 reply->writeInt32(loadHwModule(data.readCString()));
1113 CHECK_INTERFACE(IAudioFlinger, data, reply);
1118 CHECK_INTERFACE(IAudioFlinger, data, reply);
1123 CHECK_INTERFACE(IAudioFlinger, data, reply);
1124 bool isLowRamDevice = data.readInt32() != 0;
1129 return BBinder::onTransact(code, data, reply, flags);