summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove flaky MonitorTest#testInterrupt from continuous, and attempt to makeBrett Chabot2009-08-053-68/+139
| | | | | | AutoCompletePopup tests more reliable. Bugs 2036517 and 1636810.
* Change browser reliability test to start a new activity for each urlGuang Zhu2009-08-032-5/+12
|
* DO NOT MERGEGrace Kloba2009-08-031-1/+4
| | | | Fix the build, which has been also fixed separately in the master
* Fix #2018814: System cannot correctly render assets with "wrap_content" ↵Dianne Hackborn2009-07-2910-0/+110
| | | | | | | | | | | | | attribute in QVGA It turns out we were not returning the density for anything retrieved from a TypedArray... which basically means any bitmap references from a layout or style...!!! This is now fixed. Also fiddle with the density compatibility mode to turn on smoothing in certain situations, helping the look of things when they need to scale and we couldn't do the scaling at load time.
* Merge change 8966 into donutAndroid (Google) Code Review2009-07-291-2/+114
|\ | | | | | | | | * changes: Add tests for android.net.vpn.
| * Add tests for android.net.vpn.Hung-ying Tyan2009-07-291-2/+114
| |
* | Merge change 8208 into donutAndroid (Google) Code Review2009-07-291-11/+0
|\ \ | |/ |/| | | | | * changes: Removing MD2
| * Removing MD2Urs Grob2009-07-221-11/+0
| |
* | Remove visibility checks from SearchManager testsBjorn Bringert2009-07-261-55/+4
| | | | | | | | | | | | | | | | | | | | Since the search UI is handled by the system process, and the service calls to show and hide it are asynchronous, the tests that checked the visibility of the search UI were very flaky. This change sclaes the tests back to just check that nothing crashes when showing and hiding the search UI. Fixes http://b/issue?id=1993675
* | Allow for screen density drawables in compatibility mode.Dianne Hackborn2009-07-247-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows us to use drawables that match the current screen density even when being loaded in compatibility mode. In this case, the bitmap is loaded in the screen density, and the bitmap and nine-patch drawables take care of accounting for the density difference. This should be safe for existing applications, for the most part, since they shouldn't really be pulling the bitmap out of the drawable. For the small rare chance of them breaking, it worth getting the correct graphics. Also this will only happen when there is actually a resource of the matching density, and no existing apps should have resources for anything besides the default density (though of course all of the framework resources will be available in the native density). As part of this, the bitmap density API has been changed to a single integer provider the DPI unit density.
* | Merge change 8360 into donutAndroid (Google) Code Review2009-07-231-2/+4
|\ \ | | | | | | | | | | | | * changes: Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.
| * | Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection fromBrett Chabot2009-07-231-2/+4
| | | | | | | | | | | | medium continuus suite.
* | | Merge change 8227 into donutAndroid (Google) Code Review2009-07-221-0/+6
|\ \ \ | | | | | | | | | | | | | | | | * changes: Handle null in MatrixCursor.get*()
| * | | Handle null in MatrixCursor.get*()Bjorn Bringert2009-07-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, if a column contained null, MatrixCursor.getString() returned the string "null", and the get<Number>() methods threw exceptions. Now, getString() returns null, and get<Number>() return 0. Fixes http://b/issue?id=1996628
* | | | Simplify density compatibility to a boolean.Dianne Hackborn2009-07-221-4/+3
|/ / / | | | | | | | | | | | | | | | Instead of a list, we now just have a single boolean indicating whether an application is density aware, and this set set to true by default as of Donut.
* | | Merge change 8131 into donutAndroid (Google) Code Review2009-07-221-0/+1
|\ \ \ | |_|/ |/| | | | | | | | * changes: Fix android.core.FileTest#testFile: add sdcard write permission to test.
| * | Fix android.core.FileTest#testFile: add sdcard write permission to test.Brett Chabot2009-07-211-0/+1
| |/
* | First pass at reworking screen density/size APIs.Dianne Hackborn2009-07-2114-4/+157
|/ | | | | | | | This changes the names of the directories in aapt, to what you see in the list of DpiTest resources. Also adds a new "long" configuration for wide screens, which the platform sets appropriate, and introduces a new kind of resizeability for not large but significantly larger than normal screens which may have compatibility issues.
* Merge change 7959 into donutAndroid (Google) Code Review2009-07-201-0/+1
|\ | | | | | | | | * changes: Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
| * Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.Swarna Kumar2009-07-201-0/+1
| |
* | Fix the buildYu Shan Emily Lau2009-07-201-0/+1
| |
* | Added the vpn unit test template.Yu Shan Emily Lau2009-07-201-0/+45
|/
* Merge change 7840 into donutAndroid (Google) Code Review2009-07-192-4/+13
|\ | | | | | | | | * changes: Fix issue where scaled bitmap sizes could be wrong.
| * Fix issue where scaled bitmap sizes could be wrong.Dianne Hackborn2009-07-182-4/+13
| | | | | | | | | | | | | | The Bitmap functions to get the scaled width/height couldn't actually do the right thing because they didn't know the destination they would be drawing to. Now there are two forms of them, taking an explicit parameter specifying the destination.
* | Merge change 7783 into donutAndroid (Google) Code Review2009-07-177-3/+68
|\ \ | |/ | | | | | | * changes: Add "nodpi" density, and expose a bunch of density-related APIs.
| * Add "nodpi" density, and expose a bunch of density-related APIs.Dianne Hackborn2009-07-177-3/+68
| | | | | | | | | | Also update the DpiTest app to use nodpi images, and try to have a mode where it turns off compatibility though it's not quite working.
* | Add a delay before collecting memory informationGuang Zhu2009-07-171-0/+4
|/ | | | Hopefully this gives enough time for more memory recycling. Because it is observed that several seconds after a suite is run, the memory usage could drop by 1-2M.
* Merge change 7556 into donutAndroid (Google) Code Review2009-07-161-6/+10
|\ | | | | | | | | * changes: Temporarily suppress ServiceTest.
| * Temporarily suppress ServiceTest.Brett Chabot2009-07-161-6/+10
| | | | | | | | | | ServiceTest appears to be causing the whole android unit_tests suite to fail in the continuous system. Suppressing to stop the lab failure spam while continuing to investigate.
* | Merge change 7441 into donutAndroid (Google) Code Review2009-07-161-4/+58
|\ \ | |/ |/| | | | | * changes: Allow system colors in <font> tags
| * Allow system colors in <font> tagsBjorn Bringert2009-07-151-4/+58
| | | | | | | | Fixes http://b/issue?id=1970693
* | Update Searchables test with new GlobalSearch nameBjorn Bringert2009-07-151-2/+2
|/ | | | Fixes http://b/issue?id=1981558
* Add reporting of activity movement for search manager.Dianne Hackborn2009-07-141-2/+2
| | | | | | | | | | | | This adds a new API with the activity manager to find out about movement between activities. For my sanity, the old IActivityWatcher is now renamed to IActivityController, and the new activity movement interface is named IActivityWatcher. This changes the search manager itself to use the new API to manage its state. Note that there are still problems when going back to the search dialog after it was hidden -- the suggestions window no longer appears until you explicitly dismiss and re-show it.
* Fixed NPE bugs in Uri. Fixes internal issue #1724719.Bob Lee2009-07-101-0/+33
| | | | Modified getQueryParameter() to use the encoded query string. Fixes internal issue #1749094.
* Merge change 6801 into donutAndroid (Google) Code Review2009-07-102-1/+5
|\ | | | | | | | | * changes: Uri.EMPTY.toString() was returning null due to an initialization order bug. Fixes internal issue #1957015.
| * Uri.EMPTY.toString() was returning null due to an initialization order bug. ↵Bob Lee2009-07-102-1/+5
| | | | | | | | Fixes internal issue #1957015.
* | Call clearCache on WebView before collecting memory information.Guang Zhu2009-07-092-0/+5
|/
* Run search UI on its own thread.Bjorn Bringert2009-07-081-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Details: - Add a new SearchDialogWrapper class that makes sure all access to the SearchDialog is run one a single thread other than the main ServerThread. - Don't save/restore seach dialog state in Activity. This resulted in lots of calls to the SearchManager throughout the life cycle of all activities, for the questionable benefit of restoring the search dialog in a few cases. - Remove search UI state save/restore, and the isVisible() method from SearchManagerService. They are no longer used, and were tricky to implement since they return values from the search UI thread to the service. - Handle configuration changes in searchDialogWrapper instead of calling through from Activity. Fixes http://b/issue?id=1938101 TODO: - Activity.performPause() calls stopSearch(). This call may not happen until the new activity has been started. If the new activity starts a search immediately, this search could be cancelled by the old activity's call top stopSearch().
* Merge change 6396 into donutAndroid (Google) Code Review2009-07-071-0/+55
|\ | | | | | | | | * changes: Add unit test for NeighboringCellInfo.
| * Add unit test for NeighboringCellInfo.John Wang2009-07-071-0/+55
| | | | | | | | | | | | Add small unit test for NeighboringCellInfo in AndroidTests. The old telephony unit test directory, CoreTest/android, is marked as deprecated in AndroidTestHowto. new file: tests/AndroidTests/src/com/android/unit_tests/NeighboringCellInfoTest.java
* | Merge change 6415 into donutAndroid (Google) Code Review2009-07-071-0/+2
|\ \ | | | | | | | | | | | | * changes: Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
| * | Fixes #1748951. Calling setListSelection() explicitely should cancel the ↵Romain Guy2009-07-071-0/+2
| | | | | | | | | | | | selection hidden flag.
* | | Merge change 6326 into donutAndroid (Google) Code Review2009-07-071-8/+6
|\ \ \ | |/ / |/| | | | | | | | * changes: BackupManager wrapper class improvements
| * | BackupManager wrapper class improvementsChristopher Tate2009-07-071-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Now rechecks the cached IBinder each time the wrapper is used, and if it's still null (i.e. the BackupManager was constructed before the system service came up) it's refetched. This lets even system code cache a single BackupManager instance and just keep making calls through it without worrying about interactions with the life cycle of the backup service. + Added a static dataChanged(packageName) method as a convenience for code that needs to indicate that some other package needs a backup pass. This is useful even for third party code in the case of multiple packages in a shared-uid situation.
* | | septet-align UD after any UDH for GSM-7bit codingTammo Spalink2009-07-071-0/+15
|/ /
* | Merge change 5995 into donutAndroid (Google) Code Review2009-07-021-0/+1
|\ \ | | | | | | | | | | | | * changes: Turn off kerning when testing TextUtils.ellipsize().
| * | Turn off kerning when testing TextUtils.ellipsize().Eric Fischer2009-07-011-0/+1
| |/ | | | | | | | | | | | | | | Otherwise, the different text measurement methods produce slightly different results and cause the text to show different results for Spanned vs. non-Spanned source strings. Bug 1837826
* | Add tests. internal bug id 1868702.Daisuke Miyakawa2009-07-021-59/+73
|/
* Merge change 5806 into donutAndroid (Google) Code Review2009-06-301-43/+65
|\ | | | | | | | | * changes: Use additional functions to collect more memory information data points.
| * Use additional functions to collect more memory information data points.Guang Zhu2009-06-301-43/+65
| |