summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
|/ /
* | Add tests to check permissions in PackageManager api'sSuchi Amalapurapu2009-06-151-0/+49
|/
* Merge change 4184 into donutAndroid (Google) Code Review2009-06-153-0/+60
|\ | | | | | | | | * changes: Add permission test structure for private framework permissions.
| * Add permission test structure for private framework permissions.Brett Chabot2009-06-153-0/+60
| |
* | Merge change 4182 into donutAndroid (Google) Code Review2009-06-151-4/+13
|\ \ | | | | | | | | | | | | * changes: Add more data to reliability test report, includes min, max, std, run data.
| * | Add more data to reliability test report, includes min, max, std, run data.Guang Zhu2009-06-151-4/+13
| | |
* | | Merge change 4106 into donutAndroid (Google) Code Review2009-06-151-18/+23
|\ \ \ | |/ / | | | | | | | | | * changes: Adjust order of file/section list in output diff
| * | Adjust order of file/section list in output diffGuang Zhu2009-06-121-18/+23
| | |
* | | Run search dialog in the system process.Bjorn Bringert2009-06-156-39/+312
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=1905863 This is needed to address two security issues with global search: http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch) http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents) This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener never gets called) To fix the security issues, GlobalSearch also needs to require a non-app permission to access its content provider and launch intents.
* | Add RestoreFileHelper, BackupDataInput, and add java wrappers for the ↵Joe Onorato2009-06-121-1/+2
|/ | | | methods on BackupDataOutput.
* Merge changes 3953,3954 into donutAndroid (Google) Code Review2009-06-111-0/+2
|\ | | | | | | | | | | * changes: Make the file backup helper not crash if a file you requested can't be stated. This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you. Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
| * Make the file backup helper not crash if a file you requestedJoe Onorato2009-06-111-0/+1
| | | | | | | | | | can't be stated. This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you.
| * Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.Joe Onorato2009-06-111-0/+1
| | | | | | | | This took quite a bit of refactoring.
* | Update control files (pass/fail/nontext/crash) to results from CRB45Guang Zhu2009-06-113-374/+4275
|/
* Merge change 3761 into donutAndroid (Google) Code Review2009-06-104-60/+148
|\ | | | | | | | | * changes: Added support to record page load time for each url.
| * Added support to record page load time for each url.Guang Zhu2009-06-104-60/+148
| |
* | In SearchablesTest, use the always available globalsearch.Satish Sampath2009-06-101-6/+6
|/ | | | The earlier used googlesearch package may not be available in some devices so switching to globalsearch which has searchable info relevant for this unit test.
* Removes gestures from ListView.Romain Guy2009-06-0814-1099/+0
|
* Changed logic to handle timeout pages.Guang Zhu2009-06-071-2/+5
|
* Fix broken Searchables unit tests.Satish Sampath2009-06-051-1/+34
| | | | The newly added code was using methods which were not overridden by the unit test, fixed now.
* Include web search providers in Searchables.Satish Sampath2009-06-051-1/+2
| | | | | | - Along with ACTION_SEARCH we now enumate ACTION_WEB_SEARCH as well so web search providers are covered in the searchables list. This fixes a broken unit test. - Moved get/setPreferredWebSearchActivity and get-all-web-search-providers implementation to this module when the searchables list gets updated, so that it happens on boot and on package add/remove events and remains up to date. The duplicate code in WebSearchProvider will be removed in a separate change. - Also made Searchables broadcast an intent when the searchables list got rebuilt, so components such as GlobalSearch/SuggestionSources no longer need to do this on their own.
* rename a few files to camel-case, add copyright noticesMathias Agopian2009-06-041-1/+17
|
* Added bugreport collecting mechanism in case of crashes.Guang Zhu2009-06-041-1/+31
|
* Skip empty lines in test url list.Guang Zhu2009-06-031-0/+3
|
* Adding missing callback onJsConfirm to dismiss any confirmation dialogsGuang Zhu2009-06-031-0/+6
|
* Added new parameter to enable a manual pause between pagesGuang Zhu2009-06-034-18/+43
|
* Handle EOF correctly in MemoryFile input stream.Bjorn Bringert2009-06-032-2/+70
| | | | | | | | | | | | | | | Before, the variants of MemoryFile.MemoryInputStream.read() would throw IOException or IndexOutOfBoundsException if EOF was encountered before the requested number of bytes was read. This violates the contract of InputStream.read(). This patch makes read() return the number of bytes available, if any. If already at EOF, -1 is returned. The patch also adds new tests, which checks cases where MemoryFile.MemoryInputStream.read() should throw IndexOutOfBoundsException or return -1. several of these tests failed with the old code and pass now. This fixes http://b/issue?id=1881894
* Allow creating AssetFileDescriptors for MemoryFiles.Bjorn Bringert2009-06-034-3/+349
| | | | | | | | | | | | This allows content providers to use in-memory data to implement ContentProvider.openAssetFile(), instead of just normal files and sockets as before. To test cross-process use of AssetFileDescriptors for MemoryFiles, a test content provider and a client for it are added to AndroidTests. Fixes http://b/issue?id=1871731
* Merge change 2967 into donutAndroid (Google) Code Review2009-06-022-8/+3
|\ | | | | | | | | * changes: Fixed issue where code for extracting scripts was eclipsed by runTest method.
| * Fixed issue where code for extracting scripts was eclipsed by runTest method.Guang Zhu2009-06-022-8/+3
| |
* | support more minor cdms sms bearer data subparametersTammo Spalink2009-06-021-17/+95
|/ | | | - also clean up CdmaSmsAddress