1810 Commits

Author SHA1 Message Date
Alex Sakhartchouk
37333001cb adding benchmark single test
Change-Id: I902579085bfee2f0bdc0bf4f38442f2f1569bf71
2011-11-17 14:08:47 -08:00
Alex Sakhartchouk
54b851c9b5 Merge "DO NOT MERGE" 2011-11-17 10:12:13 -08:00
Steve Block
286788c3aa Update Java Bridge test for coercing JavaScript String to Java char in an array
See https://android-git.corp.google.com/g/150052

Bug: 5619677
Change-Id: I2c3049529312b38bd3731dfc79b14edcb8cd6357
2011-11-16 14:28:24 +00:00
Steve Block
c353abba95 Add tests for multidimensional arrays in WebView's Java Bridge
Also add a test for objects with a non-numeric length property being passed to
a method expecting an array.

Change-Id: Ic04bbd691c55744472cab9fb732e504997c62434
2011-11-16 14:28:20 +00:00
Steve Block
908bc4a846 Fix tests for methods returning arrays in WebView's Java Bridge
Change-Id: Ibbac2268307fbfcff09a2d3b0f841ce420edc416
2011-11-16 14:26:37 +00:00
Alex Sakhartchouk
394956bf22 DO NOT MERGE
More flexible structure for rs benchmark.

Major refactoring to allow adding more benchmarks easily.

Change-Id: I8cc97d5cd0a7c8cc5e95083713fbf034a002887e
2011-11-15 10:35:32 -08:00
Steve Block
13ad467a91 Add tests for invalid and static methods in the WebView's Java Bridge
Change-Id: I18dacf4a4de8c787e46ea2781f5a365372a0a7da
2011-11-14 18:26:41 +00:00
Stephen Hines
0906005662 Merge "Fix setTimeZone() and use it properly in RSTest/rstime." 2011-11-10 16:09:29 -08:00
Stephen Hines
d2f561d183 Fix setTimeZone() and use it properly in RSTest/rstime.
BUG=5470134

The original implementation for rsi_ScriptSetTimeZone() never actually did
anything with the bytes received. This change allows it to safely update the
timezone. RSTest is also updated to call setTimeZone(), so that users in
different timezones can accurately get test results.

Change-Id: I6cb1b3a0c3a417749ba39e0fe09cc9c7ab65c2e7
2011-11-10 15:44:25 -08:00
Steve Block
5511bb3ce2 Merge "Add tests for arrays in WebView's Java Bridge" 2011-11-10 08:44:57 -08:00
Steve Block
47538c081d Add tests for arrays in WebView's Java Bridge
Also fixes some minor problems in other tests and reduces the HTML test page to
the minimal valid HTML5 document.

Bug: 5140673
Change-Id: Icc3730d017b778b0e618af3fcfee028300dd0a56
2011-11-10 16:42:05 +00:00
Dianne Hackborn
bd958e4428 am 03507014: am 665e105f: Merge "Cleanup remote execution of perf tests." into ics-mr1
* commit '0350701422eb484d57c5c3bb1e8fa72f03ab280b':
  Cleanup remote execution of perf tests.
2011-11-09 21:50:59 +00:00
Steve Block
8e33fe944f Add another test for WebView's Java Bridge
Tests that an exception is raised if the wrong number of arguments are passed
to a method of an injected object.

Bug: 5140673
Change-Id: Ic9f9d09969e0fccbe82584e1a9ca7580f6010c87
2011-11-09 16:22:13 +00:00
Dianne Hackborn
dd13793a25 Cleanup remote execution of perf tests.
Change-Id: I0d00537194f3a70969220db16f57bda6f25e454b
2011-11-08 10:59:28 -08:00
Dianne Hackborn
39c0e9f595 am 84b02130: Merge "Update perf tests to always run each test in a fresh process." into ics-mr1
* commit '84b02130a9b3327343425cd4edfc1b85f1e9b23d':
  Update perf tests to always run each test in a fresh process.
2011-11-08 02:51:40 +00:00
Dianne Hackborn
6b57b7e4d5 Update perf tests to always run each test in a fresh process.
Also some new classes to preload.

Change-Id: Ia2b5f856eaee533b9603b533ebaf8cb55e2ac193
2011-11-07 14:45:49 -08:00
Steve Block
2abb2abea0 Merge changes If1bdd547,Ie43c16ae,I62b45f8b,I32b7fdc0
* changes:
  Add tests for the fields of objects in the WebView's Java Bridge.
  Adds a set of basic test for WebView's Java Bridge
  Add tests for returning values from WebView's Java Bridge
  Adds a new test for type coercion in WebView's Java Bridge
