The JetPlayer implementation in libmedia was only used by the
JetPlayer JNI code in libandroid_runtime. This change moves
both implementation and JNI to libmedia_jni. This reduces
libandroid_runtime's dependency on libmedia, and results in
a net size reduction of the libraries involved.
Test: atest JetPlayerTest
Change-Id: I028c774fdea167924b064855267254c15f22fddb
* Remove USE_BUGREPORT_API check that enabled us to switch between
legacy bugreport flow and API workflow.
* Undeprecate requestBugReport flavors as these will not be deprecated.
Initially it was aimed to remove these methods and use the API
directly. But now these methods have all been migrated to
use bugreport API.
* Add @BugreportParams annotation for requestBugReport function.
* Title and Description are communicated via the broadcast instead of
setting system properties.
* Description is not a system property anymore, so add a check on its
length by defining MAX_BUGREPORT_DESCRIPTION_SIZE.
Bug: 137825297
Test: Takes interactive and full bugreport as expected
Change-Id: Ib96ad774f5e21491c0dad82cb2292960aa45d6d0
To avoid boot time regression in tests, as compat doesn't care about
system apps.
Also fix the fallback condition to be correct.
Bug: 30188076
Bug: 142558883
Test: atest google/perf/boottime/boottime-test -v - no binder calls,
no time regression.
Change-Id: I15fd39ad7e0ed70fcd880a13cffa40d70c5bba55
Bug: 141735646
Test: I9ab9115ee4cbc74549f7b914d99b667c700199d5
When using a subset, do not change desiredWidth/desiredHeight, which
changes the scale used below. Instead, just change the size of the
SkBitmap, so it looks correct.
Change-Id: Ie9682afb9324bcdfc81f1d9664f9fcc3891f8939
am: db995575ac -s ours
am skip reason: change_id Ieef0ca291924c0d81b1110bd25020d57fa9f0fec with SHA1 69b83c9b3c is in history
Change-Id: Id0fe46e06f4ca214e5b574d30a907c4e8d025df3
am: 8e24b7effc -s ours
am skip reason: change_id Ib76674f10e4bd24952c557bac7b9c65fba42fdb2 with SHA1 59940afb16 is in history
Change-Id: I6ce0264e0a310683f2e7a99a275eb3a6a1c7209f
am: dadd2112f0 -s ours
am skip reason: change_id Ieef0ca291924c0d81b1110bd25020d57fa9f0fec with SHA1 69b83c9b3c is in history
Change-Id: I907ab63e10aa3b5fabd56c1734ff1b729914b700
am: b3c533768d -s ours
am skip reason: change_id Ib76674f10e4bd24952c557bac7b9c65fba42fdb2 with SHA1 59940afb16 is in history
Change-Id: I4fcc149ff81dd2549e3f9fe712f308a360855d15
Add unit tests to verify that bug has been fixed.
Re-enable testGetConnectionOwnerUid() unit tests in presubmit. These
were disabled due to test flakiness caused by expected failures passing
as a result of other sockets on the system. This is fixed by checking
that failures do not have the UID of the calling process instead of
INVALID_UID since previously some Qualcomm telephony sockets were
causing lookup successes.
Test: atest InetDiagSocketTest#testGetConnectionOwnerUid
Test: ls -1 /proc/<pid of system_server>/fd | wca
Test: atest --generate-new-metrics 200 InetDiagSocketTest#testGetConnectionOwnerUid
To verify flakes have been cleaned up.
Bug: 141603906
Bug: 141459241
Change-Id: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
Merged-In: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
(cherry picked from commit 59940afb16)
Clean cherry pick.