Commit Graph

773276 Commits

Author SHA1 Message Date
Ling Ma
f752c1925e 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
2022-08-29 13:31:28 -07:00
TreeHugger Robot
620e37edb9 Merge "Logs the activated session duration for magnification. (1/2)" into tm-qpr-dev 2022-08-19 00:32:18 +00:00
Chris Li
c3e2032cae Merge "Do not start change transition when the bounds size is not changed" into tm-qpr-dev 2022-08-19 00:22:56 +00:00
Shan Huang
d888fe4428 Merge "[DO NOT MERGE] Separate Region Sampling Instance" into tm-qpr-dev 2022-08-18 23:51:11 +00:00
TreeHugger Robot
b7408e133b Merge "Set unfreeze_reason to statsd atom AppFreezeChanged." into tm-qpr-dev 2022-08-18 23:29:32 +00:00
TreeHugger Robot
fb793ddca2 Merge "Set number of foreground services in statsd atom LmkKillOccurred." into tm-qpr-dev 2022-08-18 23:29:00 +00:00
Hui Yu
af61ad5dfe Set unfreeze_reason to statsd atom AppFreezeChanged.
Bug: 243074242
Test: statsd_testdrive 254
Change-Id: Id10b034c85d8c02cec43caef29d73c9185b628d4
Merged-In: Id10b034c85d8c02cec43caef29d73c9185b628d4
2022-08-18 23:25:36 +00:00
Jing Ji
873edfc112 Merge "Log the delay of broadcast dispatch/receive/handling into Westworld." into tm-qpr-dev 2022-08-18 23:20:03 +00:00
Jing Ji
42626d0acc Merge "Add the process state prior to the activity start" into tm-qpr-dev 2022-08-18 23:19:39 +00:00
Hui Yu
62be42df0c Set number of foreground services in statsd atom LmkKillOccurred.
Bug: 234618899
Test: statsd_testdrive 51
Change-Id: Ie98f72c61e05bd9a0322390faecc2ee3abdcc5ee
Merged-In: Ie98f72c61e05bd9a0322390faecc2ee3abdcc5ee
2022-08-18 23:18:33 +00:00
Ats Jenk
f676e7d731 Merge "Stop sound when bubble notification is suppressed" into tm-qpr-dev 2022-08-18 21:26:43 +00:00
Jean-Michel Trivi
bfe6b27698 Merge "BLE audio: support assigning volume at BLE device connection" into tm-qpr-dev 2022-08-18 21:06:06 +00:00
Caitlin Shkuratov
60eb90b1b3 Merge "[Media TTT] Remove @Sender annotation on logger." into tm-qpr-dev 2022-08-18 18:52:38 +00:00
Caitlin Shkuratov
9cd85fdc2b Merge "[Media TTT] Only request accessibility focus if our animation ends successfully." into tm-qpr-dev 2022-08-18 18:51:42 +00:00
Daniel Hsieh
5b5226eb81 Logs the activated session duration for magnification. (1/2)
Uses the atom MagnificationTripleTapAndHoldActivatedSessionReported in
westworld to log the activated session duration for the window magnifier
which is triggered by the triple-tap-and-hold gesture.

The duration is from the window magnifier's enabled time to its disabled
time.

Bug: 216733714
Test: atest WindowMagnificationGestureHandlerTest
      m statsd_testdrive & statsd_testdrive 452
Change-Id: I423ac39c167c89b0b2db931a616cdd34d6eb151c
Merged-In: I423ac39c167c89b0b2db931a616cdd34d6eb151c
2022-08-18 18:31:16 +00:00
Riddle Hsu
e1ea5db7d4 Merge "Crop windowing layer for shell rotation animation" into tm-qpr-dev 2022-08-18 14:54:08 +00:00
Richard Chang
62c2538016 Merge "Add DeviceConfig namespace for Vendor System Native Boot" into tm-qpr-dev 2022-08-18 13:58:18 +00:00
Alejandro Nijamkin
aa8f8a951c Merge "Enables flag for modern architecture in KBAV." into tm-qpr-dev 2022-08-18 13:10:35 +00:00
Tiger Huang
58507e26e1 Merge "Always copy sources to outInsetsState before writeToParcel" into tm-qpr-dev 2022-08-18 11:29:47 +00:00
Islam Elbanna
be9f4a4edf Merge "Update boot image and system server profiles [M10C10P80S0], RESTRICT AUTOMERGE (Since these are profiles for T release only)" into tm-qpr-dev 2022-08-18 09:44:14 +00:00
Benedict Wong
4d5cc51914 Merge changes I01e773cc,Ia599fed8,I7ee32103 into tm-qpr-dev
* changes:
  Update the prefix in keystore for app exclusion
  Make Vpn more testable with a wrapper class
  Update VPN app exclusion list when packages are added or removed
