summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Pass the originating app's versionCode along with a restore setChristopher Tate2009-06-221-1/+2
| | | | | | | | | | | | | | This change amends the doRestore() / onRestore() interface to backup agents to provide the integer android:versionCode of the app that stored the backup set. This should help agents figure out how to handle whatever historical data set they're handed at restore time.
* | Helper API cleanup. Allows multiple helpers to function,Joe Onorato2009-06-222-45/+11
| | | | | | | | | | because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
* | Remove test for SearchManager activity context restriction.Bjorn Bringert2009-06-221-20/+0
| | | | | | | | | | This restriction was removed in https://android-git.corp.google.com/g/4908 see http://b/issue?id=1926254
* | Make all static methods in SearchManager non-static.Bjorn Bringert2009-06-221-6/+8
|/ | | | | | | They were only static because of a now removed restriction that only activity contexts could instantiate SearchManager. This only changes hidden APIs, but all users of the changed methods must be updated to use them non-statically before this is submitted.
* Merge change 4834 into donutAndroid (Google) Code Review2009-06-191-1/+1
|\ | | | | | | | | * changes: Fix a bug where wrong variable was used for comparison.
| * Fix a bug where wrong variable was used for comparison.Guang Zhu2009-06-191-1/+1
| |
* | Add permission tests for IHardwareService.Brett Chabot2009-06-191-0/+134
|/
* Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.Suchi Amalapurapu2009-06-191-1/+1
|
* Make RestoreHelper and friends also write out the snapshot state.Joe Onorato2009-06-182-2/+7
|
* backup fixes:Joe Onorato2009-06-172-7/+23
| | | | | | - BackupTestAgent calls the DispatchHelper - Make BackupAgent.onRestore take a BackupDataInput, not just a generic ParcelFileDescriptor.
* Merge change 4524 into donutAndroid (Google) Code Review2009-06-171-3/+57
|\ | | | | | | | | * changes: FileRestoreHelper and RestoreHelperDispatcher work.
| * FileRestoreHelper and RestoreHelperDispatcher work.Joe Onorato2009-06-171-3/+57
| |
* | Merge change 4489 into donutAndroid (Google) Code Review2009-06-171-0/+85
|\ \ | |/ |/| | | | | * changes: Add SmsManager permission test.
| * Add SmsManager permission test.Brett Chabot2009-06-171-0/+85
| |
* | add feedback test with gsm7bit special case charactersTammo Spalink2009-06-171-0/+3
|/
* Merge change 4234 into donutAndroid (Google) Code Review2009-06-153-0/+641
|\ | | | | | | | | * changes: Implement permission test for activity, window, service manager.
| * Implement permission test for activity, window, service manager.Dianne Hackborn2009-06-153-0/+641
| | | | | | | | | | | | This also includes some changes to the window manager permission checks. Almost all of these are to make it most testable (through an exception on a permission failure), though there is one permission check that needed to be added: updateOrientationFromAppTokens().
* | Merge change 4224 into donutAndroid (Google) Code Review2009-06-152-13/+54
|\ \ | | | | | | | | | | | | * changes: Add test for GServices write permission, and remove dummy placeholder framework permission test.
| * | Add test for GServices write permission, and remove dummy placeholder ↵Brett Chabot2009-06-152-13/+54
| | | | | | | | | | | | framework permission test.
* | | More tests to check permissions in PackageManager api's are enforcedSuchi Amalapurapu2009-06-151-8/+100
|/ /