Commit Graph

528940 Commits

Author SHA1 Message Date
Mark Chien
e9d354e7c7 Merge "Add the flag and default enable selectAllPrefixRange" am: 02fe8ac161
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461742

Change-Id: I6055ea6ac737bb94bd9bc8c8642e86222f1e1d1a
2020-10-19 12:46:44 +00:00
Yegor Malyshev
eafcb99786 Support animation parts fading out
This support helps with several things:
- simpler animation structure (size, number of items)
- more room for designers avoiding thinking about exit part
- time saving as complete parts now can be safely used as fading parts

Bug: 167352662
Test: Manual testing of major/edge cases
  - backward compatibility => "f 0" is mapped to "p", "p" still works
  - only trimmed areas are faded out
  - clock is not faded out (wear case)
  - adb shell su root bootanimation
  - [c, (exit) f 120, c] => "f 120" fades out and "c" completes
  - [c, (exit) f 120, f 320] => "f 120" fades out and "f 320" skipped
  - [c, f 16, (exit) f 120] => "f 16" played, "f 120" fades out
  - [c, (exit) f 0, f 120] => "f 0" skipped, "f 120" fades out

Change-Id: I9b200ee7107ef9b3dc8d711658ed1042b83739c2
Merged-In: I9b200ee7107ef9b3dc8d711658ed1042b83739c2
2020-10-19 14:33:17 +02:00
Mark Chien
02fe8ac161 Merge "Add the flag and default enable selectAllPrefixRange" 2020-10-19 12:26:54 +00:00
Treehugger Robot
643d56ce96 Merge "Add olly@ and aquilescanta@ to media OWNERS" am: 24be95826c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466102

Change-Id: Ic6e1764bff710a85b7555a6562cb9f12aee4489f
2020-10-19 12:22:28 +00:00
Treehugger Robot
24be95826c Merge "Add olly@ and aquilescanta@ to media OWNERS" 2020-10-19 12:09:05 +00:00
Chalard Jean
cc7d3d97f3 Merge "Remove unused methods from LinkProperties." am: ec3a0131b9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1448415

Change-Id: I7adcc9920cc2bdebe9a1dc22f32ce0955a4524dd
2020-10-19 09:50:44 +00:00
Chalard Jean
ec3a0131b9 Merge "Remove unused methods from LinkProperties." 2020-10-19 09:37:26 +00:00
andrewlewis
cd821b6401 Add olly@ and aquilescanta@ to media OWNERS 2020-10-19 09:12:22 +00:00
markchien
28ec2cf8e7 Add the flag and default enable selectAllPrefixRange
Also add MtsTetheringTest which only run if tethering mainline
module is installed.

Bug: 166057846
Bug: 170265597
Test: atest TetheringTests
Change-Id: I434dda81eb5fab700d873a8ff3429b4222f0c7e6
2020-10-19 16:50:29 +08:00
Treehugger Robot
3de06a1efb Merge "Remove duplicate logic from ModuleTestUtils" am: 20a3234d5b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433437

Change-Id: If1c2534d0bdac049a755750c12f86f6263811395
2020-10-17 13:57:59 +00:00
Treehugger Robot
20a3234d5b Merge "Remove duplicate logic from ModuleTestUtils" 2020-10-17 13:43:10 +00:00
Yan Yan
cb5aed6518 Merge changes from topic "new-ipsec-api" am: a80fb3bbe6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398433

Change-Id: I074e1cc2d9b8e38d242c4a1c9b2176d3b8338774
2020-10-16 22:52:03 +00:00
Yan Yan
a80fb3bbe6 Merge changes from topic "new-ipsec-api"
* changes:
  Expose new algorithms as public API
  Add new mandatory IPsec algorithms
2020-10-16 22:30:37 +00:00
Yan Yan
b766701fa4 Expose new algorithms as public API
Bug: 161716062
Test: FrameworksNetTests:IpSecAlgorithmTest
Change-Id: I5041c61ad5a4aa58b259e24de80a2c63d6b19dae
2020-10-16 17:53:37 +00:00
Steven Moreland
d44577e9e6 Merge "Zygote: disable heap 0'ing in apps." am: 1e19124f42
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1462849

Change-Id: If3bf29d5529dd1bed4bced86f307b9f3ad5862f0
2020-10-16 17:10:27 +00:00
Steven Moreland
1e19124f42 Merge "Zygote: disable heap 0'ing in apps." 2020-10-16 17:03:11 +00:00
Treehugger Robot
1d4cea45d6 Merge changes I93fa880a,Ib036852a,Ic5ab3c04,I4452eacf am: 20909a93b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1462704

Change-Id: Idf6c5f0bd1f3297fef9ee326d3d55acf88d79870
2020-10-16 17:00:06 +00:00
Treehugger Robot
20909a93b0 Merge changes I93fa880a,Ib036852a,Ic5ab3c04,I4452eacf
* changes:
  Bluetooth: Check INIT flag change on audio disconnect
  BluetoothDeviceConfigListener: Don't restart when connected
  BluetoothAirplaneModeListener -> BluetoothModeChangeHelper
  BluetoothManagerService: Separate DeviceConfigListener
