289 Commits

Author SHA1 Message Date
Joe Onorato
c3096829b7 am aae628b4: Test that we correctly back up an empty file.
Merge commit 'aae628b44518f0886a7f33b88c1131f47d853e70'

* commit 'aae628b44518f0886a7f33b88c1131f47d853e70':
  Test that we correctly back up an empty file.
2009-06-26 10:00:16 -07:00
Joe Onorato
aae628b445 Test that we correctly back up an empty file.
(It turns out that we do.  It didn't used to work, I'm not
sure what changed)
2009-06-26 12:57:45 -04:00
Joe Onorato
0da0ee6f5f am 4a64bded: Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done.
Merge commit '4a64bded06a0299785c295a975e2818308eb53e2'

* commit '4a64bded06a0299785c295a975e2818308eb53e2':
  Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done.
2009-06-25 20:56:00 -07:00
Joe Onorato
4a64bded06 Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done. 2009-06-25 23:53:29 -04:00
Android (Google) Code Review
2df7c15aa0 am b505ae41: Merge change 5459 into donut
Merge commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08'

* commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08':
  Make the BackupHelperDispatcher properly handle multiple helpers.
2009-06-25 18:06:01 -07:00
Joe Onorato
4ababd922e Make the BackupHelperDispatcher properly handle multiple helpers. 2009-06-25 20:36:09 -04:00
Android (Google) Code Review
458134509d am 864ef233: Merge change 4878 into donut
Merge commit '864ef2337554cd0ca4166873bc8145d21ccf2286'

* commit '864ef2337554cd0ca4166873bc8145d21ccf2286':
  Add smalltest annotation to HardwareServicePermissionTest.
2009-06-23 13:08:15 -07:00
Android (Google) Code Review
864ef23375 Merge change 4878 into donut
* changes:
  Add smalltest annotation to HardwareServicePermissionTest.
2009-06-23 09:52:21 -07:00
Android (Google) Code Review
3edc89fc57 am 54f156c7: Merge change 5006 into donut
Merge commit '54f156c7c47bd5b5f2c9675f56bddaaa43ad162e'

* commit '54f156c7c47bd5b5f2c9675f56bddaaa43ad162e':
  Pass the originating app's versionCode along with a restore set
2009-06-22 19:47:24 -07:00
Christopher Tate
5cbbf5652a Pass the originating app's versionCode along with a restore set
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.
2009-06-22 16:44:51 -07:00
Android (Google) Code Review
4527acb0c3 am 856dd8a6: Merge change 4952 into donut
Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60'

* commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60':
  Helper API cleanup.  Allows multiple helpers to function,
2009-06-22 13:20:31 -07:00
Joe Onorato
06290a4bb9 Helper API cleanup. Allows multiple helpers to function,
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
2009-06-22 13:02:24 -07:00
Android (Google) Code Review
f3e9d06e67 Merge change 4922
* changes:
  Enable storage tests in Dump Render Tree so we can run Database and DOM Storage layout tests.
2009-06-22 10:41:52 -07:00
Bjorn Bringert
d85e0bfaac am eed76b2a: Remove test for SearchManager activity context restriction.
Merge commit 'eed76b2a8ddc41af01cd3ae87c4722f3784c975c'

* commit 'eed76b2a8ddc41af01cd3ae87c4722f3784c975c':
  Remove test for SearchManager activity context restriction.
2009-06-22 09:56:43 -07:00
Ben Murdoch
e6f3e45dc4 Enable storage tests in Dump Render Tree so we can run Database and DOM Storage layout tests. 2009-06-22 16:40:29 +01:00
Bjorn Bringert
eed76b2a8d Remove test for SearchManager activity context restriction.
This restriction was removed in https://android-git.corp.google.com/g/4908
see http://b/issue?id=1926254
2009-06-22 16:10:41 +01:00
Android (Google) Code Review
2b31fec39c am 2c10b5f4: Merge change 4914 into donut
Merge commit '2c10b5f483f832523305c11d44035fc7f5d9a54b'

