summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add CanvasProperty for drawCircleJohn Reck2014-05-024-4/+148
| | | | Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
* Merge "Add Session API calls to RCC and AudioManager"RoboErik2014-05-012-24/+28
|\
| * Add Session API calls to RCC and AudioManagerRoboErik2014-05-012-24/+28
| | | | | | | | | | This makes RCC and MediaButtonReceiver (via AudioManager) also use the new Session APIs in parallel to their existing code. This will allow us to bring up the Session compatibility pieces without disrupting the old behavior and then switch everything over to just using the new APIs when ready. Change-Id: I33ce0a044dea3ec763f2302b91a5e415be27d4a4
* | RenderThread animator supportJohn Reck2014-04-291-70/+7
| | | | | | | | Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
* | Add elevation, Z properties to ViewChris Craik2014-04-281-1/+1
| | | | | | | | Change-Id: I3dd3b683a66e248a0fdf2ca69d1e962615b0daf9
* | Rework some of the voice interaction APIs.Dianne Hackborn2014-04-286-14/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | On the app side, requests are now composed by subclassing from various types of Request objects. On the service side, starting a voice interaction session involves starting another service that will then manage the session. This leads the service design much more to what we want, where the long-running main service is very tiny and all the heavy-weight transient session work is elsewhere in another process. Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
* | Merge "Support Oval GradientDrawable outlines, and ShapeDrawable"Chris Craik2014-04-261-3/+0
|\ \
| * | Support Oval GradientDrawable outlines, and ShapeDrawableChris Craik2014-04-251-3/+0
| | | | | | | | | | | | Change-Id: Ifc9e55757d3325cb28a1a812ec696512d4a18b39
* | | Initial implementation of new voice interaction API.Dianne Hackborn2014-04-249-0/+334
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a basic working implementation of a persist running service that can start a voice interaction when it wants, with the target activity(s) able to go through the protocol to interact with it. It may even work when the screen is off by putting the activity manager in the correct state to act like the screen is on. Includes a sample app that is a voice interation service and also has an activity it can launch. Now that I have this initial implementation, I think I want to rework some aspects of the API. Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
* | Merge "Format the xml files for the VectorDrawableTest"ztenghui2014-04-2419-465/+471
|\ \
| * | Format the xml files for the VectorDrawableTestztenghui2014-04-2419-465/+471
| |/ | | | | | | | | | | | | All automatically done by the tool. No real changes. Change-Id: I8a98be9441d7cb0b3636c2a850d1e7de9e79394f
* | Clip TouchFeedbackDrawable effect to receiver OutlineChris Craik2014-04-234-0/+70
|/ | | | | | | | Projected RenderNodes are now wrapped with a ClipRect or masked SaveLayer, so that they are clipped to the outline of the projection receiver surface. Change-Id: I1d4afc1bb5d638d650bc0b1dac51a498f216773e
* Add RouteProviders to the new Media APIsRoboErik2014-04-1717-60/+481
| | | | | | | | | | Compiles and works with OneMedia. This currently is a rough test of the system for finding, connecting to, and sending messages to routes. This will just connect to the first route it finds when a request to open the route picker is made (and disconnect when another request is made). Change-Id: I5de5521a079471b9e02664be4654c0591dfd9a6d
* resolved conflicts for merge of 381ac080 to masterChristopher Lane2014-04-141-0/+163
|\ | | | | | | Change-Id: I779c49c48980ba7737ee4e7b04a9e4c3e02fca21
| * am 62538940: Merge "Add support for custom TXT records in NSD" into ↵Christopher Lane2014-04-141-0/+163
| |\ | | | | | | | | | | | | | | | | | | klp-modular-dev * commit '62538940de1755c71c56b0e5d81e12397e5de58a': Add support for custom TXT records in NSD
| | * Add support for custom TXT records in NSDChristopher Lane2014-04-141-0/+163
| | | | | | | | | | | | Change-Id: I8e6dc9852ad4d273c71ad6a63a7fbd28a206806d
* | | Merge "Remove isolated z volume test"Chris Craik2014-04-113-77/+0
|\ \ \
| * | | Remove isolated z volume testChris Craik2014-04-113-77/+0
| | | | | | | | | | | | | | | | Change-Id: I757cd9445b7e8f564b5f1357d3e5c17032daf17e
* | | | resolved conflicts for merge of 337e764d to masterJeff Brown2014-04-111-0/+1
|\ \ \ \ | |/ / / |/| / / | |/ / Change-Id: I8168dbf42b68c2f7b5ccb300e0080dddc627af26
| * | am f24687e2: Merge "Plumb display power state through display manager." into ↵Jeff Brown2014-04-111-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | klp-modular-dev * commit 'f24687e2731811fd0e3803b691fd47a659f89329': Plumb display power state through display manager.
| | * Plumb display power state through display manager.Jeff Brown2014-04-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Declare a new method, Display.getState() to retrieve the actual power state of a display. Improved documentation for Intent.ACTION_SCREEN_ON and Intent.ACTION_SCREEN_OFF to clarify what they really mean in terms of the interactive state of the device. Deprecated PowerManager.isScreenOn() and replaced it with PowerManager.isInteractive() with a more suggestive name and better documentation. Redirect display power state changes to go through the display manager first and only then head over to the power manager for legacy compatibility. Eliminated the bright here and woke here policy flags since they were unused. Simplified the input dispatch policy somewhat. Ensure that screen wake locks are respected up until the point when dozing really begins. Fixed a regression in DreamService where onDreamingStarted might be called before onWindowAttached. Bug: 13133142 Bug: 13472578 Bug: 13929355 Bug: 13760290 Change-Id: Iabef96921dd554ce3768fb18619cefc3230b5fb0
| * | am 05d855de: am d93e7b24: Merge "Don\'t attempt to launch disabled ↵Steve Moyer2014-03-162-10/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | activities in smoke test." * commit '05d855defe8610854592ddd7baf5644ac6d4da15': Don't attempt to launch disabled activities in smoke test.
| | * | Don't attempt to launch disabled activities in smoke test.Steve Moyer2014-02-202-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | Also remove the superfluous runner from manifest. Change-Id: I194b260d443d9bd4a16f62893bb2f7bcfb7ed40e
| * | | am 422b2656: resolved conflicts for merge of c45ff35f to klp-modular-devChristopher Tate2014-03-053-0/+18
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit '422b2656741520448815b230f7c73ad67a4c4e95': Adapt to underlying changes in the PBKDF2 implementation
| | * | resolved conflicts for merge of c45ff35f to klp-modular-devChristopher Tate2014-03-053-0/+18
| | |\ \ | | | | | | | | | | | | | | | Change-Id: Id1799e49891dc72e2e9c55fd9f418ceee94a7875
| | | * \ am 1efc6e52: am 1d13f13d: Merge "Adapt to underlying changes in the PBKDF2 ↵Christopher Tate2014-03-053-0/+18
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation" into klp-dev * commit '1efc6e52d65389463ad52c32df02d68493df0f48': Adapt to underlying changes in the PBKDF2 implementation
| | | | * \ Merge "Adapt to underlying changes in the PBKDF2 implementation" into klp-devChristopher Tate2014-03-053-0/+18
| | | | |\ \
| | | | | * | Adapt to underlying changes in the PBKDF2 implementationChristopher Tate2014-03-033-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to specify "PBKDF2WithHmacSHA1And8bit" now in order to get precisely the same output as was previously generated with "PBKDF2WithHmacSHA1". We also now try both when it's ambiguous which was used to generate the archive checksums. Bug 12494407 Cherry-pick from master. Change-Id: I2d6081dd62f50f7d493045150b327ed120de7abd
| * | | | | | am a70d20f6: am 818f83d9: am bf7b64bd: am be659185: use min app launch time ↵Guang Zhu2014-03-041-9/+12
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in AppLaunch perf test * commit 'a70d20f6037a5c3f6ee18244a3b547454beb8399': use min app launch time in AppLaunch perf test
| | * | | | | am 818f83d9: am bf7b64bd: am be659185: use min app launch time in AppLaunch ↵Guang Zhu2014-03-041-9/+12
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | perf test * commit '818f83d965be3cc1af88a1c700115bff0dccf3a3': use min app launch time in AppLaunch perf test
| | | * | | | am bf7b64bd: am be659185: use min app launch time in AppLaunch perf testGuang Zhu2014-03-041-9/+12
| | | |\ \ \ \ | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | * commit 'bf7b64bd30bc1e7fabcfc7f46132f504b30ba97c': use min app launch time in AppLaunch perf test
| | | | * | | use min app launch time in AppLaunch perf testGuang Zhu2014-03-041-9/+12
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id3a5872ff29fba5daeff058f0842fd011e50a0a1 (cherry picked from commit 2861a89bed9066e206917c41357a5e589e8482cb)
* | | | | | Fix build breakageAlan Viverette2014-04-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I73d9ff5f38986b7acf83b85c1989203f472bc5fd
* | | | | | Cleaning up VectorDrawableAlan Viverette2014-04-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use argb evaluation method from animation package, lazily create paint, set default for stroke line cap and join. Fix scaling to bounds. Fix drawable in test app. Change-Id: I245d5d6acc6ba9806743ab2bf9bf99aff3649c39
* | | | | | Theming for more VectorDrawable attrs, add attrs to test appAlan Viverette2014-04-082-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 13878079 Change-Id: Ibcc8d67446c44cd8f681230fc484c7dc7411ffab
* | | | | | Clean up on VectorDrawable.ztenghui2014-04-0241-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the test from DynamicDrawableTest to VectorDrawableTest. Remove duplicate function calls in the test. Fix comments in VectorDrawable Change-Id: I1ef87137088ccc10b1abdb40ca368345d9dbadab
* | | | | | Getting the version information into the VectorDrawableztenghui2014-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow version controling for later API improvement. We will only support version 1 so far. Change-Id: I322e63f6cff157ebb6df5d80625c39bf96ff3659
* | | | | | Expand install observer semanticsChristopher Tate2014-03-271-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...and now fail conservatively when two apps both attempt to define the same permission. Apps signed with the same certificate are permitted to redefine permissions. We also finally have a (hidden) interface class for observing package installation so that we can now rev the interface without breaking existing callers. Bug 13551375 Change-Id: Ifa4e59154dcccbb286ee46a35a6f25e4ad0f0f01
* | | | | | Merge "add Dynamic Drawable (vector graphics for Icons)"John Hoford2014-03-2741-0/+2290
|\ \ \ \ \ \
| * | | | | | add Dynamic Drawable (vector graphics for Icons)John Hoford2014-03-2641-0/+2290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id44b7f6d1b8dd073b8ed35e2142a380550f2449b
* | | | | | | Use new build var to depend on an APKs resourcesAdam Lesinski2014-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some other projects use LOCAL_APK_LIBRARIES and don't yet work with the new shared library changes. Change-Id: Ibb54bc1b5e3eb1252cf5b4e45249b089d25854ac
* | | | | | | Shared library resource supportAdam Lesinski2014-03-2513-6/+182
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shared libraries can now export resources for applications to use. Exporting resources works the same way the framework exports resources, by defining the public symbols in res/values/public.xml. Building a shared library requires aapt to be invoked with the --shared-lib option. Shared libraries will be assigned a package ID of 0x00 at build-time. At runtime, all loaded shared libraries will be assigned a new package ID. Currently, shared libraries should not import other shared libraries, as those dependencies will not be loaded at runtime. At runtime, reflection is used to update the package ID of resource symbols in the shared library's R class file. The package name of the R class file is assumed to be the same as the shared library's package name declared in its manifest. This will be customizable in a future commit. See /tests/SharedLibrary/ for examples of a shared library and its client. Bug:12724178 Change-Id: I60c0cb8ab87849f8f8a1a13431562fe8603020a7
* | | | | | Fix broken tests to fix buildJohn Spurlock2014-03-191-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6bb9d178a9f1b09c1b247ec9cbdd57507295c4bf
* | | | | | Rename DisplayList->RenderNodeJohn Reck2014-03-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idcca6f26ba6282594789962f5edb3ed53a290fef
* | | | | | Adds a TransportController and TransportPerformer to sessionRoboErik2014-03-126-50/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes transport controls a primitive interface on sessions with a way to create the performer, register callbacks, and send commands and updates between controllers and performers. This still needs some cleanup but has been tested with OneMedia. Change-Id: I373d35f7ccc383b8421bd14044457467d80425f3
* | | | | | Fix build, removing hidden attrChris Craik2014-03-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia820e76345ad6077025e887afdaa91e08eecd649
* | | | | | Improve isolatedZVolume testChris Craik2014-03-032-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shows interleaving effect better Change-Id: I85361b15587306484dc8fa6d6366e866014c270f
* | | | | | Merge "Move Session apis to android.media.session"RoboErik2014-02-265-11/+11
|\ \ \ \ \ \
| * | | | | | Move Session apis to android.media.sessionRoboErik2014-02-255-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to make it easier to distinguish the new apis from the old ones. Change-Id: Ic5eaf65e8bd054a844f87b9118c4bb18f30ac8a7
* | | | | | | Tabs -> spaces in frameworks/base.John Spurlock2014-02-2512-70/+70
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be