OSDN Git Service

android-x86/frameworks-base.git
12 years agoam 26703326: docs: Google+ badge now sizes properly; remove reposition hack
Scott Main [Wed, 15 Feb 2012 21:26:33 +0000 (13:26 -0800)]
am 26703326: docs: Google+ badge now sizes properly; remove reposition hack

* commit '26703326784a6de45830236bd0a97345f93448d4':
  docs: Google+ badge now sizes properly; remove reposition hack

12 years agodocs: Google+ badge now sizes properly; remove reposition hack
Scott Main [Wed, 15 Feb 2012 21:22:30 +0000 (13:22 -0800)]
docs: Google+ badge now sizes properly; remove reposition hack

Change-Id: If5e402b8acb249e0ea81436f3d5ecf468934b81f

12 years agoam c8711ca7: Merge "Stop using shared DUN APN when tethering stops." into ics-mr1
Robert Greenwalt [Tue, 14 Feb 2012 21:40:02 +0000 (13:40 -0800)]
am c8711ca7: Merge "Stop using shared DUN APN when tethering stops." into ics-mr1

* commit 'c8711ca7eb962072ccd6175be3cfa861195ba6cd':
  Stop using shared DUN APN when tethering stops.

12 years agoam fc19160a: Merge "Add a config to set Dun capabilities." into ics-mr1
Robert Greenwalt [Tue, 14 Feb 2012 21:39:59 +0000 (13:39 -0800)]
am fc19160a: Merge "Add a config to set Dun capabilities." into ics-mr1

* commit 'fc19160a6a464eb71e50794fc1aa1e99c4173e31':
  Add a config to set Dun capabilities.

12 years agoMerge "Stop using shared DUN APN when tethering stops." into ics-mr1
Robert Greenwalt [Tue, 14 Feb 2012 21:38:15 +0000 (13:38 -0800)]
Merge "Stop using shared DUN APN when tethering stops." into ics-mr1

12 years agoMerge "Add a config to set Dun capabilities." into ics-mr1
Robert Greenwalt [Tue, 14 Feb 2012 21:37:44 +0000 (13:37 -0800)]
Merge "Add a config to set Dun capabilities." into ics-mr1

12 years agoam c312ba32: Merge "Update 4G WiMAX assets for notification area as well Bug: 5724605...
Justin Ho [Tue, 14 Feb 2012 21:31:26 +0000 (13:31 -0800)]
am c312ba32: Merge "Update 4G WiMAX assets for notification area as well Bug: 5724605" into ics-mr1

* commit 'c312ba322b5f204753a2ad8e40062c26114a15d8':
  Update 4G WiMAX assets for notification area as well Bug: 5724605

12 years agoMerge "Update 4G WiMAX assets for notification area as well Bug: 5724605" into ics-mr1
Justin Ho [Tue, 14 Feb 2012 21:29:08 +0000 (13:29 -0800)]
Merge "Update 4G WiMAX assets for notification area as well Bug: 5724605" into ics-mr1

12 years agoam 835e07f8: Merge "docs: Android NDK r7b Release Notes" into ics-mr1
Joe Fernandez [Tue, 14 Feb 2012 20:37:53 +0000 (12:37 -0800)]
am 835e07f8: Merge "docs: Android NDK r7b Release Notes" into ics-mr1

* commit '835e07f8f437e1872451dd23c0faf925388e1aef':
  docs: Android NDK r7b Release Notes

12 years agoam ffc89899: Merge "Don\'t pulse LED on new notification unless notification has...
Mike Lockwood [Tue, 14 Feb 2012 20:37:51 +0000 (12:37 -0800)]
am ffc89899: Merge "Don\'t pulse LED on new notification unless notification has LED flag set" into ics-mr1

* commit 'ffc89899652f5c815b6d156f55a909001420891e':
  Don't pulse LED on new notification unless notification has LED flag set

12 years agoam 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1
John Wang [Tue, 14 Feb 2012 20:37:49 +0000 (12:37 -0800)]
am 63b59666: Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1

* commit '63b596664c3fdb70ad32c8f641f477ec9140d6ec':
  Only use CDMA rssi for config_alwaysUseCdmaRssi.

12 years agoUpdate 4G WiMAX assets for notification area as well
Justin Ho [Tue, 14 Feb 2012 20:10:54 +0000 (12:10 -0800)]
Update 4G WiMAX assets for notification area as well
Bug: 5724605

Change-Id: Iade031923f1d3a07ca6dd366642c04071168d495

12 years agoMerge "docs: Android NDK r7b Release Notes" into ics-mr1
Joe Fernandez [Tue, 14 Feb 2012 20:05:25 +0000 (12:05 -0800)]
Merge "docs: Android NDK r7b Release Notes" into ics-mr1