* commit '2c10b5f483f832523305c11d44035fc7f5d9a54b':
  Make all static methods in SearchManager non-static.
2009-06-22 07:26:36 -07:00
Bjorn Bringert
8d15382378 Make all static methods in SearchManager non-static.
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.
2009-06-22 13:51:48 +01:00
Brett Chabot
8b85a8afea Add smalltest annotation to HardwareServicePermissionTest. 2009-06-19 18:13:50 -07:00
Android (Google) Code Review
aba6af9277 am 79ac8770: Merge change 4834 into donut
Merge commit '79ac87704d2e38afb06356704e4b52c739237f40'

* commit '79ac87704d2e38afb06356704e4b52c739237f40':
  Fix a bug where wrong variable was used for comparison.
2009-06-19 17:25:55 -07:00
Android (Google) Code Review
79ac87704d Merge change 4834 into donut
* changes:
  Fix a bug where wrong variable was used for comparison.
2009-06-19 17:24:32 -07:00
Android (Google) Code Review
5e492b4b00 am b92f7040: Merge change 4847 into donut
Merge commit 'b92f7040e8294151fd915fd649bf7942a8b67463'

* commit 'b92f7040e8294151fd915fd649bf7942a8b67463':
  Add permission tests for IHardwareService.
2009-06-19 17:14:09 -07:00
Brett Chabot
3648090733 Add permission tests for IHardwareService. 2009-06-19 16:19:30 -07:00
Guang Zhu
595fbd6ea2 Fix a bug where wrong variable was used for comparison. 2009-06-19 15:40:01 -07:00
Suchi Amalapurapu
c73e9ad55a am bc806f65: Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.
Merge commit 'bc806f65edc33f6eda0f475ac84e5e037a013a90'

* commit 'bc806f65edc33f6eda0f475ac84e5e037a013a90':
  Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.
2009-06-19 10:38:45 -07:00
Suchi Amalapurapu
bc806f65ed Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage. 2009-06-19 10:25:37 -07:00
Android (Google) Code Review
1c14776a13 am 16ce3504: Merge change 4708 into donut
Merge commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9'

* commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9':
  Make RestoreHelper and friends also write out the snapshot state.
2009-06-18 19:04:50 -07:00
Joe Onorato
d2d9ceb730 Make RestoreHelper and friends also write out the snapshot state. 2009-06-18 18:41:11 -07:00
Joe Onorato
72dcea1eed am 83248c43: backup fixes:
Merge commit '83248c432ffe2e2a17abbc8e4960c26574b46bca'

* commit '83248c432ffe2e2a17abbc8e4960c26574b46bca':
  backup fixes:
2009-06-17 21:49:50 -07:00
Android (Google) Code Review
6f8b5c12d3 am de72697b: Merge change 4524 into donut
Merge commit 'de72697b771d33738c5f9d6c28087504e0796622'

* commit 'de72697b771d33738c5f9d6c28087504e0796622':
  FileRestoreHelper and RestoreHelperDispatcher work.
2009-06-17 21:49:21 -07:00
Android (Google) Code Review
e2dc20c274 am 826a54dd: Merge change 4489 into donut
Merge commit '826a54dd74317f87d4afa8c0f1fc3491a69169ff'

* commit '826a54dd74317f87d4afa8c0f1fc3491a69169ff':
  Add SmsManager permission test.
2009-06-17 18:45:58 -07:00
Joe Onorato
83248c432f backup fixes:
- BackupTestAgent calls the DispatchHelper
- Make BackupAgent.onRestore take a BackupDataInput, not just a
  generic ParcelFileDescriptor.
2009-06-17 17:57:30 -07:00
Android (Google) Code Review
de72697b77 Merge change 4524 into donut
* changes:
  FileRestoreHelper and RestoreHelperDispatcher work.
2009-06-17 16:34:41 -07:00
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