65763 Commits

Author SHA1 Message Date
Joe Fernandez
a61f842040 docs: OpenGL Tutorials fixed two broken links (Issue 5990696, public android bug: 25132)
Change-Id: I9d504017c507b2e203b8e0448d720714bec32e8c
2012-02-09 11:16:20 -08:00
Eric Fischer
e42fe553a7 Import translations. DO NOT MERGE
Change-Id: Id6eb7d951bbbd8d01ce11670946282eecd7bc984
2012-02-08 18:46:47 -08:00
Xia Wang
4dd8338b8d Merge "Remove airplane mode related wifi test for Wi-Fi only devices." into ics-aah 2012-02-08 10:08:23 -08:00
Scott Main
7f6b378c75 am 09ff04d7: docs: fix typo in menu TOC
* commit '09ff04d7893a9f49e478bb732ce1ea1b17662a3b':
  docs: fix typo in menu TOC
2012-02-07 21:48:18 -08:00
Scott Main
09ff04d789 docs: fix typo in menu TOC
Change-Id: Ief511803ef5b4bed1823a12918de814aca119681
2012-02-07 21:45:00 -08:00
John Grossman
583a03ac04 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
2012-02-07 16:07:48 -08:00
Xia Wang
8e2b887567 Remove airplane mode related wifi test for Wi-Fi only devices.
Change-Id: I7304276af7cb1dad0f08ebc9738108e877525eb9
2012-02-07 14:19:56 -08:00
John Grossman
e7509ae668 Merge "Explicitly manage common clock client lifetimes." into ics-aah 2012-02-06 18:12:56 -08:00
John Grossman
06e51360ec Merge "Add the CommonTimeManagementService." into ics-aah 2012-02-06 18:12:39 -08:00
John Grossman
89843c251b Merge "Implement new common_time service functionality." into ics-aah 2012-02-06 18:12:30 -08:00
John Grossman
134e6c9336 Merge "Add Java interfaces to the common_time services." into ics-aah 2012-02-06 18:12:21 -08:00
John Grossman
8b667490cd Merge "Add native common time config service." into ics-aah 2012-02-06 18:12:14 -08:00
John Grossman
008bb41946 Merge "Add marshallers for the new common clock methods." into ics-aah 2012-02-06 18:11:58 -08:00
John Grossman
2760e17da5 Merge "Change ICommonClock marshallers to return explicit error codes." into ics-aah 2012-02-06 18:11:52 -08:00
John Grossman
ad8b498417 Merge "Move the definition of time server state." into ics-aah 2012-02-06 18:11:46 -08:00
John Grossman
dfedbb9e76 Merge "De-AAH-ify the common time service." into ics-aah 2012-02-06 18:11:40 -08:00
John Grossman
36d372fb6a 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
2012-02-06 18:02:33 -08:00
John Grossman
7d6934f3eb 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
2012-02-06 18:02:33 -08:00
John Grossman
354edbc80e 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
2012-02-06 18:02:32 -08:00
John Grossman
08d7aeb048 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
2012-02-06 18:02:26 -08:00
John Wang
18cce49e04 am 48ac0f14: Merge "Don\'t use SNR in the invalid check." into ics-mr1
* commit '48ac0f14de9be4c91bdce4e601c5eef4fd2c3123':
  Don't use SNR in the invalid check.
2012-02-06 17:02:31 -08:00
John Wang
48ac0f14de Merge "Don't use SNR in the invalid check." into ics-mr1 2012-02-06 17:00:49 -08:00
Xavier Ducrohet
3ef9b7afdd 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.
2012-02-06 16:42:57 -08:00
Xavier Ducrohet
331bb0c393 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
2012-02-06 16:40:03 -08:00
Scott Main
6eee3067cd 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
2012-02-06 14:11:47 -08:00
Scott Main
a9d9fa723a Merge "docs: switch from caps to initial-case for device button names" into ics-mr1 2012-02-06 14:10:16 -08:00
Scott Main
cf9fe43ce9 docs: switch from caps to initial-case for device button names
Change-Id: I2affdf7400fd814e43633806cebebee4c6075b0b
2012-02-06 14:09:00 -08:00
John Wang
7c70cefcae 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
2012-02-06 14:03:57 -08:00
Scott Main
16fd4ac0ce am 4ba15efc: Merge "docs: add Sony USB VID issue 5967572" into ics-mr1
* commit '4ba15efc5b9c884a7651d699a20f9edd7ebd7cb5':
  docs: add Sony USB VID issue 5967572