2011-11-07 07:37:53 -08:00
Steve Block
2dc592a4ae Add tests for the fields of objects in the WebView's Java Bridge.
Bug: 5140673
Change-Id: If1bdd547c09d37bbf6d649f15388352ee76f4887
2011-11-07 15:34:30 +00:00
Steve Block
f7e26448c3 Adds a set of basic test for WebView's Java Bridge
Bug: 5140673
Change-Id: Ie43c16aeca9c5982b4ea64e3b54ec1a33c5f7241
2011-11-07 15:00:43 +00:00
Steve Block
d100cdbcc8 Add tests for returning values from WebView's Java Bridge
Bug: 5140673
Change-Id: I62b45f8b35be3ce9c76766e39e8867c028f94ac1
2011-11-07 15:00:39 +00:00
Steve Block
2d803903af Adds a new test for type coercion in WebView's Java Bridge
This change adds a new directory of tests for the WebView, WebViewTests.

It also provides the first in a set of tests to test WebView's Java Bridge.
Once this set of tests is complete, the Java Bridge test in
packages/apps/Browser will be removed.

Bug: 5140673
Change-Id: I32b7fdc0ac5d2231e6b96ff232d336ad2c0fcaab
2011-11-07 14:54:51 +00:00
Dianne Hackborn
28695e0c70 More performance work:
- ActivityManager now keeps track of previous app as you
  move across the home app.
- Better debug info about why an activity is being destroyed.
- New performance tests.

Change-Id: I3a5ae7cb1b9f1624c6792a4f6184353f532b8f3b
2011-11-02 22:08:41 -07:00
Dianne Hackborn
0500b3cfda Some optimizations.
- Don't try to create a thumbnail bitmap on the client side.  This
  wastes 64k, and isn't needed since we are doing screenshots.
- Optimize View to put all of the callback pointers out of line.
  Added a couple new APIs so these don't need to be protected/public.
- Lazily create ViewGroup's cache paint.
- Change FrameworkPerf app to not use HW accel drawing, to give better
  comparison with GB.

Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
2011-11-01 18:01:33 -07:00
Dianne Hackborn
2c84cfc001 Various performance and other work.
- IME service now switches between visible and perceptible depending on
  whether it is being showm, allowing us to more aggressively free its
  memory when not shown.

- The activity display time is no longer delayed by the activity
  transition animation.

- New -R (repeat) option for launching activities with the am command.

- Improved some documentation on Loader to be clear about some methods
  that apps should not normally call.

