Age | Commit message (Collapse) | Author |
|
Android device" into main
|
|
|
|
|
|
Change-Id: I0829e0e9ea6bc0fa55f15390adfaf75ca1130301
|
|
|
|
into main
|
|
Change-Id: If98f9722f5a4244d5414bdeda6c16315b436b48b
|
|
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.
Bug: 306435930
Test: Build timedtext_fuzzer
Change-Id: Ie2c59424d8c02a11ab7e7173d483073593bfa5e6
|
|
|
|
Bug: 339564402
Test: steps in bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6713689c5b517c44afccf700dcd62ca26c77ec81)
Merged-In: I71e306f65d6a3730224a1d6375f62e3f952dcebc
Change-Id: I71e306f65d6a3730224a1d6375f62e3f952dcebc
|
|
Bug: 329121650
Change-Id: I6bc7baf5bf6bdc3272650bdcdf18f8ad132c172e
|
|
|
|
into main
|
|
|
|
* changes:
Clean up HAL render position reporting
avoid resetting mExpectRetrograde when deltaHalPosition == 0
|
|
The two parameters should be left volume and then right volume.
Bug: 340299689
Test: TH
Change-Id: I018b3540567e1af2912750accce2116815f757a8
|
|
Since AIDL HAL reports 64-bit position values, move the logic
for proper expansion of 32-bit positions from AudioStreamOut
into StreamOutHidl. Add synchronization which did not exist
in AudioStreamOut. This is because the calling code
does not always use same mutexes when calling into relevant
methods, thus data races are possible.
Also, clean up StreamOutHalInterface and AudioStreamOut
interface by removing obsolete methods.
Bug: 338557486
Test: atest CtsMediaAudioTestCases
Change-Id: I30701af589f3721b3d8bf7886acc251ceefadc46
|
|
During switching surfaces queued buffers to the old surface might not
be released. So the current dequeueable count may not be correct.
re-calculate dequeueable count during surface switching.
Bug: 337320151
Test: atest android.mediav2.cts.CodecDecoderSurfaceTest#testDetachAndReattachSurface
Test: atest android.media.decoder.cts.AdaptivePlaybackTest
Change-Id: I16ce140cfee807014ff8fdd309b48bcf4f29f060
|
|
To avoid frequently accessing HAL, StreamHalAidl returns a cached
position if the last queried position is not expired. The expired time
is at least 100 ms. If the position is the same as the previous one,
then deltaHalPosition is zero, so mExpectRetrograde is accidentially
reset, but mRenderPosition isn't subtracted.
Bug: 328486216
Bug: 332411039
Bug: 331300943
Test: manual test with YTM
Merged-In: I204198b10038101f41b7b417034d05d4430e13be
Change-Id: I204198b10038101f41b7b417034d05d4430e13be
|
|
|
|
|
|
Instead of calling android_get_device_api_level() for every frame,
it is now called once and stored in a static variable.
Bug: 246792159
Test: Decode 10-bit clip and confirm android_get_device_api_level() is
called only once.
Change-Id: I10402a3f729910e87fc74d48e0afa0830c7873ba
|
|
|
|
into main
|
|
Bug: 335547630
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0f5776edd58748195df61e4dae911df30f40e5b0
Merged-In: I0f5776edd58748195df61e4dae911df30f40e5b0
|
|
Issue a fatal error when the data FMQ detects internal pointers
corruption. This condition indicates some low level problems
and should be diagnosed as fast as possible.
Bug: 338974476
Test: m
Change-Id: I8b9c9c9111ad0327db84ac3dc324e8a1cdf8c478
|
|
|
|
* changes:
CCodec: stop()/release() HAL before stop using output surface
aconfig: add a bugfix flag stop_hal_before_surface
|
|
|
|
Bug: 339247977
Test: atest CtsMediaDecoderTestCases
Change-Id: I7dd4c31d2525254dbb65bf9cb34858f3ff1a7352
|
|
Bug: 339247977
Test: builds
Change-Id: I54e12b664608f6f93661c22a078a2e67c1f80cbd
|
|
... in case the allocation size doesn't match the buffer size.
Also unify the buffer mapping, since it's not necessary to handle BLOB
buffers in a special way.
Bug: 338995824
Test: atest VirtualCameraCaptureTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d4197ed02119d93674c429bb5367747bf33a8ed)
Merged-In: I368850dba86377252c941b6935a615cb5cfca785
Change-Id: I368850dba86377252c941b6935a615cb5cfca785
|
|
corrected 'cc' field in fuzz_config
Bug: 306435930
Test: Build audioflinger_aidl_fuzzer
Change-Id: If1e6b9b9c721bcb740ecc9650e46f29afb7de61e
|
|
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.
Bug: 306435930
Test: Build packet_source_fuzzer
Change-Id: I570b8c5e4abf37ab58a91e646c5a9f4a82802a69
|
|
|
|
|
|
The framework may use one device when creating a stream, and then
issue a create audio patch command with a different device but the
same mix port. In this case, the patch created with the stream must be
reused, matching it by the mix port only.
Bug: 333829626
Bug: 336984723
Bug: 337971166
Test: repro steps in bugs
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ef3826833fc864cbef757513caa86e9b5714053)
Merged-In: I71a32087afaef2a5b20e4fba514297c0052fa4c8
Change-Id: I71a32087afaef2a5b20e4fba514297c0052fa4c8
|
|
During audio policy initialization, a spatializer stream is opened and
then closed but the audio patch cleanup normally done in closeOutput()
was omitted causing a stale audio patch to remain in audio flinger and
audio HAL.
Bug: 333829626
Test: repro steps in bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a70bc37c1c5000ee161d84cf345fecedb7007baa)
Merged-In: I525c1c2fc91d6fc70bfd602c699562658e9bb7a1
Change-Id: I525c1c2fc91d6fc70bfd602c699562658e9bb7a1
|
|
|
|
|
|
Set the container field of aconfig flags
Test: printflags --format='{package}:{container}:' | grep "::"
Bug: 312769710
Flag: NONE
Change-Id: Id6551921f21adb680379f539f03ed15e72aab41f
|
|
|
|
|
|
Use audio_channel_count_from_out_mask to properly calculate the
channel count from the mask, so a valid volume array can be
sent to audio hal.
Test: play a clip check volume array sent to hal
Bug: 326853618
Change-Id: I59b815f8f4eb16b4aeb2941330b023320adf95e2
|
|
Handle setOutputDevice for offload/direct tracks
only in non-playing state
Bug: 331739807
test: run cts -m CtsMediaAudioTestCases -t android.media.audio.cts.RoutingTest#test_MediaPlayer_RoutingChangedCallback
Change-Id: Ib77b01180d98201405da1a10063dd3683705eff0
|
|
Bug: 337915723
Test: atest VtsHalMediaC2V1_0TargetComponentTest
Change-Id: Ic9be5cc1e54c33d919871f963f5cd84d412a6545
|
|
* changes:
Returning buffers more than C2LargeFrame.maxSize
MultiAccessUnitHelper to handle dynamic config
|
|
MultiAccessUnitHelper will now returns the entire
access unit from an encoding component even if the its
size is more than the configured maxSize with a warning.
This is to make sure we gracefully handle the condition
when the underlying component doesn't report
C2StreamMaxBufferSizeInfo properly
Bug: 335711421
Test: atest android.mediav2.cts.CodecEncoderMultiAccessUnitTest
Test: atest android.mediav2.cts.CodecEncoderBlockModelMultiAccessUnitTest
Flag: com.android.media.codec.flags.large_audio_frame
Change-Id: I1b67cc8eb5870751ed393e95da4007d716e9a2e5
|
|
main
|
|
|