2020-10-16 16:12:24 +00:00
Aaron Huang
944025aef2 Create service-connectivity.jar
Create a new target service-connectivity to split
ConnectivityService from services.core.

Add ConnectivityServiceInitializer for initializing
ConnectivityService and add systemReady() in
ConnectivityManager so that SystemServer can call systemReady()
through ConnectivityManager which won't change current behavior.

Bug: 158268939
Test: make target-java, make host-java
      atest FrameworksNetIntegrationTests
      atest FrameworksNetTests
      make, device can boot,
      atest CtsStrictJavaPackagesTestCases
      wifi and mobile data work.
Change-Id: I99401772ba9c1c34adca20040da3c7c72d86ddd9
Merged-In: Ie732bfaf381404af0bb599ca2f421a96e7aa4257
2020-10-16 22:46:14 +08:00
Bernie Innocenti
5b53e5f4d6 Merge "Stop setting the legacy net.dnsX system properties" am: 61da71aa03
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1229561

Change-Id: Id30674df53eead41a626eef81a0d7e449dfd7c83
2020-10-16 14:03:43 +00:00
Mohammad Samiul Islam
4390a893e1 Remove duplicate logic from ModuleTestUtils
Bug: 160296318
Test: atest StagedInstallInternalTest
Change-Id: Ia31fc9d5246203da1869cc6d0e6ffcfc8d794080
Merged-In: Ia31fc9d5246203da1869cc6d0e6ffcfc8d794080
(cherry picked from commit c34b5738f1)
2020-10-16 14:30:41 +01:00
Bernie Innocenti
61da71aa03 Merge "Stop setting the legacy net.dnsX system properties" 2020-10-16 13:14:18 +00:00
Anton Hansson
44f11bfbab Merge "Remove module source code from test-api-stubs-docs" am: 0b903953ec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1462562

Change-Id: I74a078fdca78277e26a76269c4c7c57a0d3ca7c2
2020-10-16 12:35:26 +00:00
Anton Hansson
0b903953ec Merge "Remove module source code from test-api-stubs-docs" 2020-10-16 12:07:06 +00:00
lucaslin
c50d8b6d94 Use public API of Settings.Secure to get/put secure settings
Get/put secure settings by using public API of Settings.Secure to
prevent using hidden API.

