3473 Commits

Author SHA1 Message Date
Chris Craik
9f891300bb Merge "Add SlowNestedRecyclerViewActivity" 2016-10-13 16:45:50 +00:00
Chris Craik
58d30ae209 Add SlowNestedRecyclerViewActivity
Bug: 31063101
Test: adb shell am instrument -e iterations 10 -w -e class com.android.uibench.janktests.UiBenchJankTests#testSlowNestedRecyclerViewFling com.android.uibench.janktests/android.test.InstrumentationTestRunner

Change-Id: I43e988e889f356323c9aea099f0efc6a04556f11
2016-10-12 16:21:20 -07:00
Julia Reynolds
b754ca6876 Fix channel conditional in cancelAll.
Bug: 32083625
Test: manual and runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testNotificationListPull
Change-Id: I1b9bb7a287be461d832816f22822c6dd6eb5e8f0
2016-10-12 10:32:56 -04:00
John Reck
e692f31fd6 Add a graph to jitter test
Test: manual
Change-Id: I914c0852d801d9cd5c4f14cc5a9cfae4b64ff334
2016-10-06 18:06:32 -07:00
John Reck
03a1edfe7f Jitter-specific test exploration
Test: manual, run the RenderingJitter activity
Change-Id: Id6ae9ed471bf02ed3015d369cdf5ea248898bbc2
2016-10-06 15:58:03 -07:00
Dianne Hackborn
354736e196 New infrastructure to switch remaining commands to "cmd" calls.
This introduces a new feature of the IBinder command protocol
to allow the shell command implementation to call back into
its caller to ask it to open files in the calling context.  This
is needed so that commands that have arguments specifying files
can open those files as the calling shell, not the system (or
whatever) process.

To test this all out, move the "am start" implementation over
to ActivityManagerShellCommand, in particular along with its
option to specify a file in which to write profiling data.

Test: Manual

Change-Id: I0c1e3857defefbd19a2ac29413aafbb34b1e48a3
2016-09-29 10:58:44 -07:00
TreeHugger Robot
9af3544905 Merge "Handle the case where window position comes before view map" 2016-09-17 02:05:01 +00:00
Manu Cornet
8439c6dcb2 Handle the case where window position comes before view map
Test: Tested this change with a device with http://go/ag/1451804 to
make sure the new protocol was understood.

Change-Id: I9c42cfeb27951ae66a77386d0644d84c230a4923
2016-09-16 17:06:24 -07:00
Chris Craik
1d01d31503 Slow RecyclerView item binding benchmark am: 58427a62ac am: 3346f28b28
am: bb6491755b

Change-Id: I6154d52beba54f5c7cbbcd9c0714f3b873d35117
2016-09-16 22:40:28 +00:00
Chris Craik
bb6491755b Slow RecyclerView item binding benchmark am: 58427a62ac
am: 3346f28b28

Change-Id: I65f2f0f35e887171d271a7c25b687ed57cfd219d
2016-09-16 22:24:06 +00:00
Chris Craik
3346f28b28 Slow RecyclerView item binding benchmark
am: 58427a62ac

Change-Id: I55d2333c4630fd539d9fdc22a15023e5f4d8c25c
2016-09-16 22:15:31 +00:00
Chris Craik
58427a62ac Slow RecyclerView item binding benchmark
bug:27106058
bug:31063101

Change-Id: Ib903a31be707ba16fccf95cbbe24cd0f0b3baee3
2016-09-13 14:45:53 -07:00
Teng-Hui Zhu
b6bcba34f0 Remove redundant code am: 4ebc5986a8 am: 82907dfd36
am: 4ad89dafb2

Change-Id: I8aee87bd0d1f910ac4ad428f6f063cb07ee58652
2016-09-02 20:42:45 +00:00
Teng-Hui Zhu
4ad89dafb2 Remove redundant code am: 4ebc5986a8
am: 82907dfd36

Change-Id: Ia55faf872466f837ea1b7c327ffc30590d781d60
2016-09-02 17:53:59 +00:00
Teng-Hui Zhu
4ebc5986a8 Remove redundant code
This can save both system image size and run time memory usage.
Every byte counts. :)

b/30956516

Change-Id: I1af0455fe488e3122f6cf8e8fca5a5a43a4614f2
2016-08-31 14:30:37 -07:00
Guang Zhu
d059031c73 Merge "Avoid JUnit4 collision in android-support-test, mockito-target" 2016-08-25 20:42:32 +00:00
Guang Zhu
01c560f4af Avoid JUnit4 collision in android-support-test, mockito-target
Bug: 31072145
Test: make droid checkbuild

