661208 Commits

Author SHA1 Message Date
Tim Murray
b76f87acdd update OWNERS for trace APIs
Change-Id: I7a26e732e005fe933808b8f1da9ad6dafaba0f62
2022-03-29 13:07:26 -07:00
Jared Duke
478baf2287 Merge "Restrict optional system_server optimizations to shrinking" 2022-02-16 15:55:57 +00:00
Eran Messeri
b2f12f933a Merge "Upgrade KeyMint version" 2022-02-16 15:28:18 +00:00
Treehugger Robot
5870ba5ace Merge "Fix grammar nit in comment." 2022-02-16 14:53:08 +00:00
Eran Messeri
6c41bcee6f Upgrade KeyMint version
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
2022-02-16 11:16:15 +00:00
Treehugger Robot
b681fec035 Merge "Fix handling usb notification after pr_swap complete" 2022-02-16 03:54:18 +00:00
Baligh Uddin
c6bdeea3cf Merge "Prepare to extract apex/media to packages/modules/Media" 2022-02-16 03:35:06 +00:00
Joanne Chung
e96070ac89 Merge "Update team OWNERS file." 2022-02-16 02:03:49 +00:00
Baligh Uddin
8a55a7b439 Prepare to extract apex/media to packages/modules/Media
- 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
2022-02-16 01:43:07 +00:00
Jared Duke
ea03d1067b Restrict optional system_server optimizations to shrinking
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
2022-02-15 13:57:06 -08:00
Jon Eckenrode
08bb407612 Merge "Revised API documentation of Context and ServiceConnection. See b/213625234." 2022-02-15 21:47:29 +00:00
Treehugger Robot
66660a1a4e Merge "Explicitly mark receivers as RECEIVER_NOT_EXPORTED" 2022-02-15 18:30:42 +00:00
Treehugger Robot
e1ce0243a3 Merge "Fix registerListener documentation bug in which the notice does not contain the notice contents." 2022-02-15 15:20:12 +00:00
Dereck Bridie
a24c4e8072 Fix registerListener documentation bug in which the notice does not contain the notice contents.
Change-Id: Ia123d583c0f4464b935751e1f389b3998a60d006
2022-02-15 09:34:19 +00:00
Eric Zhang
5a700f759d Merge "Change ownership of resumeonreboot module." 2022-02-15 06:42:46 +00:00
Bob Badour
d52dd08acb Merge "Declare license metadata for copied files." 2022-02-15 05:13:49 +00:00
Treehugger Robot
e93cdcd163 Merge "Move permissions allowlist for Tethering" 2022-02-15 04:43:27 +00:00
Hyunho Shin
cb2d34eeef Merge "Add entity uri field to Eab provider" 2022-02-15 00:35:58 +00:00
Bob Badour
c92e5a22db Declare license metadata for copied files.
Bug: 151177513

Test: m all dist reportmissinglicenses

Change-Id: I1ca40c2f26633f23583ac4af10437503f458c4d2
2022-02-14 12:42:52 -08:00
Eric Zhang
3e56fc6c5e Change ownership of resumeonreboot module.
Bug: N/A
Test: N/A
Change-Id: I014452eebfd73767549bb233ccace0655adc57dd
2022-02-14 20:20:50 +00:00
Rambo Wang
7013bca07a Merge "Protect SID and NID in ServiceState with coarse location permission" 2022-02-14 20:03:48 +00:00
Treehugger Robot
5a3337e077 Merge "OWNERS for widget coretests" 2022-02-14 17:09:18 +00:00
Treehugger Robot
d78c0842df Merge "Fix cert-dcl16-c warnings" 2022-02-14 16:37:57 +00:00
Treehugger Robot
5ec4a12947 Merge "Add OWNERS entries for Android time team" 2022-02-14 15:01:49 +00:00
Treehugger Robot
56d6691e8e Merge "Add null check after getApplicationInfo in InstantAppNotifier" 2022-02-14 14:04:08 +00:00
Nicolas Geoffray
e032bc4139 Merge "Call the right JNI helper." 2022-02-14 12:17:37 +00:00
Artur Satayev
19c5ee8bf1 Merge "Use ro.build.version.known_codenames sysprop for KNOWN_CODENAMES." 2022-02-14 12:08:04 +00:00
Neil Fuller
e41149620d Add OWNERS entries for Android time team
Add entries for the files that the Android time team have to update
occasionally.

