OSDN Git Service
Joe Onorato [Fri, 19 Jun 2009 01:23:43 +0000 (18:23 -0700)]
backup stuff
Joe Onorato [Thu, 18 Jun 2009 20:11:18 +0000 (13:11 -0700)]
Make RestoreHelper and friends also write out the snapshot state.
Android (Google) Code Review [Fri, 19 Jun 2009 00:24:47 +0000 (17:24 -0700)]
Merge change 4694 into donut
* changes:
Make SettingsProviders SecurityException messages more verbose.
Android (Google) Code Review [Fri, 19 Jun 2009 00:05:19 +0000 (17:05 -0700)]
Merge change 4670 into donut
* changes:
Update RandomBlock to use RandomAccessFile. This helps prevent certain unusual conditions from corrupting the entropy file. (for example, if Android should happen to crash while a write is in progress)
Android (Google) Code Review [Fri, 19 Jun 2009 00:01:37 +0000 (17:01 -0700)]
Merge change 4669 into donut
* changes:
Fixes #
1922373. Resolves a case of keys collision in Resources' cache.
Android (Google) Code Review [Thu, 18 Jun 2009 23:15:47 +0000 (16:15 -0700)]
Merge change 4682 into donut
* changes:
Store the app signatures as part of the backup set
Android (Google) Code Review [Thu, 18 Jun 2009 22:42:00 +0000 (15:42 -0700)]
Merge change 4668 into donut
* changes:
Fix runtime restarts due to sending the wrong flags to dbus.
Android (Google) Code Review [Thu, 18 Jun 2009 22:41:34 +0000 (15:41 -0700)]
Merge change 4565 into donut
* changes:
Allow the qemu.sf.lcd_density property to override the value of ro.sf.lcd_density
David 'Digit' Turner [Thu, 18 Jun 2009 02:30:32 +0000 (04:30 +0200)]
Allow the qemu.sf.lcd_density property to override the value of ro.sf.lcd_density
ro.sf.lcd_density is usually defined in the build.prop file which is parsed by init
before anything else. Since its name begins with "ro.", this property is write-once
and cannot later be modified, e.g. in /system/etc/init.goldfish.sh.
In other words, you cannot use "emulator -prop ro.sf.lcd_density=<value>", since
it is impossible to override the value defined in build.prop
This patch modifies the system to recognize "qemu.sf.lcd_density" as an override
value, which can be set with "emulator -prop qemu.sf.lcd_density=<value>", forcing
a specific density.
A later patch will allow the emulator to automatically set this property depending
on AVD hardware configuration settings.
Android (Google) Code Review [Thu, 18 Jun 2009 22:07:00 +0000 (15:07 -0700)]
Merge change 4661 into donut
* changes:
Grouping under TextToSpeech.Engine the constants to be used by a TTS engine implementation or a settings application for default values, and data integrity check return codes.
Android (Google) Code Review [Thu, 18 Jun 2009 20:45:19 +0000 (13:45 -0700)]
Merge change 3874 into donut
* changes:
for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding
Android (Google) Code Review [Thu, 18 Jun 2009 19:20:50 +0000 (12:20 -0700)]
Merge change 4561 into donut
* changes:
Work around the Czech lack of abbreviated month names.
Android (Google) Code Review [Thu, 18 Jun 2009 19:06:59 +0000 (12:06 -0700)]
Merge change 4544 into donut
* changes:
Connect TabHost/TabWidget/FrameLayout in the layout editor.
Android (Google) Code Review [Thu, 18 Jun 2009 18:58:54 +0000 (11:58 -0700)]
Merge change 4521 into donut
* changes:
load entropy data at boot. Periodically write entropy data to disk.
Android (Google) Code Review [Thu, 18 Jun 2009 15:53:58 +0000 (08:53 -0700)]
Merge change 4529 into donut
* changes:
In the TTS service, read the default TTS settings from Settings.Secure.
Android (Google) Code Review [Thu, 18 Jun 2009 14:11:06 +0000 (07:11 -0700)]
Merge change 4535 into donut
* changes:
Add title to nested preference screens.
Android (Google) Code Review [Thu, 18 Jun 2009 04:40:20 +0000 (21:40 -0700)]
Merge change 4579 into donut
* changes:
Fix issue #
1924851
Android (Google) Code Review [Thu, 18 Jun 2009 02:31:36 +0000 (19:31 -0700)]
Merge change 4456 into donut
* changes:
Replace the stub GoogleTransport with callout to the GoogleTransportService (which lives in vendor/google). Use the Google transport by default. Also, fix a bug: Thread.run() != Thread.start()
Android (Google) Code Review [Thu, 18 Jun 2009 00:04:33 +0000 (17:04 -0700)]
Merge change 4532 into donut
* changes:
Fixes #
1924909. When restoring managed dialogs, do exactly the same thing as when showing a dialog.
Android (Google) Code Review [Thu, 18 Jun 2009 00:01:55 +0000 (17:01 -0700)]
Merge change 4539 into donut
* changes:
Fixes #
1925003. Make ListView honor the android:choiceMode XML attribute.
Android (Google) Code Review [Wed, 17 Jun 2009 23:34:41 +0000 (16:34 -0700)]
Merge change 4524 into donut
* changes:
FileRestoreHelper and RestoreHelperDispatcher work.
Joe Onorato [Wed, 17 Jun 2009 23:20:55 +0000 (16:20 -0700)]
FileRestoreHelper and RestoreHelperDispatcher work.
Android (Google) Code Review [Wed, 17 Jun 2009 22:41:51 +0000 (15:41 -0700)]
Merge change 4515 into donut
* changes:
Tell DBUS not to call _exit() if the DBUS connection disconnects.
Android (Google) Code Review [Wed, 17 Jun 2009 22:20:58 +0000 (15:20 -0700)]
Merge change 4411 into donut
* changes:
Squashed commit of the following:
Android (Google) Code Review [Wed, 17 Jun 2009 20:34:41 +0000 (13:34 -0700)]
Merge change 3936 into donut
* changes:
add exception message to ApplicationErrorReport
Android (Google) Code Review [Wed, 17 Jun 2009 19:51:17 +0000 (12:51 -0700)]
Merge change 4489 into donut
* changes:
Add SmsManager permission test.
Android (Google) Code Review [Wed, 17 Jun 2009 18:33:22 +0000 (11:33 -0700)]
Merge change 4129 into donut
* changes:
Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app Create a new public IntentSender class that can be used by PackageManager instead. This new class uses IIntentSender internally and can only be created by PendingIntent for now. Provide a new getIntentSender api in PendingIntent to create an instance of this class. Move IIntentSender and IIntentReceiver from android.app to android.content Change imports of IIntentSender and IIntentReceiver to reflect the new package name The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage once the older api(which has been deprecated) will be removed shortly.
Android (Google) Code Review [Wed, 17 Jun 2009 18:05:56 +0000 (11:05 -0700)]
Merge change 4486 into donut
* changes:
Fixes #
1107690. Updates javadoc for Intent.java, android:value -> android:name.
Android (Google) Code Review [Wed, 17 Jun 2009 17:58:47 +0000 (10:58 -0700)]
Merge change 4483 into donut
* changes:
Fixes #
1414069. Display recent activities with two lines of text.
Android (Google) Code Review [Wed, 17 Jun 2009 17:38:44 +0000 (10:38 -0700)]
Merge change 4438 into donut
* changes:
Fix many of the ANRs introduced by scheduling classes.
Android (Google) Code Review [Wed, 17 Jun 2009 17:36:43 +0000 (10:36 -0700)]
Merge change 4398 into donut
* changes:
Using Locale to specify language and country for a TTS language to load, rather than a String. Cleanup in doc for TextToSpeech, and addition of queue mode constants.
Android (Google) Code Review [Wed, 17 Jun 2009 13:34:48 +0000 (06:34 -0700)]
Merge change 4460 into donut
* changes:
Use the new keystore API in vpn service.
Android (Google) Code Review [Wed, 17 Jun 2009 08:15:08 +0000 (01:15 -0700)]
Merge change 4455 into donut
* changes:
add feedback test with gsm7bit special case characters
Android (Google) Code Review [Wed, 17 Jun 2009 07:58:19 +0000 (00:58 -0700)]
Merge change 4326 into donut
* changes:
Don't get location in search dialog.
Android (Google) Code Review [Wed, 17 Jun 2009 06:35:57 +0000 (23:35 -0700)]
Merge change 4337 into donut
* changes:
Change the keystore APIs.
Chung-yih Wang [Tue, 16 Jun 2009 17:29:21 +0000 (01:29 +0800)]
Change the keystore APIs.
1. simplify the keypair selection in UI.
2. add the user certificate and key into the keystore for keygen feature.
Joe Onorato [Tue, 16 Jun 2009 20:31:35 +0000 (16:31 -0400)]
checkpoint BackupDatAInput / RestoreHelper
Android (Google) Code Review [Tue, 16 Jun 2009 22:56:49 +0000 (15:56 -0700)]
Merge change 4402 into donut
* changes:
Fixes #
1899284 and #
1899287. Give applications more control over the gesture's path.
Android (Google) Code Review [Tue, 16 Jun 2009 22:04:37 +0000 (15:04 -0700)]
Merge change 4374 into donut
* changes:
Fixes a potential NPE in View.
Android (Google) Code Review [Tue, 16 Jun 2009 21:34:23 +0000 (14:34 -0700)]
Merge change 4389 into donut
* changes:
More bmgr work; fix clear-data signalling
Android (Google) Code Review [Tue, 16 Jun 2009 21:05:39 +0000 (14:05 -0700)]
Merge change 4251 into donut
* changes:
Updating TTS engine interface for setting the language based on language, country and variant codes coming from a java.util.Locale instance.
Jean-Michel Trivi [Mon, 15 Jun 2009 22:14:49 +0000 (15:14 -0700)]
Updating TTS engine interface for setting the language based on language, country and variant codes
coming from a java.util.Locale instance.
Android (Google) Code Review [Tue, 16 Jun 2009 20:14:09 +0000 (13:14 -0700)]
Merge change 4115 into donut
* changes:
* component can be null after destory? This was causing NPE in catch block, which hides the actual exception.
Android (Google) Code Review [Tue, 16 Jun 2009 17:28:11 +0000 (10:28 -0700)]
Merge change 2563 into donut
* changes:
Add PDP Reject causes.
Android (Google) Code Review [Tue, 16 Jun 2009 16:05:50 +0000 (09:05 -0700)]
Merge change 4329 into donut
* changes:
Change the first parameter of Keystore.generateKeyPair() to int.
Android (Google) Code Review [Tue, 16 Jun 2009 12:46:09 +0000 (05:46 -0700)]
Merge change 4324 into donut
* changes:
AudioService: Fix routing problem recently introduced in setRouting().
Android (Google) Code Review [Tue, 16 Jun 2009 10:02:02 +0000 (03:02 -0700)]
Merge change 4316 into donut
* changes:
Revert "dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash."
Chih-Chung Chang [Tue, 16 Jun 2009 09:15:04 +0000 (17:15 +0800)]
Enable more debug message to debug the Camera startPreview bug.
Android (Google) Code Review [Tue, 16 Jun 2009 09:16:53 +0000 (02:16 -0700)]
Merge change 4311 into donut
* changes:
Add keygen API to Keystore.
Android (Google) Code Review [Tue, 16 Jun 2009 04:55:01 +0000 (21:55 -0700)]
Merge change 4299 into donut
* changes:
Allow pre-Donut apps to use indirect Buffers in GL11 Pointer methods.
Jack Palevich [Tue, 16 Jun 2009 04:03:24 +0000 (21:03 -0700)]
Allow pre-Donut apps to use indirect Buffers in GL11 Pointer methods.
Apps targeting Donut and newer will throw an exception.
We use a heuristic to determine whether an app is pre-Donut or not:
We take the address space's __progname, and use that as the application's
package name. For simple applications this is correct.
Android (Google) Code Review [Tue, 16 Jun 2009 03:21:30 +0000 (20:21 -0700)]
Merge change 4023 into donut
* changes:
Fix IntentFilter constructor to properly process the action parameter.
Android (Google) Code Review [Tue, 16 Jun 2009 02:03:48 +0000 (19:03 -0700)]
Merge change 4287 into donut
* changes:
Sketch out a 'bmgr' command line tool
Android (Google) Code Review [Tue, 16 Jun 2009 00:10:16 +0000 (17:10 -0700)]
Merge change 4262 into donut
* changes:
Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders.
Android (Google) Code Review [Tue, 16 Jun 2009 00:06:24 +0000 (17:06 -0700)]
Merge change 4265 into donut
* changes:
process: Fix bug where if a thread exited while we were changing its control group, we'd bail out and report an exception. This situation is *not* an error.
Android (Google) Code Review [Tue, 16 Jun 2009 00:06:04 +0000 (17:06 -0700)]
Merge change 4264 into donut
* changes:
Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally reintroduced in an errant and clumsy git merge operation.
Android (Google) Code Review [Mon, 15 Jun 2009 23:33:54 +0000 (16:33 -0700)]
Merge change 4237 into donut
* changes:
Remove obsolete FOTA_UPDATE permission (which should never have been made public, and wouldn't be used by any third party applications, and no longer does anything regardless).
Android (Google) Code Review [Mon, 15 Jun 2009 23:06:11 +0000 (16:06 -0700)]
Merge change 4252 into donut
* changes:
Add more comment for EXTRA_APPEND_LOCATION
Android (Google) Code Review [Mon, 15 Jun 2009 22:50:18 +0000 (15:50 -0700)]
Merge change 4248 into donut
* changes:
Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
Android (Google) Code Review [Mon, 15 Jun 2009 22:34:30 +0000 (15:34 -0700)]
Merge change 4245 into donut
* changes:
Add the extra data definition for append location in the VIEW request to the Browser.
Android (Google) Code Review [Mon, 15 Jun 2009 22:23:20 +0000 (15:23 -0700)]
Merge change 4117 into donut
* changes:
Add a Gservices setting to have a "use location for better search".
Android (Google) Code Review [Mon, 15 Jun 2009 22:07:50 +0000 (15:07 -0700)]
Merge change 4234 into donut
* changes:
Implement permission test for activity, window, service manager.
Android (Google) Code Review [Mon, 15 Jun 2009 21:20:53 +0000 (14:20 -0700)]
Merge change 4224 into donut
* changes:
Add test for GServices write permission, and remove dummy placeholder framework permission test.
Android (Google) Code Review [Mon, 15 Jun 2009 20:16:35 +0000 (13:16 -0700)]
Merge change 4209 into donut
* changes:
More tests to check permissions in PackageManager api's are enforced
Android (Google) Code Review [Mon, 15 Jun 2009 19:24:11 +0000 (12:24 -0700)]
Merge change 4196 into donut
* changes:
Add tests to check permissions in PackageManager api's
Android (Google) Code Review [Mon, 15 Jun 2009 19:23:12 +0000 (12:23 -0700)]
Merge change 4198 into donut
* changes:
protect starting of search dialog behind 'dev.disablesearchdialog' system property.
Android (Google) Code Review [Mon, 15 Jun 2009 17:48:28 +0000 (10:48 -0700)]
Merge change 4184 into donut
* changes:
Add permission test structure for private framework permissions.
Android (Google) Code Review [Mon, 15 Jun 2009 17:42:20 +0000 (10:42 -0700)]
Merge change 4075 into donut
* changes:
Add <keygen> support for VPN.
Android (Google) Code Review [Mon, 15 Jun 2009 17:17:18 +0000 (10:17 -0700)]
Merge change 4182 into donut
* changes:
Add more data to reliability test report, includes min, max, std, run data.
Android (Google) Code Review [Mon, 15 Jun 2009 17:09:21 +0000 (10:09 -0700)]
Merge change 4119 into donut
* changes:
Use locale-appropriate formatting to display application sizes like "252KB".
Android (Google) Code Review [Mon, 15 Jun 2009 16:37:01 +0000 (09:37 -0700)]
Merge change 4106 into donut
* changes:
Adjust order of file/section list in output diff
Hung-ying Tyan [Mon, 15 Jun 2009 10:59:01 +0000 (18:59 +0800)]
Remove SingleServerProfile.
End of refactoring out SingleServerProfile.java.
Android (Google) Code Review [Mon, 15 Jun 2009 09:06:39 +0000 (02:06 -0700)]
Merge change 3880 into donut
* changes:
Run search dialog in the system process.
Android (Google) Code Review [Mon, 15 Jun 2009 06:41:33 +0000 (23:41 -0700)]
Merge change 4147 into donut
* changes:
On the way of refactoring out SingleServerProfile.java.
Hung-ying Tyan [Mon, 15 Jun 2009 03:30:11 +0000 (11:30 +0800)]
On the way of refactoring out SingleServerProfile.java.
+ Move mServerName from SingleServerProfile and VpnProfile.
+ Add mSavedUsername to VpnProfile.
+ Keep empty SingleServerProfile to not break the classes that use it.
+ Remove use of SingleServerProfile from VpnService.java.
Scott Main [Mon, 15 Jun 2009 03:45:27 +0000 (20:45 -0700)]
am
110b50ca: AI 149839: make the home page\'s announcement block expandable... primarily, this is to handle various lengths of text due to translations, but also allows us to be more flexible WRT the content for the top section.
Merge commit '
110b50ca5158f75abdead740f0956600da2f212d' into donut
* commit '
110b50ca5158f75abdead740f0956600da2f212d':
AI 149839: make the home page's announcement block expandable...
Android (Google) Code Review [Sat, 13 Jun 2009 02:00:22 +0000 (19:00 -0700)]
Merge change 4131 into donut
* changes:
Fix the jni initializer.
Android (Google) Code Review [Sat, 13 Jun 2009 01:03:11 +0000 (18:03 -0700)]
Merge change 4112 into donut
* changes:
Fix bug #
1812041: activity manager crash with bad args.
Android (Google) Code Review [Fri, 12 Jun 2009 23:22:55 +0000 (16:22 -0700)]
Merge change 4085 into donut
* changes:
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
Joe Onorato [Fri, 12 Jun 2009 18:06:24 +0000 (11:06 -0700)]
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
Android (Google) Code Review [Fri, 12 Jun 2009 22:19:50 +0000 (15:19 -0700)]
Merge change 4104 into donut
* changes:
Journal backup requests so that they won't be lost in a crash
Android (Google) Code Review [Fri, 12 Jun 2009 20:46:00 +0000 (13:46 -0700)]
Merge change 4080 into donut
* changes:
Fix data connection issues.
Android (Google) Code Review [Fri, 12 Jun 2009 18:10:56 +0000 (11:10 -0700)]
Merge change 4017 into donut
* changes:
Make the date format preference work again.
Ramanan Rajeswaran [Fri, 12 Jun 2009 16:49:16 +0000 (09:49 -0700)]
resolved conflicts for merge of
a798dd86 to donut
Android (Google) Code Review [Fri, 12 Jun 2009 15:33:59 +0000 (08:33 -0700)]
Merge change 4047 into donut
* changes:
Fix issue #899198 MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly
Android (Google) Code Review [Fri, 12 Jun 2009 15:32:09 +0000 (08:32 -0700)]
Merge change 3981 into donut
* changes:
Removed trailing whitespaces.
Android (Google) Code Review [Fri, 12 Jun 2009 12:33:40 +0000 (05:33 -0700)]
Merge change 3424 into donut
* changes:
Add the VPN services package, VPN service base classes and L2tpIpsecService.
Hung-ying Tyan [Mon, 8 Jun 2009 05:27:11 +0000 (13:27 +0800)]
Add the VPN services package, VPN service base classes and L2tpIpsecService.
Also add android.security.Keystore. This is a quick solution. Will be
evolved to a more mature implementation.
PATCH SET 2:
+ Add VpnServiceBinder to hide VpnService and its subclasses.
+ Add sendCommand2() to AndroidServiceProxy to work with the latest mtpd.
PATCH SET 3:
+ Rebase to catch up with new commits; no changes made.
PATCH SET 4:
+ Remove/comment out @Override on interface methods to be compilable for Java 1.5.
PATCH SET 5:
+ Add L2tpService.java.
+ Make VpnService to work on SingleServerProfile; add serverIp to
connect(); set system property "net.vpn.server_ip"; and move
getPppOptionFilePath() from L2tpIpsecService to VpnService
+ Revise VpnManager to start VpnService without worrying about which
type (as the type info is in VpnProfile)
+ Remove installation stuff from VpnManager
PATCH SET 6:
+ Fix PATCH SET 5 (the patch was messed up). Please ignore PATCH SET 5.
PATCH SET 7:
+ Fix styles.
PATCH SET 8:
+ Add CANCELLED to VpnState.
PATCH SET 9:
+ Make VpnProfile serializable (in order to save them to persistent storage)
PATCH SET 10:
+ Remove Keystore.java as it's added in another CL.
Android (Google) Code Review [Fri, 12 Jun 2009 02:50:05 +0000 (19:50 -0700)]
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.
Android (Google) Code Review [Fri, 12 Jun 2009 01:06:17 +0000 (18:06 -0700)]
Merge change 4008 into donut
* changes:
Fixes #
1886237. Views drawing cache was not generated properly.
Android (Google) Code Review [Thu, 11 Jun 2009 23:20:22 +0000 (16:20 -0700)]
Merge change 3967 into donut
* changes:
Update control files (pass/fail/nontext/crash) to results from CRB45
Android (Google) Code Review [Thu, 11 Jun 2009 22:54:51 +0000 (15:54 -0700)]
Merge change 3907 into donut
* changes:
Support SMS cell broadcasting for GSM in RIL.java
Android (Google) Code Review [Thu, 11 Jun 2009 22:21:02 +0000 (15:21 -0700)]
Merge change 3775 into donut
* changes:
DO NOT MERGE.
Android (Google) Code Review [Thu, 11 Jun 2009 22:07:58 +0000 (15:07 -0700)]
Merge change 3949 into donut
* changes:
TextToSpeech class cleanups - harmonized private member variable names - added success / failure codes (used for now in initialization) - synchronized access to speech completed listener.
Joe Onorato [Thu, 11 Jun 2009 18:27:16 +0000 (11:27 -0700)]
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.
Android (Google) Code Review [Thu, 11 Jun 2009 21:09:11 +0000 (14:09 -0700)]
Merge change 3940 into donut
* changes:
dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.
Android (Google) Code Review [Thu, 11 Jun 2009 20:48:53 +0000 (13:48 -0700)]
Merge change 3935 into donut
* changes:
Hook the 12- or 24-hour time format checkbox back up.
Joe Onorato [Thu, 11 Jun 2009 00:07:15 +0000 (17:07 -0700)]
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
This took quite a bit of refactoring.
Android (Google) Code Review [Thu, 11 Jun 2009 18:27:53 +0000 (11:27 -0700)]
Merge change 3015 into donut
* changes:
make sms calculateLength radio-independent
Android (Google) Code Review [Thu, 11 Jun 2009 18:26:49 +0000 (11:26 -0700)]
Merge change 3828 into donut
* changes:
Renaming the Tts class to TextToSpeech for clarity. Switching to HashMap for parameter lists to pass key-value parameter pairs. Using TODO instead of FIXME in comments. Removing methods that don't belong anymore to the TTS interface now the feature becomes part of the platform.