This is a cherry-pick of a change to internal master to upgrade the
KeyMint version.
The cherry-pick is necessary because the changes to support Curve
25519 will land in AOSP and there are currently merge conflicts for
Android.bp with internal master.
Bug: 194359292
Test: That it compiles.
Merged-In: I95191fd09b138bf3ba1cbb50534fdbdcf36d1596
Change-Id: Ibbd2f1ddd71ad855e26d59f72633c47351320ce6
- Use Android-Apache-2.0 as default license.
- Adding visibility to non-existing path is there for post-migration
path [ which currently does not exist ] -- it is not a build error
to add non-existent paths to visibility.
BUG: 171106157
Test: Local build and TH
Change-Id: I4adea9da4df8f6ae51b9849dfd6a30bf22e28637
For the initial rollout of system_server R8 optimizations, we will
only apply code shrinking. This avoids the need for retracing in core
developer workflows, while providing modest benefits through code
shrinking.
Shrinking is still enabled in an opt-in basis for specific devices
via `SYSTEM_OPTIMIZE_JAVA=true`.
Bug: 210510433
Test: m SYSTEM_OPTIMIZE_JAVA=true
Change-Id: Ie9fb8138afd0cc60799e3154c709630a947968c0
Add entries for the files that the Android time team have to update
occasionally.
Bug: 218802673
Test: None
Change-Id: I1255ac04e91c37051bdf4f72acea5cae4aca99db
The method returns void, so we should use CallStaticVoidMethod.
Test: test_com.android.art
Bug: 218518604
Change-Id: I911b6b62cb00f52565a3a95b111b80115f4df3a1
After the device (USB host) finished the pr_swap and the power
role is changed from Source to Sink, the notification should be
updated with different messages. However, the notification may be
ignored since the charger type is not USB. Users may get
confused when the notification is gone.
If the peripheral device is still connected, UsbDeviceManager
should push new notification.
Bug: 212189038
Test: notification is updated
Change-Id: I772c8c06a1e3a8770d0bf132c5e8fdf313bb2685
In order to prevent unstable benchmark results because of cache,
a random resource name with an expected value comes from
Random.nextInt(10001).The range is from 0 to 10000.
This patch creates 10001 color resources with the prefix
"i_am_color_%x". The range is from "i_am_color_0" to
"i_am_color_2710". The benchmark measures randomly accessing any
of those resources.
Test: atest --request-upload-result \
CorePerfTests:android.app.ResourcesPerfTest#getIdentifier
Bug: 191487225
Change-Id: I357b43fda77e31b6d234233fd902eb8e4696301e
getApplicationInfo can return null, so check return value before
access.
Fixes: 206007136
Test: N/A
Change-Id: Iaab7ba41f46b2d6caa7d43add4689228230d5901
Carrier configuration KEY_OPPORTUNISTIC_ESIM_DOWNLOAD_VIA_WIFI_ONLY
added to control if eSIM should be downloaded via only WiFi or use
both WiFi/Data. True will download esim only via WiFi and false will
use both WiFi and Data connection.
Bug: 217378657
Test: make
Change-Id: I01c0c16293f4e490a1c4c7f521fd454cc045296f
since it's not actually ever used at runtime,
it's only meant to be part of the bpfloader boot time one shot binary.
(all non-bpfloader bpf implementation is in .h files only)
Test: TreeHugger, m libandroid_runtime
Bug: 218882781
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8d3b8ac80ffdbe293221150f7272f7def80fc1c4
Merged-In: I8d3b8ac80ffdbe293221150f7272f7def80fc1c4