661202 Commits

Author SHA1 Message Date
Eric Laurent
26d7800efa Merge "audio: add Bluetooth LE Audio broadcast device" 2022-02-09 18:11:51 +00:00
Yabin Cui
0a57fb2b79 Merge "profcollectd: register callback to wait until ETM is ready." 2022-02-09 18:09:59 +00:00
Bob Badour
cd5953fad0 Add support for library names.
The new xmlnotice utility includes library names in the xml notice.

Supports both the new and the old schema and allows mixing new and old.

Bug: 151177513
Bug: 210912771

Test: m all dist
Test: flash; About Phone -> Legal Information -> Third-party licenses

Change-Id: I69c294a62d1653e9a0ff487e25b1d2eda0b777d3
2022-02-09 10:06:29 -08:00
John Reck
6434804c00 Merge "Fix full draw power usage increase issue" 2022-02-09 17:37:12 +00:00
Steven Moreland
8f2b0737ac Merge "HwRemoteBinder: fix race for concurrent binderDied" 2022-02-09 16:47:35 +00:00
Darwin Huang
234748cd64 Merge "Fix misspelling in SurfaceTexture#attachToGLContext javadoc" 2022-02-09 16:17:27 +00:00
John Reck
f91696e2c3 Adjust base/native/android OWNERs
Test: N/A
Change-Id: Ieb263e6b57b5e4495d45e6c22ac1f97cb1ca7913
2022-02-09 10:11:56 -05:00
Jiang Tian
0815ba23ff Fix full draw power usage increase issue
Full draw will be happened on HWUI under 90/120Hz device,there are
more draw commands under renderFrameImpl than in the 60Hz fps device,
frame.bufferAge() > (int)mSwapHistory.size() resulting in an increase
in power usage.

So need to increase (int)mSwapHistory.size() to 8, set mSwapHistory
add to 7.

Bug: 209371516
Test: Manual

Change-Id: Ic6f21e7b9dc5e7c8f36d03c57b01fa7210cff86f
Merged-In: Ic6f21e7b9dc5e7c8f36d03c57b01fa7210cff86f
2022-02-09 14:57:43 +00:00
Arthur Hung
278773d0ce Fix potential exception while pressing volume up and volume down
When enabled a11y service, it would intercept key events and forwards
them to accessibility manager service.
This CL added the synchronized mechanism in KeyCombinationManager to
prevent it access the conflict state because
'interceptKeyBeforeDispatching' and 'interceptKeyBeforeQueueinging' are
called from different threads.

Bug: 214372956
Test: A11y CTS and unit tests.
Change-Id: I7adb70d21128340c5519a6c72cb4d732c0bbba43
2022-02-09 14:25:10 +00:00
Junyu Lai
571e216af5 [MS70] Have BatteryStatsImpl use the public NetworkStats API
Test: BatteryStatsManagerTest
Bug: 204830222
  (cherry-picked from ag/16713581)
Change-Id: I35dd909b5da563cea27d8a81a81fe472c59e9b17
Merged-In: I35dd909b5da563cea27d8a81a81fe472c59e9b17
2022-02-09 22:04:45 +08:00
Hyunho
c5c04b20a3 Add entity uri field to Eab provider
- Add entity uri field to Eab provider.
- If the entity uri value exists in the Eab provider, it will be used as the request uri when sending a single subscription request.
- Add new API to convert input uri to sip uri when carrier config value is set to true.
Add entity uri field to Eab provider

Test: atest EabControllerTest PidfParserTest
Bug: b/195791162
Change-Id: Iade00e57e0b18be89afb4808b901455a412c687a
Merged-In: Iade00e57e0b18be89afb4808b901455a412c687a
2022-02-09 12:29:38 +00:00
Treehugger Robot
ba28bb57ad Merge "Add myself to Keystore owners" 2022-02-09 11:41:25 +00:00
Chiachang Wang
c0699fe9d8 Merge "Correct typo in the year of copyright" 2022-02-09 11:38:50 +00:00
Chiachang Wang
d0f68250f7 Correct typo in the year of copyright
Test: m
Change-Id: I68e9925b5b6deb7c5c9d57aa4a397c80f8b8d869
2022-02-09 11:38:37 +00:00
Aaron Huang
ca1c4e2fc2 Merge "Have FrameworksVcnTests access hidden API" 2022-02-09 10:48:45 +00:00
Treehugger Robot
26de69ea34 Merge "Delete NetworkStatsFactoryBenchmark" 2022-02-09 10:48:40 +00:00
Junyu Lai
e616cb6779 Merge "[MS53] Add connectivity aidl exports to stubs" 2022-02-09 10:02:53 +00:00
Treehugger Robot
87050dde70 Merge "Create framework-connectivity shared filegroup" 2022-02-09 10:02:33 +00:00
Ken Chen
f584f880ab Merge "Add system_server to net_admin group" 2022-02-09 09:42:29 +00:00
Junyu Lai
39c30b8546 Merge "Remove @hide usage in DataUsageUtilsTest" 2022-02-09 09:30:37 +00:00
Eric Laurent
404141fefd audio: add Bluetooth LE Audio broadcast device
Add audio device type definition for a Bluetooth LE
audio broadcast group.