Bug: 218802673
Test: None
Change-Id: I1255ac04e91c37051bdf4f72acea5cae4aca99db
2022-02-14 10:17:34 +00:00
Ahaan Ugale
ff6ec88858 OWNERS for widget coretests
Change-Id: Ie0c71086d002f21c4cbe8758cb151e73d439d446
2022-02-14 10:02:25 +00:00
Nicolas Geoffray
d07f5d926a Call the right JNI helper.
The method returns void, so we should use CallStaticVoidMethod.

Test: test_com.android.art
Bug: 218518604
Change-Id: I911b6b62cb00f52565a3a95b111b80115f4df3a1
2022-02-14 08:29:19 +00:00
Treehugger Robot
49665e8d49 Merge "Add a benchmark test for Resources.getIdentifier" 2022-02-14 08:06:43 +00:00
Ray Chi
2424262814 Fix handling usb notification after pr_swap complete
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
2022-02-14 07:12:15 +00:00
Joanne Chung
b00f0d6c95 Update team OWNERS file.
Bug: 177641730
Test: n/a
Change-Id: If4ecc7326dc229d8807e1497c5e3e2ef0637680f
2022-02-14 14:51:12 +08:00
Felka Chang
ccb8c015b7 Add a benchmark test for Resources.getIdentifier
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
2022-02-14 13:08:39 +08:00
Håkan Kvist
c0bb7ecc72 Add null check after getApplicationInfo in InstantAppNotifier
getApplicationInfo can return null, so check return value before
access.

Fixes: 206007136
Test: N/A
Change-Id: Iaab7ba41f46b2d6caa7d43add4689228230d5901
2022-02-13 21:08:31 +00:00
Treehugger Robot
a83857b9e2 Merge "API Changes needed for Blueooth apex to build" 2022-02-12 12:09:15 +00:00
Treehugger Robot
d54fb9484d Merge "Carrier config for opportunistic eSIM download only over WiFi" 2022-02-12 06:18:55 +00:00
Lorenzo Colitti
212e17e6ac Merge "Expose EthernetManager state and control APIs." 2022-02-12 04:38:33 +00:00
Treehugger Robot
7258ba537d Merge "Fix StageCoordinator unexpected onDisplayAreaVanished" 2022-02-12 02:45:13 +00:00
Yuntao Xu
17da00b993 Merge "Convert CanvasCompare/Android.mk to Android.bp" 2022-02-11 23:51:34 +00:00
Yuntao Xu
2cd74cf430 Merge "Convert SimpleCamera/Android.mk to Android.bp" 2022-02-11 23:04:42 +00:00
Maciej Żenczykowski
26712e3c89 Merge "remove libbpf_android from libandroid_runtime" 2022-02-11 19:15:57 +00:00
Treehugger Robot
78abed41f6 Merge "Fix the empty selection issue when onCreateActionMode returns false" 2022-02-11 19:11:05 +00:00
Treehugger Robot
97a6167d1b Merge "Define separate OWNERS file for Input" 2022-02-11 18:38:03 +00:00
Treehugger Robot
74dd849791 Merge "Handle setAllowedCarriers() with empty list of carriers" 2022-02-11 18:20:43 +00:00
Treehugger Robot
a05c4bb1bd Merge "OWNERS for ViewStructure" 2022-02-11 17:58:26 +00:00
Rahul Sabnis
111303d2ac Merge "Update path to Bluetooth OWNERS file after repo migration" 2022-02-11 17:51:54 +00:00
Prabir Pradhan
c3bd27ed9e Define separate OWNERS file for Input
Bug: None
Test: None
Change-Id: I0ee0f24c51db003b323f76855d3cfd8fddb44c1a
2022-02-11 09:06:35 -08:00
Avinash Malipatil
c179ec3e86 Carrier config for opportunistic eSIM download only over WiFi
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
2022-02-11 16:55:46 +00:00
Maciej Żenczykowski
10120266d6 remove libbpf_android from libandroid_runtime
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
2022-02-11 16:53:03 +00:00