Commit Graph

766967 Commits

Author SHA1 Message Date
Jerry Chang
affabcaee0 Add sub owner to common/split and tests
Test: n/a
Bug: 207582920
Change-Id: I46cc309b2453296910c8516cffd2b5b352376b01
2022-11-01 10:13:52 +00:00
Treehugger Robot
92e34479f2 Merge "Remove wtf if no display nits mapping exists" 2022-11-01 01:07:57 +00:00
Steven Moreland
2681cb2d92 Merge "Parcelable: getStability in system API" 2022-10-31 17:39:56 +00:00
Victor Hsieh
095c17d5b8 Merge changes Ie0408ecc,I80bbbd88
* changes:
  Add OWNERS for VerityUtilsTest.java
  Provide a method to verify a PKCS#7 signature
2022-10-31 16:05:31 +00:00
Treehugger Robot
4ee969e8ef Merge "Owners updates" 2022-10-31 08:46:52 +00:00
Weng Su
f974849c24 Owners updates
- Add relevant owners for QR code development

Bug: 246412041
Test: N/A, just owners update
Change-Id: I213ed47d01e3bf2cc1cc8b1ef78335999e4789d2
2022-10-31 06:16:51 +00:00
Ian Elliott
9e7649d5e7 Merge changes from topic "UpstreamAngleSwitch"
* changes:
  Add 2 ANGLE deferlist settings
  Can switch to legacy GLES driver when ANGLE is system driver
2022-10-28 03:55:27 +00:00
Automerger Merge Worker
41690b162e Merge "Merge "[PATCH] Don't report after view detached from window." into android13-tests-dev am: 2d86e5d9e3" 2022-10-28 03:28:51 +00:00
Treehugger Robot
3bb357c7ba Merge "[PATCH] Don't report after view detached from window." into android13-tests-dev am: 2d86e5d9e3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2262981

Change-Id: I3e6c6ecfb5f5c947b1922d9f843818e42882bb62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 03:28:37 +00:00
Treehugger Robot
2d86e5d9e3 Merge "[PATCH] Don't report after view detached from window." into android13-tests-dev 2022-10-28 03:07:52 +00:00
Steven Moreland
558ba131f9 Parcelable: getStability in system API
Requirement to use stable AIDL parcelables in priv-apps.

Bug: 254476191
Test: aidl_integration_test, build target added which uses this
Change-Id: Ib2434e5566bf8bd804f76cf1e63ec1df0e904d77
2022-10-28 00:32:53 +00:00
Treehugger Robot
2e049d22bc Merge "OWNERS for core framework binder tests" 2022-10-28 00:31:40 +00:00
Steven Moreland
08b17a98a8 Merge changes I7315059b,If2dd13d8
* changes:
  Binder: don't call getCallingUid for RPC calls
  Parcel: lift 'isForRpc' here from native
2022-10-27 20:56:19 +00:00
Treehugger Robot
2af62aa321 Merge "Fix imprecise name of a fs-verity helper function" 2022-10-27 20:33:38 +00:00
Steven Moreland
df56426b20 OWNERS for core framework binder tests
Bug: 254835230
Test: N/A
Change-Id: I001bf47a5d5ccba6d4adb44c137a09a223efffae
2022-10-27 20:28:36 +00:00
Victor Hsieh
36ab9be3e2 Add OWNERS for VerityUtilsTest.java
This mirrors the ownership of VerityUtils.java.

