661166 Commits

Author SHA1 Message Date
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
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
Treehugger Robot
da6c7062c6 Merge "tracing: add instrumentation for tracing service reports" 2022-02-11 14:38:36 +00:00
William Escande
f185c9bcd9 API Changes needed for Blueooth apex to build
Bug: 216476895
Test: Compile
Tag: #refactor
Merged-In: Ia7741309719e1f46c8c18c81b65c8862bca814e1
Change-Id: Ia7741309719e1f46c8c18c81b65c8862bca814e1
2022-02-11 13:49:15 +01:00
ot903107
011e10f275 Fix StageCoordinator unexpected onDisplayAreaVanished
Seems already call Binder unlinkToDeath while registerOrganizer
but still received binderDied in DAOC, dead organizer already
been replaced by newer organizer with same featureId and will
remove the newer organizer.

Add a judge to make sure same organizer obecjt and old organizer
binder isn't alive while DAOC received binderDied.

Bug: 208552581
Test: run autotest pass

Change-Id: I555d2fdedb7be7b7d0e5b10fbc617a9cce66c4b5
2022-02-11 18:07:25 +08:00
Xiao Ma
147f287169 Expose EthernetManager state and control APIs.
This CL exposes EthernetManager APIs that settings and other
system components can use to modify and monitor Ethernet state.
The new APIs are similar to the existing @hide methods but
pass on more information and meet API guidelines:

1. Add an InterfaceStateListener interface, and
   addInterfaceStateListener and removeInterfaceStateListener
   methods that meet API guidelines (e.g., take Executor, take
   SAM parameter last, etc.) This new listener passes interface
   state (absent, up, down), role (client or server) and IP
   configuration.
2. Implement the legacy Listener type as a subinterface of the
   new interface. Hopefully existing callers should be able to
   use it unchanged.
3. Expose setIncludeTestInterfaces as module-lib api instead of
   TestApi, since modules cannot expose TestApi methods.

Bug: 210586283
Test: m
Test: atest EthernetServiceTests
Test: atest EthernetTetheringTest
Change-Id: I88240a546ab51d128ed83775499f2bcabab74db0
Merged-In: I88240a546ab51d128ed83775499f2bcabab74db0
2022-02-11 18:50:04 +09:00
Treehugger Robot
4ff7b1d723 Merge "Expand javadoc for Build.VERSION.KNOWN_CODENAMES." 2022-02-11 09:29:41 +00:00
Ahaan Ugale
8301da241b OWNERS for ViewStructure
Change-Id: I135bfa1a5e15d3b9658028b4e430c847280d7654
Test: n/a
Fix: 218966221
2022-02-11 05:49:36 +00:00
Treehugger Robot
c4a8259f78 Merge "Fix potential exception while pressing volume up and volume down" 2022-02-11 02:06:44 +00:00
Hyundo Moon
b5996b0b46 Merge "Show volume bar when BLE device's volume is changed" 2022-02-11 01:59:27 +00:00
Rahul Sabnis
c38e51f6f2 Update path to Bluetooth OWNERS file after repo migration
Bug: 218339548
Test: Manual
Change-Id: I6906c398a657a2bc155126d74b55885063f422c2
2022-02-10 17:47:41 -08:00
Treehugger Robot
5aba7d9d19 Merge "convert StreamingProtoTest to stream proto type" 2022-02-11 01:19:31 +00:00
Bob Badour
11f3b36c61 Merge "Add support for library names." 2022-02-10 23:44:51 +00:00
Joonhun Shin
88f4093982 Merge "Correct Typo in CarrierConfigManager introduced in b/197992603" 2022-02-10 22:48:15 +00:00
Treehugger Robot
5650969402 Merge "Add OWNERS for SyncFence JNI" 2022-02-10 22:43:38 +00:00
James Mattis
d13094cef4 Merge "Making EthernetNetworkSpecifier public" 2022-02-10 22:26:06 +00:00
Treehugger Robot
dae8e486bf Merge "BootReceiver: drop code processing dmesg, employ dmesgd" 2022-02-10 21:00:56 +00:00
Treehugger Robot
f2d6b0a31d Merge "Added a VTS test to validate the schema of uuid config xml" 2022-02-10 20:19:30 +00:00
Tony Mak
cfa26a0ae7 Fix the empty selection issue when onCreateActionMode returns false
One of the optimizations ag/12911059 did was calling
SelectionModifierCursorController.show() before
startActionModeInternal(). The rationale was that if we start the action
mode first, SelectionModifierCursorController.show() would end up
invalidating the action mode twice unnecessarily, once for each handle.

However, with this optimization, we are calling
SelectionModifierCursorController.show() even when onCreateActionMode
returns false.

Reverted this particular optimization to fix the issue.

Added a test which was failing without this fix but passing with it.

Fixes: 199380016
Fixes: 214341747
Test: atest TextViewActivityTest

