This converts mediaserver, mediametrics and screenrecord and the
libraries they depend on to Android.bp
See build/soong/README.md for more information.
Bug: 122331945
Bug: 80410283
Test: boot blueline
Test: youtube
Test: screenrecord
Change-Id: I132b8b4f7965449df68fb1544034a7241c594a63
mAttributes in AudioTrack can not be set in AudioTrack::set()
when pAttributes is NULL.
AudioTrack::getPosition() sometimes returns wrong value
since mAttributes is undefined value.
This change sets default values to mAttributes.
Bug: 123607740
Test: manual
Change-Id: Ie590c17efc466cc89cbd7e9f89fc3ebeed98eace
Check if variables used in AudioOutput::open()
are 0 before using them as a divisor.
Bug: 123375287
Change-Id: I1c65a80a12eda84d11e7526fe0c730cb10565c36
CRs-Fixed: 2286455
(cherry picked from commit 9e67171a2f4e2b7dc38017789700f629a3885734)
This reverts commit 7194e6da8a.
Reason for revert: AOSP is fixed with new vendor image
Change-Id: I15797a30abcc304379db05bec1b25a0bd95b2ff4
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Required for migration of ashmem to memfd.
Bug: 113362644
Change-Id: I5c63ff130f67481deed5c8d975830463716c397c
Signed-off-by: Joel Fernandes <joelaf@google.com>
Delay start of mediaserver and mediaextractor during boot until after the
Runtime APEX is mounted.
They depend on ICU / the ICU .dat file which are provided by the Runtime
APEX.
Test: flash & boot
Bug: 123275379
Bug: 113373927
Bug: 123176717
Change-Id: Idfe80054b6afe8f7449e698f59413ecefb280957
This change enables an app that has the MODIFY_PHONE_STATE
permission to mute the BULETOOTH_SCO stream.
The change adds specific handling in AudioPolicyManager
for the case in which volume index is 0 and stream type is
BLUETOOTH_SCO.
The permission check is done in the AudioService Java code for the
calling process.
Bug: 111195322
Test: Tested manually
Change-Id: I5085826a7287dfbc2cfb17a9bd2d3ca1af66ea4a
libaudioclient and libmedia are using get_sched_policy and
set_sched_policy which are now implemented inside libprocessgroup.
Add required dependencies and include required headers.
Exempt-From-Owner-Approval: janitorial
Bug: 111307099
Test: builds, boots
Merged-In: I83dd6878839122e3ea71b7be6f6f312376897d56
Change-Id: I83dd6878839122e3ea71b7be6f6f312376897d56
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Tweak the confidence of ID3 tag encoding detection according to
the current system locale.
Bug: 109708246
Test: Check encoding for th-TH
Change-Id: I9e18df0d2e3cd07bf28c1fb3459ecee47ec17d56
BUG: 122902673
Test:
lunch sdk_gphone_x86_64-userdebug
make -j
emulator
mediaextractor should not be killed by minijail anymore
Change-Id: I0e2547376fb6e8d6a7e9316c6013cedf6a9cdeac