12 years agodocs: Android NDK r7b Release Notes
Joe Fernandez [Fri, 13 Jan 2012 22:05:18 +0000 (14:05 -0800)]
docs: Android NDK r7b Release Notes

Change-Id: Ib1a92b1bbdb190f3aae6dcc69a78cbf5ad3c4760

12 years agoStop using shared DUN APN when tethering stops.
Robert Greenwalt [Mon, 13 Feb 2012 19:39:04 +0000 (11:39 -0800)]
Stop using shared DUN APN when tethering stops.

Backported from master, including a bug fix and a cdma enhancement.

Even if other people are sharing the connection (ie, carrier wants
default and tethered traffic on the same APN) stop using a carrier-
described APN when the tethering stops.

bug:5972599
Change-Id: I25e4831855e6b62c0c3ab3a6f4d4846aaee6ac50

12 years agoMerge "Don't pulse LED on new notification unless notification has LED flag set"...
Mike Lockwood [Tue, 14 Feb 2012 19:30:05 +0000 (11:30 -0800)]
Merge "Don't pulse LED on new notification unless notification has LED flag set" into ics-mr1

12 years agoAdd a config to set Dun capabilities.
Robert Greenwalt [Wed, 8 Feb 2012 18:52:21 +0000 (10:52 -0800)]
Add a config to set Dun capabilities.

Since CDMA doesn't use APN settings there was no place to say what a cdma
device's DUN connection would support, so by default normal device
originating traffic would be blocked on a tethering single-connection device.

With this change you can (via overlay) say that it supports everything
so mms and on-device browsing/email will still work even when on a dun connection.

The reason to allow both: some carriers will charge per byte for dun access
and so they don't want lots of non-tethering traffic used (costs the user alot)
but other carriers just use a dun connection to limit access to tethering, but
once there give unlimited data, so it makes sense to support everything there.

bug:5972599
Change-Id: I78fd7f3ac63c51a0560b659ed5ec219b10a93f8d

12 years agoMerge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1
John Wang [Tue, 14 Feb 2012 18:09:26 +0000 (10:09 -0800)]
Merge "Only use CDMA rssi for config_alwaysUseCdmaRssi." into ics-mr1

12 years agoDon't pulse LED on new notification unless notification has LED flag set
Mike Lockwood [Tue, 14 Feb 2012 04:42:19 +0000 (20:42 -0800)]
Don't pulse LED on new notification unless notification has LED flag set

Bug: 6006131

Change-Id: I719c7d68e310bfaca227f6286159b3993784926b
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoOnly use CDMA rssi for config_alwaysUseCdmaRssi.
John Wang [Tue, 14 Feb 2012 01:16:41 +0000 (17:16 -0800)]
Only use CDMA rssi for config_alwaysUseCdmaRssi.

If config_alwaysUseCdmaRssi is true, the RSSI signal bar only
shows the CDMA value, no matter it connects to EVDO or WiMax .

bug:5941743
Change-Id: I4187571898a9fb47162e1ccf0cc4c59c3136ae0b

12 years agoMerge "WifiStateTracker: add support for overriding DCHP max retry count in an overla...
Mike Lockwood [Mon, 13 Feb 2012 22:30:45 +0000 (14:30 -0800)]
Merge "WifiStateTracker: add support for overriding DCHP max retry count in an overlay" into ics-aah

12 years agoWifiStateTracker: add support for overriding DCHP max retry count in an overlay
Mike Lockwood [Mon, 13 Feb 2012 21:37:23 +0000 (13:37 -0800)]
WifiStateTracker: add support for overriding DCHP max retry count in an overlay

Bug: 5551068

Change-Id: I7817eeb1409af2056a63548104c3c64f93ee7def
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoMerge "Put a bandaid on a segfault in timed audio track handling." into ics-aah
John Grossman [Mon, 13 Feb 2012 22:07:17 +0000 (14:07 -0800)]
Merge "Put a bandaid on a segfault in timed audio track handling." into ics-aah

12 years agoam 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:43:34 +0000 (13:43 -0800)]
am 08eb7dd6: Merge "extending timeout to stabilize tests" into ics-mr1

* commit '08eb7dd630a2de8dd51a988a747da26ff9d3f8fb':
  extending timeout to stabilize tests

12 years agoMerge "extending timeout to stabilize tests" into ics-mr1
Tsu Chiang Chuang [Mon, 13 Feb 2012 21:41:37 +0000 (13:41 -0800)]
Merge "extending timeout to stabilize tests" into ics-mr1

12 years agoPut a bandaid on a segfault in timed audio track handling.
John Grossman [Mon, 13 Feb 2012 01:51:21 +0000 (17:51 -0800)]
Put a bandaid on a segfault in timed audio track handling.

Add a bandaid to prevent a segfault which can occur while handling
timed audio buffers.  There is a deeper problem which should
eventually be addressed, but for now this fix should prevent any
crashing.

The deeper problem is as follows.