Bug: 253668864
Test: N/A
Change-Id: Ie0408ecca0b2368d899ab6b1d65cd438823a1357
2022-10-27 10:37:15 -07:00
Victor Hsieh
3363fd4da9 Provide a method to verify a PKCS#7 signature
There is existing PKCS#7 signature used in the kernel for verifying
fs-verity digest. The purpose of this change is to pave the way to
migrate the existing signature check to userspace (and longer term,
migrate away from PKCS#7).

To mitigate the complexity of PKCS#7, only the configuration we're
currently using is supported.

Bug: 253668864
Test: atest FrameworksCoreTests:com.android.internal.security.VerityUtilsTest
Test: Manually added some code to use the API with correct and incorrect
      signatures. Saw the API behave expectedly.
Change-Id: I80bbbd88881303c0b9a261b1fe59e9682e43bcad
Merged-In: I80bbbd88881303c0b9a261b1fe59e9682e43bcad
2022-10-27 10:37:11 -07:00
Victor Hsieh
c49d0bfa1a Fix imprecise name of a fs-verity helper function
Root hash is only part of the fs-verity digest covers. Rename to avoid
confusion.

Bug: N/A
Test: m
Change-Id: I12c2a4ac57fb8772483473f951e97474ebd894c9
Merged-In: I12c2a4ac57fb8772483473f951e97474ebd894c9
2022-10-27 10:37:05 -07:00
Treehugger Robot
3bf2c7e440 Merge "Remove libandroid_runtime_vm_headers" 2022-10-27 14:17:06 +00:00
Robert Horvath
88749cfd8f Merge "[PATCH] Don't report after view detached from window." 2022-10-27 07:21:20 +00:00
Chiachang Wang
246fc31ef5 Merge "Reset Ike session if stall is not recovered by MOBIKE" 2022-10-27 05:13:45 +00:00
Ian Elliott
ce7b086cba Add 2 ANGLE deferlist settings
These will be used by the ANGLE Developer Options GUI to process the
deferlist

Test: logcat + various flash/wipe + system-driver scenarios
Bug: 224558229
Change-Id: I47f940612f8be0c83f0be04c2cc1af7908e37382
Merged-In: I47f940612f8be0c83f0be04c2cc1af7908e37382
2022-10-27 00:20:39 +00:00
Ian Elliott
1cf20cd849 Can switch to legacy GLES driver when ANGLE is system driver
Change the sense of the run-time switches so that ANGLE can be an
optional GLES driver or the default system GLES driver.  When ANGLE is
the system GLES driver, also handle the case of there being no legacy
GLES driver.

Test: logcat
Test: atest CtsAngleIntegrationHostTestCases
Test: atest CtsEffectTestCases:android.effect.cts.EffectTest#test5_effectCreate
Bug: 224558229
Change-Id: Ie53f5221d51b62db226c0c634537959612a06655
Merged-In: Ie53f5221d51b62db226c0c634537959612a06655
2022-10-26 18:04:25 -06:00
Ruslan Tkhakokhov
f8b2bb52eb Merge "Add OWNERS for B&R coretests" 2022-10-26 23:49:11 +00:00
Erik Han
d1450e4e61 Merge "Update documentation to GetPhoneNumber with the security/privacy concerns" 2022-10-26 22:14:51 +00:00
Steven Moreland
e72e27929f Merge "markVintfStability for priv-apps" 2022-10-26 19:55:38 +00:00
Song Chun Fan
6f9b963a27 Merge "Maintain the users current value for STATUS_BAR_SHOW_VIBRATE_ICON" 2022-10-26 18:33:31 +00:00
Treehugger Robot
837b7fce3b Merge "Updated PackageManager server-side OWNERS file." 2022-10-26 16:56:47 +00:00
Steven Moreland
04a6a74682 markVintfStability for priv-apps
Any AIDL interface that has @VintfStabilty should be
able to be used everywhere.

Bug: 254476191
Test: aidl_integration_test
Change-Id: I3138a6e4dbfdfb972d87e7c4eb9b591be40b6d39
2022-10-26 16:33:48 +00:00
Felipe Leme
e97b0bc614 Updated PackageManager server-side OWNERS file.
Test: no, thanks
Bug: 244644281

Change-Id: I4b28e0854c2a14ccebbfe72b4060e1372438324b
2022-10-26 07:25:59 -07:00
Edward Savage-Jones
dad059300d Maintain the users current value for STATUS_BAR_SHOW_VIBRATE_ICON
Make sure not to overwrite any current user selection for
Secure.STATUS_BAR_SHOW_VIBRATE_ICON that the user may have
made.

Issue: 253992986
Test: Manual - see issue
Change-Id: I33155a27707e6d30ff56fb090c71b9670a98fc31
2022-10-26 14:10:45 +00:00
Santiago Seifert
00c792bba0 Merge "Non-functional simplification of ComponentName.equals" 2022-10-26 11:29:48 +00:00
Jooyung Han
a031dd980a Merge "add ServiceManager.getUpdatableNames()" 2022-10-26 04:05:48 +00:00
chiachangwang
49d781a7ff Reset Ike session if stall is not recovered by MOBIKE
Reset IKE session when data stall happens in VPN network.

When a data stall is suspected, MOBIKE will be triggered to try
to recover the network. If MOBIKE does not help, more aggressive
recover step is required. Thus, resetting the ike session
if the situation is not recovered for a while. Also rate-limit
the timer to prevent the session being reset for every fixed
time.

Bug: 238692379
Test: atest FrameworksNetTests
Change-Id: If72ee8a2ecdf4ec9038b78b98055ee21b7fa47da
2022-10-26 03:08:32 +00:00
Chris Li
a58ffe3791 Merge "Fix NPE when finishing remote animation" 2022-10-26 02:58:12 +00:00
Steven Moreland
b95831cbd9 Binder: don't call getCallingUid for RPC calls
All the code using getCallingUid here should be
ripped out anyway because it's Java-centric. Here
are some of the issues with the current stuff around
here:
- it's broken because it won't handle things happening in
  native code
- it's slow (e.g. big transactions are already logged in
  native code anyway)