Change-Id: I1462b0ba70aa3ede1a5b2ccc407e234dea1eb1b2
2016-08-25 19:37:46 +00:00
Keun-young Park
badbbae6fa allow external USB host management
- Setting config_UsbDeviceConnectionHandling_component leads into
  launching specified Activity whenever USB device is connected.
- This allows external Activity to manage USB device based on
  its own setup and settings.
- Device access can be passed to other app with permission update
  by UsbManager.grantPermission.
- added UsbDeviceConnection.resetDevice() to reset USB device connected.
  This is necessary to get device out from AOAP.
- Test requires installing UsbHostExternalManagmentTestApp and
  AoapTestHost to USB host, and AoapTestDevice to USB Device.

bug: 26404209
Change-Id: I8e77ddc646c15454d9b2ecf1356924cf6351fc28
2016-08-24 15:00:08 -07:00
John Reck
d136ce902c Add TouchLatency test
Change-Id: Ic3a788f6b06bf6477ab23b183fb8c76ae8870b6b
2016-08-08 13:32:34 -07:00
Pablo Ceballos
812bf0130c UiBench: Fix camera distance for GlTextureView
Change-Id: Ieab2080c8b0a4baa3e844a2a616cdc9f4d4e8101
2016-08-05 17:45:39 +00:00
Yuanlang Song
7c4482b9ec Work around to get ride of NPE in app startup test am: eaf08cf7d0 am: 832ec72c38
am: 4dadfe9e72

Change-Id: I6b96dc77a88e9ad5ee638153dfe56214be164796
2016-08-02 02:54:18 +00:00
Yuanlang Song
4dadfe9e72 Work around to get ride of NPE in app startup test am: eaf08cf7d0
am: 832ec72c38

Change-Id: Ia06a591cec41b2546d99411e51741bfdbe5c7886
2016-08-02 00:50:19 +00:00
Yuanlang Song
eaf08cf7d0 Work around to get ride of NPE in app startup test
bug: 30374599
Change-Id: I9050ba6ac6283734c345e4e7f9f56f34e1477c7a
2016-08-01 12:11:57 -07:00
Mitchell Wills
6c678b02f8 Merge "Don't pull in external/junit through mockito" 2016-07-29 01:37:03 +00:00
Mitchell Wills
d3868cfc63 Don't pull in external/junit through mockito
android-support-test provides a different version of junit

FIXED=30481239

Change-Id: I6d8f52d5f82b4c9905da8cc4a6ca79216eba9e26
2016-07-28 17:05:17 -07:00
Jiaquan He
dd1e66f737 Add more onTopLauncher support.
- Add onTopLauncher checking for TaskRecord.
- Add onTopLauncher to the window manager.

Bug: 28425537
Change-Id: Ic9e53db891dc42463a1a77b106ba93438a052181
2016-07-27 23:57:23 +00:00
Chris Craik
afc5673bdb Merge \"Fix ShadowGrid in UiBench\" into nyc-mr1-dev
am: 0c05a3dd1c

Change-Id: Ib0bdaa1f80e05f6409cbeb643e0708fac684b097
2016-07-14 02:18:58 +00:00
Chris Craik
5d2a453ab4 Fix ShadowGrid in UiBench
fixes: 30013642

Refactor Fragment to not be anonymous, support lib hates those.

Change-Id: Ia0e282b4b5ff7abf1a50b42ad2497d3c3344ccbc
(cherry picked from commit 9f0fa995c57cedf4e4a707955e55e17ea9116ffe)
2016-07-13 16:00:10 -07:00
Chris Thornton
7233603588 Merge \\"Fix a few log messages that didn\\'t have a space in the SoundTriggerTestApp\\" into nyc-mr1-dev am: ea7999dc3f
am: 1a4507cb8e

Change-Id: I4579b7ecd4781d56cc86878d8c145aa11e56ea81
2016-07-13 02:15:44 +00:00
Chris Thornton
1a4507cb8e Merge \"Fix a few log messages that didn\'t have a space in the SoundTriggerTestApp\" into nyc-mr1-dev
am: ea7999dc3f

Change-Id: I27952804de098e92c50907d47198dd747f272e31
2016-07-13 02:09:12 +00:00
Chris Thornton
2d2ba9d089 Fix a few log messages that didn't have a space in the SoundTriggerTestApp
Change-Id: If3b5ac6533429843d4be733bd31f2bb83e1d5971
2016-07-12 17:16:42 -07:00
Gopinath
2c73f8e29f Merge \\\"App launch - Test app changes\\\" into nyc-dev am: 8fabbb89c0 am: 2b6700a27b
am: c6696ae7a6

Change-Id: I6442883f1e356e24036973ccbfcd7b76a452be4d
2016-07-12 16:38:15 +00:00
Gopinath Elanchezhian
c6696ae7a6 Merge \\"App launch - Test app changes\\" into nyc-dev am: 8fabbb89c0
am: 2b6700a27b