2022-08-18 04:39:04 +00:00
Weilin Xu
efca0d29f1 Merge "Add dumpsys for HIDL broadcastradio service" into tm-qpr-dev 2022-08-18 00:53:05 +00:00
Tim Murray
f2f7512ff0 Merge "RemoteViews: fix BitmapCache after immutable Bitmap switch" into tm-dev am: 5c7bab4ccb am: e928a74612
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19570391

Change-Id: Ia855c7f7dd8d3f0456df4a00916e216f74d5f630
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 00:02:55 +00:00
Tim Murray
e928a74612 Merge "RemoteViews: fix BitmapCache after immutable Bitmap switch" into tm-dev am: 5c7bab4ccb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19570391

Change-Id: I99dcec62e71ff511de3142df4493dbf3047fe60b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 23:45:06 +00:00
Tim Murray
5c7bab4ccb Merge "RemoteViews: fix BitmapCache after immutable Bitmap switch" into tm-dev 2022-08-17 23:14:46 +00:00
Jean-Michel Trivi
fc1f09ff31 Merge "AudioService: properties for configuring ring/notif steps/default vol" into tm-qpr-dev 2022-08-17 19:37:45 +00:00
Grace
0371876473 [DO NOT MERGE] Separate Region Sampling Instance
This change abstracts out the creation of a region sampling helper
and the initialization of all its fields. It adds test coverage
for the new class.

Bug: 202758428
Test: atest RegionSamplingInstanceTest
Change-Id: Ife2aafccc20466e81f481d1764210806dffc3123
2022-08-17 18:54:01 +00:00
Mady Mellor
3448c2fe1c Merge "Add a method in IDreamManager to check if dreaming OR in dream preview" into tm-qpr-dev 2022-08-17 18:51:28 +00:00
András Kurucz
a53fd2a5cd Merge "Resolve target SDK from Notification extras" into tm-qpr-dev 2022-08-17 17:45:08 +00:00
Yuri Lin
403a135645 Merge "Write to Zen Log for recording callers & when checking on repeat callers" into tm-qpr-dev 2022-08-17 17:29:45 +00:00
TreeHugger Robot
1db328df8a Merge "Add missing lock." into tm-qpr-dev 2022-08-17 16:42:27 +00:00
Jeff Nainaparampil
0082587393 Merge "Fix unbounded number of uncached shortcuts" into tm-qpr-dev 2022-08-17 15:41:48 +00:00
Jeff Nainaparampil
59b2f1743d Fix unbounded number of uncached shortcuts
There is a consistency issue in which some cached conversations in
People Service do not get cleaned up because they are missing a event
timestamp. For those cases, we use the creation timestamp to order by
recency and still clean up those conversations.

This change will enforce that at most `MAX_CACHED_RECENT_SHORTCUTS` are
cached by People Service for uncustomized conversations as expected.

Test: Manually with app that creates cached shortcuts and unit tests
Bug: 233926836
Change-Id: Ia017917ea56f2e233fdb837e574a8bd7c0d69e3b
2022-08-17 15:04:51 +00:00
Alejandro Nijamkin
db54e85268 Enables flag for modern architecture in KBAV.
The KeyguardBottomAreaView (KBAV) has been refactored to a new, modern
architecture. This CL flips the flag to turn that on. The plan is to let
it soak for a while with Droidfooders and fix any bugs they find. Once
we are happy, we will delete this flag and all the now-dead code
protected behind it.

Bug: 235403546
Test: the modern architecture is used even when I turn off the teamfood
flag in the flag flipping app.

