654994 Commits

Author SHA1 Message Date
Sooraj Sasindran
79c8a3cff4 Update owners file
add sasindran
rm nazaninb

Bug: 199432252
Test: build
Merged-In: I2f537aaf1faec1dce65a3041da8b13e15ed96057
Change-Id: I2f537aaf1faec1dce65a3041da8b13e15ed96057
2021-11-08 22:02:15 -08:00
Brett Chabot
a90cb087c0 Merge changes from topic "cp_slim"
* changes:
  Lazy load Properties::isDrawingEnabled.
  Backport 'add config to disable snapshots'.
  Backport 'Add ability to disable GL draws'.
2021-11-03 18:00:49 +00:00
Bill Yi
982bb0f145 Merge "Merge SP1A.211105.004 to aosp-master - DO NOT MERGE" 2021-11-03 17:50:39 +00:00
Jing Ji
7e76d37fdb Merge "Explicitly exit from the am instrument after test completes" 2021-11-03 17:07:30 +00:00
Treehugger Robot
ec9a8515d7 Merge "remove AudioManager.setParameters from bluetooth" 2021-11-03 17:00:22 +00:00
Bill Yi
ba584f1fa1 Merge SP1A.211105.004 to aosp-master - DO NOT MERGE
Merged-In: I7e267e3c046d726750180efa81806cbbefb17b68
Merged-In: I5ff5973c95868bee2b7444ecded7443d6e6429c9
Change-Id: Ic3cd62083de4219dbf52f568ca4f34bdc7a08516
2021-11-02 21:07:53 -07:00
Lucas Lin
74ef57b885 Merge "Set underlying network of VCN" 2021-11-03 00:44:40 +00:00
Yifan Hong
d69e2b3f13 Merge "Revert "libandroid_runtime_vm_headers is recovery_available."" 2021-11-02 17:39:06 +00:00
William Escande
ef429b62b1 remove AudioManager.setParameters from bluetooth
All uses of AudioManager.setParameters are a hack that we have to remove.

Bug: 196440888
Tag: #refactor
Test: Build
Change-Id: I6deeffef8fbd8ba1c501f41c74b4763503106cc0
2021-11-02 16:38:15 +01:00
Mohammad Islam
e583e6d676 Merge "Propagate classpath info for staged apex to PackageManager" 2021-11-02 08:51:01 +00:00
Remi NGUYEN VAN
5318227f2a Merge "Add framework-annotations-lib to Wifi service deps" 2021-11-02 06:49:19 +00:00
Xiao Ma
8f2ec1df33 Merge "Add a separate namespace for Tethering module." 2021-11-02 02:42:31 +00:00
Hao Ke
bce40e7c6e Merge "Adding typed Parcel read APIs for Serializable." 2021-11-02 02:08:29 +00:00
Jing Ji
209ddf9871 Explicitly exit from the am instrument after test completes
To speed up the test. For a trivial am instrument run:

[Before]
0m01.53s real     0m00.16s user     0m00.16s system

[After]
0m00.72s real     0m00.21s user     0m00.11s system

Bug: 204195830
Test: am instrument -w
Change-Id: I66196d1db9169681dabb2e5dacdd18e6105ad75a
2021-11-01 17:35:37 -07:00
Nagendra Prasad Nagarle Basavaraju
839597dea5 Merge "Support encoding/decoding IkeSessionParams with IKE_OPTION_INITIAL_CONTACT" 2021-11-01 23:55:56 +00:00
Treehugger Robot
a0e2ccc173 Merge "Supported minimum aggregated bandwidth and roaming for 5G+" 2021-11-01 23:07:21 +00:00
Treehugger Robot
9ea37fe982 Merge "Add OWNERS for the health package." 2021-11-01 22:54:08 +00:00
Treehugger Robot
99d0fd69cb Merge "Adjust the OWNERS file for attestation verification" 2021-11-01 20:48:31 +00:00
Treehugger Robot
1b05dfe00d Merge "Use static utils from f/l/n instead of the networkstack" 2021-11-01 19:17:40 +00:00
Jack Yu
eea7397d88 Supported minimum aggregated bandwidth and roaming for 5G+
1. Added minimum bandwidth support. 5G+ icon is only
   shown when the aggregated bandwidth is above the threshold.
2. Allowed carrier to disable 5G+ while roaming.

