summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Bring back the fillAlpha and strokeAlpha.ztenghui2014-09-102-3/+6
|/ | | | | | | | | At the same time, remove the group alpha since we did not follow the convention that group's alpha should apply together, not separately to each elements. b/17393626 Change-Id: Idfc071414213583924961dc8ea760d6fb317873c
* Merge "Fix AppCompatibility test for different process name of one package." ↵wsmlby2014-09-101-0/+6
|\ | | | | | | into lmp-dev
| * Fix AppCompatibility test for different process name of one package.wsmlby2014-09-091-0/+6
| | | | | | | | Change-Id: Ic30e5ee81fe6ea82e88d2c5541dc9fa9eba71043
* | Merge "Remove deprecated (and now unused) API method." into lmp-devCraig Mautner2014-09-091-1/+1
|\ \
| * | Remove deprecated (and now unused) API method.Craig Mautner2014-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Removes ActivityOptions.makeLaunchTaskBehindAnimation(). Fixes bug 16958544. Change-Id: I2d58f4235994fe01d55b3309d0ec6f8449c5d5b8
* | | Add new wallpaper features for insets and offsets.Dianne Hackborn2014-09-0812-0/+831
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #17394151: WallpaperService / Engines need to get notified of WindowInsets Issue #17394203 Wallpapers need a system API to be shifted in order to support burn in protection Adds a new API on WallpaperManager to set additional offsets to make wallpapers extend beyond the display size. Insets are now reported to wallpapers, to use as they may. This includes information about the above offsets, so they can place their content within the visible area. And to help with this, also expose the stable offsets APIs in WindowInsets which is also very useful information for the wallpaper. Another new API on WallpaperManager to set a raw offset to apply to the wallpaper window, forcing it to move on the screen regardless of what the wallpaper is drawing. Fix wallpapers when used with overscan enabled, so they still extend out across the entire screen. Conveniently, the above new window insets information is very useful for this case as well! And a new wallpaper test app for all this stuff. Change-Id: I287ee36581283dd34607609fcd3170d99d120d8e
* | | Work on issue #17357238: Recents is often slow if not used in a whileDianne Hackborn2014-09-051-1/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new activity attribute, resumeWhilePausing, that allows an activity specifying it to immediately start running without waiting for the previous activity to pause. The recents activity is updated to use this. The implementation of this is ultimately fairly simple -- if we are in the path of resuming such an activity, and find that we first need to pause the existing activity, then within the activity manager we do the regular pause flow but act like it has immediately finished pausing right then so that we can immediately go on to the resume. To make this clean, we tell the activity when asking it to pause that it should not come back and tell us it is done, because we aren't in any way waiting for it. One potentially important change I needed to make here is the pause callback no longer provides the saved persistent state, because we now can't count on that callback happening. I don't think there was really any utility in this anyway -- all modern apps will have their save state flow happen as part of stopping, not pausing, so we'll only capture that saved state when the stop is reported back anyway. And since we do send the saved state back when stopping, it would always blow away whatever we had gotten at the pause. Finally, update the documentation for AppTask.startActivity(), and fix the implementation handling that to be cleaner -- we need to deal with inTask first before getting in to "oh noes add NEW_TASK if this isn't coming from a calling activity" flow. Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
* | Merge "Disable RT-anim for AnimatorSet" into lmp-devJohn Reck2014-09-061-3/+12
|\ \
| * | Disable RT-anim for AnimatorSetJohn Reck2014-09-051-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17317184 Unfortunately this will disable *all* RT animations in a scene, but we don't have more selective targetting currently Change-Id: I57e1c0ae43957f45229473bdcdaf34c05825fab7
* | | Merge "Camera2: Final API revisions" into lmp-devEino-Ville Talvala2014-09-052-11/+11
|\ \ \
| * | | Camera2: Final API revisionsEino-Ville Talvala2014-09-052-11/+11
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | - Rename listeners to callbacks. Listeners are single-method and are interfaces, while callbacks are abstract may get more methods in the future. - Use register/unregister for registering callbacks, not add/remove. Bug: 17389922 Change-Id: Ic6b46ad79cb43a43a85e2a4b63f059d3af99798b
* | | Merge "Minor tweaks to MediaBrowser" into lmp-devRoboErik2014-09-051-2/+2
|\ \ \
| * | | Minor tweaks to MediaBrowserRoboErik2014-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -A swapped the param order on MediaBrowser.MediaItem constructor -Added a missing aidl file for MediaItem bug:17205016 Change-Id: I61538d76f76a993ed5a47b881e0d291fef1d8db3
* | | | Merge "rename add/removeCallback to register/unregisterCallback" into lmp-devRoboErik2014-09-052-4/+4
|\ \ \ \ | |/ / /
| * | | rename add/removeCallback to register/unregisterCallbackRoboErik2014-09-052-4/+4
| | | | | | | | | | | | | | | | | | | | bug:17390821 Change-Id: Id610b481083686dba2a28b6c7c47b747f89eef4f
* | | | Merge "rename SERVICE_ACTION to SERVICE_INTERFACE" into lmp-devRoboErik2014-09-051-1/+1
|\ \ \ \ | |/ / /
| * | | rename SERVICE_ACTION to SERVICE_INTERFACERoboErik2014-09-041-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | For API consistency this intent is suppose to be named SERVICE_INTERFACE. bug:17390782 Change-Id: I4c3b1d8476dd6c939792f73615e92d7bfa6d5758
* | | Address API review comment:AlwaysOnHotwordDetectorDharmesh Mokani2014-09-041-1/+1
|/ / | | | | | | | | | | | | - Methods creating an Intent should be named createFooIntent Bug: 17389896 Change-Id: Icb9c9f9ca3a41fca09f79ff22b99988a1ded331f
* | Add Configuration changes to UsageStatsAdam Lesinski2014-09-044-31/+80
|/ | | | | Bug:17354208 Change-Id: I9b2f595e51b656607e30e798926cfb7e25134944
* Merge "Update MediaBrowser to use String ids instead of Uris" into lmp-devRoboErik2014-09-022-13/+13
|\
| * Update MediaBrowser to use String ids instead of UrisRoboErik2014-08-292-13/+13
| | | | | | | | | | | | | | | | | | Since we converted MediaDescription over to using a String media id for identifying everything we should also use Strings in the browser service to make it clear that it should re-use that field. bug:17333205 Change-Id: I5fd5762bdad05068f5b1aa36074306b43432e686
* | Make UsageStats API comply with API CouncilAdam Lesinski2014-08-291-8/+4
| | | | | | | | | | | | | | | | - Fix documentation to mention units of time in APIs. - Return a Map instead of an ArrayMap Bug:17289531 Change-Id: I0a2cfdc0bc003eeeb65a16e37bb7b991624b2853
* | Merge "Address API review comments" into lmp-devSandeep Siddhartha2014-08-291-2/+1
|\ \ | |/ |/|
| * Address API review commentsSandeep Siddhartha2014-08-271-2/+1
| | | | | | | | | | | | | | | | | | - Make Callback an abstract class - Split manage intents into 3 different methods - Remove RECOGNITION_FLAGS_NONE Bug: 17255602 Change-Id: I1329f889bb2ab35938f42d2ecfe755d2b17ec542
* | Fix test buildRoboErik2014-08-283-24/+22
| | | | | | | | | | | | | | Updates for MediaBrowser APIs. I missed some new demos that had been added which use these APIs. Change-Id: Ic42c9ba20a851c5b08c564cfc4de71bbe09ebdb9
* | Merge "Update to MediaBrowser APIs per council feedback" into lmp-devRoboErik2014-08-281-2/+3
|\ \
| * | Update to MediaBrowser APIs per council feedbackRoboErik2014-08-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Does all the updates in the bug except the loadIcon/loadBitmap methods, which are removed per feedback from Sharkey. bug:17205016 Change-Id: Ie84d4d25a59c6985ce16972c26c8d1e5c02ff5c9
* | | Merge "Fix issue #17289876: startActivityFromRecents appears to launch the ↵Dianne Hackborn2014-08-281-5/+1
|\ \ \ | |/ / |/| | | | | wrong task" into lmp-dev
| * | Fix issue #17289876: startActivityFromRecents appears to launch the wrong taskDianne Hackborn2014-08-281-5/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | It would be good to actually bring the task to the front. Also, make the flow when inTask is provided better match what happens when we go looking for a task on our own. And this includes another fix that was supposed to be part of a different change but I forgot this class is part of the framework project now. Change-Id: I3cf05f2e585c0fd7a0dbb7c7cf9fb1655764dd93
* | Merge "Animator stuff" into lmp-devJohn Reck2014-08-281-6/+0
|\ \
| * | Animator stuffJohn Reck2014-08-271-6/+0
| | | | | | | | | | | | | | | | | | Bug: 17228458 Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
* | | Merge "Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY" into ↵Michael Wright2014-08-281-4/+4
|\ \ \ | |_|/ |/| | | | | lmp-dev
| * | Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITYMichael Wright2014-08-271-4/+4
| |/ | | | | | | | | | | | | Also add docs to PowerManager.WakeLock#release(int) Bug: 17290118 Change-Id: Ibcbc4279efdd0f275808042356e6ff843958e23f
* | Add sample profiling option to am.Jeff Hao2014-08-262-2/+2
| | | | | | | | | | | | | | Also bundles all profiling options into a class. Bug: 17040932 Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
* | Merge "Split up ComponentName in UsageEvents.Event" into lmp-devAdam Lesinski2014-08-261-1/+1
|\ \
| * | Split up ComponentName in UsageEvents.EventAdam Lesinski2014-08-261-1/+1
| |/ | | | | | | | | | | | | | | Some events in the future may not have originated from a class, so we shouldn't be using ComponentName. Bug:17259858 Change-Id: Id7fe3245b91596cf27ae4ec51655602f01665622
* | Merge "Fix issue #16311398: Limit number of documents a process can open" ↵Dianne Hackborn2014-08-264-3/+173
|\ \ | | | | | | | | | into lmp-dev
| * | Fix issue #16311398: Limit number of documents a process can openDianne Hackborn2014-08-264-3/+173
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In application processes, monitor for when we start getting close to the Dalvik heap limit, and ask the activity manager to try to prune old activity instances in that case. Add an explicit API for apps to ask that they have their own activity instances cleaned up, if they want. Fix some bugs in launching activities that were not correctly applying the "multi task" behavior in the appropriate situations of document-centric recents. Clean up the activity manager's process removal code to all share a common path. Add a new "Spam" option to ActivityTests, which continually creates new tasks, checking that the activity manager will now prune old tasks rather than letting the app run out of RAM. And while I was was doing this, I found problems with the path for bringing an empty task to the foreground -- it could make a new task instead of re-starting the root activity in the existing task. This is fixed, and some code in the recents UI for working around the bug is removed. And as long as I am doing that, we now have nice hooks in to the activity manager for AppTask to give some APIs for better managing the task, so add those along with more tests for these APIs in ActivityTests. We should look at also having the activity manager try to prune old tasks when it sees app processes being killed, to better balance memory use across multiple processes when some processes may host many documents. That however is for another CL... Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9
* | Merge "Set text color for the output log." into lmp-devMohamad Ayyash2014-08-261-0/+2
|\ \ | |/ |/|
| * Set text color for the output log.Mohamad Ayyash2014-08-251-0/+2
| | | | | | | | | | | | In some devices the text color is the same as the background color. Change-Id: I215d381a427e3b3ed7e29d3078752d093318b53d
* | Merge "PM: Load all splits when parsing an app manifest" into lmp-devAdam Lesinski2014-08-251-0/+4
|\ \
| * | PM: Load all splits when parsing an app manifestAdam Lesinski2014-08-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the base APK would be considered without any splits loaded into the same AssetManager. This would prevent splits from overriding attributes in the AndroidManifest.xml, such as enabled state based on version, etc. This CL loads all APKs in the cluster into a common AssetManager from which the base AndroidManifest.xml is parsed. Bug:17006358 Change-Id: Ib88096c49d0c4f743b7e6ba0921251459bee107c
* | | Fix conversion of locale from BCP47 language tagSandeep Siddhartha2014-08-231-1/+1
| | | | | | | | | | | | | | | Bug: 17187528 Change-Id: Ifcf707c9be736885f3fc79f3c36087ecf9092971