Merged-In: I793f76a23978cbbbbde2d16e8a522615174bcdd5
Change-Id: I793f76a23978cbbbbde2d16e8a522615174bcdd5
(cherry picked from commit 11bd64482249c9257ee22390de15f69f9c834247)
2022-02-10 20:09:46 +00:00
Treehugger Robot
027b7e9604 Merge "Remove @hide usage and fix NetworkPolicy backup" 2022-02-10 19:37:14 +00:00
John Reck
5aad4e47a0 Add OWNERS for SyncFence JNI
Test: N/A
Change-Id: Iebf27d5ed614d91d8b6a885bc87396307c9ddd0f
2022-02-10 14:36:53 -05:00
James Mattis
4e9686f9d8 Making EthernetNetworkSpecifier public
Bug: 210485380
Test: atest EthernetServiceTests
atest CtsNetTestCasesLatestSdk

Change-Id: Ic0b7a3360745632eb024a97692e49f6c8dafa3ee
Merged-In: Ic0b7a3360745632eb024a97692e49f6c8dafa3ee
2022-02-10 11:25:18 -08:00
Kevin Jeon
adab5c6662 Merge "Remove unnecessary permissions from Traceur" 2022-02-10 19:09:46 +00:00
Treehugger Robot
8fb341c41f Merge "Don't suggest top-level owners for changes in apex/." 2022-02-10 18:13:58 +00:00
Lalit Maganti
b05e382d00 Merge "base: add perfetto owners to tracing directory in base" 2022-02-10 18:08:26 +00:00
Treehugger Robot
8bbb5be10e Merge "[MS70] Have BatteryStatsImpl use the public NetworkStats API" 2022-02-10 18:04:39 +00:00
Lalit Maganti
0e02392d09 base: add perfetto owners to tracing directory in base
Change-Id: Id7d8e602c62dd72f3ac09d7a398bcc59ea0bf0ff
2022-02-10 18:01:38 +00:00
Kevin Jeon
eabd21201e Remove unnecessary permissions from Traceur
This change removes the privapp allowlist from Traceur, which had
previously explicitly granted the DUMP, QUERY_ALL_PACKAGES,
START_FOREGROUND_SERVICES_FROM_BACKGROUND, and STATUS_BAR permissions.
These permissions no longer need to be granted because Traceur is now a
platform app.

Bug: 209476712
Test: - Checked that Traceur can still take normal and long traces on
        AOSP userdebug and internal user/userdebug.
      - Checked that bugreports will stop ongoing traces.
      - Checked that the quick settings tile still stops/starts traces.
Change-Id: I33cd317f9fe00e2e08ae205a832237bfe0df044a
Merged-In: I33cd317f9fe00e2e08ae205a832237bfe0df044a
2022-02-10 17:51:10 +00:00
Alexander Potapenko
7176306861 BootReceiver: drop code processing dmesg, employ dmesgd
To remove the need of giving system_server the syslog_read permission,
we are introducing dmesgd, a service that will be launched by init and
perform dmesg output parsing and collection of kernel error reports.

In order to trigger the service, BootReceiver just needs to set the
dmesgd.start property to 1.

Bug: 215095687
Test: run on a user device with injected KFENCE bugs
Change-Id: Ifcfe83ad559633558bba623fb514d7b27d97f6af
2022-02-10 17:41:41 +00:00
Lalit Maganti
788b5b8c08 tracing: add instrumentation for tracing service reports
This allows us to monitor any failed reports using
go/perfetto-monitoring.

Bug: 205892741
Test: New CTS test PerfettoTests#testSkipReportAtoms and
      PerfettoTest#testReportAtoms
Change-Id: Idf72bc693c1730fcb522b7a9ecfdf3c9db8b0777
2022-02-10 17:41:37 +00:00
satayev
c5dafe7ea4 Expand javadoc for Build.VERSION.KNOWN_CODENAMES.
Bug: 211747008
Test: N/A
Change-Id: I030076caae7b76a09a43aa5cd5fdf5671c09a832
2022-02-10 17:11:50 +00:00
Treehugger Robot
d8f74421fb Merge "Adjust base/native/android OWNERs" 2022-02-10 16:48:22 +00:00
satayev
a4f2700eba Don't suggest top-level owners for changes in apex/.
Individual folders have their own specific OWNERS already.

Bug: N/A
Test: presubmit
Change-Id: I23d77901245c187c9f6a8642755b6137a6051389
2022-02-10 15:56:01 +00:00
Treehugger Robot
e82d94fde0 Merge "Expose VpnManager events API" 2022-02-10 12:36:37 +00:00
Treehugger Robot
5edd77be5c Merge "Split out the ipsec API surface and use framework-connectivity-tiramisu" 2022-02-10 11:45:21 +00:00
Robert Horvath
932104e096 Merge "Add Low Power Standby firewall chain" 2022-02-10 11:17:44 +00:00