Commit Graph

11707 Commits

Author SHA1 Message Date
Nataniel Borges
364cd8f436 Merge "Fix close IME auto open tests" 2021-06-16 11:24:00 +00:00
Kohsuke Yatoh
1ab7e96c31 Merge "Read font attributes from buffer." into sc-dev am: 7adad678e0 am: 9f5b66cd5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14924347

Change-Id: I84fce8f1eff31fd70e9d22191e38ddeadd222f9e
2021-06-14 21:02:28 +00:00
Kohsuke Yatoh
7adad678e0 Merge "Read font attributes from buffer." into sc-dev 2021-06-14 20:53:59 +00:00
Nataniel Borges
9c3bb87809 Fix close IME auto open tests
Clarify assertions on code
Remove unnecessary list of ignored windows
Enable gestural navigation
Remove 90 degrees

Bug: 186115871
Test: atest FlickerTests:com.android.server.wm.flicker.ime
Change-Id: I9c62fea9a2fd419d4fec2afcb6b07b1987591f70
2021-06-14 18:16:55 +02:00
TreeHugger Robot
35435a75aa Merge "Move tests with reboot to @LargetTest suite" into sc-dev am: 506284e2f9 am: b103252b32 am: 584013ab98
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14936974

Change-Id: I1a09a3e8a880fa694d66e1328d2c222511dd04ae
2021-06-14 06:33:42 +00:00
TreeHugger Robot
584013ab98 Merge "Move tests with reboot to @LargetTest suite" into sc-dev am: 506284e2f9 am: b103252b32
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14936974

Change-Id: I73b0396930e4df9002ab86aea813ab6c240fa341
2021-06-14 06:26:45 +00:00
TreeHugger Robot
506284e2f9 Merge "Move tests with reboot to @LargetTest suite" into sc-dev 2021-06-14 06:12:36 +00:00
John Reck
c65ea76a62 Merge "Improve picture capture debug path" into sc-dev am: b99e72f722 am: c44920c3cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14928133

Change-Id: I5cf8350049c3e8d102cb385f0a02401c0d5eab1b
2021-06-11 18:39:11 +00:00
John Reck
b61791acc2 Merge "Improve picture capture debug path" into sc-dev am: b99e72f722
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14928133

Change-Id: I981ab05bd3c582aa2ce152d1834c7acd60efed53
2021-06-11 18:29:02 +00:00
Samiul Islam
23e0755152 Move tests with reboot to @LargetTest suite
Bug: 190759634
Test: atest StagedInstallInternalTest
Change-Id: I903052f7178a6800c29164012b2e03aef357c982
2021-06-11 11:47:24 +00:00
John Reck
760051854e Improve picture capture debug path
* Fixes hardware bitmap capture
* Fixes mutable bitmap capture (no flickering)
* Adds basic single-frame LRU cache to avoid
  repeated readbacks of GPU resources
* Does up-front readback of GPU resources
* Moves serialization off RenderThread again thanks
  to up-front readback avoiding needing GPU access
  off-thread
* Reduces RAM usage & improves performance by serializing
  directly to output stream instead of first copying to
  a byte[]

Bug: 174223722
Test: PictureCaptureDemo mirrors the content
Change-Id: If7ec208b61d5b917e82087cc312880fc5a38c943
2021-06-11 01:52:14 +00:00
Cody Kesting
f658c7f394 Merge "Allow MANAGE_TEST_NETWORKS to register and get VCN policies." am: 7b02279e0a am: 9a83740d0e am: c3b6259903 am: 560208f561
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1719273

Change-Id: I76e8d83810f5b0438371a743b1bd4cc29e7ed27f
2021-06-11 00:07:21 +00:00
Cody Kesting
c3b6259903 Merge "Allow MANAGE_TEST_NETWORKS to register and get VCN policies." am: 7b02279e0a am: 9a83740d0e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1719273

Change-Id: I75e45e456321eceaf4489379afa952df27ec9b41
2021-06-10 23:29:55 +00:00
Kohsuke Yatoh
a3f5f22cbc Read font attributes from buffer.
minikin::Font::typeface() is expensive because it will open the font file.
Font attribute getters should avoid calling it.

