am: f5106b5a97 -s ours
am skip reason: change_id I5f927fc26829031a8c91a7ba51178a34d737a953 with SHA1 27d84b795f is in history
Change-Id: I51b42b0371ae9235f6ad5350b4a286486a1f40bc
am: 3d7e3cb756 -s ours
am skip reason: change_id If283fefca5cf4e282d1c29876b78037bc9df7625 with SHA1 92f6462fb3 is in history
Change-Id: Id948e7ec3ad3beb258c20e68487b3c297939e2d7
Camera service listeners must be able to receive
information about camera access permission changes.
Bug: 121379978
Test: Camera CTS
Change-Id: I2e13fdd35a267901a3caa0e0ce78ab1cea83e7ab
This is a part of cutting dependency from libmediandk to
libandroid_runtime.
PublicFormat which was defined in android_view_Surface has
been moved to libui.
Bug: 124268753
Test: m -j
Change-Id: I5f0e64ee6e2d5eb6b64491356a5bfa50b512a9c9
Merged-In: I5f0e64ee6e2d5eb6b64491356a5bfa50b512a9c9
This is a part of cutting dependency from libmediandk to
libandroid_runtime.
The following function is exported from libandroid_runtime.
* android_hardware_HardwareBuffer_convertToGrallocUsageBits
This function just delegates to libnativewindow's
AHardwareBuffer_convertToGrallocUsageBits function.
This commit is for libmediandk to call libnativewindow's
function directly in order to cut the dependency to libandroid_runtime.
Bug: 124268753
Test: m -j
Change-Id: I5f927fc26829031a8c91a7ba51178a34d737a953
Merged-In: I5f927fc26829031a8c91a7ba51178a34d737a953
am: db652328c1 -s ours
am skip reason: change_id I5da320780dba7c63ce39679dbf5d40fe9202eb00 with SHA1 c34e45328b is in history
Change-Id: I19b37b38b60e0fddb44efcbfe06dfd81fd10b3d7
am: f53f0c8e6a -s ours
am skip reason: change_id I3c17b304a12c1eccd9f97ee50a0b7cf6e4b9a1da with SHA1 e598545cb8 is in history
Change-Id: Ia01d56f887b1c14048256d0c1b0189d93b59c145
Ignore the sync sample list for audio tracks, since some software
writes files with an empty sync sample list, resulting in unseekable
files.
Bug: 112442775
Test: manual
Change-Id: Ib658463143b7d17845c1eb52bbab27106ae66cb7
Return buffers managed by HAL buffer manager in disconnect.
Test: kill HAL process and check for buffer leak in cameraserver
Bug: 126889012
Change-Id: I83173c5eaae13ee11eb3f185e7204a2dd8855b4e
Capture from REMOTE_SUBMIX audio source should always be
allowed in concurrency situation.
Also include FM_TUNER as virtual source that should never be
silenced.
Also remove voice call capture sources from privacy senitive sources
as capturing a voice call does not constitute in itself a situation
that should prevent other apps from accessing the mic.
Bug: 121200677
Test: verify music playback in auto projected mode.
Change-Id: Idbd9e9f55f29fb8a8e2b76cea5b85f0d9a555788
force mediaserver to 32-bits, 64-bit version failed wider testing.
Bug: 126502613
Bug: 16890215
Test: use camera app to record video
Test: android.media.cts.MediaPlayer2Test#testRecordedVideoPlayback0
Test: android.media.cts.MediaPlayerTest#testRecordedVideoPlayback0
am: a836421521 -s ours
am skip reason: change_id I925efecca9c99b8a2b7bde3826da4d9e9e663ee1 with SHA1 4515129c59 is in history
Change-Id: Ib81d3b9896c73d02f3bbbdf5b8575105b4ecde88
When selecting device on a given output stream, check if
an enforced audible sound is active on any other output stream and
not just on this stream.
Bug: 124063442
Test: set property audio.camerasound.force=true and test music + shutter
sound concurrency.
Change-Id: Ic7f548df2b67041d532afc68685cdbeb3cb3f125
Change to new properties + swap audio XML files, and supports following
scenarios:
1) (default) audio_policy_configuration.xml
Using BluetoothAudio HAL (+ A2DP offload if supported)
2) audio_policy_configuration_a2dp_offload_disabled.xml
Using BluetoothAudio HAL only when A2DP offload is supported but
disabled.
3) audio_policy_configuration_bluetooth_legacy_hal.xml
No BluetoothAudio HAL nor A2DP offload
Bug: 126304229
Test: Switch BluetoothAudio HAL and A2DP offload manully
(cherry picked from commit 52982cb595)
Change-Id: I9699368914db37d2fd075cd30c49a5a7c57e8036
Merged-In: I3c17b304a12c1eccd9f97ee50a0b7cf6e4b9a1da