summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Removing MD2Urs Grob2009-07-221-11/+0
|
* 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
| |
* | Merge change 5485 into donutAndroid (Google) Code Review2009-06-291-0/+13
|\ \ | | | | | | | | | | | | * changes: cdma sms is91 support
| * | cdma sms is91 supportTammo Spalink2009-06-281-0/+13
| | |
* | | Merge change 5359 into donutAndroid (Google) Code Review2009-06-291-0/+7
|\ \ \ | |_|/ |/| | | | | | | | * changes: fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
| * | fix potential string index problems in ↵Tammo Spalink2009-06-291-0/+7
| |/ | | | | | | | | | | PhoneNumberUtils.numberToCalledPartyBCDHelper addresses http://buganizer/issue?id=1489784
* | Merge change 5645 into donutAndroid (Google) Code Review2009-06-296-150/+288
|\ \ | |/ |/| | | | | * changes: Added a new operation mode where user can launch all tests under a folder from test app ui.
| * Added a new operation mode where user can launch all tests under a folder ↵Guang Zhu2009-06-296-150/+288
| | | | | | | | from test app ui.
* | Merge change 5192 into donutAndroid (Google) Code Review2009-06-262-8/+31
|\ \ | | | | | | | | | | | | * changes: make BitwiseInputStream.read return int
| * | make BitwiseInputStream.read return intTammo Spalink2009-06-242-8/+31
| | | | | | | | | | | | | | | Keep the maximum access 8 bits to avoid dealing with endianness issues.
* | | Merge change 5483 into donutAndroid (Google) Code Review2009-06-266-0/+79
|\ \ \ | | | | | | | | | | | | | | | | * changes: Expand support for different screen sizes.
| * | | Expand support for different screen sizes.Dianne Hackborn2009-06-266-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications can now declare that they support small, normal, or large screens. Resource selection can also be done based on these sizes. By default, pre-Donut apps are false for small and large, and Donut or later apps are assumed to support all sizes. In either case they can use <supports-screens> in their manifest to declare what they actually support.
* | | | Add a test for SharedPreferencesBackupHelperJoe Onorato2009-06-263-6/+20
|/ / / | | | | | | | | | | | | (which nobody had ever tested. I like it when stuff just works the first time).
* | | Test that we correctly back up an empty file.Joe Onorato2009-06-263-1/+4
| | | | | | | | | | | | | | | (It turns out that we do. It didn't used to work, I'm not sure what changed)
* | | Add some helpful tests scripts for backup and make bmgr restore wait until ↵Joe Onorato2009-06-253-1/+67
| | | | | | | | | | | | the backup is done.
* | | Make the BackupHelperDispatcher properly handle multiple helpers.Joe Onorato2009-06-251-0/+1
| |/ |/|
* | Merge change 4878 into donutAndroid (Google) Code Review2009-06-231-0/+2
|\ \ | |/ |/| | | | | * changes: Add smalltest annotation to HardwareServicePermissionTest.
| * Add smalltest annotation to HardwareServicePermissionTest.Brett Chabot2009-06-191-0/+2
| |