Bug: 188201287
Test: atest UpdatableSystemFontTest
Test: atest CtsGraphicsTestCases:FontTest
Test: atest CtsGraphicsTestCases:SystemFontsTest
Change-Id: Ic8554f6dfacbe27ddfea6b375633c96bced2cc09
2021-06-10 21:02:24 +00:00
Cody Kesting
1fd3dadc22 Allow MANAGE_TEST_NETWORKS to register and get VCN policies.
This CL updates VcnManagementService to allow permission
MANAGE_TEST_NETWORKS to register/unregister VCN policy listers as
well as apply VCN policies. Previously, only permission
NETWORK_FACTORY was allowed to perform this operations.

Bug: 189125789
Test: atest FrameworksVcnTests CtsVcnTestCases
Change-Id: I6ad3a58f4ef87d931917fbd772a810af81b27da1
2021-06-09 11:52:53 -07:00
TreeHugger Robot
9fee2af1a4 Merge "Fix status bar assertions on seamless rotation" 2021-06-08 12:38:51 +00:00
Nataniel Borges
6dbb226dad Fix status bar assertions on seamless rotation
Status bar should not be visible because the app layer in seamless rotation is in full screen.

Also, add checks to ensure: app window is always full screen and app window is always set to seamless

Also: refactor rotation test assertions:
   - base class, all assertions in presubmit
   - child classes, override if need flaky or postsubmit

Bug: 186115871
Bug: 190350376
Test: atest FlickerTests:com.android.server.wm.flicker.rotation
Change-Id: I31f9c41ad6a8c0048a8f8a353c7e468afda1fc8e
2021-06-08 10:26:57 +02:00
Benedict Wong
c52419c68a Merge "Remove underlying network caps" into sc-dev 2021-06-07 17:24:45 +00:00
Nataniel Borges
7b37444b5a Merge "Promote stable flicker tests (ime)" into sc-dev am: a50b03521f am: 2394a3f351
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14840468

Change-Id: Ife29a08e824283e8144771021b08caa13351595d
2021-06-07 13:28:33 +00:00
Nataniel Borges
95750e71ec Merge "Promote stable flicker tests (app launch)" into sc-dev am: 128a9fdbcb am: 4d9a5a1dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14840462

Change-Id: Ic94431211dd2294e0f52cb47550af7ba777cb360
2021-06-07 13:28:02 +00:00
Nataniel Borges
ab7180277f Merge "Promote stable flicker tests (ime)" into sc-dev am: a50b03521f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14840468

Change-Id: Ied6dbb2c3c3804f4e4cc5427c491b08b3f83753b
2021-06-07 13:13:38 +00:00
Nataniel Borges
a151d8b353 Merge "Promote stable flicker tests (app launch)" into sc-dev am: 128a9fdbcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14840462

Change-Id: I8a823950de18b89bdba87e540235f5f07bfbb0cf
2021-06-07 13:12:57 +00:00
Nataniel Borges
a50b03521f Merge "Promote stable flicker tests (ime)" into sc-dev 2021-06-07 12:56:31 +00:00
Nataniel Borges
128a9fdbcb Merge "Promote stable flicker tests (app launch)" into sc-dev 2021-06-07 12:56:23 +00:00
Nataniel Borges
acc9a142af Merge "Promote stable flicker tests (rotation)" into sc-dev am: 9ac4eb345a am: dce4967f1c am: 8ca36890ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14843813

Change-Id: I8ffb6402a3ea684de2507ac1ed9e84a76b4c70e5
2021-06-04 16:19:49 +00:00
Nataniel Borges
8ca36890ce Merge "Promote stable flicker tests (rotation)" into sc-dev am: 9ac4eb345a am: dce4967f1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14843813

Change-Id: I5b05e8f1da234bcce4e43ff92296b509ac3f1710
2021-06-04 16:03:54 +00:00
Nataniel Borges
27a9ab938a Merge "Promote stable flicker tests (rotation)" into sc-dev am: 9ac4eb345a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14843813

Change-Id: I8756952b014ce71161eed1752c380a45627df07f
2021-06-04 15:48:17 +00:00
Nataniel Borges
921907e28d Merge "Promote stable flicker tests (app close)" into sc-dev am: 488a0a3b8d am: 6d9e90b62e am: 115c8a39c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14840458

