Commit Graph

655017 Commits

Author SHA1 Message Date
Nathan Harold
9aca73a930 Merge "Add GERAN to Docstring for PhysicalChannelConfig" 2021-11-05 23:49:40 +00:00
Treehugger Robot
99da93a0e7 Merge "Add the min aspect ratio to ActivityRecordProto and populate it" 2021-11-05 18:06:29 +00:00
Bernardo Rufino
f5cc73d25f Merge "Refactor Bundle for thread-safety of Bundle.hasFileDescriptors()" 2021-11-05 17:43:00 +00:00
Roopa Sattiraju
30cd5df67f Merge "Change getEnabledComponentOverrides return type" 2021-11-05 17:33:00 +00:00
Trevor Radcliffe
eaebd2cd54 Merge "Migrate rs/jni to Soong" 2021-11-05 16:10:56 +00:00
Bernardo Rufino
41d4be0fef Merge "Improve @hide Parcel.hasFileDescriptors(Object)" 2021-11-05 14:51:18 +00:00
tomnatan
61836d5b5a Add the min aspect ratio to ActivityRecordProto and populate it
This is needed for CompatChangeTests to verify that the min aspect ratio
is applied directly by checking the min aspect ratio.

Bug: 203541827
Test: N/A
Change-Id: I1736cd4a2c4a1c5857796fa9772def7b7d94ba33
Merged-In: I1736cd4a2c4a1c5857796fa9772def7b7d94ba33
2021-11-05 11:29:51 +00:00
Rahul Sabnis
eb806924d6 Merge "Deprecate GATT callbacks and methods that were not memory safe and replace with memory safe versions." 2021-11-05 05:13:01 +00:00
Rahul Sabnis
8e78d9fbf3 Deprecate GATT callbacks and methods that were not memory safe and
replace with memory safe versions.

Tag: #feature
Bug: 195157393
Test: Manual
CTS-Coverage-Bug: 205190062
Merged-In: I5ae604ec20febcf646bfe6a8f866b218448349c1
Change-Id: I5ae604ec20febcf646bfe6a8f866b218448349c1
2021-11-05 03:30:03 +00:00
Nathan Harold
b175697953 Add GERAN to Docstring for PhysicalChannelConfig
Bug: 8675309
Test: none (docstring-only-change)
Change-Id: I2d96980b1d2fcc665b63d126ae2ebb63e649a574
2021-11-05 02:06:24 +00:00
Treehugger Robot
3494086c36 Merge "Protect new LE Audio Broadcasts" 2021-11-04 18:43:36 +00:00
Rambo Wang
aac94b26a7 Merge "Clear up ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED logic" 2021-11-04 18:15:50 +00:00
Steven Moreland
a83307fbd8 Merge "Binder: correction of javadoc formatting" 2021-11-04 17:33:56 +00:00
Trevor Radcliffe
c2968df46b Migrate rs/jni to Soong
Fixes: 203674447
Test: Treehugger
Change-Id: I30054bc293b5a6870abb0c1f1c3919f250372b0a
2021-11-04 14:44:07 +00:00
Santiago Seifert
88aed3b81d Merge "Replace new with sp<>::make" 2021-11-04 10:21:35 +00:00
Hai Zhang
bff35de778 Merge "Unify owners for default permission grant policy." 2021-11-04 00:44:08 +00:00
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
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
Santiago Seifert
05f95dcaa7 Replace new with sp<>::make
As per sp's recommendations.

Bug: 204401299
Change-Id: Ida464b7ef44e2ad5855764e4e7d03b9f6bd5d1b0
Test: Built and flashed device.
Test: atest CtsMediaTestCases:MediaPlayerTest
2021-11-03 12:12:11 +00:00
Dima
0d9bb37a9a Binder: correction of javadoc formatting
Fixed javadoc formatting, namely references to methods that were typoed and displayed incorrectly in Android Studio.

Change-Id: I190eab35bc7ec6e162cb6d614b2c74523ff86c1c
2021-11-03 08:10:04 +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
Hai Zhang
7ea5048947 Unify owners for default permission grant policy.
The list of owners is taken from:
- frameworks/base/services/core/java/com/android/server/pm/permission/OWNERS
- cts/common/device-side/util-axt/src/com/android/compatibility/common/util/OWNERS
- vendor/xts/gts-tests/tests/permission/src/com/google/android/permission/gts/OWNERS

Test: presubmit
Change-Id: I3cc073d4890a4295caba8b04752a02f1e00db03c
2021-11-03 03:41:45 +00: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
Bernardo Rufino
7c296d7514 Refactor Bundle for thread-safety of Bundle.hasFileDescriptors()
After aosp/1878338, I realized Bundle.hasFileDescriptors() was accessing
mParcelledData and mMap without a lock. So, to avoid locking
there, I made mParcelledData volatile (since after mParcelledData is
null, it can never be non-null again and mMap is guaranteed to be
non-null). So, moved assignments to mParcelledData to be last wrt mMap
and mParcelledByNative to ensure visibility of those fields.

While refactoring copyInternal(), realized that method was always used
after constructing an uninitialized Bundle, so to avoid mistakes with
objects not properly initialized, I created a constructor in Bundle,
PersistableBundle & BaseBundle that does that copyInternal() did.

Bug: 195622897
Test: atest -d android.os.cts.ParcelTest android.os.cts.BundleTest android.os.BundleTest android.os.ParcelTest
Change-Id: I5c9337496da7ecf87f10370726099dcb247a6789
2021-11-02 11:42:11 +00:00
Bernardo Rufino
31d70842e0 Improve @hide Parcel.hasFileDescriptors(Object)
Addressing Jeff's comment on aosp/1787847 to support List<> in
Parcel.hasFileDescriptor(), also added support for Map (+ArrayMap) and
Object[] that were missing. Made the checks recursive since it's
possible to put nested containers in bundle. Since that's @hide and only
used by bundle, included Parcel as a supported type too and clarified in
the javadoc.

That allowed to clean up Bundle.hasFileDescriptors().

Bug: 195622897
Test: atest -d android.os.cts.ParcelTest android.os.cts.BundleTest android.os.BundleTest android.os.ParcelTest
Change-Id: I6acf358763d8f544fc6ff1a5b0c8bdff567d50be
2021-11-02 10:54:58 +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
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 5e7b8533ef)
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 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