Bug: 150670922
Test: make.

Change-Id: I8b2c7966ab6d1f3c637a043c4c802b8433ba697b
Merged-In: I8b2c7966ab6d1f3c637a043c4c802b8433ba697b
2022-02-09 10:09:50 +01:00
Remi NGUYEN VAN
53503813b7 Allow core tests to use hidden connectivity API
The tests currently use hidden connectivity APIs to exercise network
stats for bandwidth or benchmarking tests.

Bug: 197717846
Test: m
  (cherry-picked from ag/16773484)
Change-Id: I8f84d57360da34315d2388cb71b3d3738b4f483e
Merged-In: I8f84d57360da34315d2388cb71b3d3738b4f483e
2022-02-09 14:59:28 +08:00
Treehugger Robot
5e7da1cfc4 Merge "Update VPN event strings for the IKE lib update" 2022-02-09 06:28:39 +00:00
Chiachang Wang
7e34f92ab2 Address API review feedback
Change naming of getExcludeLocalRoutes and setExcludedLocalRoutes
APIs based on API review feedback.

Bug: 217742354
Test: atest FrameworksNetTests
Change-Id: Ia330b571726f93fb38dc24341cc6b748269ccb61
2022-02-09 14:28:12 +08:00
Treehugger Robot
982daf25b8 Merge "Fix BatteryStats counts foreground activity time." 2022-02-09 06:27:17 +00:00
Lang Yu
19758a38a4 Fix BatteryStats counts foreground activity time.
When an application crashes or ANRs in the foreground, or when the
application actively commits suicide in the foreground. It is often
impossible to switch to the PAUSED state of ActivityRecord. At this
time, the Timer in BatteryStats cannot be terminated, and it will keep
timing, which will eventually lead to errors in foreground activity time
statistics. So we'll settle in the handleAppDied function to fix that.

Bug: 208355716
Change-Id: I23baf545105e0bb9322dc4a1702e38e0ef825c53
Signed-off-by: unknown <80264454@adc.com>
2022-02-09 06:24:58 +00:00
Jean Chalard
cbb2fa2f00 Merge "Allow VPN apps to ask for running the validation checks" 2022-02-09 06:03:45 +00:00
Thiébaud Weksteen
b845dbac21 Merge "Migrate DynamicSystemService to @EnforcePermission" 2022-02-09 05:21:06 +00:00
Treehugger Robot
adeac26d27 Merge "Adds OWNERS to com.androd.util.Dump*" 2022-02-09 04:07:53 +00:00
Ken Chen
5c5b682b6d Add system_server to net_admin group
This allows system_server to search/read skfilter BPF programs. Skfilter
BPF programs status were previously dumped by Netd. In Android T, the
related code are mainlined and dumped by system_server process.
system_server needs to be in net_admin group so that it can read program
status.

$ adb root; adb shell ls -l /sys/fs/bpf/
-r--r----- 1 root net_admin ... prog_netd_skfilter_allowlist_xtbpf
-r--r----- 1 root net_admin ... prog_netd_skfilter_denylist_xtbpf
-r--r----- 1 root net_admin ... prog_netd_skfilter_egress_xtbpf
-r--r----- 1 root net_admin ... prog_netd_skfilter_ingress_xtbpf

Bug: 202086915
Test: test in Ib0e935ee2b714ac61daceba6d13fa7a20f97f68f
Change-Id: I8c48230a5da6873eee7d0ba183cb83e1d92cd8f6
2022-02-09 03:47:18 +00:00
Yan Yan
6d4120d4dc Un-finalize IpSecManager
Allows VCN and IKE unit tests to mock IpSecManager and thus stop
depending on the hidden APIs in the Connectivity module
(e.g. IpSecService binder interface). Otherwise, any changes on
these related hidden APIs will require topic changes across multiple
projects.

Bug: 217572993
Test: make update-api
Test: atest IpSecManagerTest, IpSecManagerTunnelTest
Change-Id: I29f3ac96f83b4271f29a7051d33ccf47a0dd6c57
Merged-In: I29f3ac96f83b4271f29a7051d33ccf47a0dd6c57
2022-02-09 03:32:54 +00:00
Hakjun Choi
ff46fea55c Merge changes from topics "imsservice subid notifications", "provisioning improvement", "provisioning_improvement_2"
* changes:
  Fix CTS failure caused by ag/16284012
  Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required
  Add public API to ProvisioningManager for IMS/RCS provisioning by updatable provisioning app
  ImsService Subscription Notifications
