Commit Graph

16245 Commits

Author SHA1 Message Date
Jeff DeCew
bc2889cbe7 Merge "Use "collapsible indent" for actions of any notification type." into sc-dev am: fd4d01d8a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14647511

Change-Id: I785ca68144cbd103cd35137c9eccbeae316a1ff2
2021-05-20 18:58:21 +00:00
Jeff DeCew
fd4d01d8a0 Merge "Use "collapsible indent" for actions of any notification type." into sc-dev 2021-05-20 18:56:27 +00:00
Jeff Sharkey
ecc20f06d2 Merge "add notification team as OWNERS of notification utils" am: ba5fa81923 am: e8d3534305
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1712708

Change-Id: I7821977f08fa3be7bd60a42e575d121597519092
2021-05-20 14:13:52 +00:00
Jaewan Kim
c48307c5cb Merge "Stop ignoring media key events in PhoneFallbackEventHandler while in call" into sc-dev am: d05e7856d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14495988

Change-Id: I2b88c59c34d4b321336baedd3544a552773628bc
2021-05-20 13:55:22 +00:00
Jaewan Kim
d05e7856d7 Merge "Stop ignoring media key events in PhoneFallbackEventHandler while in call" into sc-dev 2021-05-20 13:46:57 +00:00
Jeff Sharkey
ba5fa81923 Merge "add notification team as OWNERS of notification utils" 2021-05-20 13:44:03 +00:00
Kholoud Mohamed
a9d186a926 Merge "Revert "Create non-bypassable op restrictions"" into sc-dev am: b04a005c3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14660730

Change-Id: Iae7ea25bfd3bbe3b206de0de2998d4cef00a421a
2021-05-20 10:07:58 +00:00
Kholoud Mohamed
b04a005c3f Merge "Revert "Create non-bypassable op restrictions"" into sc-dev 2021-05-20 09:48:56 +00:00
Siim Sammul
83d1954afe Merge "Include binder stats in battery stats" 2021-05-20 09:46:37 +00:00
Ocean Chen
0d02112ea4 Revert "Create non-bypassable op restrictions"
This reverts commit a023924afd.

Reason for revert: Test Monitor triggers the test build

Bug: 188708756
Bug: 188733943
Change-Id: I2d17d4f77287020953fb559cf98ff8475f32ed1b
2021-05-20 07:47:51 +00:00
Jeff DeCew
fa01c20632 Use "collapsible indent" for actions of any notification type.
Fixes: 175291676
Test: manual visual testing
Change-Id: I30dc2c021338d8c8710781ff6e1d209e01757310
2021-05-19 19:01:34 -04:00
Jeff DeCew
ac14604706 add notification team as OWNERS of notification utils
Change-Id: I0c773d253e080aabadc9d15ff945abd7eb2638f3
2021-05-19 20:32:31 +00:00
Evan Severson
47119a4e5a Merge "Create non-bypassable op restrictions" into sc-dev am: 05a30e41f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14543280

Change-Id: Idf413d6f9faca74900dd4ad3159f04309c457844
2021-05-19 19:39:41 +00:00
Evan Severson
05a30e41f3 Merge "Create non-bypassable op restrictions" into sc-dev 2021-05-19 19:24:22 +00:00
Abel Tesfaye
e021b6e619 Merge "Add LatencyTracker for CameraAutoRotate in RotationResolverManagerPerUserService" into sc-dev am: 784886816d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14238091

Change-Id: Ic7b91a2351843bc5f658bc83e2101b29e09b25e8
2021-05-19 17:39:45 +00:00
Abel Tesfaye
784886816d Merge "Add LatencyTracker for CameraAutoRotate in RotationResolverManagerPerUserService" into sc-dev 2021-05-19 17:38:51 +00:00
Evan Severson
a023924afd Create non-bypassable op restrictions
Even if the app is privileged or has the audio retriction bypass it
can't bypass these restrictions.

These will be used for the mic and camera toggles since under no
circumstances should sensitive information reach the application layer
while the toggles are muting.

Test: Verify privileged app couldn't access mic when toggle is blocking
Fixes: 188122748
Change-Id: Ib1bad074b3744fd565e8c8ff1c726be91c830d3e
2021-05-19 01:56:21 +00:00
Patrick Baumann
62bf50bbd8 Merge changes I04dfc5c2,Idc7e1f3c am: 1ef34e9022 am: 4c56bac295
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705089

Change-Id: Ibea92e6623d660b0bcbc324c8f188642841160dd
2021-05-18 23:16:02 +00:00
Abel Tesfaye
423b78ae10 Add LatencyTracker for CameraAutoRotate in RotationResolverManagerPerUserService
Bug: 179267540