Change-Id: I77b4bf8d5e8e91ca49bd58a52db2b525aa6fd078
2021-06-04 15:41:21 +00:00
Nataniel Borges
9ac4eb345a Merge "Promote stable flicker tests (rotation)" into sc-dev 2021-06-04 15:32:49 +00:00
Nataniel Borges
fb8237605a Promote stable flicker tests (ime)
The tests have been stable since last week when the underlying bugs were closed.

Bug: 185401242
Bug: 185400889
Test: atest FlickerTests:com.android.server.wm.flicker.ime
Change-Id: I8cea435a9fa295626c45d9d11549c1a4d4f4e63b
2021-06-04 17:05:11 +02:00
Nataniel Borges
6d9e90b62e Merge "Promote stable flicker tests (app close)" into sc-dev am: 488a0a3b8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14840458

Change-Id: Ic1c96651da589536fdd24a2e67f3fada7752dd81
2021-06-04 15:03:51 +00:00
Nataniel Borges
b77a5fb78a Promote stable flicker tests (app launch)
The tests have been stable since last week when the underlying bugs were closed.

Bug: 185401242
Bug: 185400889
Test: atest FlickerTests:com.android.server.wm.flicker.launch
Change-Id: I8ef26ac7144766f7269bef2589842e07d098efc3
2021-06-04 16:26:32 +02:00
Nataniel Borges
f420024bf5 Promote stable flicker tests (rotation)
The tests have been stable since last weeks when the underlying bugs were closed.

Bug: 185401242
Bug: 185400889
Test: atest FlickerTests:com.android.server.wm.flicker.rotation
Change-Id: I4aa13016f214f99bcff5adcd98e71096eacada2d
2021-06-04 16:04:56 +02:00
Nataniel Borges
b94ab5c28f Promote stable flicker tests (app close)
The tests have been stable since last weeks when the underlying bugs were closed.

Bug: 185401242
Bug: 185400889
Test: atest FlickerTests:com.android.server.wm.flicker
Change-Id: I6c99e84f0da01c122d8ff6a28eebbdb9bcc6582a
2021-06-04 15:23:54 +02:00
Kohsuke Yatoh
865a9cb8f0 Add test for font family update.
Bug: 186966067
Test: atest UpdatableSystemFontTest
Change-Id: Ia03aa7818047f3269a0cf932126b9eabcefeb7ae
2021-06-03 20:32:41 +00:00
Benedict Wong
66a2885fa5 Merge changes I5ce7fe05,I2d5dc5b9,Ibcc4bdc0 into sc-dev am: 211f7f9e20
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14702006

Change-Id: I83e9611f1bb3442b77a9ee72f6bfa0575033b8f8
2021-05-26 11:05:10 +00:00
Benedict Wong
4ab47decd6 Remove underlying network caps
This change removes unused fields in the persistable bundle and
VcnGatewayConnectionConfig classes to ensure future flexibility.

Bug: 182219992
Test: atest FrameworksVcnTests
Change-Id: Ic2fec8a87fd19a1780333c61759c4092598d349e
Merged-In: Ic2fec8a87fd19a1780333c61759c4092598d349e
(cherry picked from commit 1f06b95c62)
2021-05-25 23:17:58 +00:00
Benedict Wong
e237e35dff Copy up/downstream bandwidth and TCP buffer sizes from underlying
This change copies the relevant pieces of information used to tune the
system for performance

Bug: 188943592
Test: atest FrameworksVcnTests
Change-Id: I2d5dc5b9000fa9d0da9d34772b3704110694c526
Merged-In: I2d5dc5b9000fa9d0da9d34772b3704110694c526
(cherry picked from commit 9d92b77ad7)
2021-05-25 15:48:40 -07:00
Benedict Wong
40e282d139 Merge changes I5ce7fe05,I2d5dc5b9,Ibcc4bdc0 into sc-dev am: 211f7f9e20 am: 401c314fe1 am: c3ea8e99f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14702006