When the AudioFlinger mixer gets data to mix from an AudioTrack, it
ends up getting a structure filled out which points into an IMemory
region owned by the AudioTrack.  Unfortunately, this structure is not
holding a refcount on the IMemory which it points into.  If the
IMemory refcount hits 0 and the chunk of RAM is retuned to the binder
heap it came from, there can still be a Buffer object being held by
the AudioFlinger mixer which points into the region of memory which
was retuned to the binfer heap.  If AF reads from this buffer, it
could read corrupt data (if the region of memory gets handed back out
to a writer), or it could segfault (if the heap has been freed and the
pages unmapped).  Similar problems could happen if AF attempts to
write to the buffer, heap corruption in one case, segfaulting in the
other.

In the past, this has not been an issue for AF, because tracks
allocate a single IMemory (which serves as a ring buffer) and the
IMemory lives for as long as the track lives.  As an artifact of the
way the code came out, the mixer cannot be holding a Buffer structure
pointing into the IMemory which used to be owned by a track if the
track no longer exists.  Tracks cannot come into or out of existence
during a mix operation, which is the only thing which makes this safe.

TimedTracks work differently, however.  Timed tracks each allocate a
small binder heap, and then hand out IMemory instances  broken out of
this heap.  The heap lives as long as the track, so the worst which
could happen here is that a TimedTrack's IMemory gets returned to the
heap while there is still a buffer structure in flight pointing into
the memory region, then the region gets handed out again and
overwritten by new data causing the mixer to mix the wrong audio.  The
timing to cause this to happen is very difficult to encounter, and you
to generate the timing conditions required, you need to be in a pretty
bad failure state where audio is already breaking up and skipping, so
its unlikely that anyone would notice (which is why I'm band-aiding
the segfault and letting the deeper issue slide for now).

In general, however, it might be a good idea to revisit this buffering
design.  On principal, if someone is going to hold pointers into a
refcounted object, they should be holding a ref on the object at the
same time.  Failure to do this will usually lead to a situation where
there are corruption or segfault issues, or to a system where the
refcounted object's lifetime must be implicitly managed very carefully
in ways which are usually non-obvious and are easy to break by new
engineers on a project.

Change-Id: Ib391075395ed0ef46a03c37aa38a82d09e88abeb

12 years agoam 197fe269: Merge "Add OEM specific USB mode enumeration based on ro.bootmode proper...
Wink Saville [Fri, 10 Feb 2012 23:14:06 +0000 (15:14 -0800)]
am 197fe269: Merge "Add OEM specific USB mode enumeration based on ro.bootmode property" into ics-mr1

* commit '197fe26940022be75384f4038dd789f446d33122':
  Add OEM specific USB mode enumeration based on ro.bootmode property

12 years agoMerge "Add OEM specific USB mode enumeration based on ro.bootmode property" into...
Wink Saville [Fri, 10 Feb 2012 23:12:19 +0000 (15:12 -0800)]
Merge "Add OEM specific USB mode enumeration based on ro.bootmode property" into ics-mr1

12 years agoam 650462bb: Import revised translations. DO NOT MERGE
Eric Fischer [Fri, 10 Feb 2012 21:11:03 +0000 (13:11 -0800)]
am 650462bb: Import revised translations.  DO NOT MERGE

* commit '650462bbfd6218c918cd9507ea0a33fa9a936f26':
  Import revised translations.  DO NOT MERGE

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 10 Feb 2012 20:29:26 +0000 (12:29 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: Ibfc588d17f79baa0359d3a20a0a5ff7a2f3f152b

12 years agoAdd OEM specific USB mode enumeration based on ro.bootmode property
Kazuhiro Ondo [Mon, 6 Feb 2012 23:35:50 +0000 (17:35 -0600)]
Add OEM specific USB mode enumeration based on ro.bootmode property

This patch is adding a capability so that OEM can override USB mode
in case the device is boot up with OEM specific mode. (i.e. modem
debug, factory test etc.)

Bug:5964042
Change-Id: Ic8e23d302563ce71eedb74ce94cca8c65838a4f7

12 years agoam 744c5b0b: Merge "Import translations. DO NOT MERGE" into ics-mr1
Justin Ho [Fri, 10 Feb 2012 18:09:58 +0000 (10:09 -0800)]
am 744c5b0b: Merge "Import translations. DO NOT MERGE" into ics-mr1

* commit '744c5b0bdee6a26e2dc7e740a695d53c32104326':
  Import translations. DO NOT MERGE

12 years agoMerge "Import translations. DO NOT MERGE" into ics-mr1
Justin Ho [Fri, 10 Feb 2012 18:07:07 +0000 (10:07 -0800)]
Merge "Import translations. DO NOT MERGE" into ics-mr1

12 years agoam d9c8bbd5: docs: fix xss issue bug 5125642
Scott Main [Fri, 10 Feb 2012 00:01:25 +0000 (16:01 -0800)]
am d9c8bbd5: docs: fix xss issue bug 5125642

* commit 'd9c8bbd56a9c76a111f9441871e79516c521aa75':
  docs: fix xss issue bug 5125642

12 years agodocs: fix xss issue
Scott Main [Thu, 9 Feb 2012 23:57:09 +0000 (15:57 -0800)]
docs: fix xss issue
bug 5125642

Change-Id: I326b619643e3b3de20aa9303e92c9218fdfe50f7

12 years agoam 1c66faab: Merge "docs: OpenGL Tutorials fixed two broken links (Issue 5990696...
Joe Fernandez [Thu, 9 Feb 2012 21:46:57 +0000 (13:46 -0800)]
am 1c66faab: Merge "docs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android bug: 25132)" into ics-mr1

* commit '1c66faab73b2ce54bfe362f3c051ce95ed89fb22':
  docs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android bug: 25132)

