summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * Check if the JS_ENGINE key exists as an environment variable before reading it.Ben Murdoch2010-03-111-1/+1
| | | | | | | | Change-Id: I274b23ea53ec0129ea3b52ff66322f7069338f53
* | Merge "Remove http/wml from the DumpRenderTree skipped list, as this ↵Steve Block2010-03-111-1/+0
|\ \ | |/ |/| | | directory no longer exists."
| * Remove http/wml from the DumpRenderTree skipped list, as this directory no ↵Steve Block2010-03-111-1/+0
| | | | | | | | | | | | longer exists. Change-Id: I7f97d68695ee1df45329749d8f08d44364bfef24
* | Dont include code size for apps on sdcard.Suchi Amalapurapu2010-03-101-3/+5
| | | | | | | | | | | | | | | | | | Use constants defined in PackageHelper for user preferences to install auto, internal, external. Set default install location to external. Update settings db version number Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6
* | Rename ApplicationInfo.FLAG_ON_SDCARD to ↵Suchi Amalapurapu2010-03-101-4/+4
|/ | | | | | | | ApplicationInfo.FLAG_EXTERNAL_STORAGE Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210 Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
* Merge "Add new shutdown observer for MountService. Use new observer before ↵Mike Lockwood2010-03-092-0/+258
|\ | | | | | | rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now."
| * Add new shutdown observer for MountService.Suchi Amalapurapu2010-03-092-0/+258
| | | | | | | | | | | | | | | | | | | | | | | | Use new observer before rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now. Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d
* | Add conditions to check for updated system applications. Restrict themSuchi Amalapurapu2010-03-091-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to internal flash only even before we copy. Return error codes when install flag options mismatch. Some conditions for existings apps - install flags override existing location - explicity manifest option install location overrides previous location - if upgraded package's install location is unspecified or auto, fall back to recommended install policy which considers user setting as well. Check for sdcard status before finding available size on sdcard Add light weight parsing for manifest attributes including package name and install location only Change-Id: I5143dda87c88c595f564b317326c926d0ec3ceb8
* | Removes from DumpRenderTree the superfluous result file for tests that time out.Steve Block2010-03-091-29/+15
|/ | | | | | | | This file is currently not used. Tests that time out are reported as failures. Also fixes naming in code for tests that have no text results. Change-Id: I6412db4dcf9884abdc80f5cff525ef9431bad001
* Removes regex tests from the DumpRenderTree skipped listSteve Block2010-03-091-3/+0
| | | | | | | | | It looks like these were previously exluded due to taking too long. However, they run in a reasonable time on passion. Also removes AppleScript from the skipped list, as this directory no longer exists. Change-Id: I98e3d0b3222dcd79287b15c512430341fab4f0f8
* Add shared workers tests to DumpRenderTree skipped listSteve Block2010-03-091-0/+18
| | | | Change-Id: I307bf718253ad3e340d3a95b1056523f37d150be
* Refactor android.backup => android.app.backupChristopher Tate2010-03-052-8/+8
| | | | Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
* AsecTests: Add a test to validate container sizeSan Mehat2010-03-041-12/+11
| | | | Signed-off-by: San Mehat <san@google.com>
* Merge "Removes some storage tests from the DumpRenderTree skipped lists, now ↵Steve Block2010-03-041-5/+0
|\ | | | | | | that Android-specific results are provided"
| * Removes some storage tests from the DumpRenderTree skipped lists, now that ↵Steve Block2010-03-031-5/+0
| | | | | | | | | | | | | | | | Android-specific results are provided See https://android-git.corp.google.com/g/#change,42763 Change-Id: I9929b73db0f6764bb06fbe963e751294a4a787f0
* | Rework the way PackageManager binds to default container service.Suchi Amalapurapu2010-03-031-4/+26
|/ | | | | | | | | | | | | Clean up stale containers when enabling/disabling packages on sdcard. Check the path of packages which are being enabled. Make sure gc's are done prior to destroying containers when moving applicati as well as enabling/disabling packages for sdcard mount status changes. Some miscellaneous issues Remove hack to avoid renaming containers. Fix test with forward locked apps Remove adding container id to asec list when renaming Some cosmetic changes to DefaultContainerService
* Fix Proguard flags.Ying Wang2010-03-022-0/+4
|
* Merge "Removes a Geolocation test from the DumpRenderTree skipped list"Steve Block2010-03-011-1/+0
|\
| * Removes a Geolocation test from the DumpRenderTree skipped listSteve Block2010-02-251-1/+0
| | | | | | | | | | | | We now have an Android-specific expected result for this test. Change-Id: I41919f01ac0fb6f07f0d650695462510f3a37d98
* | Merge "Adds to DumpRenderTree the ability to look for Android-specific results"Steve Block2010-03-013-14/+46
|\ \
| * | Adds to DumpRenderTree the ability to look for Android-specific resultsSteve Block2010-02-263-14/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These Android-specific results will be added to external/webkit/LayoutTests/platform/android-<js-engine> and are used in preference to the generic expected results. The JavaScript engine to use is read from the JS_ENGINE environment variable used by the build system or can be overridden on the command line. If neither is set, it defaults to JSC. Change-Id: Ia8d107ced3968a5c061fd6f0f57451419bab6b27
* | | Re-arrange android-common so framework no longer links with it.Dianne Hackborn2010-02-2510-1/+719
|/ / | | | | | | | | | | | | This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
* | Merge "Add HTML5 layout tests that currently fail to the DumpRenderTree ↵Steve Block2010-02-251-0/+24
|\ \ | |/ | | | | skipped list"
| * Add HTML5 layout tests that currently fail to the DumpRenderTree skipped listSteve Block2010-02-241-0/+24
| | | | | | | | | | | | | | | | All of these tests should pass on Android. This is a temporary measure to track all of these failures in a central place and to provide a consistent baseline for DumpRenderTree test results while the problems are fixed. Change-Id: I2cfaaa8df07be3b43c8e6517f75a7c438f147150
* | Add new handler mechanism in MountService to make unmount api asynchronous.Suchi Amalapurapu2010-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | MountService updates state on PackageManager and then tries to kill processes holding file references to media about to be unmounted by invoking api on ACtivityManager. This is retried upto 4 times to make sure all processes holding file references are killed before unmounting the media at specified path. Also changed PackageManger api to return boolean value to indicate if MountService is likely to receive broadcasts related to apps on sd.
* | AsecTests: Add teardown to testsSan Mehat2010-02-241-0/+8
|/ | | | Signed-off-by: San Mehat <san@google.com>
* Some framework fixes for apps on sdSuchi Amalapurapu2010-02-242-45/+152
| | | | | | | | | | | | change hard coded path in installd fix tests Work around for renaming containers. Do forced unmount when destroying containers. Force a gc in default container service to release handle to parsed package and thus avoid getting killed by vold Some cosmetic changes to PackageManager api. Unit tests for renaming container for MountService Remove internal size limit on app to be installed.
* Merge "LocationTracker: change copyright from Google to AOSP."Mike Lockwood2010-02-2415-15/+15
|\
| * LocationTracker: change copyright from Google to AOSP.Mike Lockwood2010-02-2415-15/+15
| | | | | | | | | | Change-Id: Id74bf74ac8eb372617136b4021853270d4bf5174 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | MountService: Fix bug which would allow apps to try to rename a container ↵San Mehat2010-02-241-2/+5
|/ | | | | | whos dst is mounted Signed-off-by: San Mehat <san@google.com>
* Issue 5697: getContextClassLoader returns a non-application classloaderBrian Carlstrom2010-02-231-0/+10
| | | | | | | | | | | | | | | | | | | | | ActivityThread should try to set the value for Java Thread.getContextClassLoader to the PathClassLoader that loaded the APK's classes so that Java frameworks that use the Java context class loader, which is not to be confused with the android.content.Context.getClassLoader which serves a similar purpose in the Android framework. However, we avoid setting the Java context ClassLoader to the APK's PathClassLoader if there is a static indication that multiple packages may share the VM, since they could load in an unpredictable order leading to different values for the thread local Java context ClassLoader. In this case, we instead use a specially created WarningContextClassLoader that warns the user the first time the Java context ClassLoader. Currently the static indications that a package might share a VM with other packages are the presence in the AndroidManifest of a sharedUserId or requesting a non-default application process name.
* Move LocationTracker from com.google.android to com.android package.Mike Lockwood2010-02-2312-21/+21
| | | | | Change-Id: I75757373e39669955d5f753a31a2a7b78d0b68ed Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge "Move LocationTracker test app from vendor/google to ↵Mike Lockwood2010-02-2217-0/+1809
|\ | | | | | | frameworks/base/tests"
| * Move LocationTracker test app from vendor/google to frameworks/base/testsMike Lockwood2010-02-2217-0/+1809
| | | | | | | | | | Change-Id: I49f1bfe2081f2c48fcb22b74aa2377857c2bae6d Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Quick fix layout test path problemsGuang Zhu2010-02-221-13/+2
|/ | | | SD card mount point has changed from /sdcard to /mnt/sdcard. layout test was calling getCanonicalPath to determine the path to the test case, which causes problem because /sdcard is now a symlink, and canonical path is actually the "real" path. Using quick dirty fix for now, will properly migrate any hard-coded reference to "/sdcard" to system function calls.
* In DumpRenderTree, skip tests for which we have the wrong resultsSteve Block2010-02-221-27/+29
| | | | | | Currently, the list of tests with incorrect results is not used. Change-Id: I5d3ab9bde6201c2574f08c7c87efa4873ee6fdd1
* Retry test-runner tests move.Brett Chabot2010-02-2031-2388/+0
| | | | | This time change the frameworks makefile so it only includes test-runner/src in the public API.
* Automatically restore app data at install timeChristopher Tate2010-02-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an application being installed defines a backupAgent in its manifest, we now automatically perform a restore of the latest-known-good data for that app. This is defined as "data backed up by this app from this handset, if available; otherwise data for this app as it existed when the device was initially provisioned." If neither option exists for the app, no restore action is taken. The CL involves major changes in the Backup and Package Managers... * The Package Manager's act of installing an application has now been split into two separate phases, with a data-restore phase optionally occurring between these two PM actions. First, the details of the install are performed as usual. Instead of immediately notifying install observers and issuing the install-related broadcasts, the in-process install state is snapshotted and the backup manager notified that a restore operation should be attempted. It does this by calling a new API on IBackupManager, passing a token by which it identifies its in-progress install state. The backup manager then downloads [if possible] the data for the newly-installed application and invokes the app's backupAgent to do the restore. After this step, regardless of failure, it then calls back into the Package Manager to indicate that the restore phase has been completed, supplying the token that was passed in the original notification from the Package Manager. The Package Manager then runs the final post-install actions: notifying install observers and sending out all the appropriate broadcasts. It's only at this point that the app becomes visible to the Launcher and the rest of the OS. ... and a few other bits and pieces... * The ApplicationInfo.backupAgentName field has been exposed to the SDK. This can be reverted if there's a reason to do so, but it wasn't clear that this info needs to be hidden from 3rd party apps. * Debug logging of restore set IDs and operation timeout tokens [used during any asynchronous Backup Manager operation] are now consistently in hex for readability. * We now properly reset our binder identity before calling into the transport during restore-set operations. This fixes a permissions failure when a single-app restore was attempted. * The 'BackupTest' test app is no longer lumped onto the system partition by default. Change-Id: If3addefb846791f327e2a221de97c8d5d20ee7b3
* Merge "Move package from internal to external and vice versa."Suchi Amalapurapu2010-02-196-6/+211
|\
| * Move package from internal to external and vice versa.Suchi Amalapurapu2010-02-196-6/+211
| |
* | Ignore TEMPLATE.html in LayoutTest directoriesSteve Block2010-02-191-0/+3
| | | | | | | | Change-Id: I5b1bbd915a569568db368d678a5cc32309fd7be5
* | Merge "Remove tests that no longer exist from the DumpRenderTree skipped list"Steve Block2010-02-191-21/+0
|\ \
| * | Remove tests that no longer exist from the DumpRenderTree skipped listSteve Block2010-02-191-21/+0
| | | | | | | | | | | | Change-Id: If927b40bc3aebdf73b6d23d6cda06cdf31479778
* | | Merge "Merges unused bug list with ignored result list in DumpRenderTree"Steve Block2010-02-191-39/+22
|\ \ \ | |/ /
| * | Merges unused bug list with ignored result list in DumpRenderTreeSteve Block2010-02-191-39/+22
| | |
* | | Revert "Move framework test-runner unit tests to be closer to their source."Brett Chabot2010-02-1931-0/+2388
| | | | | | | | | | | | This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
* | | Merge "Move framework test-runner unit tests to be closer to their source. ↵Brett Chabot2010-02-1931-2388/+0
|\ \ \ | |_|/ |/| | | | | Move the test-runner source into a separate src folder to accommodate the test move."
| * | Move framework test-runner unit tests to be closer to their source.Brett Chabot2010-02-1931-2388/+0
| |/ | | | | | | | | Move the test-runner source into a separate src folder to accommodate the test move.
* | Pass key modifier state to webcore for touch events and update DRT so it can ↵Ben Murdoch2010-02-193-7/+36
| | | | | | | | | | | | simulate them. Change-Id: Ic5aa8cb0376f6a3eecaa6340d57f28fa97f016bd
* | framework: tests: Clean up asec unit tests and add rename testsSan Mehat2010-02-181-72/+157
| | | | | | | | Signed-off-by: San Mehat <san@google.com>