Support 1-7 channels when writing raw AAC, since that's what the
file format supports.
authored-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
Bug: 123375289
Test: builds
Change-Id: Ibc44fb575ad2897f936ed7f73f99ce481cdadb7d
am: be17007765 -s ours
am skip reason: change_id I5f0e64ee6e2d5eb6b64491356a5bfa50b512a9c9 with SHA1 86cbf71505 is in history
Change-Id: I885b4f577d34617a8eac6ccfadc150eddc8fa924
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