559013 Commits

Author SHA1 Message Date
Jakub Pawlowski
cc691aa7ac Merge "Add Bluetooth LE Audio Profile (3/3)" am: dfe8d9caed
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511334

Change-Id: I718f2ab189e9159e47cd2e846e0005b7b3e7e8e1
2020-12-02 08:22:01 +00:00
Jakub Pawlowski
dfe8d9caed Merge "Add Bluetooth LE Audio Profile (3/3)" 2020-12-02 08:14:59 +00:00
Lorenzo Colitti
88f10e63bb Merge changes Ic5a3e169,I76daa3ab am: 8ca385688d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1512888

Change-Id: Ibc9ad6c89e1214302b92118a01a924fa1481767e
2020-12-02 05:23:05 +00:00
Lorenzo Colitti
8ca385688d Merge changes Ic5a3e169,I76daa3ab
* changes:
  Refactor applyUnderlyingCapabilities and its test.
  Move applyUnderlyingCapabilities to ConnectivityService.
2020-12-02 04:55:12 +00:00
Remi NGUYEN VAN
1b06ca6e89 Remove CaptivePortal deps on @hide MetricEvents
The legacy metrics are deprecated, and CaptivePortal is planned to move
to a connectivity-specific jar which cannot reference MetricsEvents.

Bug: 171540887
Test: m
Change-Id: I409375de3844a7fedef707cf9e19a106d82a8e3a
2020-12-02 13:17:09 +09:00
Lucas Lin
374ccf4359 Merge "Use public API of NetworkAgent in TestNetworkService" am: 0903bf5de7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505291

Change-Id: If37614f211ea2cddb98f06b95b9dfe32e5a98cb5
2020-12-02 03:58:08 +00:00
Lucas Lin
0903bf5de7 Merge "Use public API of NetworkAgent in TestNetworkService" 2020-12-02 03:30:59 +00:00
Brad Ebinger
f833ff0d2c Merge "Add new carrier config option for enabling SIP PUBLISH of RCS caps" am: 88f8c04dc3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1515260

Change-Id: I8821dbcd743882f96095b2f2c86ea9f071f0039e
2020-12-02 01:26:31 +00:00
Treehugger Robot
76f22955a6 Merge "HDMICEC: Override hashCode in HdmiDeviceInfo" am: 1d59ab8486
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1460262

Change-Id: I0991129389ed17d8664aa98db0ca85c61af839ce
2020-12-02 01:11:56 +00:00
Treehugger Robot
b3bd1acb09 Merge "Revert "Revert "Restore preferred activity filter if it not inside""" am: 406e3a063d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1504108

Change-Id: I9bd9ca1917bf093ddbdcfb92fb6453878aa8269a
2020-12-02 00:56:43 +00:00
Brad Ebinger
88f8c04dc3 Merge "Add new carrier config option for enabling SIP PUBLISH of RCS caps" 2020-12-02 00:53:37 +00:00
Jin Seok Park
9a496e9e48 Merge "Add context to customization class constructors" am: 4216ae60ac
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1512870

Change-Id: I060721dfee7cc58225953e276cd1ce8b31f7f577
2020-12-02 00:44:22 +00:00
Baligh Uddin
dd3a1b184d Merge "Temporary apply OWNERS block for migration" am: 5913866804
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513812

Change-Id: I07c5d89b426895cad1f31032547dc03faa829ed2
2020-12-02 00:32:21 +00:00
Treehugger Robot
1d59ab8486 Merge "HDMICEC: Override hashCode in HdmiDeviceInfo" 2020-12-02 00:11:21 +00:00
Treehugger Robot
406e3a063d Merge "Revert "Revert "Restore preferred activity filter if it not inside""" 2020-12-02 00:06:01 +00:00
Jin Seok Park
4216ae60ac Merge "Add context to customization class constructors" 2020-12-01 23:39:12 +00:00
Brad Ebinger
21f6792a14 Add new carrier config option for enabling SIP PUBLISH of RCS caps
Adds a new carrier config option that will bring up/down the service
connection to the vendor IMS stack. When down, we should not
see the vendor IMS stack generate SIP PUBLISH requests to the network.

This is so that we do not generate SIP PUBLISH requests on networks
that do not support this functionality.

Bug: 173115560
Test: atest CarrierConfigTests
Merged-In: If9ab9836261afc2d6cebb959690d8b44b06a3dfe
Change-Id: If9ab9836261afc2d6cebb959690d8b44b06a3dfe
2020-12-01 23:08:54 +00:00
Baligh Uddin
5913866804 Merge "Temporary apply OWNERS block for migration" 2020-12-01 23:01:40 +00:00
Grzegorz Kołodziejczyk
f08f986a9b Add Bluetooth LE Audio Profile (3/3)
This is boilerplate code for Bluetooth LE Audio profile