Test: locally on flame and saw 2021-04-20 16:58:43.610 1660-3381/?
I/LatencyTracker: ACTION_ROTATE_SCREEN_CAMERA_CHECK latency=521 in the
logs

Change-Id: Ibcc838f098e3608a678ab5429a48d16112befd53
2021-05-18 20:49:03 +00:00
Patrick Baumann
1ef34e9022 Merge changes I04dfc5c2,Idc7e1f3c
* changes:
  Updates OWNERS files
  Update OWNERS file.
2021-05-18 19:03:06 +00:00
Vadim Caen
d286a11746 Merge "Draw splashscreen edge to edge" into sc-dev am: eacda76449
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14253107

Change-Id: I2d837e43fe9c75b95abbe9faad580c3470c23e9e
2021-05-18 11:33:42 +00:00
Vadim Caen
eacda76449 Merge "Draw splashscreen edge to edge" into sc-dev 2021-05-18 11:22:54 +00:00
Dmitri Plotnikov
1956f4c700 Include binder stats in battery stats
Cherry picked from internal master: https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/11856226

Bug: 158232997

Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsBinderCallStatsTest
Change-Id: I2234776d710adf73c363bdfa6a334f3a6f36d986
Merged-In: I2234776d710adf73c363bdfa6a334f3a6f36d986
2021-05-18 12:18:05 +01:00
Siim Sammul
e6a97f86a7 Merge "Add plumbing to collect Binder stats for battery attribution" 2021-05-18 09:23:48 +00:00
Soonil Nagarkar
b2ea76cc02 Merge "Add support for excluding tags from restrictions" into sc-dev am: fe40442304
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14503384

Change-Id: Iccc7f519dfcfe9429067249dce36ade6e4f2a0f5
2021-05-17 17:11:57 +00:00
Soonil Nagarkar
fe40442304 Merge "Add support for excluding tags from restrictions" into sc-dev 2021-05-17 16:46:55 +00:00
Dmitri Plotnikov
474354593d Add plumbing to collect Binder stats for battery attribution
Cherry picked from internal master: https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/9966816

Bug: 158232997
Test: atest FrameworksCoreTests:com.android.internal.os.BinderCallsStatsTest

Change-Id: Icbccd26e20bc4ead13ffeac76b851af39269ca89
Merged-In: Icbccd26e20bc4ead13ffeac76b851af39269ca89
2021-05-17 15:42:17 +00:00
Nikita Iashchenko
588d53d538 Merge "Refactor StructCapUser{Header,Data} and StructLinger for API review" am: c1edd696c7 am: e995e4b476
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689828

Change-Id: I3306f47094ca8b4990fd1855b53357e18b02115e
2021-05-17 11:27:14 +00:00
Nikita Iashchenko
c1edd696c7 Merge "Refactor StructCapUser{Header,Data} and StructLinger for API review" 2021-05-17 10:46:32 +00:00
Siim Sammul
0dadb6664a Merge "Change BinderLatencyBuckets to use int[] instead of ArrayList to improve performance." 2021-05-17 09:43:41 +00:00
Connor O'Brien
83a5e6ed18 Merge "Don't remove UID data in readKernelCpuUid*TimesLocked" into sc-dev 2021-05-14 21:06:02 +00:00
Jeff Sharkey
673a8c593c Merge "Add OWNERS to com.android.internal.app.procstats" am: a469054f27 am: d59dfa2fb1 am: cd6fbb1b4d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691206

Change-Id: Id6b191986617d52228c7d7143a70faeadf8b9259
2021-05-14 19:52:17 +00:00
Jeff Sharkey
cd6fbb1b4d Merge "Add OWNERS to com.android.internal.app.procstats" am: a469054f27 am: d59dfa2fb1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1691206

Change-Id: I9f38ff847d021cb1700ca65e28080e0ebc65b8be
2021-05-14 19:32:54 +00:00
Dmitri Plotnikov
4d78cddfef Merge "Use getUahDischarge when available" into sc-dev 2021-05-14 18:43:38 +00:00
Jeff Sharkey
a469054f27 Merge "Add OWNERS to com.android.internal.app.procstats" 2021-05-14 18:26:22 +00:00
Cyrus Boadway
01cd8a9d0a Merge "Add Widget CUJ parameter to jank monitoring" into sc-dev 2021-05-14 17:40:15 +00:00
Soonil Nagarkar
393d109f64 Add support for excluding tags from restrictions
Allow user restrictions to provide an excluded map of packages and tags
rather than just packages.

