120941 Commits

Author SHA1 Message Date
John Reck
cec24ae16e RenderThread work
Hacky prototype needs a private API to enable

Change-Id: I21e0ddf3cdbd38a4036354b5d6012449e1a34849
2013-12-09 15:57:09 -08:00
Lorenzo Colitti
4598ea4e5e am 263c4788: am 30253d7a: am 2daa0c93: Merge "Add address flags and scope to LinkAddress."
* commit '263c4788dcf45f104f8668fd6621d1a7c39689b9':
  Add address flags and scope to LinkAddress.
2013-12-09 18:34:44 +00:00
Lorenzo Colitti
263c4788dc am 30253d7a: am 2daa0c93: Merge "Add address flags and scope to LinkAddress."
* commit '30253d7a649bd4fc6a436ae880a70e1142c1e58f':
  Add address flags and scope to LinkAddress.
2013-12-09 18:31:25 +00:00
John Spurlock
3f6239e37e Merge "Show hideycling for non-primary users." 2013-12-09 18:29:00 +00:00
Lorenzo Colitti
30253d7a64 am 2daa0c93: Merge "Add address flags and scope to LinkAddress."
* commit '2daa0c93c4a0a9d18f4ef4486369fb8c90cd1ea2':
  Add address flags and scope to LinkAddress.
2013-12-09 10:28:19 -08:00
Baligh Uddin
9d20c2f3c1 Merge "Import translations. DO NOT MERGE" 2013-12-09 18:25:34 +00:00
Baligh Uddin
bc3e609dbc Import translations. DO NOT MERGE
Change-Id: Ie859264a5323e31dde1529b33e9318949cc1668c
Auto-generated-cl: translation import
2013-12-09 10:17:36 -08:00
Baligh Uddin
bd4fd493b5 am 0126e980: (-s ours) am 19158fc3: (-s ours) am 325a1352: (-s ours) am 0bfbb676: (-s ours) Import translations. DO NOT MERGE
* commit '0126e9803401a657ea27e8ee8499fb52ca3810a9':
  Import translations. DO NOT MERGE
2013-12-09 18:13:39 +00:00
Baligh Uddin
0126e98034 am 19158fc3: (-s ours) am 325a1352: (-s ours) am 0bfbb676: (-s ours) Import translations. DO NOT MERGE
* commit '19158fc39a40f51c87195f5e3066bd891d359a2e':
  Import translations. DO NOT MERGE
2013-12-09 18:10:32 +00:00
Baligh Uddin
19158fc39a am 325a1352: (-s ours) am 0bfbb676: (-s ours) Import translations. DO NOT MERGE
* commit '325a13527d8c18c93bee266475cade9037f71698':
  Import translations. DO NOT MERGE
2013-12-09 10:08:25 -08:00
Baligh Uddin
325a13527d am 0bfbb676: (-s ours) Import translations. DO NOT MERGE
* commit '0bfbb676277c907444b09ba9e653491b32dddf9c':
  Import translations. DO NOT MERGE
2013-12-09 10:05:02 -08:00
Baligh Uddin
0bfbb67627 Import translations. DO NOT MERGE
Change-Id: Iaac5bb8f0ee9e7471e6f6401eab46a86a406ce4c
Auto-generated-cl: translation import
2013-12-09 09:53:12 -08:00
John Spurlock
0513d5abb6 Show hideycling for non-primary users.
User 0 owns the window (system_server) but should be allowed
to display on a user's behalf.

Use the corresponding private flag for this system window, since
we cannot classify it by type (TYPE_TOAST) in policy.

Bug:12015090
Change-Id: I33aedb4624288415a5e1ae937676b693024546a9
2013-12-09 11:59:45 -05:00
Scott Main
0ddca999d7 am 427e05b4: am 6fc956c7: am 4681d452: am 9cefb571: Merge "Revert "add Drive API feature page. fix link text on several pages"" into klp-docs
* commit '427e05b4afdae4e8b67fe420dad1403fd22d06e7':
  Revert "add Drive API feature page. fix link text on several pages"