Bug: 171033200
Test: atest FrameworksNetTests
Test: Install 3rd-party VPN app and create multiple users, then
      change the VPN always-on setting in one of users and check
      if the VPN always-on setting of the others is not changed.
      (i.e. Make sure they won't influence each other.)
Change-Id: Icd455df3fa6eac52cdab1b162556f429da99e8f7
2020-10-16 19:13:48 +08:00
Shraddha Basantwani
998ad5e8e3 CEC: Set IO looper to control service in message validator test
Test: atest HdmiCecMessageValidatorTest
Bug: 170811408
Change-Id: I286a68cf0b8976ed6e0ae0b3a5667427fcbaf8d8
2020-10-16 16:33:05 +05:30
Chiachang Wang
d15eccf22a Stop setting the legacy net.dnsX system properties
These have been locked down via SELinux for a while and thus
they should be safe to delete at this point.

Test: atest FrameworksNetTest
Bug: 33308258
Bug: 148724751
Change-Id: I3a1e9c6ad92c8d2367e0048e5d6cd7d06bbc6e80
2020-10-16 08:19:25 +00:00
Amit Mahajan
05cd4c3313 Merge "Add new config_sms_ask_every_time_support" am: 3587fde833
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456119

Change-Id: I787d7415c487cf5c64ea73309478a92366f2dd97
2020-10-16 06:39:15 +00:00
Chalard Jean
b047fa093b Remove unused methods from LinkProperties.
LinkProperties.compare{Dnses,ValidatedPrivateDnses,AllRoutes,
AllInterfaceNames} actually have no users.

Test: LinkPropertiesTest
Change-Id: Ic54ab3c5520fbbc2be1309aeaf1e5a7857dbd194
2020-10-16 15:32:19 +09:00
Amit Mahajan
3587fde833 Merge "Add new config_sms_ask_every_time_support" 2020-10-16 06:21:34 +00:00
Hansong Zhang
3deeaffcc8 Bluetooth: Check INIT flag change on audio disconnect
We also listen for A2DP or hearing aid disconnect and then reevaluate
INIT flag change.

Test: FrameworksServicesTests
Test: Push bluetooth INIT_ flags
Change-Id: I93fa880aa64506577a7937e6666b1942d28458ea
2020-10-15 22:07:13 -07:00
Hansong Zhang
b0bf27e7ae BluetoothDeviceConfigListener: Don't restart when connected
Similar to airplane mode change, don't send onInitFlagsChanged to
BluetoothManagerService when A2dp or Hearing aid is connected. Instead,
check after 24 hours.

Test: FrameworksServicesTests
Test: Push bluetooth INIT_ flags
Change-Id: Ib036852aa1cf8e3ddd87af7d17d16ad1c66c820e
2020-10-15 22:07:13 -07:00
Hansong Zhang
543eaedd4d BluetoothAirplaneModeListener -> BluetoothModeChangeHelper
Common code can be used for BluetoothDeviceConfigListener.

Test: atest FrameworksServicesTests
Change-Id: Ic5ab3c04876c341bde79c03f0551719c5f774437
2020-10-15 22:07:11 -07:00
Hansong Zhang
b197ff77fc BluetoothManagerService: Separate DeviceConfigListener
Use its own class instead.

Test: FrameworksServicesTests
Test: Push bluetooth INIT_ flags
Change-Id: I4452eacffd11020b6c8fa1cb2854fb91c11cac69
2020-10-15 22:06:11 -07:00
Treehugger Robot
b9caef1c05 Merge "Allow the network stack to read network stats history" am: d3f3538817
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450457

Change-Id: Ia7a7fdbb57f44ef9ad74d3c1dcb6a273bbb6baf8
2020-10-16 04:20:39 +00:00
Treehugger Robot
c713a670c9 Merge "Minor grammar fix in CompanionDeviceManager javadoc." am: f052b7bf91
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1462962

Change-Id: I08c8cc48d74b0fbd472784cf16519ed1bd8e14fb
2020-10-16 04:16:36 +00:00
Treehugger Robot
d3f3538817 Merge "Allow the network stack to read network stats history" 2020-10-16 04:12:51 +00:00
Treehugger Robot
f052b7bf91 Merge "Minor grammar fix in CompanionDeviceManager javadoc." 2020-10-16 03:40:40 +00:00
Treehugger Robot
e55e369585 Merge "Add UwbAddress to represent a UWB device" am: ad7d93b21a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1455077

Change-Id: If859fe469ada79540b4bf64cee1c2a4910eb077f
2020-10-16 02:37:17 +00:00
Treehugger Robot
ad7d93b21a Merge "Add UwbAddress to represent a UWB device" 2020-10-16 02:10:01 +00:00
James Lin
8774c473ef Merge "[RCS UCE] Refactor the class RcsContactUceCapability" am: e279b0d14f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459883

Change-Id: Ia0f70865a9856255dc5426f9703e966ba0c0d56f
2020-10-16 01:18:55 +00:00
Steven Moreland
8baf2c2b50 Zygote: disable heap 0'ing in apps.
Uninitialized memory back by popular demand.

We have trialed heap 0'ing (malloc is calloc) in Android for a few days
in all processes, but there are a couple of signs that doing this in app
processes may be too ambitious.

Bug: 170891666
Bug: 131355925

Test: boot, see disable logs
Change-Id: I60563712c8af459f2f847b4598477b042a05d7ea
2020-10-16 01:15:37 +00:00
James Lin
e279b0d14f Merge "[RCS UCE] Refactor the class RcsContactUceCapability" 2020-10-16 01:15:28 +00:00
Chalard Jean
19de0f854f Allow the network stack to read network stats history
Identical to ag/12843161

Bug: 168984229
Test: testNetworkStatsProvider
Change-Id: I7ad72c3b2b95f26ceec1371e7e0fdb92fa88920c
Merged-In: Ibb6342b0f263c874bb1f7ab4031a639778bad37e
2020-10-16 00:55:01 +00:00
Yan Yan
27267b655c Add new mandatory IPsec algorithms
This CL adds new mandatory IPsec algorithms and allows
OEM to enable them on old devices using resource overlay

Bug: 161716062
Test: FrameworksNetTests:IpSecAlgorithmTest
Change-Id: Ib827b05ea27dbe61b14ad236e858f825293ed994
2020-10-15 17:35:17 -07:00
Brian Stack
17e71839ef Add UWB RangingParameters
RangingParameters define how a UWB Ranging Session should be
performed.

Bug: 170323306
Test: Builds
Change-Id: Ie238e8e5748cfb050e0dc6560ca35a2effe09967
2020-10-15 14:51:36 -07:00
Brian Stack
7952df19b7 Add UWB Ranging Measurement classes
Adds the types needed to report UWB ranging and angle of arrival
information.

Bug: 170323306
Test: Builds
Change-Id: I113e33a77202d0b8d59f48de58fcc0bda4a8bc39
2020-10-15 14:51:31 -07:00
Brian Stack
4bde2ef7b4 Add UwbAddress to represent a UWB device
Bug: 170323306
Test: Builds
Change-Id: I2bd30993760b3edd665eab1660bb6befaec7cf0d
2020-10-15 14:41:49 -07:00
Anton Hansson
4053ff88b5 Merge "Update test-current.txt with removed MP APIs" am: f5e95d6a5f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1460267

Change-Id: I5afe51a1d9a43bb6a54942ea3f57534f423fed1e
2020-10-15 21:07:34 +00:00
Anton Hansson
f5e95d6a5f Merge "Update test-current.txt with removed MP APIs" 2020-10-15 20:19:14 +00:00