Min sdk version has been force set to 28 (P) to support beta devices.
Since we now don't need to support them, we delete it. It is set to 29
by the build system.
Target and max sdk versions are bumped to 29.
Bug: 131128233
Test: m and check the sdk version numbers
Change-Id: I9ecf2b7542bde239955daf91c88b8e612d7d7069
Change audio/video synchronization method for webm file. Previous method shifts
audio/video separately to 0. This change will get the smallest starting time
among all tracks and shifts them together.
i.e. audio starts at 15 and video starts at 10, old method will shift both of them
to 0 separately, which is not right. New method will shift both of them by 10 (the
smaller of them) where after shifting, audio starts at 5 and video starts at 0.
Bug: 130363039
Test: MediaMuxerTest#testWebmOutput
Change-Id: I97addc72c9e13df649ae65716dc63243dad3849d
Modify channel mask match rule for input profiles in order to
favor profiles with positional masks and less than 2 channels.
This reflects the audio HAL convention to not list index channel
masks for less than 2 channels.
Bug: 131943885
Test: repro steps in bug.
Change-Id: I85e06f3afc2833b6aa7d52675bfd1ffda524fbcf
Add check for privileged permission if attributes
flags BYPASS_INTERRUPTION_POLICY or BYPASS_MUTE are set.
Bug: 131873101
Test: Manual smoke tests for audio playback.
Test: Emergency cell broadcast in
Change-Id: I073cf669f606f0d081ff5c8d19f39b5e12efe297
Depth samples with low confidence can skew the
near/far values and impact the range inverse coding.
Avoid using such samples when searching for the near
and far points and clamp their values if necessary.
Bug: 132248813
Test: Camera CTS
Change-Id: I7dc134b50e46c664f9fc8750b9b9b37c416c9afe
Add below logical camera support to dumpsys:
- Physical camera id to stream info.
- Physical camera request/result metadata.
- Physical camera metadata in tag monitor.
Also fixed an issue of missing vendor tags in physical metadata.
Test: Run physical streams and observe dumpsys
Bug: 111940580
Change-Id: I02889b213ff5e7ec29506c0483ef40de9d107ccb
* changes:
codec2: Derive video encoder components from SimpleInterface
codec2: Add support to derive from base class for audio decoders
codec2: Add support to derive from base class for audio encoders
Audio mix rules that contain both a match and exclude for a uid
or usage are ignored for routing evaluation. The implementation
of the uid-device affinity caused uid matches and exclusions to
be added to any mixes, causing previously valid mixes to be
discarded in the routing logic.
The fix consists in implementing the uid-device affinity by only
applying uid exclusions on mixes that:
a/ are compatible with the concept (mixes of players that are
render only),
b/ do not route to the selected devices
c/ do not have a uid match rule (such mixes are already exclusive
to the uid to match)
d/ do not already have a uid exclusion for the uid
Fix removeUidDeviceAffinities() that skipped the wrong mixes.
Bug: 124319394
Bug: 131180578
Test: atest AudioHostTest#testUidDeviceAffinity
Change-Id: I813c4cfb15956e56599740948775c32562266c21
Indicate pipeline fullness if there are
{inputDelay + pipelineDelay + smoothnessFactor} pending inputs
in the pipeline to avoid allocating more input.
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice
Bug: 131217771
Change-Id: Ie08e59d1c6eecce5f07b98b899a0affd8602b04a
* changes:
libcamera2ndk_vendor: Add missing physicalCameraSettings metadata in saved cached CaptureRequest metadata.
libcamera2ndk_vendor: Fix potential use after free of camera_metadata_t
Bug: 131925326
Test: AImageReaderVendorTest; test using vendor process using
libcamera2ndk_vendor
Change-Id: Ie86ec7f070e985121cdc89367bb0d4b227b41985
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Use NV12ToABGR for OMX_COLOR_Format32BitRGBA8888, and
NV12ToARGB for OMX_COLOR_Format32bitBGRA8888. The naming
convention is reverse in libyuv and omx.
bug: 129908793
test: locally modify StagefrightMetadataRetriever to prefer hw
decoder and output in OMX_COLOR_FormatYUV420SemiPlanar format.
The following tests would fail without this patch and pass with
this patch:
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_Grid_Handler fail
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_Grid_NoHandler fail
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_NoGrid_Handler fail
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_NoGrid_NoHandler fail
CtsMediaTestCases --android.media.cts.MediaMetadataRetrieverTest#testGetImageAtIndex fail
(These tests fail because they use bitmap format of RGB, while others
use RGB565.)
Change-Id: I94feea2c29479e72d6111ee6a7ce44805b921e73
When AudioRecord object is destroyed, it must unregister
with AudioManager so it removes the tracker from
the tracking list.
Bug: 123312504
Test: start and stop audio recording, check "dumpsys audio"
Change-Id: Ida71512cb811d7602da349a58a91c95111078ef4
commit 74e01fa7 did not bypass app ops policy when flag
AUDIO_FLAG_BYPASS_INTERRUPTION_POLICY is set.
Bug: 131873101
Test: repro steps in bug
Change-Id: Idbce26cfdcddbb7a2ae8702ce3d135ef5a69f047