Change-Id: I36b4c6d28e658d7dc55ec03f448a8ca728855f94
2022-08-17 14:17:13 +00:00
Riddle Hsu
d8ebffe476 Fix build failure by method signature change
Commit 3712433 was merged before adding the test.

Bug: 242285965
Bug: 242849545
Test: WindowManagerServiceTests#testRelayoutExitingWindow
Change-Id: Ide94c437c9d05658a70d3de423af81ec602d8862
2022-08-17 14:07:52 +00:00
Riddle Hsu
b1a7a58601 Crop windowing layer for shell rotation animation
This aligns the behavior as legacy rotation animation in commit db7097e.
Note that the crop will be cleared in finishTransaction set from core's
Transition#buildFinishTransaction.

Also clean some fields a bit.

Bug: 242664636
Test: Enable launcher rotation. Set animation scale to 10x.
      Rotate display and observe that the wallpaper does not exceed
      the area of previous display size.
Change-Id: Ie2144f7c19663b573167de819dde01cc9eca7ad4
2022-08-17 21:53:47 +08:00
Riddle Hsu
5dd3c9d4c1 Merge "Do not set mAnimatingExit on invisible window" into tm-qpr-dev 2022-08-17 13:04:42 +00:00
art-benchmark-service
0842656809 Update boot image and system server profiles [M10C10P80S0], RESTRICT AUTOMERGE (Since these are profiles for T release only)
= Perf stats =
(lower is better)

Startup time is improving at the cost of a slight increase in code size, memory and boot-time, which could be an acceptable cost.

Startup: -1.61%
PSS: 0.93%
RSS: 0.90%
Privat Dirty: 3.14%
Boot time: 0.58%
Code size: 0.18%

=Generation Strategy=

method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 16916
- number of (device types, builds): 450

File boot-image-profile.txt
  - hot methods: 420 added, 436 removed
  - methods: 420 added, 436 removed
  - classes: 0 added, 5 removed
  - totals now: 22320 hot methods, 22320 methods, 13653 classes
  - totals before: 22336 hot methods, 22336 methods, 13658 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 407, 422, 0, 5, 20756, 9479
    com.android, 6, 7, 0, 0, 1468, 3104
    android.view, 133, 145, 0, 5, 3366, 944
    android.hardware, 6, 5, 0, 0, 466, 807
    android.animation, 8, 8, 0, 0, 393, 73
    android.app, 25, 25, 0, 0, 2908, 1030
    android.content, 38, 41, 0, 0, 1851, 564
    android.graphics, 38, 42, 0, 0, 1967, 334
    android.icu, 23, 23, 0, 0, 2033, 1472
    android.media, 2, 2, 0, 0, 796, 576
    android.net, 3, 3, 0, 0, 254, 219
    android.widget, 45, 45, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 6 added, 0 removed
  - totals now: 0 hot methods, 0 methods, 13182 classes
  - totals before: 0 hot methods, 0 methods, 13176 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 5, 0, 0, 9171
    android.app, 0, 0, 2, 0, 0, 990
    android.media, 0, 0, 1, 0, 0, 563

File boot-image-profile.txt
  - hot methods: 634 added, 650 removed
  - methods: 634 added, 650 removed
  - classes: 0 added, 5 removed
  - totals now: 32259 hot methods, 32259 methods, 16798 classes
  - totals before: 32275 hot methods, 32275 methods, 16803 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 408, 423, 0, 5, 20819, 9510
    com.android, 56, 57, 0, 0, 2478, 3526
    java, 125, 125, 0, 0, 7034, 2042
    android.view, 133, 145, 0, 5, 3366, 944
    android.hardware, 6, 5, 0, 0, 466, 807
    android.animation, 8, 8, 0, 0, 393, 73
    android.app, 25, 25, 0, 0, 2908, 1030
    android.content, 38, 41, 0, 0, 1851, 564
    android.graphics, 38, 42, 0, 0, 1967, 334
    android.icu, 23, 23, 0, 0, 2033, 1472
    android.media, 2, 2, 0, 0, 796, 576
    android.net, 3, 3, 0, 0, 254, 219
    android.widget, 45, 45, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 6 added, 0 removed
  - totals now: 0 hot methods, 0 methods, 16252 classes
  - totals before: 0 hot methods, 0 methods, 16246 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 5, 0, 0, 9202
    android.app, 0, 0, 2, 0, 0, 990
    android.media, 0, 0, 1, 0, 0, 563

