summaryrefslogtreecommitdiffstats
path: root/core/tests/hosttests
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling of LOCAL_JACK_ENABLEDYohann Roussel2015-02-236-25/+51
| | | | Change-Id: I5180aa6b685859b7855d0037f38178e906e21bd3
* Adapt to change of LOCAL_USE_JACK valuesYohann Roussel2015-02-056-8/+24
| | | | | | | Also remove depency to the dx main dex list when building with Jack. Change-Id: I13e45dc8406a6a71309d151bf1542b1296c17792
* Merge "Allow compilation with Jack."Yohann Roussel2014-12-0411-4/+54
|\
| * Allow compilation with Jack.Yohann Roussel2014-11-1311-4/+54
| | | | | | | | Change-Id: I03ccd6cd92102f03d1316b6a1184c49029c91ea0
* | Add tests about annotations and enum.Yohann Roussel2014-11-208-1/+198
|/ | | | | | | | For reproduction of https://code.google.com/p/android/issues/detail?id=78144 Bug: 18385117 Change-Id: I23be53a0ae481a501d13adc8abf518ac664a772f
* 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
* temporarily enable wifi verbose logging in download manager testGuang Zhu2014-09-142-4/+6
| | | | | | | | also temporarily compile against platfrom, not SDK, since we are using private API Bug: 17446070 Change-Id: I6da18aca2d5eaf305940514186ef2434e52f15b9
* add some assert messages to download manager testGuang Zhu2014-09-091-11/+11
| | | | Change-Id: If2e1bdd115eddeeb7bdebf0fab29a3756fee4ceb
* Add a test multiarch app.Narayan Kamath2014-07-113-0/+49
| | | | | | | Will be used in an upcoming change for PackageManagerService handling of multiArch APKs. Change-Id: I363a02ce7b91569bb86880cf511ab9fbfcf2665c
* Add test apps for shared uid package manager testMaxim Siniavine2014-07-0919-0/+894
| | | | Change-Id: I00c0db7a122774260d93d06212f4485210f86532
* Manually disable dexopt for multidex test apps.Yohann Roussel2014-06-307-0/+16
| | | | | | | Because at the moment, omitting to explicitly disable dexopt produces apks with no classes.dex inside. Change-Id: I44ffc6b013a7b119c7deb332cf60f4fe8a11068c
* Merge "A test application for Art bug 14256107"Yohann Roussel2014-05-2619-0/+650
|\
| * A test application for Art bug 14256107Yohann Roussel2014-05-2319-0/+650
| | | | | | | | Change-Id: I629e8d0f91af6a6aff5a6d3f0b584fc01ba4429e
* | Fix ANR in multidexlegacytestservices.Yohann Roussel2014-05-211-2/+7
|/ | | | | | | | Continuous testing showed that the test is flaky because of ANR caused by too long computation in onCreate(). So this change move computation in another thread to free the main thread. Change-Id: I2ecff3f3e659ff092dd4c7c230c35be4a5742c4b
* Test multidex and annotations access.Yohann Roussel2014-04-2515-4/+366
| | | | | | | This was able to reproduce a problem reported by GMM when they were listing annotations on classes used before MultiDex installation. See Bug 14233284 Change-Id: I828c92f0e382dc984b6462fab710f414138e7e02
* Merge "A stress test for concurent multidex extraction."Yohann Roussel2014-04-09106-0/+322572
|\
| * A stress test for concurent multidex extraction.Yohann Roussel2014-04-02106-0/+322572
| | | | | | | | Change-Id: Iab2427a8867a2a7a9a12e2557b2e970430fa6356
* | DownloadManager test will wait until certain progress, is madeMaxim Siniavine2014-04-032-19/+25
|/ | | | | | | | during download before moving to next stage of the test. Increase the timeout for waiting for download to complete. Change-Id: I61820a9525256f4f2e16571e1ac075d2f5268cae
* Add one test application for multidex.Yohann Roussel2014-03-2488-0/+321924
| | | | | | | This application is intended to be run by SupportMultidexHostTest. Change-Id: Icace956cd68e03735fd8c73f877d911f01098f54
* Fixes for download manager test.Maxim Siniavine2014-03-122-226/+200
| | | | | | | | | | | When checking that the download is in progress, check the number number of bytes downloaded as reported by download manager, rather than looking at the file size. When waiting for the download to complete rely on the received broadcast. Bug: 13326931 Change-Id: I4c2431dd71e17602e758bc482be185683040ea98
* Merge "Add support.multidex tests app for an update bug."Yohann Roussel2014-02-2621-0/+618
|\
| * Add support.multidex tests app for an update bug.Yohann Roussel2014-02-2621-0/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | The failing scenario is - install v1 - run - update to v2 - update to v3 - run last run was failing with initial multidex library versions because it's still running on v1 extracted secondary dex files. Change-Id: Id9811371fc70b0a4e9b49de913ee38d18699b21d
* | Using large file for download manager test.Maxim Siniavine2014-02-041-19/+16
|/ | | | | | | This should decrease the chance of the file being downloaded too quickly and confusing the test. Change-Id: I8f4debbb51798162493d6a8005e1aa142738dbd4
* Make download manager tests more reliable.Maxim Siniavine2013-04-091-6/+6
| | | | | | | | Use larger files in tests. Using small files fails because downloads complete too quickly. Using files that are too large fails because downloads take too long. Change-Id: I0786ece21e0acffa09dd8d85abf70ec4cde5e477
* 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"