12 years agoMerge "docs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android...
Joe Fernandez [Thu, 9 Feb 2012 21:45:01 +0000 (13:45 -0800)]
Merge "docs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android bug: 25132)" into ics-mr1

12 years agoam 52bfc243: docs: fix misc doc bugs from external issue tracker
Scott Main [Thu, 9 Feb 2012 20:48:18 +0000 (12:48 -0800)]
am 52bfc243: docs: fix misc doc bugs from external issue tracker

* commit '52bfc243684b2f340da326aaa38e9021e4e3b2e6':
  docs: fix misc doc bugs from external issue tracker

12 years agodocs: fix misc doc bugs from external issue tracker
Scott Main [Thu, 9 Feb 2012 18:09:14 +0000 (10:09 -0800)]
docs: fix misc doc bugs from external issue tracker

Change-Id: If6ff3476670e42b321d56d4a1482ccff96d4d500

12 years agoMerge "Fix a segfault in AudioFlinger." into ics-aah
John Grossman [Thu, 9 Feb 2012 19:51:51 +0000 (11:51 -0800)]
Merge "Fix a segfault in AudioFlinger." into ics-aah

12 years agoFix a segfault in AudioFlinger.
John Grossman [Thu, 9 Feb 2012 19:28:36 +0000 (11:28 -0800)]
Fix a segfault in AudioFlinger.

Check the string returned by a HAL's implementation of get_parameters
for NULL before attempting to make use of it.  That way, we won't
bring down the mediaserver because of a poorly written HAL.

Change-Id: I45f0fd3de003151f98acf32c36c42f58d053f3a0

12 years agoAdd support for non-linear ramping of master volume adjustment
Mike Lockwood [Thu, 9 Feb 2012 19:24:10 +0000 (11:24 -0800)]
Add support for non-linear ramping of master volume adjustment

Bug: 5472584

Change-Id: Id75f8835f6693ae3fcb7ca451ada01f22faba1aa
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agodocs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android bug...
Joe Fernandez [Thu, 9 Feb 2012 19:16:20 +0000 (11:16 -0800)]
docs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android bug: 25132)

Change-Id: I9d504017c507b2e203b8e0448d720714bec32e8c

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 9 Feb 2012 02:46:47 +0000 (18:46 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id6eb7d951bbbd8d01ce11670946282eecd7bc984

12 years agoMerge "Remove airplane mode related wifi test for Wi-Fi only devices." into ics-aah
Xia Wang [Wed, 8 Feb 2012 18:08:23 +0000 (10:08 -0800)]
Merge "Remove airplane mode related wifi test for Wi-Fi only devices." into ics-aah

12 years agoam 09ff04d7: docs: fix typo in menu TOC
Scott Main [Wed, 8 Feb 2012 05:48:18 +0000 (21:48 -0800)]
am 09ff04d7: docs: fix typo in menu TOC

* commit '09ff04d7893a9f49e478bb732ce1ea1b17662a3b':
  docs: fix typo in menu TOC

12 years agodocs: fix typo in menu TOC
Scott Main [Wed, 8 Feb 2012 05:45:00 +0000 (21:45 -0800)]
docs: fix typo in menu TOC

Change-Id: Ief511803ef5b4bed1823a12918de814aca119681

12 years agoFix device ID selection in the common time service.
John Grossman [Thu, 12 Jan 2012 19:05:37 +0000 (11:05 -0800)]
Fix device ID selection in the common time service.

Fix an issue I discovered while back-porting this code to master.  The
common time service was using the MAC address of "eth0" (hardcoded) as
its device ID instead of fetching it from the interface it is
currently bound to.  On phones (or any other device with no eth0) this
causes time service to never be able to fetch a device ID as it
should.

Change-Id: Icf8a2006924088efc86065927a648f7f53638657

12 years agoRemove airplane mode related wifi test for Wi-Fi only devices.
Xia Wang [Tue, 7 Feb 2012 22:19:56 +0000 (14:19 -0800)]
Remove airplane mode related wifi test for Wi-Fi only devices.

Change-Id: I7304276af7cb1dad0f08ebc9738108e877525eb9

12 years agoMerge "Explicitly manage common clock client lifetimes." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:12:56 +0000 (18:12 -0800)]
Merge "Explicitly manage common clock client lifetimes." into ics-aah

