Home | History | Annotate | Download | only in libmedia

Lines Matching full:static_cast

78         data.writeInt32(static_cast <uint32_t>(device));
79 data.writeInt32(static_cast <uint32_t>(state));
82 return static_cast <status_t> (reply.readInt32());
91 data.writeInt32(static_cast <uint32_t>(device));
94 return static_cast <audio_policy_dev_state_t>(reply.readInt32());
103 return static_cast <status_t> (reply.readInt32());
110 data.writeInt32(static_cast <uint32_t>(usage));
111 data.writeInt32(static_cast <uint32_t>(config));
113 return static_cast <status_t> (reply.readInt32());
120 data.writeInt32(static_cast <uint32_t>(usage));
122 return static_cast <audio_policy_forced_cfg_t> (reply.readInt32());
135 data.writeInt32(static_cast <uint32_t>(stream));
137 data.writeInt32(static_cast <uint32_t>(format));
139 data.writeInt32(static_cast <uint32_t>(flags));
147 return static_cast <audio_io_handle_t> (reply.readInt32());
160 return static_cast <status_t> (reply.readInt32());
173 return static_cast <status_t> (reply.readInt32());
195 data.writeInt32(static_cast <uint32_t>(format));
199 return static_cast <audio_io_handle_t> (reply.readInt32());
208 return static_cast <status_t> (reply.readInt32());
217 return static_cast <status_t> (reply.readInt32());
234 data.writeInt32(static_cast <uint32_t>(stream));
238 return static_cast <status_t> (reply.readInt32());
247 data.writeInt32(static_cast <uint32_t>(stream));
249 data.writeInt32(static_cast <uint32_t>(device));
251 return static_cast <status_t> (reply.readInt32());
260 data.writeInt32(static_cast <uint32_t>(stream));
261 data.writeInt32(static_cast <uint32_t>(device));
266 return static_cast <status_t> (reply.readInt32());
273 data.writeInt32(static_cast <uint32_t>(stream));
282 data.writeInt32(static_cast <uint32_t>(stream));
293 return static_cast <audio_io_handle_t> (reply.readInt32());
310 return static_cast <status_t> (reply.readInt32());
319 return static_cast <status_t> (reply.readInt32());
329 return static_cast <status_t> (reply.readInt32());
376 status = static_cast <status_t> (reply.readInt32());
407 static_cast <audio_devices_t>(data.readInt32());
409 static_cast <audio_policy_dev_state_t>(data.readInt32());
411 reply->writeInt32(static_cast<uint32_t> (setDeviceConnectionState(device,
420 static_cast<audio_devices_t> (data.readInt32());
422 reply->writeInt32(static_cast<uint32_t> (getDeviceConnectionState(device,
429 reply->writeInt32(static_cast <uint32_t>(setPhoneState(
436 audio_policy_force_use_t usage = static_cast <audio_policy_force_use_t>(
439 static_cast <audio_policy_forced_cfg_t>(data.readInt32());
440 reply->writeInt32(static_cast <uint32_t>(setForceUse(usage, config)));
446 audio_policy_force_use_t usage = static_cast <audio_policy_force_use_t>(
448 reply->writeInt32(static_cast <uint32_t>(getForceUse(usage)));
455 static_cast <audio_stream_type_t>(data.readInt32());
460 static_cast <audio_output_flags_t>(data.readInt32());
472 reply->writeInt32(static_cast <int>(output));
478 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32());
481 reply->writeInt32(static_cast <uint32_t>(startOutput(output,
489 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32());
492 reply->writeInt32(static_cast <uint32_t>(stopOutput(output,
500 audio_io_handle_t output = static_cast <audio_io_handle_t>(data.readInt32());
517 reply->writeInt32(static_cast <int>(input));
523 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32());
524 reply->writeInt32(static_cast <uint32_t>(startInput(input)));
530 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32());
531 reply->writeInt32(static_cast <uint32_t>(stopInput(input)));
537 audio_io_handle_t input = static_cast <audio_io_handle_t>(data.readInt32());
545 static_cast <audio_stream_type_t>(data.readInt32());
548 reply->writeInt32(static_cast <uint32_t>(initStreamVolume(stream, indexMin,indexMax)));
555 static_cast <audio_stream_type_t>(data.readInt32());
557 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32());
558 reply->writeInt32(static_cast <uint32_t>(setStreamVolumeIndex(stream,
567 static_cast <audio_stream_type_t>(data.readInt32());
568 audio_devices_t device = static_cast <audio_devices_t>(data.readInt32());
572 reply->writeInt32(static_cast <uint32_t>(status));
579 static_cast <audio_stream_type_t>(data.readInt32());
587 static_cast <audio_stream_type_t>(data.readInt32());
588 reply->writeInt32(static_cast <int>(getDevicesForStream(stream)));
597 reply->writeInt32(static_cast <int>(output));
609 reply->writeInt32(static_cast <int32_t>(registerEffect(&desc,
620 reply->writeInt32(static_cast <int32_t>(unregisterEffect(id)));
627 bool enabled = static_cast <bool>(data.readInt32());
628 reply->writeInt32(static_cast <int32_t>(setEffectEnabled(id, enabled)));