Change-Id: I1ecd2f71359df9d83d708f097290dfb3dd99a735
2021-05-25 17:33:12 +00:00
Benedict Wong
c3ea8e99f1 Merge changes I5ce7fe05,I2d5dc5b9,Ibcc4bdc0 into sc-dev am: 211f7f9e20 am: 401c314fe1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14702006

Change-Id: I58b317ab7899923a283e950572e20741480c87c6
2021-05-25 17:17:17 +00:00
Benedict Wong
211f7f9e20 Merge changes I5ce7fe05,I2d5dc5b9,Ibcc4bdc0 into sc-dev
* changes:
  Add additional dump information for UnderlyingNetworkTracker
  Copy up/downstream bandwidth and TCP buffer sizes from underlying
  Prevent concurrent modification exceptions in VcnManagementService
2021-05-25 16:43:51 +00:00
Benedict Wong
9d92b77ad7 Copy up/downstream bandwidth and TCP buffer sizes from underlying
This change copies the relevant pieces of information used to tune the
system for performance

Bug: 188943592
Test: atest FrameworksVcnTests
Change-Id: I2d5dc5b9000fa9d0da9d34772b3704110694c526
2021-05-24 17:23:04 -07:00
TreeHugger Robot
c8fd105a8b Merge "Split flicker tests into groups" into sc-dev am: 608a439238 am: 3d7bed9d65 am: 0ae3d7e4ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14601816

Change-Id: Id39f610eb07e9d93fb9c0903a08c2d5d183e3f7c
2021-05-22 10:33:18 +00:00
TreeHugger Robot
0ae3d7e4ce Merge "Split flicker tests into groups" into sc-dev am: 608a439238 am: 3d7bed9d65
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14601816

Change-Id: Ie8c043cd662b3e1498db9017f6b638f6c5440ac1
2021-05-22 10:18:56 +00:00
TreeHugger Robot
976edfdbf2 Merge "Split flicker tests into groups" into sc-dev am: 608a439238
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14601816

Change-Id: I319ed54afe9b16a64f979c2e315ba6f4bc8c4788
2021-05-22 10:01:19 +00:00
TreeHugger Robot
608a439238 Merge "Split flicker tests into groups" into sc-dev 2021-05-22 09:44:36 +00:00
Nataniel Borges
8aaaeea849 Split flicker tests into groups
The flicker test suite grew and now trigger a treehuger SLO violation. To address this problem create different groups for different tests using: --module-arg <TEST SUITE>:include-annotation:<GROUP>

Where:
   <TEST SUITE> = FlickerTests or WMShellFlickerTests
   <GROUP> = com.android.server.wm.flicker.annotation.Group1 or com.android.server.wm.flicker.annotation.Group2 or com.android.server.wm.flicker.annotation.Group3

For example:

1) to run only tests in the first group in flicker use: `--module-arg FlickerTests:include-annotation:com.android.server.wm.flicker.annotation.Group1`

2) to run only the third group of tests from wmshell flicker: ``--module-arg FlickerTests:include-annotation:com.android.server.wm.flicker.annotation.Group3`

Bug: 180620475
Test: atest FlickerTests WMShellFlickerTests with the respective parameters
Change-Id: I82f668713ba262bafe2758e2c618bfc060cc2c8a
2021-05-20 09:36:44 +02:00
Christian Wailes
4362acdb5c Merge "Make BackgroundDexOpt aware of thermal state" am: 6c914b4bc6 am: 1958d5853c am: fbd298a06a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1706449

Change-Id: Ifd4ef36701a2145f3f84f11a849f69d9a6d060a1
2021-05-19 23:22:58 +00:00
Siarhei Vishniakou
000beba278 Merge "Check mInputEventReceiver before sending timeline -- 2" into sc-dev am: 234adf7cb2 am: 12318a45bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14350504

Change-Id: I55ef308fcebb9323496916fffa8d7b8af24ff3ae
2021-05-19 23:20:43 +00:00
Benedict Wong
1f06b95c62 Merge "Remove underlying network caps" am: 886e94b0a3 am: a6006f1d44 am: 6452f6f978
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1709008

Change-Id: I53e774ed83fee2055814734ee4826b470e8b65e1
2021-05-19 22:44:47 +00:00