12 years agoMerge "Add the CommonTimeManagementService." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:12:39 +0000 (18:12 -0800)]
Merge "Add the CommonTimeManagementService." into ics-aah

12 years agoMerge "Implement new common_time service functionality." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:12:30 +0000 (18:12 -0800)]
Merge "Implement new common_time service functionality." into ics-aah

12 years agoMerge "Add Java interfaces to the common_time services." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:12:21 +0000 (18:12 -0800)]
Merge "Add Java interfaces to the common_time services." into ics-aah

12 years agoMerge "Add native common time config service." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:12:14 +0000 (18:12 -0800)]
Merge "Add native common time config service." into ics-aah

12 years agoMerge "Add marshallers for the new common clock methods." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:11:58 +0000 (18:11 -0800)]
Merge "Add marshallers for the new common clock methods." into ics-aah

12 years agoMerge "Change ICommonClock marshallers to return explicit error codes." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:11:52 +0000 (18:11 -0800)]
Merge "Change ICommonClock marshallers to return explicit error codes." into ics-aah

12 years agoMerge "Move the definition of time server state." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:11:46 +0000 (18:11 -0800)]
Merge "Move the definition of time server state." into ics-aah

12 years agoMerge "De-AAH-ify the common time service." into ics-aah
John Grossman [Tue, 7 Feb 2012 02:11:40 +0000 (18:11 -0800)]
Merge "De-AAH-ify the common time service." into ics-aah

12 years agoExplicitly manage common clock client lifetimes.
John Grossman [Sun, 5 Feb 2012 21:36:33 +0000 (13:36 -0800)]
Explicitly manage common clock client lifetimes.

Change the CCHelper class to be an instanced instead of a static
pattern.  The CCHelper instances all share an interface to the common
clock service and register/unregister a callback handler in response
to there being CCHelper instance in the system or not.  This brings
usage of the CCHelper into like with the new auto-disable
functionality of the common time service.  For any given process,
whenever there are CCHelper instances active, the process will
maintain a callback target to the common clock service and will be
considered to be an active client.

Also change all of the users of the CCHelper interface to manage the
lifecycle of their new CCHelper instances.

Change-Id: I7c28c5d70d9b07ba7407b4ac706e7e7d7253001b

12 years agoAdd the CommonTimeManagementService.
John Grossman [Wed, 1 Feb 2012 23:23:33 +0000 (15:23 -0800)]
Add the CommonTimeManagementService.

Add a small service to the high level core set of system services to
control the configuration of the native common time service.  This
service is responsible for controlling policy regarding when the
common time service should be allowed to run, which networks it is
allowed to run on, what priority it runs at in the master election
algorithm, and so on.

Change-Id: I37308e882a0e8c4cd3e38c4f47b7c40b9150ba31

12 years agoImplement new common_time service functionality.
John Grossman [Fri, 20 Jan 2012 20:12:59 +0000 (12:12 -0800)]
Implement new common_time service functionality.

Major re-factor of the common_time (formally aah_timesrv) service in
preparation for up-integration into Android master.  This work
includes bug fixes, new features, and general code cleanup.  High
points are listed below.

+ CommonClock interface has been enhanced to allow querying of many
  more low level synchronization details; mostly for debugging, but in
  theory useful to an application as well.
+ CommonTimeConfig interface has been implemented.  This allows a
  management process to configure a number of different parameters
  (many of them new) to control the behavior of the common_time
  service.  Most importantly, the time service can be bound to a
  specific network interface and should only operate on that interface
  an no others.
+ Enhance log messages to be more useful in determining what the time
  service state machine is doing and why.
+ Enhance information provided by dumpsys to provide many more details
  about the quality of time sync and the network conditions which gave
  rise to the current quality conditions.

Features, features, features....
+ Add a feature which lets the high level choose a different master
  election endpoint so that multiple time synchronization domains can
  co-exist on the same subnet (mostly to support a potential use case
  of multiple home domains in a multiple dwelling environment like a
  hotel, dormitory or apartment complex).
+ Add a feature which lets the high level assign a 64-bit group ID
  which allows partitioning of time synchronization domains even when
  the master election endpoint is shared (as it might be if broadcast
  is being used instead of multicast)
+ Add an auto-disable feature which lets the time service drop into
  network-less mode when there are no active clients of the
  common_time service in the device.  Mostly for phones, this allows
  phones to not consume network/battery resources when they don't need
  to maintain common time.
