Debuggable reamdump data collection dialog is triggering up while
running tests. These are causing flakes. While a better fix would be
figuring out why these are triaggered, the wm tests should be
independent of internal apps which an end user of Android won't see.
Test: Forrest
Bug: 258578781
Bug: 239384214
Change-Id: Ia4c0c670fe3e35f84640787cb8fce70e74edb264
Add a new menu option that will set the preferredDisplayRefreshRate.
Bug: 257071160
Test: run TouchLatency app
Change-Id: I3cf0bcb36613d2fd38fce3e478b0f5efd9c1279c
The BroadcastInterceptingContext allows a broadcast Intent to be
intercepted in the local process and sent directly to the receiver's
onReceive method. This commit updates this class to also override
the registerReceiver methods that accept the flags parameter to
ensure broadcasts can be sent to receivers registering with flags
during tests.
Bug: 234659204
Test: atest com.android.networkstack.tethering.EntitlementManagerTest
Change-Id: I9366ed1a3eb5f370b93e72981abac535f675a2bb
Make it possible to persist jobs in a separate file for each calling
UID. This makes it easier to persist changes to jobs of individual apps
instead of having to write the entire set of jobs every time something
changes.
Read times decrease by 2-5% when there are many jobs for each app but
increase by 33-35% when there are only a few jobs per app.
Write times increase by 5% (for many jobs) to 64% (for few jobs) for a
full write but decrease by 1% (for few jobs) to 38% (for many jobs) when
there are partial writes.
JobScheduler is read-once, write-many system, and apart from migration
from between monolithic and split file architectures, should mostly be
in the partial write scenario.
The code is disabled for now and will be turned on separately.
Performance Test Results:
(With monolithic file):
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_fewJobs_badRTC
testPersistedJobReading_fewJobs_badRTC_mean (ns): 4632075
testPersistedJobReading_fewJobs_badRTC_median (ns): 4568177
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_manyJobs
testPersistedJobWriting_manyJobs_mean (ns): 38133928
testPersistedJobWriting_manyJobs_median (ns): 37794691
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_manyJobs_goodRTC
testPersistedJobReading_manyJobs_goodRTC_mean (ns): 46015412
testPersistedJobReading_manyJobs_goodRTC_median (ns): 45553494
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_fewJobs
testPersistedJobWriting_fewJobs_mean (ns): 4903462
testPersistedJobWriting_fewJobs_median (ns): 4914740
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_fewJobs_goodRTC
testPersistedJobReading_fewJobs_goodRTC_mean (ns): 4432127
testPersistedJobReading_fewJobs_goodRTC_median (ns): 4395469
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_delta_manyJobs
testPersistedJobWriting_delta_manyJobs_mean (ns): 42629601
testPersistedJobWriting_delta_manyJobs_median (ns): 42282061
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_delta_fewJobs
testPersistedJobWriting_delta_fewJobs_mean (ns): 5070691
testPersistedJobWriting_delta_fewJobs_median (ns): 4914688
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_manyJobs_badRTC
testPersistedJobReading_manyJobs_badRTC_mean (ns): 45184576
testPersistedJobReading_manyJobs_badRTC_median (ns): 44922660
(With split files):
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_fewJobs_badRTC
testPersistedJobReading_fewJobs_badRTC_mean (ns): 6350549
testPersistedJobReading_fewJobs_badRTC_median (ns): 6232605
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_manyJobs
testPersistedJobWriting_manyJobs_mean (ns): 39963524
testPersistedJobWriting_manyJobs_median (ns): 39628389
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_manyJobs_goodRTC
testPersistedJobReading_manyJobs_goodRTC_mean (ns): 43956702
testPersistedJobReading_manyJobs_goodRTC_median (ns): 43569874
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_fewJobs
testPersistedJobWriting_fewJobs_mean (ns): 8250152
testPersistedJobWriting_fewJobs_median (ns): 8090939
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_fewJobs_goodRTC
testPersistedJobReading_fewJobs_goodRTC_mean (ns): 6006753
testPersistedJobReading_fewJobs_goodRTC_median (ns): 5869193
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_delta_manyJobs
testPersistedJobWriting_delta_manyJobs_mean (ns): 26459508
testPersistedJobWriting_delta_manyJobs_median (ns): 26147607
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobWriting_delta_fewJobs
testPersistedJobWriting_delta_fewJobs_mean (ns): 4958038
testPersistedJobWriting_delta_fewJobs_median (ns): 4881588
com.android.frameworks.perftests.job.JobStorePerfTests#testPersistedJobReading_manyJobs_badRTC
testPersistedJobReading_manyJobs_badRTC_mean (ns): 44476839
testPersistedJobReading_manyJobs_badRTC_median (ns): 43993285
Bug: 255352252
Test: atest JobSchedulerPerfTests:JobStorePerfTests
Test: atest FrameworksServicesTests:JobStoreTest
Change-Id: Ib7bfa2c974f7663dea79d707c9e1b2bd53ef89b3
config_fontManagerServiceCert is a new config symbol that has
a list of der certificates to be used for font file verification.
After this change, the signature is stored next to the font file
and it is verified with the stored signature on boot time. If the
signature file is missing, e.g. due to device update, the updated
font file is discarded.
Bug: 242892591
Test: atest GtsFontHostTestCases
Test: atest UpdatableFontDirTest
Test: atest UpdatableSystemFontTest
Test: atest FontManagerTest
Test: Manually verified the font files can be updated
Change-Id: Ia4a6720b863163be523b845b883915185cee656c
The assertion is not applicable to this CUJ. Display starts locked and app is full screen at the end
Fixes: 256827515
Test: atest OpenAppFromLockNotificationCold
Change-Id: I4f44e12c87ac082e040d12156c7ced2cff0234f6
Make it easier to track failing assertions by connecting to existing bugs via FlakyTest annotation
Bug: 227143265
Bug: 209599395
Test: atest OpenAppFromLockNotificationWithLockOverlayApp
Change-Id: I057fa4a415c60173b0858b442a050c06832a2436
And disable it from gestural nav because of a TAPl issue
Fixes: 256616154
Bug: 240916028
Test: atest FlickerTests
Change-Id: Id5df85c7ff766ea712c3b9d51f5f1df2a56a18cc
This reverts commit 7c5f0e8e64.
Reason for revert: Landing feature again. We need a larger buffer for flicker detection
Fixes: 255715397
Change-Id: I5e51ae254b94eacd5751a04a03991147aa19154a
A subsequent change will actually move the files to the other git
project.
Bug: 243194720
Test: presubmit
Change-Id: If126bb68f74852528c4da8df79831b49b5129983
Those methods are not used anymore. And the regular lambda is
already good in performance.
Bug: 120160274
Test: atest LambdaPerfTest
Change-Id: Id3d736da726d003ce9b57ff72193d33e244b6b30
A small improvement to UX, to avoid seeing FAIL rollbacks,
when the rollback has been a SUCCESS on a first try.
Bug: 220204580
Test: manual
Change-Id: I12957a7cdf2499d7ff6f9ce4e0dcc0e568927e6d
This reverts commit 3bedae5d01.
Reason for revert: Significantly increased flakiness in go/wm-tests-flicker
Change-Id: I8e1e051103029abf1b431d514b24a7b6253599b9
The test searched for the wrong activity. Also demote known flaky issues
Fixes: 253619098
Bug: 240570652
Bug: 253617416
Test: atest FlickerTests:TaskTransitionTest
Change-Id: I16d44516df01f3a6fb6602ccd92b3e726ae00677