Bug: 187421886
Test: manual
Change-Id: I8f90ba6cdd288068664b352fdb540d0f11fe3dfc
2021-05-14 10:35:46 -07:00
Patrick Baumann
e6c0a4f8ce Updates OWNERS files
Bug: 186864416
Test: Builds
Change-Id: I04dfc5c2c7143825334ebc62742e335b8c889492
2021-05-14 15:45:42 +00:00
Riddle Hsu
a274fd1c1a Draw splashscreen edge to edge
- Switch from PhoneWindow to FrameLayout
 - Ensure the Action bar is not shown on the splashscree
 - Do not show the contrast scrim under the system bars
 - Use the latest insets API to layout fullscreen

Test: Updated CtsWindowManagerDeviceTestCases:SplashscreenTests
Bug: 181852475
Bug: 184941669
Change-Id: Ifc04bd2227394415cc74c20d2974f4726ec9c789
2021-05-14 17:51:23 +08:00
Tiffany Nguyen
dcec9f1f38 Merge "Log the battery saver changed atom on initialization." into sc-dev 2021-05-14 01:14:12 +00:00
Dmitri Plotnikov
14bc81b983 Merge "Add stats session end timestamp and duration to BatteryUsageStats" into sc-dev 2021-05-13 23:08:50 +00:00
Dmitri Plotnikov
9f08c607f8 Use getUahDischarge when available
Bug: 188092638
Test: atest FrameworksCoreTests:BatteryChargeCalculatorTest
Change-Id: I66b9d232dcd4c674cd9bd7bae7843ae1124e1c34
2021-05-13 15:38:18 -07:00
Kohsuke Yatoh
c27e46f595 Merge changes I09ac3f34,Id3e36922 into sc-dev
* changes:
  Close FDs / mmap handles promptly.
  Remove unused IFontManager#updateFontFile().
2021-05-13 20:42:10 +00:00
Alexander Dorokhine
c09e57ce61 Merge "Link framework-appsearch against the module_current SDK." into sc-dev 2021-05-13 20:03:08 +00:00
Dmitri Plotnikov
c076e7112e Add stats session end timestamp and duration to BatteryUsageStats
Bug: 187223764
Test: atest FrameworksCoreTests:BatteryStatsTests
Change-Id: Iba97050c067cae7945276798273dd328fe040ef9
2021-05-13 11:49:09 -07:00
Kohsuke Yatoh
77e80b860c Remove unused IFontManager#updateFontFile().
The caller was removed in
commit 3de07491d3
This CL also does some cleanup:
- Extract OtfFontFileParser to a separate file.
- Remove boilerplate in UpdatableFontDirTest.

Bug: 187879195
Test: m -j
Test: atest FrameworksServicesTests:UpdatableFontDirTest
Change-Id: Id3e369222c35f550c6d53e8649ab07647701c070
2021-05-13 16:23:47 +00:00
Tiffany Nguyen
64dd223ed1 Log the battery saver changed atom on initialization.
In order for the predicate to be read from the beginning, we need to
ensure the value has some initial state after device reboot
and after logging service starts up.

Bug: 175040249

Test: Manual
Change-Id: Id42f655f3fb42ef3e1ea0cf7bc7b2e536417de7d
Merged-In: Id42f655f3fb42ef3e1ea0cf7bc7b2e536417de7d
2021-05-13 14:33:28 +00:00
Cyrus Boadway
60dc9196e3 Add Widget CUJ parameter to jank monitoring
Android S introduces a new Quickstep animation for launching an activity
from an app widget. This is a similar but distinct CUJ to
LAUNCHER_APP_LAUNCH_FROM_ICON.

Bug: 169042867
Test: presubmit
Change-Id: I3338d31eb2ed74aef0b0697c6070ab7b422514ba
2021-05-13 13:04:42 +00:00
Siim Sammul
8aa9913e66 Change settings observer for other processes to not pass a userhandle.
Bug: 180584913
Test: Not a functionality change
Change-Id: Ibf0442f9de45694e33131c0ac327d840eea8fbfe
2021-05-13 12:39:31 +00:00
Siim Sammul
9879f7fc17 Change BinderLatencyBuckets to use int[] instead of ArrayList to improve
performance.

Cherry pick from master with no changes

Test: unit test
Bug: 179999191
Change-Id: Id996b52b5cb69a85f9c6a932ea8d30336fcaf12a
Merged-In: Id996b52b5cb69a85f9c6a932ea8d30336fcaf12a
(cherry picked from commit 9d02e6101e)
2021-05-13 10:49:09 +01:00