456 Commits

Author SHA1 Message Date
Joe Onorato
efd0fab04b FileRestoreHelper and RestoreHelperDispatcher work. 2009-06-17 16:20:55 -07:00
Android (Google) Code Review
587c89e25b am 5c1c40d2: Merge change 4455 into donut
Merge commit '5c1c40d28cb4c0dc5efbdb6e9e695685044606e9'

* commit '5c1c40d28cb4c0dc5efbdb6e9e695685044606e9':
  add feedback test with gsm7bit special case characters
2009-06-17 15:38:39 -07:00
Android (Google) Code Review
826a54dd74 Merge change 4489 into donut
* changes:
  Add SmsManager permission test.
2009-06-17 12:51:17 -07:00
Brett Chabot
6cdd1c8a60 Add SmsManager permission test. 2009-06-17 11:29:45 -07:00
Tammo Spalink
0ff946e7b5 add feedback test with gsm7bit special case characters 2009-06-17 16:13:52 +08:00
Dianne Hackborn
a2aaa9e38f resolved conflicts for merge of 6edb3487 to master 2009-06-15 17:17:49 -07:00
Android (Google) Code Review
6edb3487be Merge change 4234 into donut
* changes:
  Implement permission test for activity, window, service manager.
2009-06-15 15:07:50 -07:00
Dianne Hackborn
cfaef699e1 Implement permission test for activity, window, service manager.
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().
2009-06-15 14:35:07 -07:00
Android (Google) Code Review
d15b96ad8c am acec4d67: Merge change 4224 into donut
Merge commit 'acec4d6741643a5f0bda0b6a4eeb033a963818dc'

* commit 'acec4d6741643a5f0bda0b6a4eeb033a963818dc':
  Add test for GServices write permission, and remove dummy placeholder framework permission test.
2009-06-15 14:23:02 -07:00
Android (Google) Code Review
acec4d6741 Merge change 4224 into donut
* changes:
  Add test for GServices write permission, and remove dummy placeholder framework permission test.
2009-06-15 14:20:53 -07:00
Brett Chabot
2f0d86cf2e Add test for GServices write permission, and remove dummy placeholder framework permission test. 2009-06-15 14:15:19 -07:00
Android (Google) Code Review
da0fad3b5d am 9908b3d8: Merge change 4209 into donut
Merge commit '9908b3d820f7574ef432f22d280c7f1f5065f67f'

* commit '9908b3d820f7574ef432f22d280c7f1f5065f67f':
  More tests to check permissions in PackageManager api's are enforced
2009-06-15 13:18:35 -07:00
Suchi Amalapurapu
ea196fc50e More tests to check permissions in PackageManager api's are enforced 2009-06-15 13:19:25 -07:00
Android (Google) Code Review
2aa636f198 am 2c723ee0: Merge change 4196 into donut
Merge commit '2c723ee0cc9db37b61f55e53ff739ca3fe9cbe8a'

* commit '2c723ee0cc9db37b61f55e53ff739ca3fe9cbe8a':
  Add tests to check permissions in PackageManager api's
2009-06-15 12:26:16 -07:00
Suchi Amalapurapu
9f2f87d92b Add tests to check permissions in PackageManager api's 2009-06-15 12:23:15 -07:00
Android (Google) Code Review
e3a6cf3eaa am 3adf7678: Merge change 4184 into donut
Merge commit '3adf7678cdf8fa955627e096bb5c27b94adc3079'

* commit '3adf7678cdf8fa955627e096bb5c27b94adc3079':
  Add permission test structure for private framework permissions.
  Add <keygen> support for VPN.
2009-06-15 11:39:39 -07:00
Android (Google) Code Review
3adf7678cd Merge change 4184 into donut
* changes:
  Add permission test structure for private framework permissions.
2009-06-15 10:48:28 -07:00
Brett Chabot
9faa04fd85 Add permission test structure for private framework permissions. 2009-06-15 10:43:40 -07:00
Android (Google) Code Review
42a28be209 am c2922687: Merge change 4182 into donut
Merge commit 'c2922687fa8f953cc1325a6416af5be43cb41fed'

* commit 'c2922687fa8f953cc1325a6416af5be43cb41fed':
  Add more data to reliability test report, includes min, max, std, run data.
2009-06-15 10:19:06 -07:00
Android (Google) Code Review
c2922687fa Merge change 4182 into donut
* changes:
  Add more data to reliability test report, includes min, max, std, run data.
2009-06-15 10:17:18 -07:00
Guang Zhu
0528cd03b2 Add more data to reliability test report, includes min, max, std, run data. 2009-06-15 10:13:58 -07:00
Android (Google) Code Review
933a386e63 am d83d6606: Merge change 4106 into donut
Merge commit 'd83d6606d62e27effc27be48d6050914deefe9eb'

* commit 'd83d6606d62e27effc27be48d6050914deefe9eb':
  Adjust order of file/section list in output diff
2009-06-15 09:38:34 -07:00
Android (Google) Code Review
d83d6606d6 Merge change 4106 into donut
* changes:
  Adjust order of file/section list in output diff
2009-06-15 09:37:01 -07:00
Android (Google) Code Review
a28547d03f am 0fb46683: Merge change 3880 into donut
Merge commit '0fb466836bb654524683152371ecc32142cdf5de'

* commit '0fb466836bb654524683152371ecc32142cdf5de':
  Run search dialog in the system process.
2009-06-15 02:09:25 -07:00
Bjorn Bringert
8d17f3f24b Run search dialog in the system process.
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.
2009-06-15 09:05:26 +01:00
Christopher Tate
daf701fa62 am 2fdd428e: Fix some backup reader/writer issues; make local transport do backup
Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2'

* commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2':
  Fix some backup reader/writer issues; make local transport do backup
  Fix the jni initializer.
  Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
  Fix bug #1812041: activity manager crash with bad args.
  Journal backup requests so that they won't be lost in a crash
  Fix data connection issues.
2009-06-14 21:13:03 -07:00
Joe Onorato
1cf587496f Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput. 2009-06-12 16:21:24 -07:00
Guang Zhu
903f311fdc Adjust order of file/section list in output diff 2009-06-12 15:03:45 -07:00
Android (Google) Code Review
bf85d63cb8 am 78f0f8cb: Merge changes 3953,3954 into donut
Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c'

* commit '78f0f8cb2efe9410127c39201e240f6d438eb53c':
  Make the file backup helper not crash if a file you requested
  Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
2009-06-12 08:26:05 -07:00
Android (Google) Code Review
3835736988 am f229aff1: Merge change 3967 into donut
Merge commit 'f229aff118dc53c3a06f0b4120d9ce22f4c2dd6e'

* commit 'f229aff118dc53c3a06f0b4120d9ce22f4c2dd6e':
  Update control files (pass/fail/nontext/crash) to results from CRB45
2009-06-12 08:25:35 -07:00
Android (Google) Code Review
78f0f8cb2e Merge changes 3953,3954 into donut
* 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.
2009-06-11 19:50:05 -07:00
Guang Zhu
261a195323 Update control files (pass/fail/nontext/crash) to results from CRB45 2009-06-11 15:42:23 -07:00
Joe Onorato
ce88cb15b5 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.
2009-06-11 14:51:45 -07:00
Joe Onorato
23ecae3bbb Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
This took quite a bit of refactoring.
2009-06-11 11:29:57 -07:00
Android (Google) Code Review
bf521a0f7d am 4a60b887: Merge change 3761 into donut
Merge commit '4a60b887d4b9744126e62b094a9597ee8e924640'

* commit '4a60b887d4b9744126e62b094a9597ee8e924640':
  Added support to record page load time for each url.
2009-06-10 15:33:08 -07:00
Android (Google) Code Review
4a60b887d4 Merge change 3761 into donut
* changes:
  Added support to record page load time for each url.
2009-06-10 15:03:06 -07:00
Guang Zhu
2ab6f1fe0b Added support to record page load time for each url. 2009-06-10 13:37:03 -07:00
Satish Sampath
bc0df8d6a8 am 174ad503: In SearchablesTest, use the always available globalsearch.
Merge commit '174ad503ee5b24721d7d632ba9c68b9cd0bd6dd6'

* commit '174ad503ee5b24721d7d632ba9c68b9cd0bd6dd6':
  In SearchablesTest, use the always available globalsearch.
2009-06-10 07:45:53 -07:00
Satish Sampath
174ad503ee In SearchablesTest, use the always available globalsearch.
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.
2009-06-10 12:06:46 +01:00
Romain Guy
3cfda9c225 am f642aa2a: Removes gestures from ListView.
Merge commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef'

* commit 'f642aa2a44e63aa105bbc6aec59f9bee261986ef':
  Removes gestures from ListView.
2009-06-08 23:50:30 -07:00
Romain Guy
f642aa2a44 Removes gestures from ListView. 2009-06-08 23:24:18 -07:00
Guang Zhu
c71f084ff9 am 7757656a: Changed logic to handle timeout pages.
Merge commit '7757656a11ba7050274c337fd2dc2f18f9e7806f'

* commit '7757656a11ba7050274c337fd2dc2f18f9e7806f':
  Changed logic to handle timeout pages.
2009-06-07 13:47:45 -07:00
Guang Zhu
7757656a11 Changed logic to handle timeout pages. 2009-06-07 13:12:20 -07:00
Satish Sampath
0d2037beb1 am 0e74aa0f: Fix broken Searchables unit tests.
Merge commit '0e74aa0f7ed90d46e0bdde02bf9b7b29c6b95bd8'

* commit '0e74aa0f7ed90d46e0bdde02bf9b7b29c6b95bd8':
  Fix broken Searchables unit tests.
2009-06-05 11:40:59 -07:00
Satish Sampath
5e23cbc660 am f9acde27: Include web search providers in Searchables.
Merge commit 'f9acde27486bcc6eea1092073f7b47c31749efd6'

* commit 'f9acde27486bcc6eea1092073f7b47c31749efd6':
  Include web search providers in Searchables.
2009-06-05 09:42:40 -07:00
Satish Sampath
0e74aa0f7e Fix broken Searchables unit tests.
The newly added code was using methods which were not overridden by the unit test, fixed now.
2009-06-05 15:40:49 +01:00
Satish Sampath
f9acde2748 Include web search providers in Searchables.
- 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.
2009-06-05 10:34:53 +01:00
Android (Google) Code Review
1b6aee1515 am 2a318867: Merge change 3203 into donut
Merge commit '2a3188672ab2b65c0ce7c9c598a463e382c47696'

* commit '2a3188672ab2b65c0ce7c9c598a463e382c47696':
  rename a few files to camel-case, add copyright notices
2009-06-04 22:44:18 -07:00
Android (Google) Code Review
2cd81b4419 am 85dfec8c: Merge change 3174 into donut
Merge commit '85dfec8c35d4e3216591bd2e534bbebd6338b969'

* commit '85dfec8c35d4e3216591bd2e534bbebd6338b969':
  Added bugreport collecting mechanism in case of crashes.
2009-06-04 22:42:45 -07:00
Mathias Agopian
8ae2335a3c rename a few files to camel-case, add copyright notices 2009-06-04 13:53:57 -07:00