Greg Kaiser
e8b3bbe11c
Merge "Revert "Throw IllegalArgumentException when calling""
2021-02-18 14:44:25 +00:00
Josh Gao
a14cb037d5
Merge "Add proto tombstones to Dropbox." am: 3361ca6c56 am: 093e8d266a am: a1b7331722 am: c78b8d8dac
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1590892
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I97c11ec415ea6e8d1cb1b7f2be0ce4bfcaa951ca
2021-02-18 11:20:20 +00:00
Josh Gao
c78b8d8dac
Merge "Add proto tombstones to Dropbox." am: 3361ca6c56 am: 093e8d266a am: a1b7331722
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1590892
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I490ba33c58b47c29f0c828bd0f1bcbe7f1eb24c0
2021-02-18 10:49:24 +00:00
Josh Gao
a1b7331722
Merge "Add proto tombstones to Dropbox." am: 3361ca6c56 am: 093e8d266a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1590892
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I828d8f22f643513cce2841470e272cc22231b138
2021-02-18 10:24:39 +00:00
Josh Gao
3361ca6c56
Merge "Add proto tombstones to Dropbox."
2021-02-18 08:41:55 +00:00
Josh Gao
f4c51f3771
Add proto tombstones to Dropbox.
...
Bug: http://b/159164105
Test: treehugger
Change-Id: I9f14482f693c9645d72a93d4a966909bf797533a
2021-02-17 17:40:49 -08:00
Greg Kaiser
1caea4a95a
Revert "Throw IllegalArgumentException when calling"
...
This reverts commit eb3e2b3b10 .
Reason for revert: Setup Wizard crashing and not able to complete when trying to verify a previous PIN
Bug: 180328449
Change-Id: I04de866699db7febf430b5662bf2638c06e3a72b
Test: Locally reverted this CL and was able to have Setup Wizard successfully ask for and verify PIN.
2021-02-18 01:02:04 +00:00
TreeHugger Robot
0ed2cdb1dd
Merge changes I474cd019,I8d87c1da,I90ebad48 into sc-dev am: 2cc5ce22b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13563057
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I53791fa59a2418d4ba2c9186098c41c56cb635d1
2021-02-18 00:27:53 +00:00
Michael Wachenschwanz
af23d81ff2
Make CpuPowerCalculator's Estimators available to com.android.internal
...
BatteryStats needs the power_profile Cpu constants to smear the measured
CPU Cluster energies across UIDs. Using the CpuPowerProfileCalculator to
get the calculation decreases the chance of someone accidentally
diverging estimated and measured CPU power calculations.
Bug: 180079165
Test: tbd
Change-Id: I474cd019d177bd07f2ae48a47b83a82e4074ed4f
2021-02-17 11:38:40 -08:00
Michael Wachenschwanz
0726d59bc5
Add cpu proc file read throttling enabling/disabling
...
To properly attribute the new MeasureEnergy data for CPU, the cpu kernel
uid file reads needs to occur everytime the CPU MeasuredEnergy is read.
If throttling is necessary, it will need to be handled by
BatteryExternalStatsWorker for both the cpu kernel file reads and the
MeasuredEnergy read to make sure the data is in sync.
Bug: 180079165
Test: atest FrameworksCoreTests:com.android.internal.os.KernelCpuUidUserSysTimeReaderTest
Change-Id: I90ebad48d780872a611605689e0d25678da66f27
2021-02-17 08:48:52 -08:00
Siim Sammul
339cc43adb
Merge "Create BinderLatencyObserver to collect binder call latency stats. Pushing these as a metric will come in a future change."
2021-02-17 10:30:25 +00:00
Treehugger Robot
f7678be6bf
Merge "Cleanup of Zygote files" am: 6fca4110dc am: c91fb923a6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1590611
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I43db62c8e3a3f648f45cc985d132437af6759c3c
2021-02-16 21:19:14 +00:00
Siim Sammul
8d0ecde2b8
Create BinderLatencyObserver to collect binder call latency stats.
...
Pushing these as a metric will come in a future change.
Test: unit tests
Change-Id: I8a123f7aed7c0ce416814372f2287b04a8a04ac0
2021-02-16 20:02:33 +00:00
Kohsuke Yatoh
8016ebc616
Merge "Add FontManager#updateFontFamily() API." into sc-dev am: d3279fa99c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13549207
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib859c77383b5d5d1821dc52efac884f6cc6d02ed
2021-02-16 18:46:25 +00:00
Kohsuke Yatoh
d3279fa99c
Merge "Add FontManager#updateFontFamily() API." into sc-dev
2021-02-16 18:32:58 +00:00
Chris Wailes
c31c4f9b31
Cleanup of Zygote files
...
This CL cleans up some warnings in the ZygoteInit.java and
ZygoteServer.java files. These warnings were mostly about unused
variables, protection class changes, and dead code. Some changes
to code in Zygote.java and ZygoteConnection.java were needed due to
function signature changes.
Test: Built and booted image
Merged-In: I6ba33cfcb4729a75dbbd4f908f4b46110d3bb991
Change-Id: I6ba33cfcb4729a75dbbd4f908f4b46110d3bb991
2021-02-16 10:23:47 -08:00
Kohsuke Yatoh
c2008e8aac
Add FontManager#updateFontFamily() API.
...
Bug: 179103383
Test: atest CtsGraphicsTestCases:FontFamilyUpdateRequestTest
Test: atest CtsGraphicsTestCases:FontFileUpdateRequestTest
Test: atest CtsGraphicsTestCases:FontManagerTest
Test: atest FrameworksServicesTests:UpdatableFontDirTest
Test: atest UpdatableSystemFontTest
Change-Id: I0103784c72d60567675daf73e95e4d716f091e4a
2021-02-16 07:06:33 -08:00
Benjamin Franz
b6e30c03d8
Merge "Add versioning to app compat framework" am: 80bbdfd100 am: 4fb9af6ced am: 8964ef6743 am: 4c5134f3da
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585009
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iec36e1091805d1b201a29fa3dbbb9809cb2e754a
2021-02-16 13:34:23 +00:00
Benjamin Franz
4c5134f3da
Merge "Add versioning to app compat framework" am: 80bbdfd100 am: 4fb9af6ced am: 8964ef6743
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585009
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8d349a5f76f496503e328a4fc70e051a2ccca2b6
2021-02-16 13:26:45 +00:00
Benjamin Franz
8964ef6743
Merge "Add versioning to app compat framework" am: 80bbdfd100 am: 4fb9af6ced
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585009
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I14b38edb7136852c5ecf78e0a4ad0266c77a453a
2021-02-16 12:51:34 +00:00
Benjamin Franz
80bbdfd100
Merge "Add versioning to app compat framework"
2021-02-16 11:48:36 +00:00
TreeHugger Robot
f7b4273bff
Merge "Check CPU time_in_state from one place" into sc-dev am: e2d93d3e79
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554286
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I025747ad5c52ea1876f65c09c074e7bd189cab8a
2021-02-16 11:30:04 +00:00
TreeHugger Robot
e2d93d3e79
Merge "Check CPU time_in_state from one place" into sc-dev
2021-02-16 11:15:26 +00:00
Galia Peycheva
afccd69e59
Merge "Add window background blur public api" into sc-dev am: de2e513209
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13431944
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ide24b0414efe7af90784d93bd67fbd20233a0501
2021-02-15 13:02:48 +00:00
Galia Peycheva
de2e513209
Merge "Add window background blur public api" into sc-dev
2021-02-15 12:40:02 +00:00
TreeHugger Robot
01ad76b62a
Merge "Throw IllegalArgumentException when calling LockPatternUtils#getCredentialTypeForUser with invalid ID."
2021-02-15 12:25:36 +00:00
Dmitri Plotnikov
a269018fe4
Merge "Convert WakelockPowerCalculator to work with BatteryUsageStats" into sc-dev am: ca9dfbe54e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13487141
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2db59d8998f48e15bf5efe8a94cc38098994f3a4
2021-02-14 05:23:38 +00:00
Dmitri Plotnikov
7970d9caab
Merge "Simplify SystemServicePowerCalculator" into sc-dev am: d77bb6a44b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13545560
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I03777345e66e8d3434d9d529a5a4692db5bc7bfd
2021-02-14 05:23:20 +00:00
Dmitri Plotnikov
ca9dfbe54e
Merge "Convert WakelockPowerCalculator to work with BatteryUsageStats" into sc-dev
2021-02-14 05:08:35 +00:00
Dmitri Plotnikov
d77bb6a44b
Merge "Simplify SystemServicePowerCalculator" into sc-dev
2021-02-14 05:08:05 +00:00
Manish Singh
26ea29a2a2
Merge "Pass the media capabilities uid when opening media" into sc-dev am: 36723eae2e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13454823
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I430bd2d4678549e27f21777b33b7771bbdae4337
2021-02-13 04:16:14 +00:00
Dmitri Plotnikov
248ade5460
Convert WakelockPowerCalculator to work with BatteryUsageStats
...
Test: atest FrameworksCoreTests:com.android.internal.os.WakelockPowerCalculatorTest
Bug: 158137862
Change-Id: I485bdb1f7dc6622fdf30ddae6d6872f2455f36ad
2021-02-12 13:30:43 -08:00
Manish Singh
2ca39c020f
Pass the media capabilities uid when opening media
...
FileSystemProvider should pass the uid of the calling app by setting
the EXTRA_MEDIA_CAPABILITIES_UID when opening a media, so that
TranscodeHelper can make decision to transcode or not transcode based on
the calling uid, and not based upon the Provider's uid.
BUG=176157500
Test: manual testing.
Change-Id: Ie08b94cf79c86e9f87639e4fbdd82b2732771187
2021-02-12 20:49:02 +00:00
TreeHugger Robot
b4f275e027
Merge "MeasuredEnergy comment cleanup" into sc-dev am: e33b00efb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13555621
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I40d103ca97a3e2a3d3094a4e0840f5fdfec47907
2021-02-12 19:18:52 +00:00
TreeHugger Robot
e33b00efb5
Merge "MeasuredEnergy comment cleanup" into sc-dev
2021-02-12 19:12:57 +00:00
TreeHugger Robot
bfcb998d25
Merge "Add a new feature to store IncFs version." into sc-dev am: 6516885e88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13556030
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1845fa51a1fc8d61ae70f65306090b46b70a585d
2021-02-12 16:50:15 +00:00
TreeHugger Robot
6516885e88
Merge "Add a new feature to store IncFs version." into sc-dev
2021-02-12 16:37:01 +00:00
Galia Peycheva
792b9eb8dc
Add window background blur public api
...
This CL exposes Window#setBackgroundBlurRadius as public Api. It
creates a region behind the window (with the dimensions of the window
background drawable), which is blurred with the given radius.
It also adds windowBackgroundBlurRadius dimension as an xml attribute
on Window.
Bug: 167166562
Bug: 177524486
Test: m
Test: m doc-comment-check-docs
Test: atest BlurTests
Change-Id: I5c0ff3c7fc7a64e6b2e2339eccc23374ec3b5fd9
2021-02-12 16:17:12 +01:00
Marcin Oczeretko
30895e9cd0
Merge changes I327b971f,Ie35e1fe7 into sc-dev am: a4734632f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13544926
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I926ef1890c2dab5914953994e7e931411f7f8abd
2021-02-12 11:38:45 +00:00
Marcin Oczeretko
a4734632f7
Merge changes I327b971f,Ie35e1fe7 into sc-dev
...
* changes:
Update AOT trigger names to match the new convention
Limit PerfettoTrigger to max 1 trigger per minute
2021-02-12 11:07:23 +00:00
Dmitri Plotnikov
d163574738
Simplify SystemServicePowerCalculator
...
Fix SystemServicePowerCalculatorTest
Test: atest FrameworksCoreTests:com.android.internal.os.SystemServicePowerCalculatorTest
Bug: 158137862
Change-Id: Ia3218b5c91eacfc0122a35d0898bddd8394f8c4e
2021-02-12 00:47:37 -08:00
Hai Zhang
83a33efe1e
Merge "Revert "Revert "Fix privapp permission allowlisting.""" into sc-dev am: 820a6842ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13555326
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I570475cee42f3990fef3d216f13186419d1b764a
2021-02-12 04:49:33 +00:00
Hai Zhang
820a6842ed
Merge "Revert "Revert "Fix privapp permission allowlisting.""" into sc-dev
2021-02-12 04:16:43 +00:00
Alex Buynytskyy
50bc17cdaa
Add a new feature to store IncFs version.
...
And deprecating the old feature which didn't have versioning support.
V2 means that the new features are either required if the device
was shipped with S, or available if device updated kernel to S.
Bug: 180010901
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: If037f0eb23260f354b0929ff7afaf1af9627e5fa
2021-02-11 19:01:00 -08:00
Adam Bookatz
e98b43242b
MeasuredEnergy comment cleanup
...
Cleans up some:
documentation
comments
dumpsys output
Test: manual
Bug: 174818228
Change-Id: I6b78432ba37a5ba1b00947e2ae9bbaec2349590f
2021-02-11 17:07:22 -08:00
Adam Bookatz
49fb789dc8
Merge "CustomMeasuredPowerCalculator" into sc-dev am: 056ea2d70f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13550569
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3b28f668c53356641d9adb925fa953f0ae5a9c76
2021-02-12 00:55:58 +00:00
Adam Bookatz
056ea2d70f
Merge "CustomMeasuredPowerCalculator" into sc-dev
2021-02-12 00:38:31 +00:00
Connor O'Brien
76ab19500e
Merge "Defer UID data removal until after reading is finished" into sc-dev am: 82cd582c4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13539187
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8c1e117425436e56ff5d21b96cb1534438b96120
2021-02-11 21:49:45 +00:00
Connor O'Brien
82cd582c4f
Merge "Defer UID data removal until after reading is finished" into sc-dev
2021-02-11 21:42:31 +00:00
Hai Zhang
8d8a003895
Revert "Revert "Fix privapp permission allowlisting.""
...
This reverts commit e54ab06710 .
Reason for revert: Added the missing allowlist entries
Bug: 179996437
Change-Id: Id26f8405468fd62d87c7cb93eabbcee78021bbd8
2021-02-11 20:35:46 +00:00