Home | History | Annotate | Download | only in libmedia

Lines Matching full:data

75         Parcel data, reply;
76 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
77 data.writeInt32(static_cast <uint32_t>(device));
78 data.writeInt32(static_cast <uint32_t>(state));
79 data.writeCString(device_address);
80 remote()->transact(SET_DEVICE_CONNECTION_STATE, data, &reply);
88 Parcel data, reply;
89 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
90 data.writeInt32(static_cast <uint32_t>(device));
91 data.writeCString(device_address);
92 remote()->transact(GET_DEVICE_CONNECTION_STATE, data, &reply);
98 Parcel data, reply;
99 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
100 data.writeInt32(state);
101 remote()->transact(SET_PHONE_STATE, data, &reply);
107 Parcel data, reply;
108 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
109 data.writeInt32(static_cast <uint32_t>(usage));
110 data.writeInt32(static_cast <uint32_t>(config));
111 remote()->transact(SET_FORCE_USE, data, &reply);
117 Parcel data, reply;
118 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
119 data.writeInt32(static_cast <uint32_t>(usage));
120 remote()->transact(GET_FORCE_USE, data, &reply);
131 Parcel data, reply;
132 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
133 data.writeInt32(static_cast <uint32_t>(stream));
134 data.writeInt32(samplingRate);
135 data.writeInt32(static_cast <uint32_t>(format));
136 data.writeInt32(channelMask);
137 data.writeInt32(static_cast <uint32_t>(flags));
138 remote()->transact(GET_OUTPUT, data, &reply);
146 Parcel data, reply;
147 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
148 data.writeInt32(output);
149 data.writeInt32((int32_t) stream);
150 data.writeInt32(session);
151 remote()->transact(START_OUTPUT, data, &reply);
159 Parcel data, reply;
160 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
161 data.writeInt32(output);
162 data.writeInt32((int32_t) stream);
163 data.writeInt32(session);
164 remote()->transact(STOP_OUTPUT, data, &reply);
170 Parcel data, reply;
171 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
172 data.writeInt32(output);
173 remote()->transact(RELEASE_OUTPUT, data, &reply);
183 Parcel data, reply;
184 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
185 data.writeInt32((int32_t) inputSource);
186 data.writeInt32(samplingRate);
187 data.writeInt32(static_cast <uint32_t>(format));
188 data.writeInt32(channelMask);
189 data.writeInt32(audioSession);
190 remote()->transact(GET_INPUT, data, &reply);
196 Parcel data, reply;
197 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
198 data.writeInt32(input);
199 remote()->transact(START_INPUT, data, &reply);
205 Parcel data, reply;
206 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
207 data.writeInt32(input);
208 remote()->transact(STOP_INPUT, data, &reply);
214 Parcel data, reply;
215 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
216 data.writeInt32(input);
217 remote()->transact(RELEASE_INPUT, data, &reply);
224 Parcel data, reply;
225 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
226 data.writeInt32(static_cast <uint32_t>(stream));
227 data.writeInt32(indexMin);
228 data.writeInt32(indexMax);
229 remote()->transact(INIT_STREAM_VOLUME, data, &reply);
237 Parcel data, reply;
238 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
239 data.writeInt32(static_cast <uint32_t>(stream));
240 data.writeInt32(index);
241 data.writeInt32(static_cast <uint32_t>(device));
242 remote()->transact(SET_STREAM_VOLUME, data, &reply);
250 Parcel data, reply;
251 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
252 data.writeInt32(static_cast <uint32_t>(stream));
253 data.writeInt32(static_cast <uint32_t>(device));
255 remote()->transact(GET_STREAM_VOLUME, data, &reply);
263 Parcel data, reply;
264 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
265 data.writeInt32(static_cast <uint32_t>(stream));
266 remote()->transact(GET_STRATEGY_FOR_STREAM, data, &reply);
272 Parcel data, reply;
273 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
274 data.writeInt32(static_cast <uint32_t>(stream));
275 remote()->transact(GET_DEVICES_FOR_STREAM, data, &reply);
281 Parcel data, reply;
282 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
283 data.write(desc, sizeof(effect_descriptor_t));
284 remote()->transact(GET_OUTPUT_FOR_EFFECT, data, &reply);
294 Parcel data, reply;
295 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
296 data.write(desc, sizeof(effect_descriptor_t));
297 data.writeInt32(io);
298 data.writeInt32(strategy);
299 data.writeInt32(session);
300 data.writeInt32(id);
301 remote()->transact(REGISTER_EFFECT, data, &reply);
307 Parcel data, reply;
308 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
309 data.writeInt32(id);
310 remote()->transact(UNREGISTER_EFFECT, data, &reply);
316 Parcel data, reply;
317 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
318 data.writeInt32(id);
319 data.writeInt32(enabled);
320 remote()->transact(SET_EFFECT_ENABLED, data, &reply);
326 Parcel data, reply;
327 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
328 data.writeInt32((int32_t) stream);
329 data.writeInt32(inPastMs);
330 remote()->transact(IS_STREAM_ACTIVE, data, &reply);
336 Parcel data, reply;
337 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
338 data.writeInt32((int32_t) stream);
339 data.writeInt32(inPastMs);
340 remote()->transact(IS_STREAM_ACTIVE_REMOTELY, data, &reply);
346 Parcel data, reply;
347 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
348 data.writeInt32((int32_t) source);
349 remote()->transact(IS_SOURCE_ACTIVE, data, &reply);
360 Parcel data, reply;
361 data.writeInterfaceToken(IAudioPolicyService::getInterfaceDescriptor());
362 data.writeInt32(audioSession);
363 data.writeInt32(*count);
364 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply);
385 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
389 CHECK_INTERFACE(IAudioPolicyService, data, reply);
391 static_cast <audio_devices_t>(data.readInt32());
393 static_cast <audio_policy_dev_state_t>(data.readInt32());
394 const char *device_address = data.readCString();
402 CHECK_INTERFACE(IAudioPolicyService, data, reply);
404 static_cast<audio_devices_t> (data.readInt32());
405 const char *device_address = data.readCString();
412 CHECK_INTERFACE(IAudioPolicyService, data, reply);
414 (audio_mode_t) data.readInt32())));
419 CHECK_INTERFACE(IAudioPolicyService, data, reply);
421 data.readInt32());
423 data.readInt32());
429 CHECK_INTERFACE(IAudioPolicyService, data, reply);
431 data.readInt32());
437 CHECK_INTERFACE(IAudioPolicyService, data, reply);
439 static_cast <audio_stream_type_t>(data.readInt32());
440 uint32_t samplingRate = data.readInt32();
441 audio_format_t format = (audio_format_t) data.readInt32();
442 audio_channel_mask_t channelMask = data.readInt32();
444 static_cast <audio_output_flags_t>(data.readInt32());
456 CHECK_INTERFACE(IAudioPolicyService, data, reply);
457 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32());
458 uint32_t stream = data.readInt32();
459 int session = data.readInt32();
467 CHECK_INTERFACE(IAudioPolicyService, data, reply);
468 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32());
469 uint32_t stream = data.readInt32();
470 int session = data.readInt32();
478 CHECK_INTERFACE(IAudioPolicyService, data, reply);
479 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32());
485 CHECK_INTERFACE(IAudioPolicyService, data, reply);
486 audio_source_t inputSource = (audio_source_t) data.readInt32();
487 uint32_t samplingRate = data.readInt32();
488 audio_format_t format = (audio_format_t) data.readInt32();
489 audio_channel_mask_t channelMask = data.readInt32();
490 int audioSession = data.readInt32();
501 CHECK_INTERFACE(IAudioPolicyService, data, reply);
502 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32());
508 CHECK_INTERFACE(IAudioPolicyService, data, reply);
509 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32());
515 CHECK_INTERFACE(IAudioPolicyService, data, reply);
516 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32());
522 CHECK_INTERFACE(IAudioPolicyService, data, reply);
524 static_cast <audio_stream_type_t>(data.readInt32());
525 int indexMin = data.readInt32();
526 int indexMax = data.readInt32();
532 CHECK_INTERFACE(IAudioPolicyService, data, reply);
534 static_cast <audio_stream_type_t>(data.readInt32());
535 int index = data.readInt32();
536 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32());
544 CHECK_INTERFACE(IAudioPolicyService, data, reply);
546 static_cast <audio_stream_type_t>(data.readInt32());
547 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32());
556 CHECK_INTERFACE(IAudioPolicyService, data, reply);
558 static_cast <audio_stream_type_t>(data.readInt32());
564 CHECK_INTERFACE(IAudioPolicyService, data, reply);
566 static_cast <audio_stream_type_t>(data.readInt32());
572 CHECK_INTERFACE(IAudioPolicyService, data, reply);
574 data.read(&desc, sizeof(effect_descriptor_t));
581 CHECK_INTERFACE(IAudioPolicyService, data, reply);
583 data.read(&desc, sizeof(effect_descriptor_t));
584 audio_io_handle_t io = data.readInt32();
585 uint32_t strategy = data.readInt32();
586 int session = data.readInt32();
587 int id = data.readInt32();
597 CHECK_INTERFACE(IAudioPolicyService, data, reply);
598 int id = data.readInt32();
604 CHECK_INTERFACE(IAudioPolicyService, data, reply);
605 int id = data.readInt32();
606 bool enabled = static_cast <bool>(data.readInt32());
612 CHECK_INTERFACE(IAudioPolicyService, data, reply);
613 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32();
614 uint32_t inPastMs = (uint32_t)data.readInt32();
620 CHECK_INTERFACE(IAudioPolicyService, data, reply);
621 audio_stream_type_t stream = (audio_stream_type_t) data.readInt32();
622 uint32_t inPastMs = (uint32_t)data.readInt32();
628 CHECK_INTERFACE(IAudioPolicyService, data, reply);
629 audio_source_t source = (audio_source_t) data.readInt32();
635 CHECK_INTERFACE(IAudioPolicyService, data, reply);
636 int audioSession = data.readInt32();
637 uint32_t count = data.readInt32();
658 return BBinder::onTransact(code, data, reply, flags);