+ Add a feature which lets the high level choose the priority of the
  common_time service in the master election protocol.  This allows
  high level decisions about things like mobile vs non-mobile, wired
  ethernet vs WiFi to affect who ends up with the job of master on a
  given network.  Priority overrides at the low level also allow
  clients coming in from network-less mode to lower their effective
  priority as they join a new network so as to not disrupt any
  stable long-running timeline which may already be active on the
  network.
+ Add the ability to control some of the core parameters of the time
  sync service which effect network load (like the sync polling
  interval and the master announce interval)

Change-Id: I71af15a83cfa5ef0417b406928967fb9e02f55c6

12 years agoAdd Java interfaces to the common_time services.
John Grossman [Thu, 12 Jan 2012 19:05:37 +0000 (11:05 -0800)]
Add Java interfaces to the common_time services.

Add classes to handling binder marshalling to and from the native
common_time interfaces (config and clock)

Change-Id: I63e0b27d357006ea200d4dd665160526290356d7

12 years agoam 48ac0f14: Merge "Don\'t use SNR in the invalid check." into ics-mr1
John Wang [Tue, 7 Feb 2012 01:02:31 +0000 (17:02 -0800)]
am 48ac0f14: Merge "Don\'t use SNR in the invalid check." into ics-mr1

* commit '48ac0f14de9be4c91bdce4e601c5eef4fd2c3123':
  Don't use SNR in the invalid check.

12 years agoMerge "Don't use SNR in the invalid check." into ics-mr1
John Wang [Tue, 7 Feb 2012 01:00:49 +0000 (17:00 -0800)]
Merge "Don't use SNR in the invalid check." into ics-mr1

12 years agoam 331bb0c3: Setup ActionBars in layoutlib the same way the platform does it. do...
Xavier Ducrohet [Tue, 7 Feb 2012 00:42:57 +0000 (16:42 -0800)]
am 331bb0c3: Setup ActionBars in layoutlib the same way the platform does it. do not merge.

* commit '331bb0c393d5e2ea2485102dcddbb8c2d42654d2':
  Setup ActionBars in layoutlib the same way the platform does it. do not merge.

12 years agoSetup ActionBars in layoutlib the same way the platform does it. do not merge.
Xavier Ducrohet [Mon, 6 Feb 2012 22:57:22 +0000 (14:57 -0800)]
Setup ActionBars in layoutlib the same way the platform does it. do not merge.