2013-12-07 02:52:03 +00:00
Scott Main
235ce22fd2 am cf6c169f: am 71638ac4: am 2c93b68a: am b821a87d: update robots.txt to disallow the community/ pages
* commit 'cf6c169fe0c2f13784af3559f25acad738b7a0ae':
  update robots.txt to disallow the community/ pages
2013-12-07 02:51:55 +00:00
Scott Main
7ef80e85fc am 03775d95: am 2bbea2bb: am 38854cab: am c45eebe1: add Android Community page
* commit '03775d95a8cb6dd7c9fe471d832e4f7d1400471d':
  add Android Community page
2013-12-07 02:51:49 +00:00
Lorenzo Colitti
2daa0c93c4 Merge "Add address flags and scope to LinkAddress." 2013-12-07 02:43:04 +00:00
Scott Main
427e05b4af am 6fc956c7: am 4681d452: am 9cefb571: Merge "Revert "add Drive API feature page. fix link text on several pages"" into klp-docs
* commit '6fc956c7ac7602e23f9bf164760db137cebdbbb8':
  Revert "add Drive API feature page. fix link text on several pages"
2013-12-07 01:50:13 +00:00
Scott Main
6fc956c7ac am 4681d452: am 9cefb571: Merge "Revert "add Drive API feature page. fix link text on several pages"" into klp-docs
* commit '4681d4521cb955fcf66b6aad809aa99836cbb30a':
  Revert "add Drive API feature page. fix link text on several pages"
2013-12-06 17:48:00 -08:00
Scott Main
4681d4521c am 9cefb571: Merge "Revert "add Drive API feature page. fix link text on several pages"" into klp-docs
* commit '9cefb57116653346729a9fc606e8ff4f899ad380':
  Revert "add Drive API feature page. fix link text on several pages"
2013-12-07 01:45:31 +00:00
Scott Main
9cefb57116 Merge "Revert "add Drive API feature page. fix link text on several pages"" into klp-docs 2013-12-07 01:42:31 +00:00
Scott Main
f2be361b46 Revert "add Drive API feature page. fix link text on several pages"
This reverts commit 680a1f67cd39b127663d2e8bc4b5f3ca1d868274.

Change-Id: Icc474d08e5fba678b683ae01280e015ae38dcf72
2013-12-07 01:42:10 +00:00
Scott Main
cf6c169fe0 am 71638ac4: am 2c93b68a: am b821a87d: update robots.txt to disallow the community/ pages
* commit '71638ac4afb54bd0f4849c1179c370ee75462565':
  update robots.txt to disallow the community/ pages
2013-12-07 00:17:32 +00:00
Scott Main
71638ac4af am 2c93b68a: am b821a87d: update robots.txt to disallow the community/ pages
* commit '2c93b68a0309e74e5c011cba1ef98951236f9f29':
  update robots.txt to disallow the community/ pages
2013-12-06 16:15:15 -08:00
Scott Main
2c93b68a03 am b821a87d: update robots.txt to disallow the community/ pages
* commit 'b821a87d1b9310d7f07880c80d0b5ccafd59986a':
  update robots.txt to disallow the community/ pages
2013-12-07 00:12:41 +00:00
Scott Main
03775d95a8 am 2bbea2bb: am 38854cab: am c45eebe1: add Android Community page
* commit '2bbea2bbc1b0efe60efcb255404661ca5160ab04':
  add Android Community page
2013-12-07 00:11:35 +00:00
Scott Main
2bbea2bbc1 am 38854cab: am c45eebe1: add Android Community page
* commit '38854cabba3524316f8e1a9ffe9f4ac15e14d72f':
  add Android Community page
2013-12-06 16:09:24 -08:00
Scott Main
b821a87d1b update robots.txt to disallow the community/ pages
Change-Id: I318308f7219b296d92039cba2b6f5ace321f697f
2013-12-06 16:08:01 -08:00
Scott Main
38854cabba am c45eebe1: add Android Community page
* commit 'c45eebe1868deb93c54c29885163a13a497eb86a':
  add Android Community page
