Commit Graph

654969 Commits

Author SHA1 Message Date
Rambo Wang
14cc15dc37 Clear up ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED logic
The feature is now replaced with TM#setSignalStrengthUpdateRequest
introduced in S release. The logic for the obsoleted feature is
cleared up.

The request to report system signal strength while idle is
still protected by permission to use internally.

Bug: 177924721
Test: atest TelephonyRegistryTest SignalStrengthUpdateRequestTest
Change-Id: Idad4ca59720fac50b5ec0fe50e2b6ac8e9dbb801
2021-11-03 11:39:17 -07:00
Yifan Hong
d69e2b3f13 Merge "Revert "libandroid_runtime_vm_headers is recovery_available."" 2021-11-02 17:39:06 +00: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
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 5e7b8533ef)
2021-11-01 10:37:33 -07: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 08e2895ade.

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
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
Treehugger Robot
d3dfca9c68 Merge "Remove bytes matcher from base" 2021-10-27 18:26:37 +00:00
Treehugger Robot
47b52267d9 Merge "More OWNERS refactoring" 2021-10-27 17:34:30 +00:00
Dave McCloskey
4238803a54 Merge "Adds OWNERS files for files related to Attestation Verification Framework." 2021-10-27 17:16:31 +00:00
Brad Stenning
89dfd0902e Allow a shared library to be positioned after the application on the classpath
This is useful if/when it's desired that an application contains the same
fully qualified class name that's also in the library.

The shared libraries that are treated in this manor are controlled by the resource
com.android.internal.R.config_shared_libraries_loaded_after_app

Bug: 179429740

Test: atest SharedLibraryLoadingTests

Change-Id: Ia37ff9bd545918d1e0f1f38548dcd86f177559d5
2021-10-27 10:06:16 -07:00
Hao Ke
79c9ea52e5 Merge "Adding typed Parcel read APIs 2" 2021-10-27 15:59:41 +00:00
Alan Hurney
f3294a0d02 Merge "Add FREE ShortCodes for EG and NG for Constellation Project" 2021-10-27 10:54:57 +00:00
Wilson Wu
e67c8434ac Update input method OWNER list
-. Add wilsonwu into input method OWNER list
-. Update settingslib OWNER list to input method owners

Bug: 204043011
Test: presubmit
Change-Id: I1476aa3fa9f62bb6db5be051fda2ed633515f90f
2021-10-27 10:48:32 +00:00
Samiul Islam
1bddcc6170 Propagate classpath info for staged apex to PackageManager
Bug: 187444679
Test: atest ApexTestCases
Test: atest StagedInstallInternalTest
Change-Id: I8e84fe72a213519cf658b769b794336eace9ab39
2021-10-27 11:41:23 +01:00
Treehugger Robot
1978bd15ca Merge "Remove usage of healthd." 2021-10-27 08:35:34 +00:00
Treehugger Robot
c680c7efed Merge "Clear pending actions on local device on wakeup." 2021-10-27 08:23:40 +00:00
Patty
0b5f026f12 Expose isCISCentralSupported() and isLePeriodicAdvertisingSyncTransferSenderSupported() API
Tag: #feature
Bug: 200749925
Bug: 150670922
Test: Compile
Change-Id: I45c674dcc8719d209f0e790aa9716bbbf0052fce
2021-10-27 13:51:40 +08:00