Instead of getFilesDir(), use getExternalFilesDir() so that results
can be accessed using adb on a production build as well
Log the paths to files where results are saved
Also update AndroidTest.xml to not uninstall apk after the test as
results need to be preserved
Bug: 147247596
Test: atest com.android.media.benchmark.tests
on a device with factory image
Change-Id: I78e447ab0cba89cd56e72f56562a8e50036e94a0
New stream type: AUDIO_STREAM_ASSISTANT
This is intended to be used by a virtual assistant like
Google Assistant, Bixby, etc.
The audio stream has own volume alias and the volume
does not change by volume changes of other streams.
Bug: 123745215
Test: make
Change-Id: I17ec0480cad4c3507a97454ccb832255adda9897
Merged-In: I17ec0480cad4c3507a97454ccb832255adda9897
Signed-off-by: Baekgyeong Kim <baek.kim@samsung.com>
This was causing a null deref in cts/security/gce-all.
Bug: 142652210
Test: Run cts/security/gce-all, observe no more crash.
Change-Id: If2003b650f69e88825219113ce1b7d70edc4731d
Use stable C interface instead of C++ interface.
Bug: 123543273
Test: compilation, boot, dumpsys
Change-Id: I04935343917ce400d0df531e06b4d23ab7269fa6
Merged-In: I04935343917ce400d0df531e06b4d23ab7269fa6
When converting audio attributes to stream type, do not log an
error if no product strategy support USAGE_VIRTUAL_SOURCE.
Bug: 146558301
Test: check logs after using AudioPolicy for injection
Change-Id: I8313b9d27583934e7a64edbfe49d52bad587f372
* clang-tidy segmentation fault when checking
util/C2InterfaceHelper.cpp in multiple threads.
Test: make with WITH_TIDY=1 and tidy checks for nightly builds
Bug: 146435095
Change-Id: I6487a69636d4cdc1d3449ceb193d347d402beea6
Root Cause:
Google C2 H264/H265 decoder request 64-aligned stride from graphic block; but ARM GPU would return
with 128-aligned stride when input height ONLY satisfies 2-aligned (e.g. 130).
Solution:
Revise stride alignment from 64 to 128 of C2 H264/H265 decoder
Bug: 142924202
Test: Build C2 Codec
Test:
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH264Image
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH264ImageReader
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH265Image
run cts -m CtsMediaTestCases -t android.media.cts.ImageReaderDecoderTest#testGoogH265ImageReader
Change-Id: I6eaff1b858e031b64744bc67d8aee5cc51cfd92d
Current make files builds only shared libraries for extractors
Enable building static libraries for MediaTesting
Test: builds
Bug: 144965408
Change-Id: I4f05cfed60ac19b21aaeab396895b7b94eedee12
Current make files builds only shared libraries for amr-nb codecs
Enable building static libraries for MediaTesting
Test: builds
Bug: 146103645
Change-Id: I4d68993cb84d2ebde85cd1aa976ca12420334cc3
Player type AAudio are always initialized with AUDIO_USAGE_MEDIA. Added
fix to initialize with assigned usage.
Bug: 143578354
Test: ran native application with usage of AUDIO_USAGE_NOTIFICATION
Test: atest CtsNativeMediaAAudioTestCases
Change-Id: I170e0b55d7f90b59d9b5129b22f4a9080957994b
Merged-In: I170e0b55d7f90b59d9b5129b22f4a9080957994b
Audio policy engine supports receiving a preferred device to use
for a given strategy (Engine superclass). Use of the preferred
device intervenes at the level of the each engine implementation,
here in the default engine in getDevicesForProductStrategy() method
so it is saved in the routing cache, and respects existing routing
priorities.
Refactor the loops for call and output rerouting into a new
updateCallAndOutputRouting() method.
Bug: 144440677
Test: atest AudioServiceHostTest#testPreferredDeviceRouting
Change-Id: Ic4c690e1b0d8020c4335979e40e14e6df5887879
Merged-In: Ic4c690e1b0d8020c4335979e40e14e6df5887879
Since the only f_mtp.h header is deprecated in newer Android kernels,
copy this file out of bionic and to the only place it's used.
Test: Builds.
Change-Id: I06bab28f46b7d60bdb83a279b8ebec306b2e6661