2013-12-07 00:06:29 +00:00
Scott Main
c45eebe186 add Android Community page
Change-Id: I8a9c98931b274dbb27d7952e2278eaf7798da343
2013-12-06 15:48:22 -08:00
Scott Main
d8d65f7190 am 41d6be57: am 2d285312: am 37a8d7c5: am 680a1f67: add Drive API feature page. fix link text on several pages
* commit '41d6be57d3d7cb6fda32398211b826e095e480c4':
  add Drive API feature page. fix link text on several pages
2013-12-06 23:47:44 +00:00
Scott Main
41d6be57d3 am 2d285312: am 37a8d7c5: am 680a1f67: add Drive API feature page. fix link text on several pages
* commit '2d2853120eaf3ccd6867ec7038c38ef794baaecc':
  add Drive API feature page. fix link text on several pages
2013-12-06 23:44:59 +00:00
Scott Main
2d2853120e am 37a8d7c5: am 680a1f67: add Drive API feature page. fix link text on several pages
* commit '37a8d7c54cbdb36cd6ff9c6688140b99e256c644':
  add Drive API feature page. fix link text on several pages
2013-12-06 15:41:23 -08:00
Scott Main
37a8d7c54c am 680a1f67: add Drive API feature page. fix link text on several pages
* commit '680a1f67cd39b127663d2e8bc4b5f3ca1d868274':
  add Drive API feature page. fix link text on several pages
2013-12-06 23:38:43 +00:00
Scott Main
680a1f67cd add Drive API feature page.
fix link text on several pages

Change-Id: I717eba278bc2cc09d3ee148a08700e8e353312d2
2013-12-06 14:50:18 -08:00
Robert Greenwalt
5436b0cfe3 Merge "Fix descriptor leak after accepting connections" 2013-12-06 22:15:49 +00:00
Dave Platt
3e7305c6bf Fix descriptor leak after accepting connections
After accepting a connection on a listening socket and
storing the resulting FileDescriptor into a newly created
LocalSocketImpl, the new impl's "descriptor was created
locally and should be closed normally" flag should be set.

Bug: 11805817
Change-Id: I0a1a7c62ec3fbcf647a44a22110ddc778d14e5f4
2013-12-06 14:03:47 -08:00
Alan Viverette
36be65f56b Merge "Fix handling of constraints for unspecified height RelativeLayouts" 2013-12-06 21:54:36 +00:00
Nick Kralevich
6018d01427 am bf88b659: am 5fa89d55: am 6b8a3a52: am f7422885: Merge "Augment SELinuxMMAC functionality."
* commit 'bf88b659b6c02143b464c0551d4875f7911ed269':
  Augment SELinuxMMAC functionality.
2013-12-06 16:26:08 +00:00
Nick Kralevich
bf88b659b6 am 5fa89d55: am 6b8a3a52: am f7422885: Merge "Augment SELinuxMMAC functionality."
* commit '5fa89d55712110c2932f76357216e7a77b3b317e':
  Augment SELinuxMMAC functionality.
2013-12-06 16:22:58 +00:00
Nick Kralevich
5fa89d5571 am 6b8a3a52: am f7422885: Merge "Augment SELinuxMMAC functionality."
* commit '6b8a3a52acf1c2722551f1ea1ce47831f87939cd':
  Augment SELinuxMMAC functionality.
2013-12-06 08:20:18 -08:00
Nick Kralevich
6b8a3a52ac am f7422885: Merge "Augment SELinuxMMAC functionality."
* commit 'f7422885a99c5d240f70c2f8227ae44abeea3e5c':
  Augment SELinuxMMAC functionality.
2013-12-06 08:17:23 -08:00
Nick Kralevich
f7422885a9 Merge "Augment SELinuxMMAC functionality." 2013-12-06 16:13:58 +00:00
Robert Craig
99a626c271 Augment SELinuxMMAC functionality.
* No longer support a package name stanza outside of
  a signature tag. Package names, by themselves, have
  no security associated with them in Android and thus we
  should not be allowing or encouraging this
  type of policy.

