summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* AAPT: Handle all old unversioned attribute usageAdam Lesinski2015-01-144-0/+60
| | | | | | | | All references to attributes defined in pre-LOLLIPOP_MR1 SDK are moved to version qualified resource entries. Bug:18221682 Change-Id: Ifd739530ebcf99e6bc7ddb3f10bc5e05f0726e62
* Merge "Remove 2 sub-tests from the internal test app." into lmp-mr1-devztenghui2014-12-1619-772/+0
|\
| * Remove 2 sub-tests from the internal test app.ztenghui2014-12-1519-772/+0
| | | | | | | | | | | | b/18171696 Change-Id: I4c4e96c2d0a8e664d81abb300a8f56c5bbb358cd
* | shell based UI Automator source moveGuang Zhu2014-12-1223-0/+1024
| | | | | | | | | | | | | | | | | | | | | | | | frameworks/testing/uiautomator -> frameworks/base/cmds/uiautomator (samples, utils sub folders exlcuded) frameworks/testing/uiautomator/utils -> frameworks/base/tests/utils no source files changed, only one line makefile update (for UI Automator API check) Bug: 18708851 Change-Id: I396bd386d3d55a52df18af183685daf80caa9f73
* | Fix issue with RNA destruction mid-animationJohn Reck2014-12-091-0/+28
| | | | | | | | | | | | | | | | | | Bug: 18521508 Fix an issue where an RNA's native object was destroyed before the java-side object was started Change-Id: I487fb476e0ecdf7000515f4f7320e8cfbc50a52b
* | Add test for isolated services.Dianne Hackborn2014-12-013-0/+80
|/ | | | Change-Id: Ibcbc4e766400acb8cf0385f922db6ca448a652a3
* Supporrt tapas build for vector testsztenghui2014-11-212-1/+35
| | | | | | | | | | | | | | Such that UX team has less pain on building the VD / AVD assets. This also requires removing internal API dependence in the test. To build the VectorDrawableTest with prebuilt SDK. <root dir>/tapas VectorDrawableTest <root dir>/make -j64 showcommand Then later for incremental build. <root dir>/mmm ./frameworks/base/tests/VectorDrawableTest/ -j20 b/18260896 Change-Id: Id559074df78d7c2a5c529c545834da23986bc15f
* Merge "ASLD: ASLD's XML reversible flag can turn off the reverse behavior ↵ztenghui2014-11-209-12/+166
|\ | | | | | | now." into lmp-mr1-dev
| * ASLD: ASLD's XML reversible flag can turn off the reverse behavior now.ztenghui2014-11-209-12/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the android:reversible flag behaves like a suggestion. Now it is used to enforce no reverse when set to false. In this way, user can safely setup one direction animation only. When set to true, but AVD can't reverse , then it will show a warning. At the same time, update the tests to show different cases, including AnimationDrawable. b/18413484 Change-Id: I5552c49dcbd76b0724b4d5593bce8388b27bd905
* | Add new empty app test entry points.Dianne Hackborn2014-11-193-0/+74
| | | | | | | | Change-Id: Ib899c95de6b7bb936d2114e86bec4c5aef5f7eda
* | Fix the starting pen's position when a path close.ztenghui2014-11-132-0/+29
|/ | | | | | | | | We have to cache the starting point for the latest "move", then apply it after we close the path. b/18214929 Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
* Add Activity API to get referrer information.Dianne Hackborn2014-11-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This expands the use of EXTRA_REFERRER to be relevant anywhere, allowing apps to supply referrer information if they want. However, if they don't explicitly supply it, then the platform now keeps track of package names that go with Intents when delivering them to apps, which it can be returned as the default value. The new method Activity.getReferrer() is used to retrieve this referrer information. It knows about EXTRA_REFERRER, it can return the default package name tracked internally, and it also can return a new EXTRA_REFERRER_NAME if that exists. The latter is needed because we can't use EXTRA_REFERRER in some cases since it is a Uri, and things like #Intent; URI extras can only generate primitive type extras. We really need to support this syntax for referrers, so we need to have this additional extra field as an option. When a referrer is to a native app, we are adopting the android-app scheme. Since we are doing this, Intent's URI creation and parsing now supports this scheme, and we improve its syntax to be able to build intents with custom actions and stuff, instead of being all hung up on custom schemes. While doing this, fixed a problem when parsing both intent: and new android-app: schemes with a selector portion, where we were not respecting any scheme that was specified. Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2
* Merge "VD:test:Remove open animation AVD" into lmp-mr1-devztenghui2014-11-0622-551/+0
|\
| * VD:test:Remove open animation AVDztenghui2014-11-0422-551/+0
| | | | | | | | | | | | | | | | This is for unbundle apps, so it is not a good idea to put in open source. b/18171696 Change-Id: I4272a9cd12904b90b4421e88304795a292ceec58
* | Fix issue #17305377: Don't kill process if it still has tasks.Wale Ogunwale2014-11-041-1/+1
|/ | | | | | | | | | | | | | | | We previously killed a process when one of its task was swiped away in the recents UI. This had negative performance implications for apps with multiple tasks in recents. Now we will only kill the process if there are no more tasks associated with it. Changed also removes the need for the ActivityManager.REMOVE_TASK_KILL_PROCESS since ActivityManager will now only kill a task process if it process has no out standing tasks. Bug: 17305377 Change-Id: Ibc39bb328d13c7eab05c04798c2f14887923d9d4
* Surface:lockHardwareCanvasJohn Reck2014-10-213-0/+266
| | | | | | Bug: 17440886 Change-Id: I1f2d98c63ec1a2814c2258cf7e0096139263770a
* Merge "Support negative value in exponential data in the pathData." into ↵ztenghui2014-10-1022-0/+551
|\ | | | | | | lmp-mr1-dev
| * Support negative value in exponential data in the pathData.ztenghui2014-10-1022-0/+551
| | | | | | | | | | | | | | | | | | | | | | Now "1e-5" will not be separated as "1e" and "-5". Add one test for this use case. Make sure we print out the pathData when path parsing has error. b/17919923 Change-Id: I10a00ce21166cfb5a009c49c1a93f40eeb956d83
* | am eecf74bc: am ed65c63b: Merge "Add tests for model management [SDK Only]" ↵Sandeep Siddhartha2014-10-105-4/+369
|\ \ | | | | | | | | | | | | | | | | | | into lmp-dev * commit 'eecf74bcf7746c20f4b8cf69448e4b292357026d': Add tests for model management [SDK Only]
| * \ Merge "Add tests for model management [SDK Only]" into lmp-devSandeep Siddhartha2014-10-095-4/+369
| |\ \
| | * | Add tests for model management [SDK Only]Sandeep Siddhartha2014-10-075-4/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't change any functionality/APIs etc. It allows us to launch the activity and manually test the enrollment methods. Bug: 17885286 Change-Id: I506d9bb98a592131c04a50c9d6224164ffe07183
* | | | Merge "Support dot separation as the svg path data did." into lmp-mr1-devztenghui2014-10-093-1/+30
|\ \ \ \ | | |_|/ | |/| |
| * | | Support dot separation as the svg path data did.ztenghui2014-10-083-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like "0.0.0" will be separated to "0.0 .0" now, just to make sure we are more complied with svg path data. b/17892882 Change-Id: Id7b64e9882f5174aa794a0256e2a29d66c724876
* | | | am f189c445: am 1a98dd5c: Merge "Load shared library dependencies for ↵Adam Lesinski2014-10-075-0/+79
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | AppWidgets" into lmp-dev * commit 'f189c445b84365a3f1bd2b678fdca37f9df8d5d1': Load shared library dependencies for AppWidgets
| * | Merge "Load shared library dependencies for AppWidgets" into lmp-devAdam Lesinski2014-10-075-0/+79
| |\ \ | | |/ | |/|
| | * Load shared library dependencies for AppWidgetsAdam Lesinski2014-10-075-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PackageManager and AppWidgetHostServiceImpl should be loading the resources of any shared libraries being used by the app, as they have references in their Widgets or application icons/labels, etc. Bug:17668152 Change-Id: I359662334edb125d7570089916727df4eeba02bb
* | | am 90d557b7: am 7f7d240b: Merge "Fix issue #17752399: Multiple apps broken ↵Dianne Hackborn2014-10-061-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | by GET_TASKS permission change" into lmp-dev * commit '90d557b7a68e64e049a44560b76b959ef87f13d7': Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
| * | Fix issue #17752399: Multiple apps broken by GET_TASKS permission changeDianne Hackborn2014-10-031-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | Keep around GET_TASKS as a permission available to apps, so apps still think they have it and don't get all uppity because they don't. Add a new REAL_GET_TASKS that is the actual permission now. Plus some temporary compatibility code until everyone can transition fromn GET_TASKS to REAL_GET_TASKS. Change-Id: I12c1102eed24844685dcbd2fa3b612811603958f
* | am 489502cf: am 7e1ae00c: Merge "Throw error when no intent can be found" ↵wsmlby2014-10-011-6/+2
|\ \ | |/ | | | | | | | | | | into lmp-dev * commit '489502cf606b12cc0f872cec6dfd18d0e41db93f': Throw error when no intent can be found
| * Throw error when no intent can be foundwsmlby2014-10-011-6/+2
| | | | | | | | | | bug: 17396762 Change-Id: I10502d5d1e2332d9e6820ee645234c125e937b7a
* | am b226d295: am c6a06d43: Merge "Revert "Fix issue with using locally ↵Adam Powell2014-10-013-28/+5
|\ \ | | | | | | | | | | | | | | | | | | defined attrs in a shared lib"" into lmp-dev * commit 'b226d2951c8641f9851e40b4e13b4ae25cb1a482': Revert "Fix issue with using locally defined attrs in a shared lib"
| * | Revert "Fix issue with using locally defined attrs in a shared lib"Adam Powell2014-10-013-28/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5069dd69898bd0d9c69ba2bbd37239ec8d1c9dc6. The reverted commit caused issues loading resources supplied by static libraries. Bug 17748356 Change-Id: I860a4f31451ee7c03c02974826472a67226b029f
* | | Merge "More test cases from UX team for AVD." into lmp-mr1-devztenghui2014-10-0148-2/+1509
|\ \ \ | |/ / |/| |
| * | More test cases from UX team for AVD.ztenghui2014-09-3048-2/+1509
| |/ | | | | | | | | | | | | | | | | This adds more realistic avds for testing purpose. Also add root level alpha tests. b/17698712 Change-Id: I32efaecf8a46a110c77e432a5307296e8a443160
* | Fix issue with using locally defined attrs in a shared libAdam Lesinski2014-09-303-5/+28
|/ | | | | | | | | | | The attribute name resource IDs were never fixed up with the runtime package ID so we weren't finding attributes whenever the runtime package ID was different than the build time one, which happened to be when a shared lib referenced itself (0x00 vs 0x02). Bug:17666947 Change-Id: Icf3e874bcea0e27eebe42d60fbed626a34bf9266
* Merge "Allow null queues to be set in MediaSession" into lmp-devRoboErik2014-09-251-0/+12
|\
| * Allow null queues to be set in MediaSessionRoboErik2014-09-241-0/+12
| | | | | | | | | | | | | | Also add some test code for it to OneMedia. bug:17593962 Change-Id: I074e2bb0329d9a97f623e4309bb7dada157b8324
* | Merge "Add one more test and update old tests" into lmp-devztenghui2014-09-244-17/+136
|\ \ | |/ |/|
| * Add one more test and update old testsztenghui2014-09-234-17/+136
| | | | | | | | | | | | | | | | | | This is just updating the internal test app. No real functionality changed. b/17631551 Change-Id: Icc01e017ea4fbf97712214e6ac02691d29ea5e96
* | Merge "Work on issue #17628623: Need to update default preferred activities ↵Dianne Hackborn2014-09-241-0/+14
|\ \ | | | | | | | | | for YouTube" into lmp-dev
| * | Work on issue #17628623: Need to update default preferred activities for YouTubeDianne Hackborn2014-09-231-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the warning logs when setting up preferred activities to help identify when there are issues and what they are. Also improve the algorithm a little to still apply permissions when resetting them and there are additional third party apps, as long as the additional app is something like another browser and the preferred activity being set is more specific (has a better match). And add an example of using manifest-based preferred activities in to ActivityTest -- and yes it DOES work! :p Change-Id: I1ff39e03a5df6526206e0c3882085396b355d814
* | Fix animation on the some propertiesztenghui2014-09-232-1/+31
|/ | | | | | | | | The risk is low since most of them are just matching the naming to xml. And this update won't cause build breakage. b/17623982 Change-Id: I1eda0b8314ec7b94bc03976cdc365a7dc1039f4c
* Add leanback support to AppCompatiblityTestwsmlby2014-09-183-5/+11
| | | | Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04
* Merge "Add root alpha and animation to (Animated)VectorDrawable" into lmp-devztenghui2014-09-124-1/+33
|\
| * Add root alpha and animation to (Animated)VectorDrawableztenghui2014-09-124-1/+33
| | | | | | | | | | | | b/17393626 Change-Id: If6a28b072f7d4bcb2b57022d86ec784f4c0d78f1
* | Merge "UsageStats should deal with changing time" into lmp-devAdam Lesinski2014-09-121-1/+4
|\ \
| * | UsageStats should deal with changing timeAdam Lesinski2014-09-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the system time is changed, the UsageStats API will modify all existing entries to correspond with the new time change. If the time changed when the device was off, stats in the future will be deleted. Change-Id: Ica3e9917d4d1a180f97700e52ab390e3673e1e82
* | | Change constant to PowerManager.RELEAES_FLAG_WAIT_FOR_NO_PROXIMITYMichael Wright2014-09-121-4/+5
| |/ |/| | | | | | | Bug: 17290118 Change-Id: Iae3866bf3f7ac24f756ec4c183e848a79d1f779b
* | Merge "Add flag to JobParameters for job expired" into lmp-devMatthew Williams2014-09-111-3/+8
|\ \
| * | Add flag to JobParameters for job expiredMatthew Williams2014-09-101-3/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | BUG: 17424511 Introduce an "isOverrideDeadlineExpired" which will allow clients to know when they are being run due to an expiry. Nb that we check deadline expiry by checking that the constraints on the job are not satisfied at execution time. Really this is the same thing, as a job will not be run without its constraints being met, unless the job has expired. Change-Id: I4b91e5b5eadccabd91296d5a5ca66b859dbfaf5c