Age | Commit message (Collapse) | Author |
|
|
|
* changes:
Add a specific error code for keystore failure
Add a specific error code for provider mismatches
Report the true value of more RoR metrics
|
|
Bug: n/a
Test: n/a
Change-Id: Ic346a36bb15498cf0a60b91c378b1f5cad198f64
|
|
|
|
If the device used HAL based RoR to arm the escrow key, the recovery
will fail if we switch to server based RoR after reboot. Set a
specific error for metrics purpose.
Bug: 183140900
Test: atest FrameworksServicesTests:RebootEscrowManagerTests
Change-Id: I1f33a8c6cf111d868a2b96a155f5a0926a7c788a
|
|
Design ErrorCode for errors of loadRebootEscrowData. Also report
the status of vbmeta digest, as we plan to associate k_k with
vbmeta in the future.
Bug: 179105110
Test: atest FrameworksServicesTests:RebootEscrowManagerTests
Change-Id: I07168a7bc4fd20d41df9b87136e1e5158129d7f6
|
|
|
|
Bug: 166181423
Test: NA
Change-Id: I0d80b5547e162524246947175dbe6f9e52859fe4
|
|
* changes:
Add API to get hibernating packages
Add MANAGE_APP_HIBERNATION permission
|
|
Use shared preferences in recovery system service. So it be used for
metrics storage and report RoR metrics.
Bug: 179105110
Test: atest FrameworksServicesTests:RecoverySystemServiceTest; check the value of prefs
Change-Id: Id09545824713ab124882f2f2add67e7f93cb43ca
|
|
|
|
Move disk reading to background to improve performance on user
unlocking.
Bug: 182098676
Test: atest AppHibernationServiceTest
Change-Id: I087bd9d29f4f90c818a03648ee75e3cbfb2ded41
|
|
Add API to AppHibernationService to get hibernating packages so
Settings can access this information.
Bug: 175829330
Test: atest AppHibernationServiceTest
Change-Id: Icd186807c19ece55a21fc4d240d2f0132951af82
|
|
|
|
|
|
Dex file size is etract from APK file. It seems to consume MBs memory.
Report this metrics from dex2oat instead of in PackageManager.
Bug: 182997960
Test: m
Change-Id: I09144dde48ed73de88e8d7bcc6078f88fc993b05
|
|
Add metrics reporting for resume on reboot in RecoverySystem.
These metrics are reported before reboot. Details in
http://go/ror-metrics
Bug: 179105110
Test: build
Change-Id: I5a4cb56bd1e6596f41d35259be5be4958f4a20e9
|
|
This CL updates an OWNERS file to use an include directive instead of an
explicit list of owners.
Test: None
Change-Id: Ibea5a370c43f7b6d9d56275507cb9fb5e226da2a
|
|
|
|
|
|
|
|
Test: N/A
Bug: 171305684
Change-Id: I6fd90c29dd1fb077c25f1bd428fb8adf9782330e
|
|
Bug: 177694884
Test: m
Change-Id: I34cac45ab2210b7da4ad897ea3cf3ac9c1537c34
|
|
It will report dex2oat related metrics (total time, dex bytes and result
code) after each run of dex2oat.
Bug: 177694884
Test: atest ArtStatsLogUtilsTest
Change-Id: Ic167e250a74e29dee0c8dc628d1cc731d778fa26
Merged-In: Ic167e250a74e29dee0c8dc628d1cc731d778fa26
|
|
This CL moves the existing DexManagerTests into the Extended Mockito
directory, mocks out the relevant system services, and tests the
non-default Install Scenarios (as the default scenario is exercised by
the existing tests.)
Bug: 174783329
Test: atest DexManagerTests
Merged-In: Ie446ed748fc0b5690184c3a0a6498b82e8827181
Change-Id: Ie446ed748fc0b5690184c3a0a6498b82e8827181
|
|
* changes:
Do not enable changes newer than the current sdk
Add support for loading a static overrides file located in /product.
|
|
|
|
|
|
|
|
Test: N/A
Change-Id: I7eafb4e513a1e7216a05c87c5dbf670a1d3ebc13
|
|
AppHibernationServiceTest failed because every set up would instantiate
AppHibernationService which would try to add to the static
LocalServices registry. We now remove any registered local services
before each test.
Also, add @Presubmit label so that these tests actually run in
presubmit.
Bug: 175829330
Test: atest AppHibernationServiceTest
Test: check that test actually runs in presubmit
Change-Id: I5510f7e862d608cacaf12d8a561af7ac74774782
|
|
Bug: 171305545
Test: N/A
Change-Id: I81061b702d306cadcc26d6b85a60a3240914459e
|
|
Do not allow enabling compat changes in APEX gated on an sdk version
greater than the current one.
Test: atest OverrideValidatorImplTest
Test: atest PlatformCompatTest
Bug: 175790344
Bug: 179149558
Change-Id: Idd7d86f96a380bfe01940f356d38ad49d3f27678
|
|
|
|
Note that the dynamic overrides file in the /data/misc/appcompat will be
loaded after the static file is loaded and take precedence over it
(overrides in the dynamic file will override corresponding ones in the
static file).
This static file will be used to inject hard coded per app configuration.
Bug: 180396167
Test: atest FrameworksServicesTests:CompatConfigTest
Merged-In: I73569744e718274255885d270ab8285956647f4c
Change-Id: I73569744e718274255885d270ab8285956647f4c
|
|
We extend the resume on reboot metrics to help analyze the impact of
new RoR features. Detailed atoms added are available in
http://go/ror-metrics. This cl reports part of them in lock settings
service.
Bug: 179105110
Test: out/host/linux-x86/bin/statsd_testdrive 238;
trigger ror & check the result;
atest FrameworksServicesTests:RebootEscrowManagerTests
Change-Id: I7e92c78cbd448bb49f941670d0c4489bc28d0886
|
|
The mock class doesn't support accessing public fields directly. So
switch the ResolvedInfo and ServiceInfo to fake implementations.
Test: atest FrameworksServicesTests:ResumeOnRebootServiceProviderTests
Change-Id: I05d906123988c46a388e1dee7b7096c5f0271288
|
|
Add OWNERS file for the asset directories of various Device Policy
Manager-related tests.
Bug: 181009337
Test: That it compiles.
Change-Id: Idc249492301dbb82f117166c693c4b876ce180f9
|
|
Test: atest NetworkPolicyManagerServiceTest
Bug: 174123988
Change-Id: I6512d3f704f35f2cc3555dcc40b46c7294d3b455
|
|
Currently, in NPMS, getAllNetworkState is used to get all
information of all connected networks. However, this will not
be available after ConnectivityService goes to mainline module.
Thus, replace the usage with new API.
Test: atest NetworkPolicyManagerServiceTest
Bug: 174123988
Change-Id: I99bca71cb3b98f74eab036fac4517ee926eb539c
|
|
|
|
This is a temporary change until we can fix an issue
in AMS internally.
Bug: 177641226
Test: treehugger
Change-Id: I7d04b4116f8ecb7da8c3fb0b9229a8896b836811
Merged-In: I888764ff22fba92fe2cccf3d8442ed318a19ad2a
|
|
splash screen."
|
|
|
|
screen.
Unable to find resource if the application is installed from work
profile, which cause the splash screen window cannot build up normally.
Bug: 179819075
Test: atest ActivityRecordTests
Change-Id: I1bfd48fc32d549feee687c56fe9cdbcae789813f
|
|
The load escrow data is async. Add a unit test to cover the retry of
temporarily failure.
Bug: 172780686
Test: atest FrameworksServicesTests:RebootEscrowManagerTests
Change-Id: I63b264a5f9b68039868fcf962f4654c8d587985d
|
|
60faefffe9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1556553
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2b19538843007e38e170163120f38477e4b76be8
|
|
This change migrates NetworkStatsService and related code to use
NetworkStateSnapshot which is used for replacing the NetworkState.
This patch also changes some formating which is suggested by
the linter.
Test: FrameworksNetTests NetworkPolicyManagerServiceTest
Bug: 174123988
Change-Id: I547da8f411cb45bdadc376ac3cadf3f3c55bb282
|
|
Bug: 180401296
Merged-In: I1a16808426934f4a8d12410576d769443e4c2a04
Change-Id: I247a99c33c62cd1d000b7e50d1dda8b14df229d7
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1603470
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7f96343c65df7accaae3fb5032771dbcd05191f5
|