Android (Google) Code Review
2c5a3aeba3
Merge change 6326 into donut
...
* changes:
BackupManager wrapper class improvements
2009-07-07 11:52:01 -07:00
Christopher Tate
c8daa76925
BackupManager wrapper class improvements
...
+ 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.
2009-07-07 11:40:07 -07:00
Tammo Spalink
0fd833a50f
septet-align UD after any UDH for GSM-7bit coding
2009-07-07 14:17:28 +08:00
Android (Google) Code Review
d3de90f38d
Merge change 5995 into donut
...
* changes:
Turn off kerning when testing TextUtils.ellipsize().
2009-07-02 10:46:37 -07:00
Daisuke Miyakawa
40336782ea
Add tests. internal bug id 1868702.
2009-07-02 14:33:39 +09:00
Eric Fischer
1f0dac38df
Turn off kerning when testing TextUtils.ellipsize().
...
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
2009-07-01 18:04:23 -07:00
Android (Google) Code Review
b7d7d5f638
Merge change 5806 into donut
...
* changes:
Use additional functions to collect more memory information data points.
2009-06-30 13:20:44 -07:00
Guang Zhu
40656be658
Use additional functions to collect more memory information data points.
2009-06-30 11:56:13 -07:00
Android (Google) Code Review
0178afe415
Merge change 5485 into donut
...
* changes:
cdma sms is91 support
2009-06-29 19:22:11 -07:00
Android (Google) Code Review
8aadf7ae27
Merge change 5359 into donut
...
* changes:
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-06-29 19:22:05 -07:00
Android (Google) Code Review
53e083c90d
Merge change 5645 into donut
...
* changes:
Added a new operation mode where user can launch all tests under a folder from test app ui.
2009-06-29 15:44:19 -07:00
Guang Zhu
f92bd42a70
Added a new operation mode where user can launch all tests under a folder from test app ui.
2009-06-29 14:45:50 -07:00
Tammo Spalink
3a08cec99e
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
...
addresses http://buganizer/issue?id=1489784
2009-06-29 12:51:22 +08:00
Tammo Spalink
8203dc1bc8
cdma sms is91 support
2009-06-28 16:23:53 +08:00
Android (Google) Code Review
ae3522734e
Merge change 5192 into donut
...
* changes:
make BitwiseInputStream.read return int
2009-06-26 14:41:51 -07:00
Android (Google) Code Review
72eb0acad5
Merge change 5483 into donut
...
* changes:
Expand support for different screen sizes.
2009-06-26 13:46:07 -07:00
Dianne Hackborn
723738cfae
Expand support for different screen sizes.
...
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.
2009-06-26 13:37:05 -07:00
Joe Onorato
dc355a90a3
Add a test for SharedPreferencesBackupHelper
...
(which nobody had ever tested. I like it when stuff
just works the first time).
2009-06-26 14:45:25 -04: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
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
Joe Onorato
4ababd922e
Make the BackupHelperDispatcher properly handle multiple helpers.
2009-06-25 20:36:09 -04:00
Tammo Spalink
326c66d888
make BitwiseInputStream.read return int
...
Keep the maximum access 8 bits to avoid dealing with
endianness issues.
2009-06-24 14:42:33 +08: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
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
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
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
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
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
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
bc806f65ed
Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.
2009-06-19 10:25:37 -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
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
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
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
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
Suchi Amalapurapu
ea196fc50e
More tests to check permissions in PackageManager api's are enforced
2009-06-15 13:19:25 -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
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
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
d83d6606d6
Merge change 4106 into donut
...
* changes:
Adjust order of file/section list in output diff
2009-06-15 09:37:01 -07:00