2022-02-09 02:39:23 +00:00
Lucas Lin
f0524f1698 Merge "Add a new API startProvisionedVpnProfileSession()" 2022-02-09 01:12:03 +00:00
Treehugger Robot
ab1fbb18fe Merge "Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily" 2022-02-09 00:29:38 +00:00
Felipe Leme
ab085b2792 Adds OWNERS to com.androd.util.Dump*
Test: no, thanks
Bug: 149254050

Change-Id: Ie7ca5bcba00177efde125246354a88cec29a38a4
2022-02-08 16:26:38 -08:00
Sudheer Shanka
09de945c74 Merge "Fix NPE in NetworkPolicyLogger.networkBlocked()." 2022-02-08 22:04:01 +00:00
Aurimas Liutikas
bb3df0c09a Merge "Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build." 2022-02-08 21:35:17 +00:00
Meng Wang
61ca1475a4 Merge "Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL" 2022-02-08 21:24:06 +00:00
Melvin Moreno
3c48391809 Merge "Fixed documentation typo on TextAlign getter and setter methods - Reported on http://b/216852542" 2022-02-08 19:37:05 +00:00
Jared Duke
0504e561d6 Refine system-server Proguard config for shrinking
This CL yields a basic, if unoptimized, set of Proguard rules for
shrinking system_server. These fall largely into three categories:
 * Code referenced via JNI
 * Code referenced via explicit reflection (runtime .jar loading)
 * Code referenced via implicit reflection (binder/services/etc...)

Follow-up work will tackle specific areas to make the rules more
maintainable and compact as we work to enable shrinking by default
for system_server.

Bug: 210510433
Test: SYSTEM_OPTIMIZE_JAVA=true m + manual testing
Change-Id: Iea3182c0536dbf7597e452f96cc33b4ab71dce96
2022-02-08 11:20:44 -08:00
Treehugger Robot
d1f4639c86 Merge "Merge SQ1A.220205.002" 2022-02-08 18:52:07 +00:00
Sudheer Shanka
3d0db6a08b Fix NPE in NetworkPolicyLogger.networkBlocked().
Fixes: 203822380
Test: atest cts/hostsidetests/net/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Change-Id: Ibe5340caf6a7f6b1457c9230e34607cf293f39f3
Merged-In: Ibe5340caf6a7f6b1457c9230e34607cf293f39f3
2022-02-08 10:49:29 -08:00
Felipe Leme
0b6e3a959b Merge "Adds OWNERS to com.androd.internal.util.Dump*" 2022-02-08 18:14:23 +00:00
Virkumar Karavate
984a31a9fb Merge "(ImsService API changes for Better IMS Threading) ImsService to execute binder calls in Executor." 2022-02-08 18:08:15 +00:00
Melvin Moreno
4f24757202 Fixed documentation typo on TextAlign getter and setter methods - Reported on http://b/216852542
Change-Id: I950251451d49f97c8c3ef0539218189d4ff74ab6
2022-02-08 17:45:42 +00:00
Eran Messeri
af771eb908 Merge "Keystore: Surface service error message" 2022-02-08 17:33:52 +00:00
Chiachang Wang
3fc98d5ebd Allow VPN apps to ask for running the validation checks
Expose an API to allow VPNs app to ask for running the validation
check on the VPN network built from Ikev2VpnProfile.

Bug: 184750836
Test: New test in Ikev2VpnTest
      Also FrameworksNetTests
Change-Id: I385bb887b6c697d8f5d87af750dbd2aab44afca6
CTS-Coverage-Bug: 184750836
 (but CTS is in the same topic, just not detected by the tool)
2022-02-09 02:19:15 +09:00
Felipe Leme
3c5dea3fe4 Adds OWNERS to com.androd.internal.util.Dump*
Test: no, thanks
Bug: 149254050

Change-Id: I1dbb8a4c04817f39de147927c26c14e461eb564b
2022-02-08 08:50:43 -08:00
Aaron Huang
23e4f46c1a Have FrameworksVcnTests access hidden API
(cherry picked from commit 023328e204d2ab167f45827a13bc31b68ee27d59)
Bug: 204153604
Test: build, FrameworksVcnTests
Change-Id: I2e92f27b4d10612d9000c0fc0d5866dd0313a336
Merged-In: I2e92f27b4d10612d9000c0fc0d5866dd0313a336
2022-02-08 14:31:46 +00:00
Eran Messeri
5eedf5a373 Keystore: Surface service error message
Surface the service-specific error message. To avoid API changes, the
error message is surfaced in the toString / getMessage methods.

Test: atest android.security.keystore.KeyStoreExceptionTest
Bug: 217593122
Change-Id: Id4090564b46db9b3b10ea390390f6683f7314463
2022-02-08 13:26:57 +00:00