766543 Commits

Author SHA1 Message Date
Ryan Prichard
f93b1f9698 Merge "incfs: tolerate either ptrdiff_t or size_t for std::span" 2022-09-02 20:16:20 +00:00
Amith Yamasani
5fd8b58d6e Update owners for multiuser-related files
Add MULTIUSER_OWNERS for User* files.

Bug: N/A
Test: N/A
Change-Id: Iec84e2bd41cda82bcbca04b9da64d81d614ddfc2
2022-09-02 12:49:30 -07:00
Treehugger Robot
c845883448 Merge "Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY" 2022-09-02 17:54:03 +00:00
Colin Cross
83026726de Merge "Switch else case to null in when expression to make it exhaustive" 2022-09-02 14:16:36 +00:00
Chiachang Wang
a03fa63d19 Merge "Correctly handle null ProxyInfo in Ikev2VpnProfile" 2022-09-02 12:15:09 +00:00
SongFerng Wang
a3d5929306 Merge "Add owner for job handover" 2022-09-02 06:46:16 +00:00
Cole Faust
92f4e14b94 Merge "Fix module-file name collisions" 2022-09-02 03:47:45 +00:00
chiachangwang
29348dbfca Correctly handle null ProxyInfo in Ikev2VpnProfile
This change ensures that null ProxyInfo instances are honored
and reflected in the actual VpnProfile.

Ikev2VpnProfiles incorrectly set ProxyInfo as an empty instance
when provided with a null ProxyInfo. Other components in the
system sometimes have different behavior if presented with an
empty ProxyInfo instead of a null one.

Bug: 244281603
Test: atest FrameworksNetTests
Test: Manual testing with VPN validation enabled
Change-Id: I67ee2aa5c96dc22ba8fcd2be3fd4c090dec20697
2022-09-02 02:51:33 +00:00
Chris Li
47653ee99d Merge "Expose state of ignoring orientation" 2022-09-02 01:48:57 +00:00
Mikhail Naganov
ff525f4748 Merge "Visualizer: use actual sampling rate of the instance" 2022-09-02 01:08:25 +00:00
Andy Hung
7658ac1860 SoundPool: Fix channel mask reporting
Test: atest SoundPoolAacTest and check logcat
Bug: 243906444
Merged-In: I5231f989183300a6b2354bbd4bbca991b1e70cb8
Change-Id: I5231f989183300a6b2354bbd4bbca991b1e70cb8
2022-09-01 17:14:26 -07:00
Mikhail Naganov
97f6e72db4 Visualizer: use actual sampling rate of the instance
Visualizer.getSamplingRate method was always returning
the same value. This is not valid since the actual
sampling rate depends on the audio stream where
the Visualizer is instantiated.

Bug: 162727518
Test: atest CtsMediaAudioTestCases:VisualizerTest
Merged-In: Ia2fc453ce8b6b0e11e61bc00c764f822b39cf951
Change-Id: Ia2fc453ce8b6b0e11e61bc00c764f822b39cf951
2022-09-01 23:33:46 +00:00
Colin Cross
efc92029c9 Switch else case to null in when expression to make it exhaustive
Using else to make the when expression exhaustive won't flag future
enum values that are not handled, so use the explicit null case
instead.

Test: m PackageManagerServiceHostTests
Change-Id: I818587d181231bbc198b731637248ed18bbcac21
2022-09-01 15:22:39 -07:00
Mayank Garg
1206d8d742 Merge "Added check for user info is not null" 2022-09-01 22:18:45 +00:00
Treehugger Robot
090a244680 Merge "Add DataFailCause for IWLAN_CONGESTION." 2022-09-01 22:15:37 +00:00
Colin Cross
78ef274d1b Merge "Fix more kotlin 1.7.0 errors" 2022-09-01 22:12:29 +00:00
Cole Faust
d633c8e430 Fix module-file name collisions
Bazel doesn't allow a module and file with the same name.

These are some extra modules I missed in aosp/2201115

Bug: 198619163
Test: m am, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/am and not am.sh
Change-Id: I763a938918854541ec5b0bcf740b1b6cf0fce771
2022-09-01 15:04:37 -07:00
Ryan Prichard
8ebb1dd972 incfs: tolerate either ptrdiff_t or size_t for std::span
The out-of-date std::span in external/libcxx currently uses ptrdiff_t
as the type of size() and the second ctor argument. The C++20 std::span
actually uses size_t for these values instead. Try to accommodate both
versions of std::span until libc++ is upgraded.