Instead of using a simple ImageView for the icon, this uses the platform
layout/action_bar_home which uses a custom class to position and resize
the icon (and also supports the Up icon that we don't yet support).

This ensures that the icon is properly positionned and sized like
on devices.

(cherry picked from commit 7396348dfcfb45b7ad055f4c18cabbe5e8270d26)

Change-Id: Ifd3bc318089b70ba843519523e366e59d434e919

12 years agoam a9d9fa72: Merge "docs: switch from caps to initial-case for device button names...
Scott Main [Mon, 6 Feb 2012 22:11:47 +0000 (14:11 -0800)]
am a9d9fa72: Merge "docs: switch from caps to initial-case for device button names" into ics-mr1

* commit 'a9d9fa723a10ae41c047a4e8eba330112d344dc8':
  docs: switch from caps to initial-case for device button names

12 years agoMerge "docs: switch from caps to initial-case for device button names" into ics-mr1
Scott Main [Mon, 6 Feb 2012 22:10:16 +0000 (14:10 -0800)]
Merge "docs: switch from caps to initial-case for device button names" into ics-mr1

12 years agodocs: switch from caps to initial-case for device button names
Scott Main [Wed, 1 Feb 2012 03:14:35 +0000 (19:14 -0800)]
docs: switch from caps to initial-case for device button names

Change-Id: I2affdf7400fd814e43633806cebebee4c6075b0b

12 years agoDon't use SNR in the invalid check.
John Wang [Mon, 6 Feb 2012 21:58:26 +0000 (13:58 -0800)]
Don't use SNR in the invalid check.

Since some RILs use -1 instead of INVALID_SNR as invalid vlue for
LTE SNR, SignalStrength will not use LTE SNR to check if LTE valid.

bug:5970403
Change-Id: Ia948e076f8f5878e081e87680076b187857879c8

12 years agoam 4ba15efc: Merge "docs: add Sony USB VID issue 5967572" into ics-mr1
Scott Main [Mon, 6 Feb 2012 21:04:51 +0000 (13:04 -0800)]
am 4ba15efc: Merge "docs: add Sony USB VID issue 5967572" into ics-mr1

* commit '4ba15efc5b9c884a7651d699a20f9edd7ebd7cb5':
  docs: add Sony USB VID issue 5967572

12 years agoMerge "docs: add Sony USB VID issue 5967572" into ics-mr1
Scott Main [Mon, 6 Feb 2012 21:03:16 +0000 (13:03 -0800)]
Merge "docs: add Sony USB VID issue 5967572" into ics-mr1

12 years agodocs: add Sony USB VID
Scott Main [Mon, 6 Feb 2012 21:01:44 +0000 (13:01 -0800)]
docs: add Sony USB VID
issue 5967572

Change-Id: I5735d15bec6bd85b5fa74300193dfba1c9da6f34

12 years agoam f8aea993: Make aapt ignore tools-related data.
Xavier Ducrohet [Mon, 6 Feb 2012 19:41:37 +0000 (11:41 -0800)]
am f8aea993: Make aapt ignore tools-related data.

* commit 'f8aea99385df8373b6edd6d5dd1d15b7b36b525b':
  Make aapt ignore tools-related data.

12 years agoMake aapt ignore tools-related data.
Xavier Ducrohet [Fri, 3 Feb 2012 01:18:18 +0000 (17:18 -0800)]
Make aapt ignore tools-related data.

This patchset introduces a new standard namespace http://schemas.android.com/tools
which will be used for tools specific XML attributes.
Any attributes using this namespace will not be compiled into the binary XML file.

The namespace node is also not written at all, and its string is not collected
to ensure that there is no impact on the devices.

(cherry picked from commit a5d5e9d906583ebeb590ca200ca9840302a5cd1a)

Change-Id: I62937b8bc34c07ac544930aa8eadd7797e0179d5

12 years agoAdd native common time config service.
John Grossman [Wed, 18 Jan 2012 23:00:33 +0000 (15:00 -0800)]
Add native common time config service.

Define a native service interface for configuring and controlling the
common time service.  Implement the native marshallers and stub the
implementation of the new interface.

Change-Id: Ia6a6a20ef3d221e8829c55be1dd5f98ed996c610

12 years agoAdd marshallers for the new common clock methods.
John Grossman [Wed, 18 Jan 2012 01:10:55 +0000 (17:10 -0800)]
Add marshallers for the new common clock methods.

Add marshallers and stub implementations for new methods in the common
clock interface to support new functionality being added in the
process of integrating the common time service more closely with the
Java level of Android.

Change-Id: Iac2d3fb405d1b64cea1d8e13f988160afb76a06d

12 years agoChange ICommonClock marshallers to return explicit error codes.
John Grossman [Tue, 17 Jan 2012 18:24:58 +0000 (10:24 -0800)]
Change ICommonClock marshallers to return explicit error codes.

Change the ICommonClock marshallers to return an explicit error with
each transaction.  This makes it easier to disambiguate between binder
errors (dead object due to the service crashing) vs. runtime errors
(cannot return common time due to lack of sync)

Change-Id: I2182cf0cfb2e11b4669f392554f104ef7c4bca8b

12 years agoMove the definition of time server state.
John Grossman [Tue, 17 Jan 2012 18:20:12 +0000 (10:20 -0800)]
Move the definition of time server state.

Move the State enum up to the ICommonClock interface so it can be
returned for status/debugging up to clients.

Change-Id: I81fef5b96ffc69a4f2e9801b3744feea099ccd47

12 years agoDe-AAH-ify the common time service.
John Grossman [Wed, 18 Jan 2012 02:52:32 +0000 (18:52 -0800)]
De-AAH-ify the common time service.

Bulk name change to remove references to Android@Home from the common time
service in preparation for cleanup and up-integration into the master
branch.  Basically, aah_timesrv is now common_time.

Change-Id: I3d3db212f96e8ba171aa36b9c58e27e4a336cb0a

12 years agoMerge "Only send master volume or mute updates if the settings have changed" into...
Jason Simmons [Thu, 2 Feb 2012 21:43:43 +0000 (13:43 -0800)]
Merge "Only send master volume or mute updates if the settings have changed" into ics-aah

12 years agoOnly send master volume or mute updates if the settings have changed
Jason Simmons [Thu, 2 Feb 2012 21:00:17 +0000 (13:00 -0800)]
Only send master volume or mute updates if the settings have changed

Change-Id: If12ec3b7a4b4bf5165d7538013759f07a845d8c4

12 years agoextending timeout to stabilize tests
Tsu Chiang Chuang [Wed, 1 Feb 2012 23:24:51 +0000 (15:24 -0800)]
extending timeout to stabilize tests

Change-Id: I2e0a7ae35babdda18ade4f70d61b4c83c9d2c2d9

12 years agoam 633de7ba: docs: fix meta description tag for homepage
Scott Main [Wed, 1 Feb 2012 23:12:32 +0000 (15:12 -0800)]
am 633de7ba: docs: fix meta description tag for homepage

* commit '633de7bab9397c4f7591c5514d903305254451b2':
  docs: fix meta description tag for homepage

12 years agoam 6aaa27fb: docs: fix broken link
Scott Main [Wed, 1 Feb 2012 23:00:48 +0000 (15:00 -0800)]
am 6aaa27fb: docs: fix broken link

* commit '6aaa27fb8c4ba500a9b486c2baba5b01bcc34bf2':
  docs: fix broken link

12 years agodocs: fix meta description tag for homepage
Scott Main [Wed, 1 Feb 2012 22:49:32 +0000 (14:49 -0800)]
docs: fix meta description tag for homepage

Change-Id: Idfbc5e04fcdfc9d4e20c02ae7b1366c566722053

12 years agodocs: fix broken link
Scott Main [Wed, 1 Feb 2012 22:32:11 +0000 (14:32 -0800)]
docs: fix broken link

Change-Id: I58a082341373370bf97fed49d4d6584b468b4b46

12 years agoam 6b3f98b4: Merge "docs: fix action bar style example" into ics-mr1
Scott Main [Wed, 1 Feb 2012 19:56:35 +0000 (11:56 -0800)]
am 6b3f98b4: Merge "docs: fix action bar style example" into ics-mr1

* commit '6b3f98b458b9dc7771cce37221d4fe8c4a19bf05':
  docs: fix action bar style example

12 years agoMerge "docs: fix action bar style example" into ics-mr1
Scott Main [Wed, 1 Feb 2012 19:54:57 +0000 (11:54 -0800)]
Merge "docs: fix action bar style example" into ics-mr1

12 years agodocs: fix action bar style example
Scott Main [Wed, 1 Feb 2012 19:52:02 +0000 (11:52 -0800)]
docs: fix action bar style example

Change-Id: I9e02c3b3ade17c832b97836c03cf023fe6ea9340

12 years agoam f47f6791: Merge "docs: dashboard update for feb 1" into ics-mr1
Scott Main [Wed, 1 Feb 2012 19:46:05 +0000 (11:46 -0800)]
am f47f6791: Merge "docs: dashboard update for feb 1" into ics-mr1

* commit 'f47f6791f897b436530557dea3a57a2ca969afe6':
  docs: dashboard update for feb 1

12 years agoam 5e095939: docs: update menu guide with CAB and popup menu, plus many other revisions
Scott Main [Wed, 1 Feb 2012 19:46:03 +0000 (11:46 -0800)]
am 5e095939: docs: update menu guide with CAB and popup menu, plus many other revisions

* commit '5e0959393426371dadef2c7905d5c915a1ac2dd4':
  docs: update menu guide with CAB and popup menu, plus many other revisions

12 years agoMerge "docs: dashboard update for feb 1" into ics-mr1
Scott Main [Wed, 1 Feb 2012 19:43:48 +0000 (11:43 -0800)]
Merge "docs: dashboard update for feb 1" into ics-mr1

12 years agodocs: update menu guide with CAB and popup menu, plus many other revisions
Scott Main [Fri, 16 Dec 2011 21:06:22 +0000 (13:06 -0800)]
docs: update menu guide with CAB and popup menu, plus many other revisions

Change-Id: I5faedd5f5b812ca58eb2085b0c036570de861f15

12 years agodocs: dashboard update for feb 1
Scott Main [Wed, 1 Feb 2012 19:27:14 +0000 (11:27 -0800)]
docs: dashboard update for feb 1

Change-Id: I112d649e70e78678f986a4ed02e6db1cbdcf607f

12 years agoam ccc11c4d: Merge "Fix a typo in image processing test" into ics-mr1
Xia Wang [Wed, 1 Feb 2012 18:53:48 +0000 (10:53 -0800)]
am ccc11c4d: Merge "Fix a typo in image processing test" into ics-mr1

* commit 'ccc11c4d3c8357a402b84c546e7b2f889729358c':
  Fix a typo in image processing test

12 years agoMerge "Fix a typo in image processing test" into ics-mr1
Xia Wang [Wed, 1 Feb 2012 18:51:43 +0000 (10:51 -0800)]
Merge "Fix a typo in image processing test" into ics-mr1

12 years agoFix a typo in image processing test
Xia Wang [Wed, 1 Feb 2012 18:47:18 +0000 (10:47 -0800)]
Fix a typo in image processing test

Change-Id: I6c39a144dc7c724188e6ebad76c51c3ac1e818e1

12 years agoam 0b2701b7: Merge "docs: change that stated as a few doc fixes and turned into fully...
Scott Main [Wed, 1 Feb 2012 00:10:20 +0000 (16:10 -0800)]
am 0b2701b7: Merge "docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a form

* commit '0b2701b7344fb7b7b6f9a1c1c99c8ede81b49d2d':
  docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug.

12 years agoMerge "docs: change that stated as a few doc fixes and turned into fully documenting...
Scott Main [Wed, 1 Feb 2012 00:08:09 +0000 (16:08 -0800)]
Merge "docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug." into ics-mr1