File art-profile
  - hot methods: 1459 added, 1017 removed
  - methods: 1825 added, 1408 removed
  - classes: 54 added, 6 removed
  - totals now: 36703 hot methods, 63314 methods, 5437 classes
  - totals before: 36261 hot methods, 62897 methods, 5389 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 4, 1, 0, 0, 454, 148
    com.android, 1454, 1016, 54, 6, 36232, 5197
    android.hardware, 4, 1, 0, 0, 358, 104

InternalReferenceRawProfileId: 10606
InternalReferenceCandidateProfileId: 10612

Test: build & benchmark

Ignore-AOSP-First: T profiles

Change-Id: I941ad5affa04cf701ac9882e8e5afb582d733c45
2022-08-17 12:37:00 +00:00
Chandru S
90095be831 Merge "Avoid IPCs to check for checking enrollment status of face and fp." into tm-qpr-dev 2022-08-17 10:45:24 +00:00
Fiona Campbell
4a20c7361a Merge "Prevent race condition by foregroundAppPackageName" into tm-qpr-dev 2022-08-17 09:16:30 +00:00
Hani Kazmi
6f8ed2256e Merge "Add logging for activity starts to be blocked as part of go/activity-security" into tm-qpr-dev 2022-08-17 07:52:18 +00:00
Wei Sheng Shih
10c2f36424 [automerger skipped] Merge "Do not create starting window if there is no task." into tm-dev am: 33e3f60e06 -s ours am: d12824391e -s ours
am skip reason: Merged-In Iea264cd8b605443c695165c1136d56b86ffd4eb1 with SHA-1 ea100e579e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18555351

Change-Id: I46e1a18a5093ee9b93ecfea3eafaba7ee4b3e47f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 07:24:31 +00:00
wilsonshih
f93ce104f9 [automerger skipped] Do not create starting window if there is no task. am: f590915600 -s ours am: 83a5c90c67 -s ours
am skip reason: Merged-In Iea264cd8b605443c695165c1136d56b86ffd4eb1 with SHA-1 ea100e579e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18555351

Change-Id: I73de42c45a69f2e447afbc5e5052d5907d196fa5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 07:24:21 +00:00
Wei Sheng Shih
d12824391e [automerger skipped] Merge "Do not create starting window if there is no task." into tm-dev am: 33e3f60e06 -s ours
am skip reason: Merged-In Iea264cd8b605443c695165c1136d56b86ffd4eb1 with SHA-1 ea100e579e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18555351

Change-Id: I7cfcc306928ab40f07be354238c4d7176fbe3664
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 06:54:39 +00:00
wilsonshih
83a5c90c67 [automerger skipped] Do not create starting window if there is no task. am: f590915600 -s ours
am skip reason: Merged-In Iea264cd8b605443c695165c1136d56b86ffd4eb1 with SHA-1 ea100e579e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18555351

Change-Id: I71abbe068c8a0154f5e17d6a718b52e68b3aaca3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 06:54:37 +00:00
Wei Sheng Shih
33e3f60e06 Merge "Do not create starting window if there is no task." into tm-dev 2022-08-17 06:23:15 +00:00
Iris Yang
9e7bf1bcc3 Merge "Make ResolverActivity default allow being launched on remote display" into tm-qpr-dev 2022-08-17 06:12:32 +00:00
Louis Chang
36f670f63f Merge "Adding comments and removes unnecessary parameter" into tm-qpr-dev 2022-08-17 05:10:16 +00:00
Yunfan Chen
13255a0a50 Merge "Fix display size calculations in large screen (2/3)" into tm-qpr-dev 2022-08-17 05:01:58 +00:00
Mateusz Cicheński
b8c7133078 Merge "Always invoke show on the dismiss target for pip." into tm-qpr-dev 2022-08-17 03:47:14 +00:00