Bug: 198831438
Bug: 201455505
Test: atest NetworkTypeControllerTest
Merged-In: I1f40de5ee559a6d703806e74d305267bde295dcc
Change-Id: I1f40de5ee559a6d703806e74d305267bde295dcc
(cherry picked from commit 5e7b8533ef4b9d355c8df051d377e91ff7bed85a)
2021-11-01 10:37:33 -07:00
lucaslin
07ca5cb00e Set underlying network of VCN
VCN has already known its underlying network, so set it into
NetworkCapabilities directly.

Bug: 191918368
Test: atest FrameworksVcnTests
Change-Id: Ibfe4f12bc5f3a8b7679d8a2c3b1b2f2161b9c9e5
2021-11-01 22:56:53 +08:00
Bernardo Rufino
98a4a1b8b9 Merge "Add range-based Parcel.compareData()" 2021-11-01 11:27:05 +00:00
Xiao Ma
f9335d9562 Add a separate namespace for Tethering module.
Bug: 202940451
Test: m -j passed
Merged-In: I393d25f4c1a15927686c984e47c01f2646d0867d
Change-Id: I8a2bc2c80b087f304c6f0471736d7a0a6e0b9cd7
2021-11-01 11:07:58 +00:00
Xiao Ma
c9b6889e04 Merge "Add a separate namespace for CaptivePortalLogin module." 2021-11-01 11:05:17 +00:00
Lucas Lin
357179542a Merge changes from topic "VPN_APPOPS"
* changes:
  Add startOp and finishOp to track the behavior of VPN app
  Add new appOps to track the behavior of VPN app
2021-11-01 08:33:36 +00:00
Paul Hu
e2c0dcfe1c Merge "Replace @hide APIs in IpSecService" 2021-11-01 06:14:52 +00:00
Remi NGUYEN VAN
03dc2a0db7 Add framework-annotations-lib to Wifi service deps
services.net-module-wifi used to get framework annotations through
networkstack-client. This is being cleaned up, so it needs to use
framework-annotations-lib instead.

services.net-module-wifi is actually part of the Wifi module, even
though it is a legacy library left in frameworks/base.

Test: m
Change-Id: Icf169e3188ab7b6fa6ee306092b380c833c3f4bb
2021-11-01 15:01:05 +09:00
Yifan Hong
0091946349 Revert "libandroid_runtime_vm_headers is recovery_available."
This reverts commit 08e2895ade6af39aa5b9feb72698ee233e7efcb6.

Reason for revert: shouldn't be used in recovery

Change-Id: I2ac8918800b577fc37c1e0ea459ffc872847f60f
2021-10-30 05:43:01 +00:00
Yifan Hong
9b4bfc42a5 Add OWNERS for the health package.
Test: none
Bug: 177269435
Change-Id: I0f21f40cc933de4e31d63a66ec19d7d50d34cf5c
2021-10-29 22:38:39 -07:00
Treehugger Robot
a1219366ac Merge "Rectify comment in getCurrentAgEvents" 2021-10-29 20:01:35 +00:00
Paul Murphy
1e47688982 Merge "Add implicit broadcast exception for USB_ACCESSORY_HANDSHAKE" 2021-10-29 17:18:47 +00:00
Dave McCloskey
fe0e25901a Adjust the OWNERS file for attestation verification
Bug: 201696614
Test: N/A
Change-Id: Ib9c2e8ce9439f3b87ee4a8485fa2caa18619c04e
2021-10-29 10:00:36 -07:00
Treehugger Robot
78106c0ea4 Merge "Create dedicated long variables." 2021-10-29 14:57:01 +00:00
Hao Ke
ec4b60c1ad Adding typed Parcel read APIs for Serializable.
Added typed read API of `readSerializable`, that takes
an extra Class<T> parameter to check that the class written
on the wire is the same or a descendant from the one provided
as argument.

Doing so could enhance the security of Parcel deserialization,
as it would prevent unexpected types of objects being deserialized.
More details can be found at go/safer-parcel.

Test: atest -d android.os.cts.ParcelTest
Bug: 195622897
Change-Id: I94e48ac7fe8f5d3ba4c54100cb76ce3e4aacdd09
2021-10-29 14:44:32 +00:00
Treehugger Robot
3bec47724f Merge "Fix: crash when running am.jar without parameters" 2021-10-29 09:37:37 +00:00
Chalard Jean
a84c6014ae Use static utils from f/l/n instead of the networkstack
Test: NetworkManagementServiceTest
Change-Id: I0383f542369f79986137084e76bce923d0df02a5
2021-10-29 14:48:31 +09:00
Nagendra Prasad Nagarle Basavaraju
3afaa9e51a Support encoding/decoding IkeSessionParams with
IKE_OPTION_INITIAL_CONTACT