Bug: 150670922
Test: compilation
Tag: #feature
Change-Id: Iadc3af12fd8b2808db2f4e933a1906a819824ade
2020-12-01 23:30:49 +01:00
Sarah Chin
cd740a8f7e Merge "Create getSystemSelectionChannel API" am: 138e2db12a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1503895

Change-Id: Ide16f0ff0b7956bf2c85b22e3e07c5029d1aa4ae
2020-12-01 20:16:55 +00:00
Sarah Chin
138e2db12a Merge "Create getSystemSelectionChannel API" 2020-12-01 20:08:10 +00:00
Treehugger Robot
14abda59dd Merge "Fix TV didn't initiate ARC sometimes." am: 89e7e85f06
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505736

Change-Id: I3f98bf71b199b1bad7b41e11750317c84d79cf0f
2020-12-01 18:58:49 +00:00
Treehugger Robot
89e7e85f06 Merge "Fix TV didn't initiate ARC sometimes." 2020-12-01 18:44:53 +00:00
Nicolas Geoffray
1815e73a11 Merge "Revert "Disable BootImageProfileTest"" am: 5f2ee40ea3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513795

Change-Id: Id0e329fb68bf703f6672dfb72d37e9edf2700bee
2020-12-01 18:06:40 +00:00
Nicolas Geoffray
5f2ee40ea3 Merge "Revert "Disable BootImageProfileTest"" 2020-12-01 17:56:22 +00:00
Treehugger Robot
5ffb396f54 Merge "Convert mask types from uint32_t to enum type" am: bcc75f0be4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510612

Change-Id: I6b4b2d4f28bfd17a0eee6674140248d5faca02fa
2020-12-01 17:42:20 +00:00
Philip Junker
3f54756d91 Merge "Send shutdown callback only during animation destruction" am: 76a9e41247
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513319

Change-Id: I6c5763eca20bfdaa30b26fa0299cab4343b4fb77
2020-12-01 17:36:24 +00:00
Treehugger Robot
bd2f82c88c Merge "Deprecated UserManager.getUsers(excludeDying) / added getAliveUsers()" am: c0b44fca8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1406256

Change-Id: I6d0d919ddad282d526c2412efdd92e368149ab87
2020-12-01 17:32:56 +00:00
Treehugger Robot
bcc75f0be4 Merge "Convert mask types from uint32_t to enum type" 2020-12-01 17:06:51 +00:00
Philip Junker
76a9e41247 Merge "Send shutdown callback only during animation destruction" 2020-12-01 17:01:00 +00:00
Treehugger Robot
c0b44fca8b Merge "Deprecated UserManager.getUsers(excludeDying) / added getAliveUsers()" 2020-12-01 16:52:45 +00:00
Lorenzo Colitti
fa24282505 Refactor applyUnderlyingCapabilities and its test.
This reduces verbose assertions and makes the test more compact.
I'm not sure whether it's actually more valuable, since the
current code, while more verbose, is probably more
straightforward to understand.

Also add a test for passing in a null underlying network (i.e.,
follow default network). This requires a minor refactoring in
ConnectivityService because the applyUnderlyingCapabilities does
not currently treat null specially.

Bug: 173331190
Test: test-only change
Change-Id: Ic5a3e16969ea9e1a529706850f148cb0d5fd8e09
2020-12-02 00:45:57 +09:00
Philip Junker
f1291ba703 Send shutdown callback only during animation destruction
The shutdown callback is currently used only by audioplay.cpp to destroy the audio player.
Sending shutdown when the animation is destructed makes sure the audio
player is not being destroyed before its boot animation part is being displayed.

Test: Modified bootanimation, sound in second last part of bootanimation
plays
Bug: 157407957
Bug: 127254055
Merged-In: I47f57643791e73e4a4fa1597309dccb1f52f2316

Change-Id: I47f57643791e73e4a4fa1597309dccb1f52f2316
2020-12-01 16:45:52 +01:00
lucaslin
a75e5b6039 Use public API of NetworkAgent in TestNetworkService
- Create NetworkAgent by using the public API of NetworkAgent.
- Remove the usage of NetworkInfo.

Bug: 172183305
Test: Build pass.
Test: atest FrameworksNetTests
Test: atest CtsNetTestCasesLatestSdk
Test: atest NetworkStackIntegrationTests
Test: atest TetheringIntegrationTests
Change-Id: Icba59295861201c221587caa9df02275c4087fb8
2020-12-01 23:03:02 +08:00
Lorenzo Colitti
430a95f07c Move applyUnderlyingCapabilities to ConnectivityService.
This is essentially a straighforward move of code from Vpn to
ConnectivityService, and from VpnTest to ConnectivityServiceTest.

Bug: 173331190
Test: passes existing tests, moved tests pass
Change-Id: I76daa3abcc777e9c3ba57efb750de0e2e2f3bb74
2020-12-01 23:23:47 +09:00
Treehugger Robot
6f53cbb440 Merge "Add permission for protecting UI tracing" am: 854bb5b5eb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1500510