- FrameworkPerf test now allows you to select individual tests to run.

Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
2011-10-31 16:52:34 -07:00
Alex Sakhartchouk
66ce1fce59 Merge "Removing changes not meant for MR1" into ics-mr1 2011-10-31 10:30:37 -07:00
Dianne Hackborn
2e9562ad76 Add some IO tests.
Change-Id: Iacd5798a539781b67637cbbcc49cc8dec344e17b
2011-10-28 17:12:12 -07:00
Dianne Hackborn
ea1db611b4 Fix build. Forgot to add files. :(
Change-Id: I89dcc247d957a4873c56017bc262dd717d236258
2011-10-27 19:03:14 -07:00
Dianne Hackborn
d4c4b76889 New framework performance tests.
Change-Id: Ib8cc6704f508b7516ba0a30aa71bb88ef028691d
2011-10-27 16:03:14 -07:00
Alex Sakhartchouk
d97fd1d7c3 Removing changes not meant for MR1
Change-Id: I75136be33f12a87c2b5f21b064c06065a4145d70
2011-10-27 13:51:55 -07:00
Romain Guy
79174b7528 Merge "Make sure 9patches are not filtered when not necessary Bug #5383406" 2011-10-20 20:33:51 -07:00
Romain Guy
5e7c469c7a Make sure 9patches are not filtered when not necessary
Bug #5383406

Change-Id: I061c8069a4d9f4eaf45671283710b564639eeb32
2011-10-20 20:33:07 -07:00
Jason Sams
79235d2a93 Merge "adding getters to Sampler ProgramRaster, ProgramStore, Element. Element adds ability to get subelement info. Tests for new stuff." 2011-10-20 13:54:37 -07:00
Jason Sams
02bd36369b Add mandelbrot to compute perf
Change-Id: I8217134a703fcd72f6c9a3bdd4e2a6b389ea0fd3
2011-10-18 17:31:02 -07:00
Alex Sakhartchouk
7d5f5e7c89 adding getters to Sampler ProgramRaster, ProgramStore, Element.
Element adds ability to get subelement info. Tests for new stuff.

Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
2011-10-18 11:08:31 -07:00
Alex Sakhartchouk
7e6aac1533 Adding getter functions for script side RS objects.
Multiproject change involving on device linker

Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
2011-10-15 09:33:05 -07:00
Stephen Hines
74ff61032f Make launchtestxlw use constant.
Change-Id: I0f9cd3cc2f042a9471ecf1df9e4764cad8ad5ef6
2011-10-13 19:29:33 -07:00
Daniel Sandler
8c05abf157 am dba93565: Break apart DISABLE_HOME and DISABLE_RECENT.
* commit 'dba935659024a9ca83cb6bd3f1a9970e277f7658':
  Break apart DISABLE_HOME and DISABLE_RECENT.
2011-10-13 12:38:00 -07:00
Daniel Sandler
dba9356590 Break apart DISABLE_HOME and DISABLE_RECENT.
Additionally, start using setSystemUiVisibility() where
possible in the keyguard to allow activities and dialogs to
re-enable some of the navigation keys (notably: home but not
recents).

Finally, stop disabling MENU for activities atop the keyguard.

Bug: 5380495 // no home in driveabout, clock
Bug: 5396134 // able to show home/recent in keyguard
Change-Id: I04eb224554ee8cff79476b85148c4cda75bb0b62
2011-10-13 15:28:10 -04:00
Jason Sams
065c25a9b0 Start adding simple performance tests
for RS compute.

Change-Id: I0a37067f028ff6e61fd9952764a22885ac717c7c
2011-10-13 11:41:09 -07:00
Jason Sams
38b78b1bf5 Fix example code.
Change-Id: Idd45125940be2e3c50f60c8ac1894838821f3123
2011-10-12 13:19:14 -07:00
Romain Guy
a9dc86b21d Correctly apply transforms when getting a TextureView's bitmap
Bug #5439406

Change-Id: I271a9a2e38f5b3600dc158f8f442a6b0893f472b
2011-10-11 14:06:21 -07:00
Philip Milne
e974f6384b Move Activity1 and Activity2 to API Demos area in development/samples.
Change-Id: Ib6521caca69b0a0d96c66d9df754d2af17cb6908
2011-10-06 16:11:35 -07:00
Jeff Brown
3b2faf68e5 Fix build.
Change-Id: I01dbb8747f81c83d86e089762b2d34d8bba2bffd
2011-10-05 19:08:31 -07:00
Guang Zhu
2452ad3028 Merge "Revert "log stack trace when finish() or onDestroy() is called"" 2011-09-29 10:14:27 -07:00
Guang Zhu
c5daa17928 Revert "log stack trace when finish() or onDestroy() is called"
We are already clear on why it's happening (phantom touches) so reverting this log.

This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
2011-09-28 20:06:56 -07:00
Romain Guy
f678dd56a7 Merge "Don't build display lists for views with a layer." 2011-09-28 18:27:13 -07:00
Romain Guy
2a9fa89643 Don't build display lists for views with a layer.
This could cause the draw() code of views to be invoked too often
or worse, called with the wrong canvas. For instance, a view backed
by a software layer could get its draw() method called to record a
display list. Using a software layer is the recommended way to use
drawing operations not supported in hardware. Since we would
sometimes call the draw() method with the hardware backend anyway,
the app could crash by executing an unsupported operation.

Change-Id: Ib5f9a3a4c6f3efff5e0162ecd73d2dffe06e30a6
2011-09-28 16:50:02 -07:00
Guang Zhu
ef4d25c885 Use CPU upload path in DRT
This makes it the same as default browser settings (for now). Otherwise
the test may crash due to GPU OOM.

This is to be a workaround only, and should be reverted after the bug is
fixed.

Bug: 5382134

Change-Id: I82a8dd83b69c8fceb657af9e32a2c5fa66ead2ce
2011-09-27 18:23:10 -07:00
Tsu Chiang Chuang
14b4c769be Merge "adding packet count and removing extra uid stats that were used for debugging." 2011-09-27 11:18:13 -07:00
Tsu Chiang Chuang
9cf416fde6 adding packet count and removing extra uid stats that were used for debugging.
Change-Id: I19664ee991760b9515fc129be50be68579f8ce93
2011-09-26 14:33:24 -07:00