Bug: http://b/175635923
Test: treehugger
Change-Id: Idc43f880b6eb21dad79e79fa456847d5865a1ed2
2022-09-01 13:28:54 -07:00
Ling Ma
e5753cd325 Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY
Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY to carrier
config, which indicates the capabilities that are exempt from the single
PDN rule.

Fix: 237550962
Test: atest + cts
Change-Id: Ie49f6274d8e780534e203d6d0a5ead4ed2f3cfa7
Merged-In: Ie49f6274d8e780534e203d6d0a5ead4ed2f3cfa7
2022-09-01 12:50:20 -07:00
Mayank Garg
a833ca3056 Added check for user info is not null
Bug: 237413499
Test: atest HandlerThreadingDomainTest LocationTimeZoneProviderControllerTest LocationTimeZoneProviderTest ZoneInfoDbTimeZoneProviderEventPreProcessorTest
Change-Id: I79087a3e83a51b81568bdb6ff5540ee78b51b91a
2022-09-01 19:42:28 +00:00
Ryan Prichard
565f2ab115 Merge "Add missing cassert includes" 2022-09-01 18:23:38 +00:00
WoongKi Min
bf37f65092 Prevent FGS notification from exceeding allowed
As only the FGS flag is removed by removeForegroundServiceFlagFromNotification,
it exceeds the package limit(MAX_PACKAGE_NOTIFICATIONS).
And eventually OutOfMemory occurs and the device is reset.
When the flag is removed, check in the same way the normal notification to prevent problems.

Test: Searching for images in the Chrome browser
Test: Download more than 50 images
Test: Check NotificationRecord count in Notification dump
Change-Id: Iacbc3a3e545f62d15bae5245ebcf6ed47f5c83a8
2022-09-02 00:39:01 +09:00
Siim Sammul
1a0d812cd8 Merge "Add the ability to reset dropbox rate limiter with a shell command." 2022-09-01 11:26:25 +00:00
Treehugger Robot
0d7ec6337e Merge "Do not crash when duplication found in merged imsi list" 2022-09-01 11:14:41 +00:00
Charles Tsai
dd8d8be35c Expose state of ignoring orientation
To support state retrieval of ignoring orientation request in
a specific display area, we have to extend capability of protocol
buffer to expose such information.

This change revises WMS's protobuf definition to reach the goal.

Bug: 234669107
Test: atest android.server.wm.AppConfigurationTests
      atest android.dpi.cts.ConfigurationScreenLayoutTest
      atest android.view.cts.AttachedSurfaceControlTest

Change-Id: I8cd658283bd90fb6a4f8c55d7a60e7e7e9202195
2022-09-01 18:20:24 +08:00
Junyu Lai
fe5f1e99e3 Do not crash when duplication found in merged imsi list
For some unknown reason, the merged imsi list might contain
duplicated items. Deduplication for better error handling.

Test: NetworkPolicyManagerServiceTest
Bug: 243015487
Change-Id: I69d332ee0acde6cdd7582d1aa18c82576f7090f2
2022-09-01 16:31:13 +08:00
SongFerngWang
684402fc11 Add owner for job handover
Will CP it into AOSP later.

Bug: 244524317
Test: NA
Change-Id: I18e25daa8cc41b692e944cb7c13b4c5582a7270e
2022-09-01 16:05:37 +08:00
Yike
e431c26b09 Use PushFilePreparer to push files in PreloadCheck
This change modifies the test config file by switching to use `PushFilePreparer` instead of `FilePusher`, since the `FilePusher` class which is defined in `compatibility-tradefed` is designed for the tests that are part of compatibility suite, but PreloadCheck is not.

Bug: 220991354
Test: atest PreloadCheck
Change-Id: Id25a16d6339b0ec8b5b61f1799c842f5ebd143ba
2022-09-01 14:09:26 +08:00
Ryan Prichard
d9a3ffa6f8 Add missing cassert includes
Bug: http://b/175635923
Test: treehugger
Change-Id: I8caf940f7b6e2fdd921516efea4aed14e0c2afb7
2022-08-31 19:09:21 -07:00
Achim Thesmann
56e7a5f7c3 Add ownership for BackgroundActivityStartController.
BackgroundActivityStartController is a new class to contain the logic
to permit activity launches from the background. The logic itself has
just been moved from ActivityStarter without any changes.