2012-02-06 13:04:51 -08:00
Scott Main
4ba15efc5b Merge "docs: add Sony USB VID issue 5967572" into ics-mr1 2012-02-06 13:03:16 -08:00
Scott Main
ed4d1f7dcf docs: add Sony USB VID
issue 5967572

Change-Id: I5735d15bec6bd85b5fa74300193dfba1c9da6f34
2012-02-06 13:01:44 -08:00
Xavier Ducrohet
f0c10920f9 am f8aea993: Make aapt ignore tools-related data.
* commit 'f8aea99385df8373b6edd6d5dd1d15b7b36b525b':
  Make aapt ignore tools-related data.
2012-02-06 11:41:37 -08:00
Xavier Ducrohet
f8aea99385 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
2012-02-06 11:25:28 -08:00
Mike Lockwood
198357e6a2 WifiStateMachine: Move wifi teardown delay to a framework resource
Bug: 5931171

Change-Id: I12b539e1070483a1f7cdbd5c152da4b4cb6326b0
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-02-06 09:41:48 -05:00
John Grossman
9387f4f800 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
2012-02-03 17:46:00 -08:00
John Grossman
2627965d61 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
2012-02-03 17:45:53 -08:00
John Grossman
573c84d43e 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
2012-02-03 17:45:30 -08:00
John Grossman
7f1d9e1c53 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
2012-02-03 17:45:17 -08:00
John Grossman
232f869c99 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
2012-02-03 17:43:21 -08:00
Jason Simmons
f0da1f51f4 Merge "Only send master volume or mute updates if the settings have changed" into ics-aah 2012-02-02 13:43:43 -08:00
Jason Simmons
a477bab9c3 Only send master volume or mute updates if the settings have changed
Change-Id: If12ec3b7a4b4bf5165d7538013759f07a845d8c4
2012-02-02 13:00:17 -08:00
Tsu Chiang Chuang
a8c57bf6ad extending timeout to stabilize tests
Change-Id: I2e0a7ae35babdda18ade4f70d61b4c83c9d2c2d9
2012-02-01 15:24:51 -08:00
Scott Main
e361df9927 am 633de7ba: docs: fix meta description tag for homepage
* commit '633de7bab9397c4f7591c5514d903305254451b2':
  docs: fix meta description tag for homepage
2012-02-01 15:12:32 -08:00
Scott Main
70174cd2a8 am 6aaa27fb: docs: fix broken link
* commit '6aaa27fb8c4ba500a9b486c2baba5b01bcc34bf2':
  docs: fix broken link
2012-02-01 15:00:48 -08:00
Scott Main
633de7bab9 docs: fix meta description tag for homepage
Change-Id: Idfbc5e04fcdfc9d4e20c02ae7b1366c566722053
2012-02-01 14:49:32 -08:00
Scott Main
6aaa27fb8c docs: fix broken link
Change-Id: I58a082341373370bf97fed49d4d6584b468b4b46
2012-02-01 14:32:11 -08:00
Scott Main
839d5d5704 am 6b3f98b4: Merge "docs: fix action bar style example" into ics-mr1
* commit '6b3f98b458b9dc7771cce37221d4fe8c4a19bf05':
  docs: fix action bar style example
2012-02-01 11:56:35 -08:00
Scott Main
6b3f98b458 Merge "docs: fix action bar style example" into ics-mr1 2012-02-01 11:54:57 -08:00
Scott Main
b6802e7b58 docs: fix action bar style example
Change-Id: I9e02c3b3ade17c832b97836c03cf023fe6ea9340
2012-02-01 11:53:03 -08:00
Scott Main
e588299b30 am f47f6791: Merge "docs: dashboard update for feb 1" into ics-mr1
* commit 'f47f6791f897b436530557dea3a57a2ca969afe6':
  docs: dashboard update for feb 1
2012-02-01 11:46:05 -08:00