OSDN Git Service
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
johnwang [Thu, 11 Jun 2009 17:05:29 +0000 (10:05 -0700)]
Support SMS cell broadcasting for GSM in RIL.java
enable gsm related cell broadcast requests in RIL.java and add SmsBraodcastConfigInfo class.
The gsm related cell broadcast requests include
RIL_REQUEST_GET_BROADCAST_CONFIG
RIL_REQUEST_GET_BROADCAST_CONFIG
RIL_REQUEST_BROADCAST_ACTIVATION
RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS
modified: BaseCommands.java
modified: CommandsInterface.java
modified: RIL.java
modified: RILConstants.java
modified: cdma/CdmaSMSDispatcher.java
new file: gsm/SmsBroadcastConfigInfo.java
modified: test/SimulatedCommands.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.
Jean-Michel Trivi [Thu, 11 Jun 2009 21:35:48 +0000 (14:35 -0700)]
TextToSpeech class cleanups
- harmonized private member variable names
- added success / failure codes (used for now in initialization)
- synchronized access to speech completed listener.
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.
Mike Lockwood [Thu, 11 Jun 2009 21:06:56 +0000 (17:06 -0400)]
dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.
Signed-off-by: Mike Lockwood <lockwood@android.com>
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.
Eric Fischer [Thu, 11 Jun 2009 20:37:04 +0000 (13:37 -0700)]
Hook the 12- or 24-hour time format checkbox back up.
The format strings are newly generated from CLDR. The code is once again
the same as in cupcake: do the natural thing for the locale if the user
has never specified, but follow the checkbox if the user has ever set it.
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.
Android (Google) Code Review [Thu, 11 Jun 2009 16:54:58 +0000 (09:54 -0700)]
Merge change 3899 into donut
* changes:
GpsLocationProvider: Add hooks for GPS location injection.
Mike Lockwood [Thu, 11 Jun 2009 16:25:46 +0000 (12:25 -0400)]
GpsLocationProvider: Add hooks for GPS location injection.
This will allow injecting cell ID location to the GPS
(not implemented yet).
Signed-off-by: Mike Lockwood <lockwood@android.com>
Satish Sampath [Thu, 11 Jun 2009 15:33:05 +0000 (16:33 +0100)]
NEW_API: Expose queryAfterZeroResults searchable attribute.
If this attribute is provided and true, the searchable activity will be invoked for all queries in a particular session.
If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob" as an optimization.
The default value is false.
Satish Sampath [Thu, 11 Jun 2009 13:05:51 +0000 (14:05 +0100)]
Added attribute queryAfterZeroResults to searchables.
As of now we are just reading it from the xml and not acting upon it, that would come in a subsequent change.
Android (Google) Code Review [Thu, 11 Jun 2009 11:53:01 +0000 (04:53 -0700)]
Merge change 3879 into donut
* changes:
ACTV: getWindowVisibility() instead of private attach count
Bjorn Bringert [Thu, 11 Jun 2009 11:30:48 +0000 (12:30 +0100)]
ACTV: getWindowVisibility() instead of private attach count
When debugging a problem with the search dialog drop-down
sometimes not showing up, I saw that the mAttachCount variable
in AutoCompleteTextView could get a negative value because
onDetachedFromWindow() was called multiple times. This lead to
the drop-down not being displayed on filtering.
Instead of the private attach count in ACTV, this change
uses View.getWindowVisibility().
Android (Google) Code Review [Thu, 11 Jun 2009 09:37:01 +0000 (02:37 -0700)]
Merge change 3709 into donut
* changes:
Provide the Keystore feature in the framework.
Chung-yih Wang [Wed, 10 Jun 2009 10:45:14 +0000 (18:45 +0800)]
Provide the Keystore feature in the framework.
-- added the keystore library for Java application.
-- changed the marshalling of the keystore function return.
Satish Sampath [Thu, 11 Jun 2009 00:28:13 +0000 (01:28 +0100)]
Fix display of the selection background for search results.
I've used a simple approach of not drawing the solid background color for the selected item, thereby letting the default selection background to show through properly. This works by using the item's 'pressed' state and redraw code which are used by the listview during the tapping operation.
Android (Google) Code Review [Thu, 11 Jun 2009 07:59:06 +0000 (00:59 -0700)]
Merge change 3800 into donut
* changes:
Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager for use in implementing Google suggestion refreshing in global search.
Tammo Spalink [Wed, 3 Jun 2009 06:30:15 +0000 (14:30 +0800)]
make sms calculateLength radio-independent
Scott Main [Thu, 11 Jun 2009 07:01:42 +0000 (00:01 -0700)]
am
aa25df24: AI 149729: fix search functionatilty for offline docs... the file references weren\'t using the local root. BUG=
1909300
Merge commit '
aa25df2452f68d2f732ad620a97fd47b3802fa2e' into donut
* commit '
aa25df2452f68d2f732ad620a97fd47b3802fa2e':
AI 149729: fix search functionatilty for offline docs...
Scott Main [Thu, 11 Jun 2009 06:40:25 +0000 (23:40 -0700)]
AI 149729: fix search functionatilty for offline docs...
the file references weren't using the local root.
BUG=
1909300
Automated import of CL 149729
Jean-Michel Trivi [Thu, 11 Jun 2009 00:33:34 +0000 (17:33 -0700)]
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.
Christopher Tate [Thu, 11 Jun 2009 03:23:25 +0000 (20:23 -0700)]
Flesh out restore interface on manager; work up most of LocalTransport
Android (Google) Code Review [Thu, 11 Jun 2009 02:50:22 +0000 (19:50 -0700)]
Merge change 3857 into donut
* changes:
Allow arrays of values for power profile data.
Amith Yamasani [Tue, 9 Jun 2009 13:32:35 +0000 (06:32 -0700)]
Allow arrays of values for power profile data.
Parse arrays for data that has different levels with non-linear
power increase.
Track radio data awake_time from kernel and mobile/total data
transfers.
Use dummy values for default power_profile.xml. Actual values will
be in a product overlay.
Jean-Michel Trivi [Thu, 11 Jun 2009 01:38:50 +0000 (18:38 -0700)]
Made the platform TTS service aware of the path for the default TTS library to load.
Android (Google) Code Review [Thu, 11 Jun 2009 00:32:21 +0000 (17:32 -0700)]
Merge change 3826 into donut
* changes:
LocationManagerService: Fix logic error removing multiple dead receivers.
Simon Schoar [Wed, 10 Jun 2009 19:12:10 +0000 (21:12 +0200)]
LocationManagerService: Fix logic error removing multiple dead receivers.
If multiple receivers are dead, only the first one will be added.
found in http://code.google.com/p/android/issues/detail?id=2651
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Thu, 11 Jun 2009 00:10:05 +0000 (17:10 -0700)]
Merge change 3799 into donut
* changes:
Turned on the windows media related test cases as the binary already integrated.
Christopher Tate [Wed, 10 Jun 2009 22:49:30 +0000 (15:49 -0700)]
The rest of the basic flow for restore
Also moved the processOneBackup() implementation into the Thread class that runs
the backup sequence.
Mike LeBeau [Wed, 10 Jun 2009 22:47:54 +0000 (23:47 +0100)]
Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager
for use in implementing Google suggestion refreshing in global search.
Android (Google) Code Review [Wed, 10 Jun 2009 23:38:12 +0000 (16:38 -0700)]
Merge change 3806 into donut
* changes:
Fix a couple null pointer exceptions in CDMA voice call handling.
Android (Google) Code Review [Wed, 10 Jun 2009 23:24:01 +0000 (16:24 -0700)]
Merge change 3795 into donut
* changes:
URI/extra data for inline scheme.
Yu Shan Emily Lau [Wed, 10 Jun 2009 22:46:32 +0000 (15:46 -0700)]
Turned on the windows media related test cases as the binary already integrated.
Mitsuru Oshima [Wed, 10 Jun 2009 04:16:08 +0000 (21:16 -0700)]
resolution support fix/improvement
* adding compatibility menu
* backup gravity
* set expanable=true if the screen size is hvga * density.
* added "supports any density" mode. I'll add sdk check later.
* disallow to catch orientation change event if the app is not expandable. This
was causing layout problem under non-expandable mode. I discussed this with Mike C
and we agreed to do this approach for now. We'll revisit if this causes problem to
a lot of applications.
Android (Google) Code Review [Wed, 10 Jun 2009 22:20:55 +0000 (15:20 -0700)]
Merge change 3782 into donut
* changes:
Reimport Portuguese translations.
Mitsuru Oshima [Wed, 10 Jun 2009 22:18:08 +0000 (15:18 -0700)]
URI/extra data for inline scheme.
Android (Google) Code Review [Wed, 10 Jun 2009 22:17:15 +0000 (15:17 -0700)]
Merge change 3777 into donut
* changes:
Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.
Android (Google) Code Review [Wed, 10 Jun 2009 22:11:52 +0000 (15:11 -0700)]
Merge change 3765 into donut
* changes:
Add a gservices flag to limit the size of protobufs we can gzip
Android (Google) Code Review [Wed, 10 Jun 2009 22:09:37 +0000 (15:09 -0700)]
Merge change 3730 into donut
* changes:
Restructuring the TTS files so that it works as a Service
Eric Fischer [Wed, 10 Jun 2009 22:08:06 +0000 (15:08 -0700)]
Reimport Portuguese translations.
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3760 into donut
* changes:
Enable HierarchyViewer on debuggable builds, even if they're secure.
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3761 into donut
* changes:
Added support to record page load time for each url.
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3754 into donut
* changes:
Fix some 12- vs 24-hour problems in the FormatDateRange strings.
Cynthia Wong [Wed, 10 Jun 2009 21:42:42 +0000 (14:42 -0700)]
Add a gservices flag to limit the size of protobufs we can gzip
Romain Guy [Wed, 10 Jun 2009 20:36:04 +0000 (13:36 -0700)]
Enable HierarchyViewer on debuggable builds, even if they're secure.
That will let us (finally) use the tool on userdebug builds.
Wink Saville [Wed, 10 Jun 2009 21:35:28 +0000 (14:35 -0700)]
Fix a couple null pointer exceptions in CDMA voice call handling.
Guang Zhu [Wed, 10 Jun 2009 20:37:03 +0000 (13:37 -0700)]
Added support to record page load time for each url.
Charles Chen [Wed, 10 Jun 2009 17:39:55 +0000 (10:39 -0700)]
Restructuring the TTS files so that it works as a Service
Eric Fischer [Wed, 10 Jun 2009 19:10:22 +0000 (12:10 -0700)]
Fix some 12- vs 24-hour problems in the FormatDateRange strings.
Use a resource instead of a hardcoded string for the 24-hour format
since it is not exactly the same in every locale.
Make sure the 12-hour format is actually for a 12-hour clock, even in
locales where this is not a normal thing to do. In the cap_ampm version,
do not have it try to capitalize "am" and "pm" if these are non-ASCII
strings, since strftime() doesn't know about Unicode and will mess it up.
Add a comment so that people don't think the YEAR_IN_MILLIS constant is
actually the length of any real year.
Android (Google) Code Review [Wed, 10 Jun 2009 19:36:45 +0000 (12:36 -0700)]
Merge change 3577 into donut
* changes:
Make aapt Error out when an overlay adds a string.
Eric Fischer [Wed, 10 Jun 2009 19:32:04 +0000 (12:32 -0700)]
am
a8c3821e: AI 149721: Import Portuguese translations.
Merge commit '
a8c3821e5a9017b557744bf3439b0cde5ace86db' into donut
* commit '
a8c3821e5a9017b557744bf3439b0cde5ace86db':
AI 149721: Import Portuguese translations.
Jaikumar Ganesh [Wed, 10 Jun 2009 19:25:02 +0000 (12:25 -0700)]
Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.
Eric Fischer [Wed, 10 Jun 2009 19:25:58 +0000 (12:25 -0700)]
AI 149721: Import Portuguese translations.
Automated import of CL 149721
Grace Kloba [Wed, 10 Jun 2009 18:55:55 +0000 (11:55 -0700)]
DO NOT MERGE.
Merge 2391 from master to donut.
Added postUrl() to WebView so that we can pass lat/lon for the search.
Android (Google) Code Review [Wed, 10 Jun 2009 18:41:49 +0000 (11:41 -0700)]
Merge change 2900 into donut
* changes:
Add support for custom tab views in TabHost and TabWidget.
Jack Veenstra [Tue, 2 Jun 2009 04:27:01 +0000 (21:27 -0700)]
Add support for custom tab views in TabHost and TabWidget.
This change adds the ability to specify an arbitrary view for a tab
indicator. It also adds support for specifying a drawable to use as
the divider between tab views.
Android (Google) Code Review [Wed, 10 Jun 2009 18:35:43 +0000 (11:35 -0700)]
Merge change 3178 into donut
* changes:
Add additional parameters to SETUP_DATA_CALL and SMS response.
Android (Google) Code Review [Wed, 10 Jun 2009 18:07:58 +0000 (11:07 -0700)]
Merge change 3726 into donut
* changes:
ActivityManager: Ensure that we clear the calling process identity around calls to Process.setProcessGroup().
Android (Google) Code Review [Wed, 10 Jun 2009 18:07:52 +0000 (11:07 -0700)]
Merge change 3725 into donut
* changes:
process: Clean up cgroup management
Android (Google) Code Review [Wed, 10 Jun 2009 18:05:05 +0000 (11:05 -0700)]
Merge change 3724 into donut
* changes:
zygote: Add CAP_SYS_NICE to system server capabilities
Jaikumar Ganesh [Thu, 4 Jun 2009 18:35:32 +0000 (11:35 -0700)]
Add additional parameters to SETUP_DATA_CALL and SMS response.
1. The authType should be specified in the APN database.
This was hardcoded to 3 in the qmi driver. We currently set it to
3 in the RIL till the apn database side changes are done.
2. RIL_SEND_SMS response has errorCode as a new field,
Christopher Tate [Wed, 10 Jun 2009 03:45:02 +0000 (20:45 -0700)]
More restore plumbing, plus add suggested-backoff to transport API
Adds most of the code for a background-thread restore process, structured much
like the backup thread. Broke some common functionality out into a helper
function for doing a synchronous wait for a requested agent to attach.
Added a method to IBackupTransport whereby the transport will be asked for
an opinion on whether this is a good time for a backup to happen. It will
reply with the results of its policymaking around backoff intervals, time-of-day
selection, etc.
Android (Google) Code Review [Wed, 10 Jun 2009 17:50:28 +0000 (10:50 -0700)]
Merge change 3686 into donut
* changes:
Fix cleanupConnection when switching from wifi.
Android (Google) Code Review [Wed, 10 Jun 2009 17:02:07 +0000 (10:02 -0700)]
Merge change 3676 into donut
* changes:
Get the FormatDateRange tests passing again.
San Mehat [Wed, 10 Jun 2009 16:11:28 +0000 (09:11 -0700)]
ActivityManager: Ensure that we clear the calling process identity around calls to Process.setProcessGroup().
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 10 Jun 2009 16:10:42 +0000 (09:10 -0700)]
process: Clean up cgroup management
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 10 Jun 2009 16:09:51 +0000 (09:09 -0700)]
zygote: Add CAP_SYS_NICE to system server capabilities
Signed-off-by: San Mehat <san@google.com>
Android (Google) Code Review [Wed, 10 Jun 2009 15:01:20 +0000 (08:01 -0700)]
Merge change 2411 into donut
* changes:
Manual merge from cupcake_dcm. Need to be reviewed by enf.
Android (Google) Code Review [Wed, 10 Jun 2009 13:31:33 +0000 (06:31 -0700)]
Merge change 3715 into donut
* changes:
Show progress spinner while waiting for results in in app search.
Karl Rosaen [Wed, 10 Jun 2009 12:26:13 +0000 (13:26 +0100)]
Show progress spinner while waiting for results in in app search.
Satish Sampath [Wed, 10 Jun 2009 11:03:47 +0000 (12:03 +0100)]
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.
Android (Google) Code Review [Wed, 10 Jun 2009 09:43:11 +0000 (02:43 -0700)]
Merge change 3702 into donut
* changes:
Change exceptions to RuntimeException.
Wu-cheng Li [Wed, 10 Jun 2009 08:55:39 +0000 (16:55 +0800)]
Change exceptions to RuntimeException.
This is to follow hardware/Cmaera.java because those exceptiones are not declared to be thrown.
Android (Google) Code Review [Wed, 10 Jun 2009 08:22:48 +0000 (01:22 -0700)]
Merge change 3701 into donut
* changes:
Fix the way gestures are rasterized to bitmaps.
Romain Guy [Wed, 10 Jun 2009 08:21:20 +0000 (01:21 -0700)]
Fix the way gestures are rasterized to bitmaps.
It was just not working with multiple strokes.
Android (Google) Code Review [Wed, 10 Jun 2009 07:18:39 +0000 (00:18 -0700)]
Merge change 3551 into donut
* changes:
Allow the owner to reconnect to Camera.
Romain Guy [Tue, 9 Jun 2009 19:56:34 +0000 (12:56 -0700)]
Add support for gestures in Home.
Adds a new animation style for the gestures pad, and de-normalize
the scores in the recognition engine.
Jaikumar Ganesh [Wed, 10 Jun 2009 04:09:06 +0000 (21:09 -0700)]
Fix cleanupConnection when switching from wifi.
Post a message for tearDown data connection when switching from wifi.
Android (Google) Code Review [Wed, 10 Jun 2009 03:44:16 +0000 (20:44 -0700)]
Merge change 3644 into donut
* changes:
Print a message to the log when a file can't be opened on the client side.
Android (Google) Code Review [Wed, 10 Jun 2009 02:10:42 +0000 (19:10 -0700)]
Merge change 3427 into donut
* changes:
First version of the keystore service.
Eric Fischer [Wed, 10 Jun 2009 01:30:34 +0000 (18:30 -0700)]
Get the FormatDateRange tests passing again.
This fixes a few places that were accidentally using the wrong numbered
parameter in the format call. It also makes other adjustments so that
the formats for English are exactly the same as they were in Cupcake.
Android (Google) Code Review [Wed, 10 Jun 2009 00:56:03 +0000 (17:56 -0700)]
Merge change 3593 into donut
* changes:
Cleanup whitespace.
Android (Google) Code Review [Wed, 10 Jun 2009 00:46:12 +0000 (17:46 -0700)]
Merge change 3652 into donut
* changes:
Adding default text-to-speech language in Settings.Secure.
Robert Greenwalt [Tue, 9 Jun 2009 16:14:20 +0000 (09:14 -0700)]
Make aapt Error out when an overlay adds a string.
Final added check (I think) for
1585775 - not letting overlays add
resources.
modified: ResourceTable.cpp
modified: ResourceTable.h
Jean-Michel Trivi [Tue, 9 Jun 2009 23:22:48 +0000 (16:22 -0700)]
Adding default text-to-speech language in Settings.Secure.
Marco Nelissen [Tue, 9 Jun 2009 22:49:23 +0000 (15:49 -0700)]
Print a message to the log when a file can't be opened on the client side.
Eric Fischer [Tue, 9 Jun 2009 21:51:16 +0000 (14:51 -0700)]
Regenerate all the date and time interval formats from CLDR data.
Android (Google) Code Review [Tue, 9 Jun 2009 19:45:35 +0000 (12:45 -0700)]
Merge change 3576 into donut
* changes:
Track clicks that occur after pivoting into an app from global search.
Karl Rosaen [Tue, 9 Jun 2009 16:05:54 +0000 (17:05 +0100)]
Track clicks that occur after pivoting into an app from global search.
(framework portion).
Global search has a write-only content provider for reporting clicks that SearchDialog
makes use of.
update: addressed code review feedback
Wink Saville [Tue, 9 Jun 2009 17:30:03 +0000 (10:30 -0700)]
Cleanup whitespace.
Satish Sampath [Tue, 9 Jun 2009 16:44:12 +0000 (17:44 +0100)]
Rename genieprovider to enhancedgooglesearch.
Android (Google) Code Review [Tue, 9 Jun 2009 15:15:14 +0000 (08:15 -0700)]
Merge change 3528 into donut
* changes:
Simplify the TTS for Donut release
Satish Sampath [Mon, 8 Jun 2009 22:10:40 +0000 (23:10 +0100)]
Adds UI support for custom search widget item backgrounds.
- A new column was added to SearchManager cursors to specify background color (optional)
- Two new colour references added to the theme for normal and search widget corpus items (we need both to be opaque for the items to render properly)
- SuggestionAdapter was updated to choose the right theme colour for each item
Romain Guy [Tue, 9 Jun 2009 11:36:14 +0000 (04:36 -0700)]
Add a hidden API to modify the paint used to draw gestures.
Romain Guy [Tue, 9 Jun 2009 11:15:22 +0000 (04:15 -0700)]
Fix several issues in the gestures libraries.
This mostly fixes how gestures libraries are saved and loaded.
Saving a library twice in a row was erasing the entire library,
which was preventing the sketch test app from working propertly.
Android (Google) Code Review [Tue, 9 Jun 2009 10:19:07 +0000 (03:19 -0700)]
Merge change 3561 into donut
* changes:
Fix multiple strokes support when fade is disabled. Multiple strokes would always be accepted after the first one.