This commit hides fused_location.h from the system.
- include - it is no longer in the global include
- include_all - it is no longer accessible to system things which
use libhardware
Bug: 37280010
Test: boot/build
Change-Id: I12297f28d8d2330821f45c3a2caced026ea703ed
These are required to build. Separate CL to preserve blame history.
From running 'update-includes.sh' script here.
Bug: 37280010
Test: boot/build (sanity)
Change-Id: Id9c2dc37f674b27b947a9f823bd38a550d64d31b
This splits headers into three locations:
include - for backwards compatibility, the global include
include_all - for things system/vendor both use
include_vendor - for things that only vendors use
The goal is to gradually have system things stop referencing
(at least most) of these headers.
Bug: 37280010
Test: build (CL on top adds back in symlinks)
Change-Id: Ibf194276b7faa857e1e7605d7719f4e7d873ecba
For input stream, the sample rate should be set as requested one if it
matches the device sample rate and is valid.
Bug: 282816698
Test: TH
Change-Id: Iebee2b269062609ff7bcd460f48714ca64980e68
Due to adding a dependency of libmedia_helper on
libhardware_headers
Bug: 278976019
Test: m
Change-Id: I97df31b209630dc7fb6b46a0b0221c0d496e6375
Merged-In: I97df31b209630dc7fb6b46a0b0221c0d496e6375
* changes:
Intermittently Audio is not heard in USB Head set, while disconnecting /connecting the usb audio headset.
Set standby as false when the stream is started successfully.
disconnecting /connecting the usb audio headset.
In usb audio_hal.c, out-stream standby status was not aligned in
adev_create_audio_patch(), so that stream was considered being in
standby after open.
fix: Align the standby status.
change: correct update for review comments.
Test: usb headset open works fine with huge times insert/remove.
Change-Id: I89798eeee33d8c5019e7510c23371cb18a00ed32
When the audio patch is created and the stream is started, set the
standby as false. In that case, if there is a simultaneous request for
read or write data, it is no need to start the stream again.
Bug: 212509560
Test: repo steps in the bug
Change-Id: Ic3dbab3134bc761271b6b2ac8619135ef08075bc
Merged-In: Ic3dbab3134bc761271b6b2ac8619135ef08075bc
am skip reason: Merged-In I5fb5b9ff37a6f8a245678c87ee82e2032dc845f2 with SHA-1 9a056455f2 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2487236
Change-Id: I111c436ceaf553597f4002d0b494d21009c06b8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I5fb5b9ff37a6f8a245678c87ee82e2032dc845f2 with SHA-1 9a056455f2 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2487236
Change-Id: I74a3d31b3d1a5ed80be6cdfc838757c504d849a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I5fb5b9ff37a6f8a245678c87ee82e2032dc845f2 with SHA-1 9a056455f2 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2487236
Change-Id: Ia2418ac8c3766bfa9ca7326f2fdff8b92660d688
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I5fb5b9ff37a6f8a245678c87ee82e2032dc845f2 with SHA-1 9a056455f2 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2487236
Change-Id: Ieae65577f96e42434c05d204d060e683d5aa94d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
When opening bit-perfect output stream, the HAL should require the HAL
configuration match the request exactly.
Bug: 262581771
Test: manually
Change-Id: I2f79d41ad42b0c662d28667bde6ae115575d41e1
Merged-In: I2f79d41ad42b0c662d28667bde6ae115575d41e1
When the stream is open with bit-perfect output flag, the volume command
may be sent to the HAL. Use volume control from the mixer when it is
present.
Bug: 262581771
Test: adjust volume
Change-Id: I11e76450a2c3dbcad0ddbd56bd3db1ea83f10f2b
Merged-In: I11e76450a2c3dbcad0ddbd56bd3db1ea83f10f2b