Bug: 236234252
Test: atest ActivityStarterTests
Change-Id: Id2f6b6a8bc7e8f6fbf206aa1b82f1a75d7e35aaa
Merged-In: I6ee0e839a4000c9e27630c2e654d945bf45b21e6
2022-08-31 23:47:00 +00:00
Ryan Prichard
770e68977b Merge "Move SkiaCanvas::Clip above SkiaCanvas::SkiaCanvas" 2022-08-31 23:14:16 +00:00
Treehugger Robot
005e71f3bc Merge "profcollect: Reduce background processing job priority" 2022-08-31 21:40:31 +00:00
Siim Sammul
dd6df2939d Add the ability to reset dropbox rate limiter with a shell command.
Cherry picked from internal master

Bug: 242671309
Test: atest ErrorsTest
Change-Id: I87b8c6e49c809d94a036ccac5d4381dba691e727
Merged-In: I87b8c6e49c809d94a036ccac5d4381dba691e727
2022-08-31 18:51:30 +00:00
Treehugger Robot
9c27ef40d3 Merge "Remove VT specific mentions in IMS_ACCESS_BLOCKED" 2022-08-31 18:36:09 +00:00
Aswin Sankar
948cd02535 Add DataFailCause for IWLAN_CONGESTION.
- ePDG private error type CONGESTION was added in 3GPP TS 24.502
and used by some carriers.

Bug: 233121749
Test: ErrorPolicyManagerTest# testErrorPolicyWithNumAttemptsPerFqdn()

Change-Id: I85e6a1700f72db1d55a7929e5d4d93f8cac66c64
2022-08-31 10:48:43 -07:00
Yi Kong
a26982f821 profcollect: Reduce background processing job priority
The processing job is non-critical but quite CPU intensive. Reducing
priority allows the system to throttle the job more aggresively.

Test: presubmit
Bug: 241948742
Change-Id: Ie7aa921dec1aa1f4f8582041dae1679950f4d868
2022-09-01 01:24:18 +08:00
Prameet Shah
7fe4dcfeb8 Fix a couple of NPEs in AdbDebuggingManager.AdbDebuggingHandler
Bug: 242344103
Test: m
Change-Id: I37fa9c7bb99d1ea1cef1bd42125bf0de7bc0adbd
2022-08-31 17:08:45 +00:00
Miguel Aranda
ace6c8c76e Merge "Enable StrictMode checks for explicit garbageCollection from T." 2022-08-31 15:18:22 +00:00
Alison Cichowlas
528e7e7c9c Merge "Add OWNERS file for sysui/volume" 2022-08-31 13:24:48 +00:00
Cole Faust
cdaa8466e0 Merge "Fix module-file name collisions" 2022-08-31 04:00:51 +00:00
Treehugger Robot
39a6ea0a60 Merge "Activity gain focus failed in InputMethodStressTest" into android13-tests-dev 2022-08-30 22:25:17 +00:00
Alison Cichowlas
aef82c8a26 Add OWNERS file for sysui/volume
Change-Id: I26223809cf1718c15f127619d7b12e296ae0f8d4
2022-08-30 19:30:19 +00:00
Cole Faust
a1eb8cf128 Merge "Fix array-related errorprone warnings" 2022-08-30 18:03:01 +00:00
Treehugger Robot
755bb530ca Merge "Make PM owners of *content* files." 2022-08-30 10:45:00 +00:00
Yike Zhang
a4d60be743 Merge "Add a missing test dependency for NetworkStagedRollbackTest" 2022-08-30 04:21:23 +00:00
Alex Buynytskyy
6cdff1dabd Make PM owners of *content* files.
Bug: none
Test: presubmit
Change-Id: Ib018cdb329716086a59d358fe2282281b4dd29ec
2022-08-29 21:05:43 -07:00
Xiaozhen Lin
bb626dc6f7 Merge "Add Xiaozhen Lin and George Chan to OWNERS" 2022-08-30 02:56:55 +00:00
Cole Faust
325fb3e2aa Fix module-file name collisions
Bazel doesn't allow a module and file with the same name.

Bug: 198619163
Test: m ime, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/ime and not ime.sh
Change-Id: I214e190e159a7aff9149e77146d1a493992e885d
2022-08-29 18:42:32 -07:00
Xiaozhen Lin
aecac19cb8 Add Xiaozhen Lin and George Chan to OWNERS
Bug: 244235506
Test: N/A
Change-Id: Ic6decf4db890547b611b419ec86035104477fcd0
2022-08-29 23:43:17 +00:00
Treehugger Robot
3d8681e31d Merge "Exclude large tests from presubmit." 2022-08-29 20:52:36 +00:00