summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* am d1a18011: Merge "Fix image processing test to include all benchmark tests ↵Xia Wang2013-01-143-129/+363
|\ | | | | | | | | | | | | -- each test case can be excuted separately -- add a test case to run all benchmarks." into jb-mr1-dev * commit 'd1a18011a68b2cac907d080d9044d527fd4c5853': Fix image processing test to include all benchmark tests -- each test case can be excuted separately -- add a test case to run all benchmarks.
| * Fix image processing test to include all benchmark testsXia Wang2013-01-143-129/+363
| | | | | | | | | | | | | | | | | | -- each test case can be excuted separately -- add a test case to run all benchmarks. DO NOT MERGE Change-Id: I3c61dfe50267a6db11bc1895a4f37ed618a9103b
* | more app launch test tweaksGuang Zhu2012-12-041-5/+14
| | | | | | | | | | | | | | | | | | to get closer to the previous harness: * sleep 750ms after launch then press HOME * force close app after launch * sleep 2s then move to next app Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319
* | Merge "Fix issue #7649590: Background windows sometimes not being hidden for ↵Dianne Hackborn2012-12-031-1/+1
|\ \ | | | | | | | | | secondary users" into jb-mr1.1-dev
| * | Fix issue #7649590: Background windows sometimes not being hidden for ↵Dianne Hackborn2012-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | secondary users There are two things going on here: (1) In secondary users, some times theme information such as whether the window is full screen opaque was not being retrieved, so the window manager didn't know that it could hide the windows behind the app. This would just be a performance problem, except that: (2) There appear to be a number of applications that declare that they are full screen opaque, when in fact they are not. Instead they are using window surfaces with an alpha channel, and setting some pixels in their window to a non-opaque alpha level. This will allow you to see whatever is behind the app. If the system happens to completely remove the windows behind the app, and somebody is filling the frame buffer with black, then you will see what the app intends -- those parts of its UI blended with black. If one of those cases doesn't hold (and though we have never guaranteed they would, in practice this is generally what happens), then you will see something else. At any rate, if nothing else than for performance reasons, we need to fix issue #1. It turns out what is happening here is that the AttributeCache used by the activity manager and window manager to retreive theme and other information about applications has not yet been updated for multi-user. One of the things we retrieve from this is the theme information telling the window manager whether an application's window should be treated as full screen opaque, allowing it to hide any windows behind it. In the current implementation, the AttributeCache always retrieves this information about the application as the primary user (user 0). So, if you have an application that is installed on a secondary user but not installed on the primary user, when the AttributeCache tries to retrieve the requested information for it, then from the perspective of the primary user it considers the application not installed, and is not able to retrieve that info. The change here makes AttributeCache multi-user aware, keeping all of its data separately per-user, and requiring that callers now provide the user they want to retrieve information for. Activity manager and window manager are updated to be able to pass in the user when needed. This required some fiddling of the window manager to have that information available -- in particular it needs to be associated with the AppWindowToken. Change-Id: I4b50b4b3a41bab9d4689e61f3584778e451343c8
* | | app launch test fixes and improvementsGuang Zhu2012-12-011-11/+16
|/ / | | | | | | | | | | | | | | | | | | | | | | | | * fixed NPE when specified app name does not exist * force stop package before starting, because some names may resolve into the same package * ensure app is launched in the order as sepcified in command line * fixed time recording: it should have been 'thisTime' as reported by ActivityManager, to be consistent with previous harness Change-Id: I411a568580feef21821dcbe6ec15884f697af6fd
* | Fix sample code issuesJason Sams2012-11-302-1/+1
| | | | | | | | | | | | | | Correct min SDK. Correct file extension on mandelbrot Change-Id: I508c22c382f1a930b27d8c5f4414cac3a990a332
* | Merge "Clean up the Builder test." into jb-mr1.1-devDaniel Sandler2012-11-273-495/+654
|\ \
| * | Clean up the Builder test.Daniel Sandler2012-11-143-495/+654
| |/ | | | | | | | | | | | | | | | | Improved vibration coverage Fixed LED color Added priority Added a start delay (for testing LED while screen off) Change-Id: I3dab0a1a7494f0fe7631d1af49c0fb9a1fdd3f63
* | Merge "Added app launch test." into jb-mr1.1-devMaxim Siniavine2012-11-213-0/+246
|\ \
| * | Added app launch test.Maxim Siniavine2012-11-203-0/+246
| |/ | | | | | | | | | | | | The test will start each app and report the time it takes for the app to start in milliseconds. Change-Id: I974ac36f70f0d982aa01e46824fe138eb641d680
* | Switched to another method for launching apps.Maxim Siniavine2012-11-202-7/+49
|/ | | | | | | | Started using a separate thread which calls startActivityAndWait for starting apps. Also increased the minimum and maximum lengths of time to wait for apps to stabilize. Change-Id: I49935a0ed1d1c230e58dc1629e5e4da6b3887903
* Properly show emoji in the notification ticker.Daniel Sandler2012-10-192-8/+46
| | | | | | | | | Add an emoji test to StatusBarTest (working around some difficulties in actually putting high-Unicode chars in the layout xml). Bug: 7378383 Change-Id: Ifce9844b26f67d2799521623e5161aa4dad69ed1
* Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-devRomain Guy2012-10-163-0/+86
|\
| * Add API to enable mipmaps on BitmapRomain Guy2012-10-163-0/+86
| | | | | | | | | | | | | | | | | | Bug #7353771 This API can be used when scaling large images down to a small size to get nicer looking results. Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
* | Support clipping in Canvas.drawBitmapMesh()Romain Guy2012-10-161-0/+7
|/ | | | | | Bug #7354162 Change-Id: Ifd1d0b365e8a4d88e0ff0629c9ee13f27e1a7331
* Merge "Port ImageProcessing to Filterscript." into jb-mr1-devJason Sams2012-10-1218-77/+77
|\
| * Port ImageProcessing to Filterscript.Stephen Hines2012-10-1218-77/+77
| | | | | | | | | | | | | | This enables testing of the Filterscript front-end for llvm-rs-cc. Bug: 7166741 Change-Id: I90bda9d2710c6652336a8c112b5654c5da3d14e4
* | Fix crash in ImageProcessing blend testJason Sams2012-10-122-2/+5
|/ | | | | | | | | The blend test would use a stale context when running all tests. bug 7327728 Change-Id: I5802b9b382d8893419efe86d33fdfeeb27729e31
* Update compatibility library testsJason Sams2012-10-1034-293/+1390
| | | | | | bug 7327728 Change-Id: If3f85fb8944d7217a4d5c035f522d1ecc7af3a07
* Adds showWhenLocked attribute to Activities.Craig Mautner2012-10-061-1/+1
| | | | | | | | The new attribute allows an Activity such as the alarm to appear on all users screens. Bug: 7213805 fixed. Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
* Fix range on blur intrinsic.Jason Sams2012-10-021-6/+7
| | | | | | | | | | The intrinsic fails when the radius was 0. A blur of radius 0 is a nop and should be disallowed. Fix the test to allow sub-pixel radius to be selected. bug 7273437 Change-Id: I2805674e29d557615eb7ac65c7910d4dffa28b58
* New internal API to eliminate poke locks.Jeff Brown2012-10-011-66/+0
| | | | | | | | | | | Added a new WindowManager.LayoutParams inputFeatures flag to disable automatic user activity behavior when an input event is sent to a window. Added a new WindowManager.LayoutParams field userActivityTimeout. Bug: 7165399 Change-Id: I204eafa37ef26aacc2c52a1ba1ecce1eebb0e0d9
* Lighten grain and make live preview gpu friendly.Jason Sams2012-09-285-44/+43
| | | | | | | | | | Preview now does yuv->rgb using the intrinsic script. Grain uses a smaller wrapped rand buffer so it is not just rand test. bug 7216044 Change-Id: If74eedc7d3cf264895133671edc546af9b1527f2
* Cleanup internal status bar APIs.Daniel Sandler2012-09-271-6/+20
| | | | | | | | | | | IStatusBarService.collapseQuickSettings is gone; collapseNotifications is now collapsePanels, which does what collapse() used to do. Similarly, IStatusBar.animateCollapseQuickSettings is now simply IStatusBar.animateCollapse(). Bug: 7245229 Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
* Merge "RS char bug repro case" into jb-mr1-devStephen Hines2012-09-263-0/+137
|\
| * RS char bug repro caseStephen Hines2012-09-253-0/+137
| | | | | | | | | | | | Bug: 6865598 Change-Id: Ic43002e0b0646af7eda1b2283e4df7db8dfcf68b
* | Merge "Restore RSTest functionality (char bug is fixed)." into jb-mr1-devStephen Hines2012-09-262-16/+1
|\ \
| * | Restore RSTest functionality (char bug is fixed).Stephen Hines2012-09-252-16/+1
| |/ | | | | | | | | Bug: 6865598 Change-Id: If65ff3c29b28c1008fbf1ad91a92b54210d60547
* | Merge "fix build break" into jb-mr1-devTim Murray2012-09-261-0/+24
|\ \
| * | fix build breakTim Murray2012-09-261-0/+24
| | | | | | | | | | | | Change-Id: I51603e7c645ce7aaa632e88bdc44578094785fdd
* | | Merge "fix blend intrinsics, add tests" into jb-mr1-devTim Murray2012-09-264-7/+214
|\ \ \ | |/ /
| * | fix blend intrinsics, add testsTim Murray2012-09-264-7/+214
| | | | | | | | | | | | | | | Bug: 7190126 Change-Id: If69213377282bf5b412508e7af974a1f8d440287
* | | More activity tests.Dianne Hackborn2012-09-254-3/+142
|/ / | | | | | | Change-Id: Id381ee2db55b135a0734c193fce44c55ef1cdae6
* | Merge "Adding a global accessibility action to open quick settings." into ↵Svetoslav Ganov2012-09-251-17/+3
|\ \ | | | | | | | | | jb-mr1-dev
| * | Adding a global accessibility action to open quick settings.Svetoslav Ganov2012-09-251-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added APIs for opening the quick settings to the StatusBarManagerService and the local StatausBarManager. The new APIs are protected by the old EXPAND_STATUS_BAR permission. Renamed the expand* and collapse* non-public APIs that are expanding the notifications to expandNotifications* collapseNotifications* to better convey what they do given that this change adds expandQuickSettings* and collapseQuickSettings*. Added a global action to the accessibility layer to expand the quick settings which is calling into the new status bar manager APIs. bug:7030487 Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
* | | Reduce test warmup time to avoid driving into thermal throttle.Jason Sams2012-09-251-2/+2
|/ / | | | | | | | | | | bug 7216044 Change-Id: I72c83e31dc39a0a810d8a453903213bd428dbe29
* | Merge into jb-mr1-devJean-Baptiste Queru2012-09-253-44/+44
|\ \ | | | | | | | | | Change-Id: Ic72c475635a0eb57a77d3bd621a219001af8baa5
| * | Test FS getElementAtJason Sams2012-09-243-44/+44
| | | | | | | | | | | | | | | | | | bug 7190126 Change-Id: I1fbaa77af051cf44134f8bfe56339ce5d3b7edbb
* | | Merge into jb-mr1-devJean-Baptiste Queru2012-09-253-0/+162
|\ \ \ | |/ / | | | | | | Change-Id: Iec56e4962bbc78309b20595352cce986fe62f68e
| * | Add test for copy kernels.Jason Sams2012-09-243-0/+162
| |/ | | | | | | | | | | bug 7224526 Change-Id: I76e1e63b6bd53d84df9c60a61e6588b21f33c2e3
* | Test image for 2 input tests.Jason Sams2012-09-242-0/+0
|/ | | | | | bug 7216044 Change-Id: I79794c1b12f618d03b27b316126cab9b3e4c9c38
* Change 5x5 convolve to better test impl.Jason Sams2012-09-231-5/+17
| | | | | | bug 7216044 Change-Id: I7165606a3ebf96ea3f401ed14d46f5105ed75ce4
* Merge "Verify pass-by-value kernels with structs." into jb-mr1-devStephen Hines2012-09-233-0/+128
|\
| * Verify pass-by-value kernels with structs.Stephen Hines2012-09-223-0/+128
| | | | | | | | | | Bug: 7166741 Change-Id: I8b5fab1cca6bf4dcafc646fd1d6e40a718f1ffaf
* | Merge "Fix bug #7206086 NumberPicker widget should use locale digits" into ↵Fabrice Di Meglio2012-09-231-2/+2
|\ \ | | | | | | | | | jb-mr1-dev
| * | Fix bug #7206086 NumberPicker widget should use locale digitsFabrice Di Meglio2012-09-211-2/+2
| | | | | | | | | | | | | | | | | | | | | - fix for having the TwoDigitFormatter being able to be recreated if the locale is changed - accept now also the Arabic and Persian digits Change-Id: Ifbf7e274d971008f4a5782402d4b76d9472b68fc
* | | Force destroy scripts in imageProcessing.Jason Sams2012-09-232-0/+7
| | | | | | | | | | | | | | | | | | bug 7216044 Change-Id: I6292513c08e75269e79d2210de898ef28931c986
* | | Merge "Add run all button to image processing test." into jb-mr1-devJason Sams2012-09-213-7/+53
|\ \ \
| * | | Add run all button to image processing test.Jason Sams2012-09-213-7/+53
| | | | | | | | | | | | | | | | Change-Id: I11b4f803151ee7dc1e4b86f402196c1b856bd950