* Allow for nested package name stanzas inside
  signature stanzas. There are cases where a finer
  distinction needs to be made among apps signed with
  the same cert. New code allows a different seinfo
  tag to be assigned to the listed package names
  signed by the parent cert. When a determination needs
  to be made concerning seinfo assignments, the inner
  seinfo tag takes precedence over the outer seinfo
  labels which are assigned to just the signature.

* Temp structures are now used to parse new policy files
  until the entire xml file is parsed and deemed correct,
  at which time the temp structures are copied over to the
  permanent class structures. This ensures that any structural
  errors with the policy will not result in partial loads.

* Valid stanzas look like the following with the inner
  package piece being optional.

   <signer signature="">
     <seinfo value=""/>
     <package name="">
       <seinfo value=""/>
     </package>
   <signer>

   <default>
     <seinfo value=""/>
   </default>

Change-Id: Ia204d71211776dcf9b2dcc86ad6d77c4ad39dc25
2013-12-06 08:51:20 -05:00
Lorenzo Colitti
64483947fd Add address flags and scope to LinkAddress.
This is necessary so that the framework can know whether an IPv6
address is likely to be usable (i.e., if it's global scope and
preferred). Also, it will simplify the address notification
methods in INetworkManagementEventObserver, which currently take
the address, the flags, and the scope as separate arguments.

1. Add flags and scope to the class and update the unit test.
   Use the IFA_F_* and RT_SCOPE_* constants defined by libcore.
   Since most callers don't know about flags and scope, provide
   constructors that default the flags to zero and determine the
   scope from the address. Addresses notified by the kernel will
   have these properly set. Make multicast addresses invalid.
   Update the class documentation.
2. Provide an isSameAddressAs() method that compares only the
   address and prefix information between two LinkAddress
   objects. This is necessary because an interface can't have
   two addresses with the same address/prefix but different
   flags.
3. Update LinkProperties's addLinkAddress and removeLinkAddress
   to identify existing addresses to add/remove using
   isSameAddressAs instead of implicit equals(). Specifically:
   - If addLinkAddress is called with an address that is already
     present, the existing address's flags and scope are updated.
     This allows, for example, an address on an interface to go
     from preferred to deprecated when it expires, without it
     having to be removed and re-added.
   - If removeLinkAddress is called with an address that is
     present but with different flags, it deletes that address
     instead of failing to find a match.
4. Update the INetworkManagementEventObserver address
   notification methods to take just a LinkAddress instead of
   LinkAddress, flags, and scope. While I'm at it, change the
   order of the arguments for consistency with the other
   functions in the interface.

Change-Id: Id8fe0f09a7e8f6bee1ea3b52102178b689a9336e
2013-12-06 13:54:35 +09:00
The Android Open Source Project
c6499939fa am dcff5cef: am d7a5aaee: am ebcb32f5: Merge commit \'bac61807d3bcfff957b358cb9ad77850bd373689\' into HEAD
* commit 'dcff5ceff6ef0050af4c49a8c2a86ab663a88665':
2013-12-06 02:50:46 +00:00
The Android Open Source Project
dcff5ceff6 am d7a5aaee: am ebcb32f5: Merge commit \'bac61807d3bcfff957b358cb9ad77850bd373689\' into HEAD
* commit 'd7a5aaee145879804006d2c00daa4c14d544e03a':
2013-12-06 01:43:38 +00:00
The Android Open Source Project
d7a5aaee14 am ebcb32f5: Merge commit \'bac61807d3bcfff957b358cb9ad77850bd373689\' into HEAD
* commit 'ebcb32f58a6220802ca129ea33f47b4b69931a10':
2013-12-05 17:27:10 -08:00
Alan Viverette
e100cd992d Merge "Fix typo in LayerDrawable" 2013-12-05 23:35:48 +00:00
Alan Viverette
89417177d5 Fix typo in LayerDrawable
Change-Id: I6c73cb90d0c161d29e8d41c54850d66840c947d7
2013-12-05 15:34:28 -08:00