3458 Commits

Author SHA1 Message Date
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
Jorim Jaggi
90859bc4ce Allow voice interaction window to control system bars
Fixes: 29777675
Change-Id: I452bfa46cfdeb6ffa1f36c718df9bc7184fa74f7
2016-07-01 14:36:10 -07:00
Sergei Vasilinetc
1d3a08ba89 Merge "UiBench: add NavigationDrawerActivity." 2016-07-01 20:58:41 +00:00
Robert Carr
8942204d93 Merge changes I38cff63b,Id3739bbc,If052cd8c into nyc-mr1-dev am: 30efa24b11
am: 0dbe6db014

Change-Id: I3f0fd113bf9dc063f3bc60301f9a7ddf7d16581d
2016-07-01 19:41:33 +00:00
Robert Carr
0dbe6db014 Merge changes I38cff63b,Id3739bbc,If052cd8c into nyc-mr1-dev
am: 30efa24b11

Change-Id: I9ed6ae1f45221ff702162a1608bb8db7059058f5
2016-07-01 19:38:49 +00:00
Sergey Vasilinets
de396b3289 UiBench: add NavigationDrawerActivity.
This is implementation generated by AndroidStudio with small tweaks

Change-Id: I1a9b6673d9f89d480efd4c01746f8225226d8f32
2016-07-01 18:31:49 +00:00
Robert Carr
fd10cd1989 Force CROSSFADE rotation when launching from double tap gesture.
When activity transition triggers a rotation change, the starting
window will normally be the top window at the time we try
to select the window animation. However, these layout params won't
have the apps rotation animation set (as the client code will set that
on the real window, not the starting window). Eventually we would
like to add API to specify rotation animation via manifest to solve
this problem cleanly. In the mean time, we can force a specific rotation
animation from the double tap gesture, and clean up some camera
ugliness. We accomplish this by attaching an animation hint to
ActivityOptions.

Bug: 28838855
Change-Id: If052cd8cbae76651da43f3b4c590cd9dcc1afc0f
2016-07-01 11:05:40 -07:00
Chris Craik
9f0fa995c5 Fix ShadowGrid in UiBench
Refactor Fragment to not be anonymous, support lib hates those.

Change-Id: Ia0e282b4b5ff7abf1a50b42ad2497d3c3344ccbc
2016-07-01 10:46:18 -07:00
Chris Craik
39126b131e Merge "Add InvalidateTreeActivity UiBench case" 2016-07-01 06:30:35 +00:00
TreeHugger Robot
fd9f5e60f1 Merge "UiBench: bump tools ang gradle versions to newer ones" 2016-07-01 02:13:16 +00:00
Sergey Vasilinets
27dd5a35e1 UiBench: bump tools ang gradle versions to newer ones
Change-Id: I6416e1a739afd1769ef223aa898e0e03771f078f
2016-06-30 16:28:20 -07:00
Chris Craik
7ff5cf7375 Add InvalidateTreeActivity UiBench case
Change-Id: I9c411c656502d3b73e4fceba4fc084dce28743d1
2016-06-30 16:19:52 -07:00
Chris Craik
0ede07d4bd Fix UiBench MainActivity fragment
Changes ListFragment to no longer be anonymous (so it can be properly
recreated from instance state).

Change-Id: I521fb9bf7306a07d5179ad945d64e8977640cc5b
2016-06-30 15:54:31 -07:00
Stan Iliev
45faba516e Fix wording regarding ThreadedRenderer
ThreadedRenderer is not synonymous with hardware rendering, so
remove references to hardware rendering when referring to
ThreadedRenderer.

Change-Id: Ic66a482ccf05f556ebe6ec194ce4f858f75bbb8b
2016-06-28 16:40:05 -04:00
Yorke Lee
0933cf3f15 Merge \\\"Limit global drags to apps targeting SDK 24 and above\\\" into nyc-dev am: f33af2285b am: 3d80871032
am: 11e3bf5d30

Change-Id: I6a99d04fd3f9fb229f532838350313169cec502a
2016-06-17 20:42:14 +00:00
Yorke Lee
11e3bf5d30 Merge \\"Limit global drags to apps targeting SDK 24 and above\\" into nyc-dev am: f33af2285b
am: 3d80871032

Change-Id: I2f7745317f6ae0932d7c16469b500847e465a912
2016-06-16 21:27:50 +00:00