Change-Id: I514e00e6737d06d3e38e19ab62b44b8a3c35208f
2020-12-01 14:09:21 +00:00
Treehugger Robot
854bb5b5eb Merge "Add permission for protecting UI tracing" 2020-12-01 13:41:42 +00:00
Anton Hansson
b0b08331f4 Merge "Remove WifiApiServiceInfo" am: 906fe717a0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510030

Change-Id: Ib7b865dadb486096af32ebf4e634bad07e813fa5
2020-12-01 13:10:04 +00:00
Anton Hansson
906fe717a0 Merge "Remove WifiApiServiceInfo" 2020-12-01 12:42:23 +00:00
Zimuzo Ezeozue
c6536c8794 Merge "Fixed a race contidion in StorageManagerService" am: 782ef476df
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1508499

Change-Id: Ib0a2065b098399f2464463817967ed36e61b4980
2020-12-01 11:19:19 +00:00
Zimuzo Ezeozue
782ef476df Merge "Fixed a race contidion in StorageManagerService" 2020-12-01 10:52:23 +00:00
Calvin Pan
e0e8b01154 Merge "Add base class for OptionsBuilder and PresenceBuilder" am: 3d37ba8a37
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1486159

Change-Id: I6506c375ada2c09d9824b4318db22f187b9a1475
2020-12-01 09:34:15 +00:00
Calvin Pan
3d37ba8a37 Merge "Add base class for OptionsBuilder and PresenceBuilder" 2020-12-01 09:18:35 +00:00
Nicolas Geoffray
412e8cc470 Revert "Disable BootImageProfileTest"
This reverts commit 8491e68a3711419f3afc8566bccd27b5ecce7127.

Bug: 173677667

Reason for revert: Landed fix in https://android-review.googlesource.com/c/platform/art/+/1513256

Change-Id: Ibd0ec78c1f4aab6ce6c711c0a79650693fa94c08
2020-12-01 09:05:25 +00:00
Felipe Leme
b0402e7bf3 Deprecated UserManager.getUsers(excludeDying) / added getAliveUsers()
The existing method is confusing (the argument used to be called
includeDying) and it puts the burden on the caller (which need to
understand what the parameter means).

Furthermore:

- The majority of calls are for getUsers(excludeDying=true).
- The calls for getUsers(excludeDying=false) are equivalent to
  calls to getUsers()

Test: m
Test: a VpnTest ConnectivityServiceTest PermissionMonitorTest

Bug: 157921703
Change-Id: Ife767a40b7b7790ba28b5377046de822ddbf275c
Merged-In: Ife767a40b7b7790ba28b5377046de822ddbf275c
(cherry picked from commit 6dc6d2b96498bcca132913dbfc6338f8f9f6c697)
2020-12-01 15:25:52 +08:00
Riddle Hsu
e190f0ae5b Add ART optimization dimension to reportFullyDrawn
Bug: 170310046
Test: adb shell cmd stats print-logs
      adb logcat | grep statsd | grep "(50)"
Change-Id: I1d33ff4639c85d2b1f57f2fef72d883c3eed7f00
Merged-In: I1d33ff4639c85d2b1f57f2fef72d883c3eed7f00
(cherry picked from commit ec2e3ee7040b29e63999d510e9d550d426a07ee3)
2020-12-01 15:14:58 +08:00
Treehugger Robot
2fd8da4e3e Merge "Correctly expose EGL_ANDROID_native_fence_sync to hwui" am: 5884555cd2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1514972

Change-Id: I7642f9342887b49e649d720d13ce46caeaf239b9
2020-12-01 04:54:12 +00:00
Treehugger Robot
5884555cd2 Merge "Correctly expose EGL_ANDROID_native_fence_sync to hwui" 2020-12-01 04:33:44 +00:00
Alec Mouri
337b621b36 Correctly expose EGL_ANDROID_native_fence_sync to hwui
When we moved off of gui/SyncFeatures for retrieving this extension, we
accidentally didn't include the eglQueryStringImplementationANDROID path
for retrieving extensions. Fortunately this extension is only used for
TextureView synchronization, but we should still use the extension when
available.

Bug: 159921224
Bug: 161767307
Test: Manually inject log statements to verify the extension is
correctly visible.

Change-Id: Idaa872778afc13e86bdea918da8631b4747fe9c1
Merged-In: Idaa872778afc13e86bdea918da8631b4747fe9c1
(cherry picked from commit 49d87e5c077fed85c48341be65e9eaff98654bef)
2020-11-30 19:21:42 -08:00
Treehugger Robot
0d18955d47 Merge "Remove JobInfo usage of NetworkRequest#networkCaps" am: fdef604e07
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1512666

Change-Id: I72591ab22b107bef96e94f8d9edb1ad0693b058a
2020-12-01 02:58:00 +00:00