Change-Id: Idb5094bfaab92982890c13dc9639ab45480acad6
2016-07-12 16:27:09 +00:00
Gopinath
8c5eb63835 Merge \"App launch - Test app changes\" into nyc-dev
am: 8fabbb89c0

Change-Id: I0b14fe4a4dd9414d9fe9d15980e8058a7b3d9e29
2016-07-12 16:11:01 +00:00
Gopinath
2b6700a27b Merge \"App launch - Test app changes\" into nyc-dev
am: 8fabbb89c0

Change-Id: I304e8791b2ea72bd527fa0c8abd2c748c90e866c
2016-07-12 16:09:18 +00:00
Gopinath Elanchezhian
8fabbb89c0 Merge "App launch - Test app changes" into nyc-dev 2016-07-12 16:02:43 +00:00
Sergei Vasilinetc
ed3c2bd812 Merge "UiBench: add NotificationShadeActivity" 2016-07-11 07:13:35 +00:00
Chris Craik
0fc003e675 Merge \"Fix UiBench MainActivity fragment\" into nyc-mr1-dev
am: 8b31db3621

Change-Id: I597e28d025569fec839ca7b02ea03b054a582a94
2016-07-09 00:37:54 +00:00
Chris Craik
8b31db3621 Merge "Fix UiBench MainActivity fragment" into nyc-mr1-dev 2016-07-09 00:31:59 +00:00
Sergey Vasilinets
50f67331ca UiBench: add NotificationShadeActivity
Change-Id: I67a80c35b04bc8fba092b224b19de9cddbd98f6f
2016-07-08 11:11:06 -07:00
Chris Thornton
dcd9a83e9e Merge \\"Updates to the sound trigger test app\\" into nyc-mr1-dev am: e1fdcc49fd
am: 8ce7b9b6ff

Change-Id: Ib96262c213f9cc397d49b6be6d2ca5975a580ce4
2016-07-08 18:09:38 +00:00
Chris Thornton
8ce7b9b6ff Merge \"Updates to the sound trigger test app\" into nyc-mr1-dev
am: e1fdcc49fd

Change-Id: I84028121d101f417e2c55450b2a95041f33d2d40
2016-07-08 18:01:33 +00:00
Gopinath
164cca0b34 App launch - Test app changes
1) Drop cache between app launches Bug 29564205
2) Trace capture while launching app Bug 26779882
3) Simple Perf while launching app Bug 29249860
4) Launch order which could be cyclic or sequential

Change-Id: I0c883e7feb7e07474b045835fd56a97d8a126552
2016-07-07 17:42:08 -07:00
Chris Thornton
dfa7c3b0dc Updates to the sound trigger test app
Moved the logic for talking to the system service into a service in the
app - this now lets you close the activity and still be able to receive
events. Additionally, we get CLI support using commands with the intent
com.android.intent.action.MANAGE_SOUND_TRIGGER.

Bug: 29073629

Change-Id: Ie904b73b4414f2c9fded013aeb5e6c6c3a67f5d3
2016-07-07 15:00:15 -07:00
Chris Craik
2759f9333d Fix UiBench MainActivity fragment
fixes: 30015965

Changes ListFragment to no longer be anonymous (so it can be properly
recreated from instance state).

Change-Id: I521fb9bf7306a07d5179ad945d64e8977640cc5b
(cherry picked from commit 0ede07d4bd59b4a2108fda1cd4ab767cc0058fb8)
2016-07-07 12:39:42 -07:00
Tenghui Zhu
6784f4811c Merge "Add test for clip path grouping and intersection" 2016-07-06 16:42:37 +00:00
Jorim Jaggi
3040144617 Merge \\\"Docs: Job-scheduling doc for new DAC Performance section.\\\" into nyc-dev am: 1f64ea546b am: 9f64b020bd
am: a9f24e556b

Change-Id: Ib06c8c5d3dd23b7c7b9d66175940f08fb046bc87
2016-07-01 23:26:13 +00:00
Joe Fernandez
a9f24e556b Merge \\"Docs: Job-scheduling doc for new DAC Performance section.\\" into nyc-dev am: 1f64ea546b
am: 9f64b020bd

Change-Id: Ie964e0588bdbd1d9b667eb05cb58e25bac837d9b
2016-07-01 23:21:01 +00:00
TreeHugger Robot
9f64b020bd Merge "Allow voice interaction window to control system bars" into nyc-mr1-dev 2016-07-01 23:16:07 +00:00
Teng-Hui Zhu
2196d562d6 Add test for clip path grouping and intersection
b/29597018

Change-Id: Ib7b214376ab0089b3810e74bae60d4b8e666e13e
2016-07-01 15:35:57 -07:00