summaryrefslogtreecommitdiffstats
path: root/core/tests/hosttests
Commit message (Collapse)AuthorAgeFilesLines
* fix broken user build: do not throw an error when in user flavor.Tsu Chiang Chuang2012-09-201-3/+1
| | | | Change-Id: I43d210f1b342707acbdb79f9ef6c924b43684dd3
* Change the way how airplane mode is set, since it has been moved toTsu Chiang Chuang2012-09-203-3/+12
| | | | | | | Settings.Global namespace. Also run as a system app, since only system apps can change airplane mode. Change-Id: I317f9c94361cfca182356fd292e5b0b41553d1ab
* Clean up host tests that have been moved to TF.Tsu Chiang Chuang2012-06-136-2640/+0
| | | | Change-Id: Iebadfc6aefeca18a944079a7e9115a3c53c211ce
* Migrate to shared MockWebServer.Jeff Sharkey2012-03-294-249/+4
| | | | | Bug: 4726601 Change-Id: Ibbe71b5785a64bd2883c46b83e721fba9a25afa2
* Fixing DownloadManager Test app.Neal Nguyen2011-09-082-6/+6
| | | | | | | The skip notification version of waitForDownloadOrTimeout wasn't actually skipping the DownloadManager notification check. Change-Id: Iee42d9c67e63c9dc45ef5aad8ada7d34c31eeb60
* fix downloadmanager tests. add few more. fix some. isolate flaky onesVasu Nori2010-12-163-3/+817
| | | | | | | | | | | | | | | | | | | | the following work frameworks/base/core/tests/coretests/src/android/app/DownloadManagerFunctionalTest.java ideally, most of the tests in this should be moved to cts testsuite. will require reformatting of comments and probably removal of one or two tests using hidden public API. packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/DownloadManagerFunctionalTest.java packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/PublicApiFunctionalTest.java packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ThreadingTest.java packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/PublicApiAccessTest.java packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/DownloadProviderPermissionsTest.java the following need work frameworks/base/core/tests/coretests/src/android/app/DownloadManagerStressTest.java some of these tests fail in a flaky way. they need work Change-Id: Ib64645005a8f5faa32e0b9a4c5cacfe6e6ae3063
* am 2202c8b9: am 06875afa: Merge "A little tweaking of DL Manager tests and ↵Neal Nguyen2010-10-291-4/+7
|\ | | | | | | | | | | | | adding better debugging output." into gingerbread * commit '2202c8b9f25c74e2b7f87090f9963683744b573e': A little tweaking of DL Manager tests and adding better debugging output.
| * am 06875afa: Merge "A little tweaking of DL Manager tests and adding better ↵Neal Nguyen2010-10-291-4/+7
| |\ | | | | | | | | | | | | | | | | | | debugging output." into gingerbread * commit '06875afad6101892a735f79aeb2c7bdbb58c26fa': A little tweaking of DL Manager tests and adding better debugging output.
| | * A little tweaking of DL Manager tests and adding better debugging output.Neal Nguyen2010-10-291-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding more detail to the output logging to help track down issues, fixing some download completed notification counter flakiness and making reboot test more robust, and reducing the number of concurrent downloads in testMultipleDownloads() to 10. After talking with Vasu, this is probably more appropriate as it is closer to typical usage scenarios, and as a side effect should trim some time from the test runs. Large numbers of downloads will be left for stress testing. Change-Id: Ie337cfe9b8d27299d70553e39c60e241ff3afe66
| * | am 5bdb89d7: Merge "Move DownloadManager to android.app (DO NOT MERGE)" into ↵Steve Howard2010-09-282-5/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '5bdb89d7ac20d4d3e71660d7fe78002a63900399' into gingerbread-plus-aosp * commit '5bdb89d7ac20d4d3e71660d7fe78002a63900399': Move DownloadManager to android.app (DO NOT MERGE)
| | * Move DownloadManager to android.app (DO NOT MERGE)Steve Howard2010-09-272-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Changing package at hackbod's request. I'll merge this manually, as there's some additional master-only code that will be to be simultaneously changed. Change-Id: Ibb629ec1c31807fbee31e0193c6a941d04be0117
* | | Manual merge: Move DownloadManager to android.appSteve Howard2010-09-282-5/+5
| | | | | | | | | | | | | | | | | | Changing package at hackbod's request. Change-Id: I867017b6a9f4684d30c6c5bd1b07f9cabecddb9f
* | | am 8449490a: am 4f564cde: Tweaks to download manager API based on API review ↵Steve Howard2010-09-231-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | feedback Merge commit '8449490a94fb5ab02be2a67d4b57c017d8abd75a' * commit '8449490a94fb5ab02be2a67d4b57c017d8abd75a': Tweaks to download manager API based on API review feedback
| * | am 4f564cde: Tweaks to download manager API based on API review feedbackSteve Howard2010-09-231-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '4f564cdeb8478f1a20263fc036c74cc4a63145c3' into gingerbread-plus-aosp * commit '4f564cdeb8478f1a20263fc036c74cc4a63145c3': Tweaks to download manager API based on API review feedback
| | * Tweaks to download manager API based on API review feedbackSteve Howard2010-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improved documentation of the default destination on the download cache and the concomitant consequences * removed NETWORK_WIMAX flag for setting allowed networks * changed request headers behavior to support multiple instances of the same header (as allowed in the HTTP spec), renamed setRequestHeader() to addRequestHeader() * accept user-facing strings as CharSequences instead of Strings * new convenience methods setDestinationInExternalFilesDir() and setDestinationInExternalPublicDir() for setting a destination in either shared or app-private external storage directories * renamed setMediaType() to setMimeType() Change-Id: I8781e2214d939c340209cab917bbbba264ab919c
| * | Fix buildBrett Chabot2010-09-211-1/+1
| | | | | | | | | | | | Change-Id: I2dc9acf6310e25f6862236b6e27b4df1e1a012ba
* | | cherry pick "Fix build" a227db53f0cd30214c393b400436d1e0863396ef into masterBrett Chabot2010-09-211-1/+1
| | | | | | | | | | | | Change-Id: I8db1a4b52d87e98efb07c6c1a2b22de7b7d5c297
* | | am abb45e67: am b9881e6b: Merge "Adding more DL Manager tests." into gingerbreadNeal Nguyen2010-09-213-9/+77
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'abb45e6720a035e909644941b8ef7f92faeb6f34' * commit 'abb45e6720a035e909644941b8ef7f92faeb6f34': Adding more DL Manager tests.
| * | am b9881e6b: Merge "Adding more DL Manager tests." into gingerbreadNeal Nguyen2010-09-213-9/+77
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'b9881e6b94607334673566493c904f6741087938' into gingerbread-plus-aosp * commit 'b9881e6b94607334673566493c904f6741087938': Adding more DL Manager tests.
| | * Adding more DL Manager tests.Neal Nguyen2010-09-203-9/+77
| | | | | | | | | | | | Change-Id: I87bf91fdd7dbd058c8d619200d2826ba5e7f76fb
* | | am 0194eeab: am 4940ff85: Update to new ddmlib-prebuilt api.Brett Chabot2010-09-101-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '0194eeabfe2cef825f3e91144529be6644ef84c0' * commit '0194eeabfe2cef825f3e91144529be6644ef84c0': Update to new ddmlib-prebuilt api.
| * | am 4940ff85: Update to new ddmlib-prebuilt api.Brett Chabot2010-09-101-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '4940ff85d561310d2c122ca6bd7de4d00772b095' into gingerbread-plus-aosp * commit '4940ff85d561310d2c122ca6bd7de4d00772b095': Update to new ddmlib-prebuilt api.
| | * | Update to new ddmlib-prebuilt api.Brett Chabot2010-09-091-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ib99f5eab2b4ecfde8461f93676f0dbd1f1b38241
* | | | am 0c592acf: Merge "Adding Download Manager Integration, stress, and ↵Neal Nguyen2010-09-086-8/+831
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | hosts-based tests." into gingerbread-plus-aosp Merge commit '0c592acfc0ea298a0cf6c049cce4c5c10974e911' * commit '0c592acfc0ea298a0cf6c049cce4c5c10974e911': Adding Download Manager Integration, stress, and hosts-based tests.
| * | | Adding Download Manager Integration, stress, and hosts-based tests.Neal Nguyen2010-09-086-8/+831
| | | | | | | | | | | | | | | | Change-Id: I97008f6cfd95ea9950db0b4e093da02528849b63
* | | | am 6ffee9bb: Merge "Revert "resolve conflicts"" into gingerbread-plus-aospJean-Baptiste Queru2010-09-086-838/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '6ffee9bbba53700d33456261b986ac8a3f333b9e' * commit '6ffee9bbba53700d33456261b986ac8a3f333b9e': Revert "resolve conflicts"
| * | | Revert "resolve conflicts"Jean-Baptiste Queru2010-09-086-838/+7
| | | | | | | | | | | | | | | | This reverts commit 84f992a249491b9f755e879bf096baac3f9472f5.
* | | | am 84f992a2: resolve conflictsJean-Baptiste Queru2010-09-086-7/+838
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '84f992a249491b9f755e879bf096baac3f9472f5' * commit '84f992a249491b9f755e879bf096baac3f9472f5': Adding Download Manager Integration, stress, and hosts-based tests.
| * | | resolve conflictsJean-Baptiste Queru2010-09-086-7/+838
| |\ \ \ | | |/ / | |/| / | | |/ Change-Id: I87f854430f7083cd2f2e28b4ec4a7112ef6fe4f1
| | * Adding Download Manager Integration, stress, and hosts-based tests.Neal Nguyen2010-09-076-5/+837
| | | | | | | | | | | | Change-Id: If75021380f4aee9c650f6e34093779e85cc4e5d8
* | | am 6487ade9: am 5f866a4a: Make FrameworkCoreHostTests use ddmlib-prebuilt.Brett Chabot2010-07-281-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '6487ade97ae4ad801681c866c846ed8862454ec4' * commit '6487ade97ae4ad801681c866c846ed8862454ec4': Make FrameworkCoreHostTests use ddmlib-prebuilt.
| * | Make FrameworkCoreHostTests use ddmlib-prebuilt.Brett Chabot2010-07-281-1/+1
| | | | | | | | | | | | Change-Id: Ib6d809353a89e33ed47a5659141ef18dc132cba6
* | | am f8c335e8: am f72181c6: Fix hosttests to use the new ddmlib API.Xavier Ducrohet2010-07-263-160/+529
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'f8c335e85a46887de6ca771ad76ff35c713ce0c4' * commit 'f8c335e85a46887de6ca771ad76ff35c713ce0c4': Fix hosttests to use the new ddmlib API.
| * | Fix hosttests to use the new ddmlib API.Xavier Ducrohet2010-07-263-160/+529
| | | | | | | | | | | | Change-Id: I629876c5baabc1cd8700604c4ebed13cc9e2168d
* | | am 8a13d4e3: am f5c73101: Merge "dependent change for "parse instrumentation ↵Jean-Baptiste Queru2010-07-231-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | result bundles" in sdk" Merge commit '8a13d4e3e5a175baddb7b8ca542d9d9941cf24a6' * commit '8a13d4e3e5a175baddb7b8ca542d9d9941cf24a6': dependent change for "parse instrumentation result bundles" in sdk
| * | dependent change for "parse instrumentation result bundles" in sdkGuang Zhu2010-07-121-1/+2
| |/ | | | | | | Change-Id: Ie3708d30620a703909829c32f5599816cc52b3f6
* | am 529ad92e: am bda001aa: am ad0830a1: am 639a7fc2: Merge "Propagating ↵Neal Nguyen2010-05-061-2/+2
|\ \ | |/ | | | | IOException from RemoteAndroidTestRunner#run() in PackageManagerHostTestUtils." into froyo
| * Propagating IOException from RemoteAndroidTestRunner#run() in ↵Neal Nguyen2010-05-061-2/+2
| | | | | | | | | | | | PackageManagerHostTestUtils. Change-Id: Ia50d58760b4cc1e222927be054c52cc3b2993395
* | Fix sim-eng build.Andy McFadden2010-05-061-1/+5
|/ | | | | | | Not sure how this would build anywhere -- checked exception was not checked. Apparently only sim-eng cares. Change-Id: I10bc7d0c41666fca55a7df60ef18517956097d9b
* Adding a few host-based stress tests for Apps on SD.Neal Nguyen2010-05-0536-32/+2485
| | | | Change-Id: I0ccb1f3574688f60b6296dac6f6859ba5d0597ea
* Refactoring PackageManagerHostTests helper functions into a utility class ↵Neal Nguyen2010-03-242-279/+393
| | | | | | for easier sharing with future stress tests. Change-Id: I4ec77b005e2f480687b13c92676c5f62962c2e66
* Adding some automated tests for apps on SD (and their corresponding apps).Neal Nguyen2010-03-2340-6/+1288
| | | | Change-Id: I3af1a2d8fb658087c6945b2eb2b4233becb6053f
* Add a host based test for package manager installs.Brett Chabot2010-02-177-0/+350
Bug 2430400