This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_INITIAL_CONTACT
to/from a PersistableBundle

If this option is set for an IKE Session, The
INITIAL CONTACT  message is sent to the peer
to ensure that old security associations (SAs)
on the peer are deleted.

Bug: 186179788
Test: atest FrameworksIkeTests
Change-Id: I4ecd36ae222d95a84e8e6897a219f8accb9ed83b
2021-10-29 03:03:51 +00:00
Treehugger Robot
ce650fd908 Merge "Update input method OWNER list" 2021-10-29 02:34:54 +00:00
Paul Murphy
dc8bccf4a2 Add implicit broadcast exception for USB_ACCESSORY_HANDSHAKE
Test: Manually tested
Bug: b/186495257
Change-Id: I896afc6049a927ac23717c765098b2b4566e9c09
2021-10-28 23:26:41 +00:00
kwekua
5aacac2a71 Create dedicated long variables.
Bug: 194532703
Bug: 204459169
Change-Id: Ic4c57d3797b19869e5c9151ccb183543ba5f6df0
2021-10-28 19:33:25 +00:00
Xiao Ma
38c092b8ef Add a separate namespace for CaptivePortalLogin module.
Bug: 202940451
Test: m -j passed
Merged-In: I5657a886b4ecc4f0ff4126588ae1f6e0712269a0
Change-Id: I05308bdc681d1037ce86a686101e9067faf0dca3
2021-10-28 15:12:14 +00:00
Anton Hansson
eb2333936e Merge "Re-submit "Change the default docs build to use module stubs"" 2021-10-28 14:12:17 +00:00
Treehugger Robot
0665490327 Merge "[Bugfix] Fix the issue of transition animation splash screen in split screen mode." 2021-10-28 13:23:24 +00:00
Bernardo Rufino
7e4edf5be1 Add range-based Parcel.compareData()
To be used by lazy value. Now, we also remove getValueParcel() that was
copying the section of the parcel since we don't need that anymore.

Test: atest -d android.os.cts.ParcelTest android.os.cts.BundleTest android.os.BundleTest android.os.ParcelTest
Bug: 195622897
Change-Id: Ic8a0d1b6a268a81df7a1e56fa1e4b307a25210b6
2021-10-28 09:19:34 +01:00
paulhu
fc649f74bf Replace @hide APIs in IpSecService
- Replace Slog with Log
- Replace Binder.withCleanCallingIdentity with
  BinderUtils.withCleanCallingIdentity

Bug: 204153604
Test: atest FrameworksNetTests CtsNetTestCases
Change-Id: I63083b3a4e50afe5154b4e8585d0eee46da819c6
2021-10-28 06:39:38 +00:00
Treehugger Robot
29f37405b0 Merge "Expose isCISCentralSupported() and isLePeriodicAdvertisingSyncTransferSenderSupported() API" 2021-10-28 06:00:43 +00:00
Yifan Hong
4084f95dbc Merge "libandroid_runtime_vm_headers is recovery_available." 2021-10-28 02:57:37 +00:00
Brett Chabot
ab73aec1e4 Lazy load Properties::isDrawingEnabled.
Properties::isDrawingEnabled can unexpectedly return true
even if the system property debug.hwui.drawing_enabled is false,
if its called before RenderThread is created.

This commit changes the underlying logic to lazy load the
debug.hwui.drawing_enabled prop value.

Bug: 201691826
Test: m
Change-Id: I599426c8734d418f073fd0456c2b1149fb69d80c
2021-10-27 21:22:03 +00:00
Brett Chabot
44dfd78b29 Backport 'add config to disable snapshots'.
Bug: 201691826
Test: m
Merged-In: I83d9ab4a15a862ea220debdd8da8b3d5673da276
Merged-In: Ibdff22eda7be6c91e2872e5ac3ae8f2fe1e65b69
Change-Id: I4914876e4925284d55951d16e472654ee599c619
2021-10-27 21:18:35 +00:00
Brad Stenning
3120b13f56 Merge "Allow a shared library to be positioned after the application on the classpath" 2021-10-27 21:06:17 +00:00