Home | History | Annotate | Download | only in libmedia

Lines Matching full:data

99         Parcel data, reply;
101 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
102 data.writeInt32((int32_t) streamType);
103 data.writeInt32(sampleRate);
104 data.writeInt32(format);
105 data.writeInt32(channelMask);
106 data.writeInt32(frameCount);
108 data.writeInt32(lFlags);
109 data.writeStrongBinder(sharedBuffer->asBinder());
110 data.writeInt32((int32_t) output);
111 data.writeInt32((int32_t) tid);
116 data.writeInt32(lSessionId);
117 status_t lStatus = remote()->transact(CREATE_TRACK, data, &reply);
149 Parcel data, reply;
151 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
152 data.writeInt32((int32_t) input);
153 data.writeInt32(sampleRate);
154 data.writeInt32(format);
155 data.writeInt32(channelMask);
156 data.writeInt32(frameCount);
157 data.writeInt32(flags);
158 data.writeInt32((int32_t) tid);
163 data.writeInt32(lSessionId);
164 status_t lStatus = remote()->transact(OPEN_RECORD, data, &reply);
183 Parcel data, reply;
184 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
185 data.writeInt32((int32_t) output);
186 remote()->transact(SAMPLE_RATE, data, &reply);
192 Parcel data, reply;
193 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
194 data.writeInt32((int32_t) output);
195 remote()->transact(FORMAT, data, &reply);
201 Parcel data, reply;
202 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
203 data.writeInt32((int32_t) output);
204 remote()->transact(FRAME_COUNT, data, &reply);
210 Parcel data, reply;
211 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
212 data.writeInt32((int32_t) output);
213 remote()->transact(LATENCY, data, &reply);
219 Parcel data, reply;
220 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
221 data.writeFloat(value);
222 remote()->transact(SET_MASTER_VOLUME, data, &reply);
228 Parcel data, reply;
229 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
230 data.writeInt32(muted);
231 remote()->transact(SET_MASTER_MUTE, data, &reply);
237 Parcel data, reply;
238 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
239 remote()->transact(MASTER_VOLUME, data, &reply);
245 Parcel data, reply;
246 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
247 remote()->transact(MASTER_MUTE, data, &reply);
254 Parcel data, reply;
255 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
256 data.writeInt32((int32_t) stream);
257 data.writeFloat(value);
258 data.writeInt32((int32_t) output);
259 remote()->transact(SET_STREAM_VOLUME, data, &reply);
265 Parcel data, reply;
266 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
267 data.writeInt32((int32_t) stream);
268 data.writeInt32(muted);
269 remote()->transact(SET_STREAM_MUTE, data, &reply);
275 Parcel data, reply;
276 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
277 data.writeInt32((int32_t) stream);
278 data.writeInt32((int32_t) output);
279 remote()->transact(STREAM_VOLUME, data, &reply);
285 Parcel data, reply;
286 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
287 data.writeInt32((int32_t) stream);
288 remote()->transact(STREAM_MUTE, data, &reply);
294 Parcel data, reply;
295 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
296 data.writeInt32(mode);
297 remote()->transact(SET_MODE, data, &reply);
303 Parcel data, reply;
304 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
305 data.writeInt32(state);
306 remote()->transact(SET_MIC_MUTE, data, &reply);
312 Parcel data, reply;
313 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
314 remote()->transact(GET_MIC_MUTE, data, &reply);
320 Parcel data, reply;
321 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
322 data.writeInt32((int32_t) ioHandle);
323 data.writeString8(keyValuePairs);
324 remote()->transact(SET_PARAMETERS, data, &reply);
330 Parcel data, reply;
331 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
332 data.writeInt32((int32_t) ioHandle);
333 data.writeString8(keys);
334 remote()->transact(GET_PARAMETERS, data, &reply);
340 Parcel data, reply;
341 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
342 data.writeStrongBinder(client->asBinder());
343 remote()->transact(REGISTER_CLIENT, data, &reply);
349 Parcel data, reply;
350 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
351 data.writeInt32(sampleRate);
352 data.writeInt32(format);
353 data.writeInt32(channelMask);
354 remote()->transact(GET_INPUTBUFFERSIZE, data, &reply);
366 Parcel data, reply;
373 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
374 data.writeInt32(module);
375 data.writeInt32(devices);
376 data.writeInt32(samplingRate);
377 data.writeInt32(format);
378 data.writeInt32(channelMask);
379 data.writeInt32(latency);
380 data.writeInt32((int32_t) flags);
381 remote()->transact(OPEN_OUTPUT, data, &reply);
400 Parcel data, reply;
401 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
402 data.writeInt32((int32_t) output1);
403 data.writeInt32((int32_t) output2);
404 remote()->transact(OPEN_DUPLICATE_OUTPUT, data, &reply);
410 Parcel data, reply;
411 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
412 data.writeInt32((int32_t) output);
413 remote()->transact(CLOSE_OUTPUT, data, &reply);
419 Parcel data, reply;
420 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
421 data.writeInt32((int32_t) output);
422 remote()->transact(SUSPEND_OUTPUT, data, &reply);
428 Parcel data, reply;
429 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
430 data.writeInt32((int32_t) output);
431 remote()->transact(RESTORE_OUTPUT, data, &reply);
441 Parcel data, reply;
447 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
448 data.writeInt32(module);
449 data.writeInt32(devices);
450 data.writeInt32(samplingRate);
451 data.writeInt32(format);
452 data.writeInt32(channelMask);
453 remote()->transact(OPEN_INPUT, data, &reply);
468 Parcel data, reply;
469 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
470 data.writeInt32(input);
471 remote()->transact(CLOSE_INPUT, data, &reply);
477 Parcel data, reply;
478 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
479 data.writeInt32((int32_t) stream);
480 data.writeInt32((int32_t) output);
481 remote()->transact(SET_STREAM_OUTPUT, data, &reply);
487 Parcel data, reply;
488 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
489 data.writeFloat(volume);
490 remote()->transact(SET_VOICE_VOLUME, data, &reply);
497 Parcel data, reply;
498 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
499 data.writeInt32((int32_t) output);
500 remote()->transact(GET_RENDER_POSITION, data, &reply);
517 Parcel data, reply;
518 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
519 data.writeInt32((int32_t) ioHandle);
520 remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply);
526 Parcel data, reply;
527 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
528 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply);
538 Parcel data, reply;
539 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
540 data.writeInt32(audioSession);
541 remote()->transact(ACQUIRE_AUDIO_SESSION_ID, data, &reply);
546 Parcel data, reply;
547 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
548 data.writeInt32(audioSession);
549 remote()->transact(RELEASE_AUDIO_SESSION_ID, data, &reply);
554 Parcel data, reply;
555 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
556 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply);
575 Parcel data, reply;
576 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
577 data.writeInt32(index);
578 status_t status = remote()->transact(QUERY_EFFECT, data, &reply);
596 Parcel data, reply;
597 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
598 data.write(pUuid, sizeof(effect_uuid_t));
599 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply);
621 Parcel data, reply;
631 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
632 data.write(pDesc, sizeof(effect_descriptor_t));
633 data.writeStrongBinder(client->asBinder());
634 data.writeInt32(priority);
635 data.writeInt32((int32_t) output);
636 data.writeInt32(sessionId);
638 status_t lStatus = remote()->transact(CREATE_EFFECT, data, &reply);
664 Parcel data, reply;
665 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
666 data.writeInt32(session);
667 data.writeInt32((int32_t) srcOutput);
668 data.writeInt32((int32_t) dstOutput);
669 remote()->transact(MOVE_EFFECTS, data, &reply);
675 Parcel data, reply;
676 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
677 data.writeCString(name);
678 remote()->transact(LOAD_HW_MODULE, data, &reply);
684 Parcel data, reply;
685 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
686 remote()->transact(GET_PRIMARY_OUTPUT_SAMPLING_RATE, data, &reply);
692 Parcel data, reply;
693 data.writeInterfaceToken(IAudioFlinger::getInterfaceDescriptor());
694 remote()->transact(GET_PRIMARY_OUTPUT_FRAME_COUNT, data, &reply);
705 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
709 CHECK_INTERFACE(IAudioFlinger, data, reply);
710 int streamType = data.readInt32();
711 uint32_t sampleRate = data.readInt32();
712 audio_format_t format = (audio_format_t) data.readInt32();
713 audio_channel_mask_t channelMask = data.readInt32();
714 size_t frameCount = data.readInt32();
715 track_flags_t flags = (track_flags_t) data.readInt32();
716 sp<IMemory> buffer = interface_cast<IMemory>(data.readStrongBinder());
717 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
718 pid_t tid = (pid_t) data.readInt32();
719 int sessionId = data.readInt32();
731 CHECK_INTERFACE(IAudioFlinger, data, reply);
732 audio_io_handle_t input = (audio_io_handle_t) data.readInt32();
733 uint32_t sampleRate = data.readInt32();
734 audio_format_t format = (audio_format_t) data.readInt32();
735 audio_channel_mask_t channelMask = data.readInt32();
736 size_t frameCount = data.readInt32();
737 track_flags_t flags = (track_flags_t) data.readInt32();
738 pid_t tid = (pid_t) data.readInt32();
739 int sessionId = data.readInt32();
749 CHECK_INTERFACE(IAudioFlinger, data, reply);
750 reply->writeInt32( sampleRate((audio_io_handle_t) data.readInt32()) );
754 CHECK_INTERFACE(IAudioFlinger, data, reply);
755 reply->writeInt32( format((audio_io_handle_t) data.readInt32()) );
759 CHECK_INTERFACE(IAudioFlinger, data, reply);
760 reply->writeInt32( frameCount((audio_io_handle_t) data.readInt32()) );
764 CHECK_INTERFACE(IAudioFlinger, data, reply);
765 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
769 CHECK_INTERFACE(IAudioFlinger, data, reply);
770 reply->writeInt32( setMasterVolume(data.readFloat()) );
774 CHECK_INTERFACE(IAudioFlinger, data, reply);
775 reply->writeInt32( setMasterMute(data.readInt32()) );
779 CHECK_INTERFACE(IAudioFlinger, data, reply);
784 CHECK_INTERFACE(IAudioFlinger, data, reply);
789 CHECK_INTERFACE(IAudioFlinger, data, reply);
790 int stream = data.readInt32();
791 float volume = data.readFloat();
792 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
797 CHECK_INTERFACE(IAudioFlinger, data, reply);
798 int stream = data.readInt32();
799 reply->writeInt32( setStreamMute((audio_stream_type_t) stream, data.readInt32()) );
803 CHECK_INTERFACE(IAudioFlinger, data, reply);
804 int stream = data.readInt32();
805 int output = data.readInt32();
810 CHECK_INTERFACE(IAudioFlinger, data, reply);
811 int stream = data.readInt32();
816 CHECK_INTERFACE(IAudioFlinger, data, reply);
817 audio_mode_t mode = (audio_mode_t) data.readInt32();
822 CHECK_INTERFACE(IAudioFlinger, data, reply);
823 int state = data.readInt32();
828 CHECK_INTERFACE(IAudioFlinger, data, reply);
833 CHECK_INTERFACE(IAudioFlinger, data, reply);
834 audio_io_handle_t ioHandle = (audio_io_handle_t) data.readInt32();
835 String8 keyValuePairs(data.readString8());
840 CHECK_INTERFACE(IAudioFlinger, data, reply);
841 audio_io_handle_t ioHandle = (audio_io_handle_t) data.readInt32();
842 String8 keys(data.readString8());
848 CHECK_INTERFACE(IAudioFlinger, data, reply);
850 data.readStrongBinder());
855 CHECK_INTERFACE(IAudioFlinger, data, reply);
856 uint32_t sampleRate = data.readInt32();
857 audio_format_t format = (audio_format_t) data.readInt32();
858 audio_channel_mask_t channelMask = data.readInt32();
863 CHECK_INTERFACE(IAudioFlinger, data, reply);
864 audio_module_handle_t module = (audio_module_handle_t)data.readInt32();
865 audio_devices_t devices = (audio_devices_t)data.readInt32();
866 uint32_t samplingRate = data.readInt32();
867 audio_format_t format = (audio_format_t) data.readInt32();
868 audio_channel_mask_t channelMask = (audio_channel_mask_t)data.readInt32();
869 uint32_t latency = data.readInt32();
870 audio_output_flags_t flags = (audio_output_flags_t) data.readInt32();
888 CHECK_INTERFACE(IAudioFlinger, data, reply);
889 audio_io_handle_t output1 = (audio_io_handle_t) data.readInt32();
890 audio_io_handle_t output2 = (audio_io_handle_t) data.readInt32();
895 CHECK_INTERFACE(IAudioFlinger, data, reply);
896 reply->writeInt32(closeOutput((audio_io_handle_t) data.readInt32()));
900 CHECK_INTERFACE(IAudioFlinger, data, reply);
901 reply->writeInt32(suspendOutput((audio_io_handle_t) data.readInt32()));
905 CHECK_INTERFACE(IAudioFlinger, data, reply);
906 reply->writeInt32(restoreOutput((audio_io_handle_t) data.readInt32()));
910 CHECK_INTERFACE(IAudioFlinger, data, reply);
911 audio_module_handle_t module = (audio_module_handle_t)data.readInt32();
912 audio_devices_t devices = (audio_devices_t)data.readInt32();
913 uint32_t samplingRate = data.readInt32();
914 audio_format_t format = (audio_format_t) data.readInt32();
915 audio_channel_mask_t channelMask = (audio_channel_mask_t)data.readInt32();
930 CHECK_INTERFACE(IAudioFlinger, data, reply);
931 reply->writeInt32(closeInput((audio_io_handle_t) data.readInt32()));
935 CHECK_INTERFACE(IAudioFlinger, data, reply);
936 uint32_t stream = data.readInt32();
937 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
942 CHECK_INTERFACE(IAudioFlinger, data, reply);
943 float volume = data.readFloat();
948 CHECK_INTERFACE(IAudioFlinger, data, reply);
949 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
961 CHECK_INTERFACE(IAudioFlinger, data, reply);
962 audio_io_handle_t ioHandle = (audio_io_handle_t) data.readInt32();
967 CHECK_INTERFACE(IAudioFlinger, data, reply);
972 CHECK_INTERFACE(IAudioFlinger, data, reply);
973 int audioSession = data.readInt32();
978 CHECK_INTERFACE(IAudioFlinger, data, reply);
979 int audioSession = data.readInt32();
984 CHECK_INTERFACE(IAudioFlinger, data, reply);
994 CHECK_INTERFACE(IAudioFlinger, data, reply);
996 status_t status = queryEffect(data.readInt32(), &desc);
1004 CHECK_INTERFACE(IAudioFlinger, data, reply);
1006 data.read(&uuid, sizeof(effect_uuid_t));
1016 CHECK_INTERFACE(IAudioFlinger, data, reply);
1018 data.read(&desc, sizeof(effect_descriptor_t));
1019 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder());
1020 int32_t priority = data.readInt32();
1021 audio_io_handle_t output = (audio_io_handle_t) data.readInt32();
1022 int sessionId = data.readInt32();
1037 CHECK_INTERFACE(IAudioFlinger, data, reply);
1038 int session = data.readInt32();
1039 audio_io_handle_t srcOutput = (audio_io_handle_t) data.readInt32();
1040 audio_io_handle_t dstOutput = (audio_io_handle_t) data.readInt32();
1045 CHECK_INTERFACE(IAudioFlinger, data, reply);
1046 reply->writeInt32(loadHwModule(data.readCString()));
1050 CHECK_INTERFACE(IAudioFlinger, data, reply);
1055 CHECK_INTERFACE(IAudioFlinger, data, reply);
1060 return BBinder::onTransact(code, data, reply, flags);