Bug: 254835230
Test: boots, atest MicrodroidTestApp (with new tests)
Change-Id: I7315059bff138966e9509f1d529a6417466d2b7f
2022-10-26 01:21:38 +00:00
Steven Moreland
b6663f9d82 Parcel: lift 'isForRpc' here from native
Platform API, in order to fix bugs like b/254835230 where
certain utilities call getCallingUid, which doesn't make
sense for RPC calls.

Bug: 254835230
Test: android.os.ParcelTest
Change-Id: If2dd13d8edd515c945ccde2a2554f6f2b7b87b26
2022-10-26 01:21:38 +00:00
Jooyung Han
2f0d179958 add ServiceManager.getUpdatableNames()
Bug: 254201177
Test: m
Change-Id: I6921263e1f99c735c322a030d54ccc09a995563e
2022-10-26 09:41:05 +09:00
Ruslan Tkhakokhov
fb5189204b Add OWNERS for B&R coretests
Bug: 254231632
Change-Id: I2db11d7c0a9c88ffe1ae2ee3851cd67a1db31ce1
Test: n/a
2022-10-25 18:59:38 +00:00
Jakub Tyszkowski
1861c325ae Merge "AudioService: Use proper stream context for Le Audio stream volume" 2022-10-25 14:23:30 +00:00
miaojian
3e66fda571 Fix NPE when finishing remote animation
Make sure the access is in the synchronized block.

Bug: 254320691
Test: Manual test

Signed-off-by: miaojian <miaojian1993@gmail.com>
Change-Id: Ia244b5ba2d3ba891319b32513841f397177cde0f
2022-10-25 08:18:26 +00:00
Jakub Tyszkowski
86806df3f1 AudioService: Use proper stream context for Le Audio stream volume
When volume level is restored after mode change from incoming call back
to normal mode (media playback) invalid contextual stream was used to
calculate volume level. Should use getBluetoothContextualVolumeStream()
instead.
Additonally, the workaround for some cases where we don't get the proper
LE Audio device was moved into the 'setLeAudioVolumeOnModeUpdate()'.

Bug: 241501978
Tag: #feature
Test: verified manually, missed and placed call scenario, check restored volume value
Change-Id: Ibc1b92c8ea053ccab3cf4c66afce6e6e9c5c9e53
2022-10-25 07:01:31 +00:00
Jeongik Cha
b7ba45bcaa Remove libandroid_runtime_vm_headers
libbinder doesn't use the headerlib anymore, so remove this lib

Bug: 254459965
Test: m
Change-Id: Iaa0c466b267c6e8010a49980ac20b52622b90261
2022-10-25 11:41:22 +09:00
Treehugger Robot
f760323d10 Merge "Enable shrinking for EasterEgg" 2022-10-24 18:40:10 +00:00
Santiago Seifert
868f2e071f Non-functional simplification of ComponentName.equals
Bug: 205124386
Change-Id: Ib9c895592ed67e10cb965890cd67499bd55e444d
Test: atest ComponentNameTest
2022-10-24 18:17:33 +00:00
Treehugger Robot
ddc82226b3 Merge "fix lost old callback when continuous call requestRenderAndNotify" 2022-10-24 16:39:27 +00:00
Jared Duke
724b0f56b2 Enable shrinking for EasterEgg
This reduces the dex size by ~1.5MB (~85%). Note that we intentionally
use a very conservative Proguard config to minimize risk, as this target
isn't as widely used or tested as other system apps. In any case, most
of the reduction comes from trimming transitive deps, as the app layer
is relatively thin.

Test: m + toggle several easter eggs
Bug: 203241149
Change-Id: I5e13e2246053fde2c4ac71e38a28f8de5c6c51c7
2022-10-24 15:59:45 +00:00
Jiakai Zhang
f6b27d6a81 Merge "Return no optmization info for package "android"." 2022-10-24 15:11:33 +00:00
Song Chun Fan
56535ae511 Merge "[Bugfix]fix NullPointException when PackageInfo's verifiers is null " 2022-10-24 14:35:51 +00:00
Xiang Wang
b49f8e2e16 Merge "Update OWNERS file for game manager resource files" 2022-10-21 23:08:41 +00:00