Adam Powell
d843564331
Merge "PopupWindow: fix typo in doc comment"
2014-11-18 23:32:57 +00:00
Kenny Root
d00ced983e
am b0cb0734: Merge "Track change to Conscrypt"
...
* commit 'b0cb07348e6320ce51d0e8b88d240ecf834850d1':
Track change to Conscrypt
2014-11-03 18:40:55 +00:00
Kenny Root
b0cb07348e
Merge "Track change to Conscrypt"
2014-11-03 18:34:00 +00:00
Narayan Kamath
10ac55ba4f
am 5f8099ed: Merge "Add java.util.List import."
...
* commit '5f8099ed181c2ba279c4a747096442389d5f8840':
Add java.util.List import.
2014-11-03 16:00:57 +00:00
Narayan Kamath
2b4378fef8
Add java.util.List import.
...
Unused on master but used downstream.
Change-Id: I7c072e25d1f7c3a645efb2986d23e81068dced22
2014-11-03 15:55:03 +00:00
Narayan Kamath
2e1bd46a15
am ef5d43a7: Merge "Revert "Revert "Remove unused apache related API."""
...
* commit 'ef5d43a7cf694ffac8b0069aa5026862d6b32735':
Revert "Revert "Remove unused apache related API.""
2014-11-03 14:31:11 +00:00
Narayan Kamath
4b8f1846ca
Revert "Revert "Remove unused apache related API.""
...
This reverts commit 31f54ef815 .
Change-Id: Ib8fc22e3a23b2c06400cd687e8ed9cef9a11d09b
2014-11-03 13:32:10 +00:00
Kenny Root
8a97063720
Track change to Conscrypt
...
Change way in which an outside caller can get the preferred SSLContext.
Bug: 17136008
Change-Id: Ide578664bcb605304322bfddd2e640a63042fa09
2014-10-31 12:06:09 -07:00
Narayan Kamath
fa945c105b
am e87d36f8: Merge "Revert "Remove unused apache related API.""
...
* commit 'e87d36f8925a34f85ba80c886757d07ad03fed42':
Revert "Remove unused apache related API."
2014-10-29 11:30:11 +00:00
Narayan Kamath
d3389e2f32
resolved conflicts for merge of 9834af9c to stage-aosp-master
...
Change-Id: Ibdada14406f49684cf345162204b9810452f25a2
2014-10-29 11:23:45 +00:00
Elliott Hughes
87ce99ca72
am ced7ebdb: Merge "Migrate off timeFormat12 and timeFormat24."
...
* commit 'ced7ebdb1d522b4206e2048b278554ca841aeaba':
Migrate off timeFormat12 and timeFormat24.
2014-10-28 04:39:24 +00:00
Narayan Kamath
31f54ef815
Revert "Remove unused apache related API."
...
This reverts commit 3f2714e18b .
Change-Id: Ie0e51897ab509d112dc37ca7b90b4139b0a82d8d
2014-10-27 16:55:14 +00:00
Narayan Kamath
3f2714e18b
Remove unused apache related API.
...
Hidden and used only in unit tests.
Change-Id: I492b735f0f7e129946e28c31ad9d91c98aacf987
2014-10-24 14:27:07 +01:00
Elliott Hughes
ced7ebdb1d
Merge "Migrate off timeFormat12 and timeFormat24."
2014-10-23 18:21:56 +00:00
Elliott Hughes
f7d5e0a53e
Migrate off timeFormat12 and timeFormat24.
...
libcore now offers a wider variety of 12-/24-hour time formats,
so be more specific about which one we want here.
(cherry-pick of 85f60d3a03b5b5d9a0e8b8a138eb85a6b53a1eca.)
Bug: 10361358
Change-Id: I846ab7a6f84cd49e876ad21e9366aff1600e0530
2014-10-23 11:18:21 -07:00
Neil Fuller
38b63f0ede
am dfcf0655: am 09fd5a18: Merge "Replacing FloatMath native implementation with calls to Math"
...
* commit 'dfcf065505a12aa358af5cd2607fd355eee964c4':
Replacing FloatMath native implementation with calls to Math
2014-10-20 10:16:08 +00:00
Neil Fuller
dfcf065505
am 09fd5a18: Merge "Replacing FloatMath native implementation with calls to Math"
...
* commit '09fd5a1873fa1ab51f4e428b1b909fea35091a51':
Replacing FloatMath native implementation with calls to Math
2014-10-20 10:10:34 +00:00
Neil Fuller
09fd5a1873
Merge "Replacing FloatMath native implementation with calls to Math"
2014-10-20 10:08:11 +00:00
Nick Kralevich
7b3db39aa4
Replacing FloatMath native implementation with calls to Math
...
On modern versions of Android running in AOT mode
FloatMath is slower than Math. Calls to Math.sqrt(),
etc. are replaced by intrinsics which can be as small
as a single CPU opcode.
When running in interpreted mode the new
implementation is unfortunately slower, but I'm
judging this acceptable and likely to be improved
over time. This change saves a small amount of native
code.
Example timings:
Mako AOSP AOT:
Method: Original / New / Direct call to Math
ceil: 596ns / 146.ns / 111ns
sqrt: 694ns / 56ns / 25ns
Mako AOSP interpreted:
Method: Original / New / Direct call to Math
ceil: 1900ns / 2307ns / 1485ns
sqrt: 1998ns / 2603ns / 1788ns
Other calls Mako AOT:
Method: Original / New
cos: 635ns / 270ns
exp: 566ns / 324ns
floor: 604ns / 150ns
hypot: 631ns / 232ns
pow: 936ns / 643ns
sin: 641ns / 299ns
The advice to use Math directly, in preference to
FloatMath, is still good. FloatMath will be deprecated
separately.
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: If07fcbd78543d13bc6d75f9743f999860e8d58d7
2014-10-20 09:24:11 +01:00
Elliott Hughes
5fc9f9c293
am 84e6d466: am 4cd671e4: Merge "Revert "Replacing FloatMath native implementation with calls to Math""
...
* commit '84e6d466edc2aba711f90431a1cd209d11c0e70d':
Revert "Replacing FloatMath native implementation with calls to Math"
2014-10-18 20:53:38 +00:00
Elliott Hughes
84e6d466ed
am 4cd671e4: Merge "Revert "Replacing FloatMath native implementation with calls to Math""
...
* commit '4cd671e4d27befdd576fa86051956c3cafad6808':
Revert "Replacing FloatMath native implementation with calls to Math"
2014-10-18 20:48:03 +00:00
Elliott Hughes
4cd671e4d2
Merge "Revert "Replacing FloatMath native implementation with calls to Math""
2014-10-18 20:43:07 +00:00
Elliott Hughes
b3b68d0333
Revert "Replacing FloatMath native implementation with calls to Math"
...
This reverts commit 32b88b48da .
Change-Id: I40ea17f3a68f2b53eb013aebd3ba1becdc724f94
2014-10-18 20:41:27 +00:00
Alan Viverette
6fffe58bf4
am 15e7b2ac: Merge "Translate compound button drawable by scroll position" into lmp-dev
...
* commit '15e7b2ac60b0e6355e6ed5c1be676744c23f5a0e':
Translate compound button drawable by scroll position
2014-10-18 00:26:00 +00:00
Alan Viverette
b95c336d78
Translate compound button drawable by scroll position
...
BUG: 18028674
Change-Id: Iaba848642b87f0d134c6a6c57e5756d883e45904
2014-10-17 17:19:12 -07:00
Svetoslav
5ee758932a
am cd2b54e6: Merge "Accessibility no longer overrides strong encryption." into lmp-dev
...
* commit 'cd2b54e6e546099e028f9e41966ab7cf1deedd3c':
Accessibility no longer overrides strong encryption.
2014-10-17 23:04:13 +00:00
Svetoslav
a6711ff6f0
Accessibility no longer overrides strong encryption.
...
Updating the accessibility layer behavior to reflect the new
model where accessibility no longer overrides strong encryption.
Now enabling an accessibility service lowers the encryption
level but the user can bump it up in settings if desired.
bug:17881324
Change-Id: Ic60d760c267d3f934040a42e1963b179bd8b9f5f
2014-10-17 14:33:11 -07:00
Dianne Hackborn
53cf2d4b9f
am 52476989: Merge "SDK only: hide the old L API version constant." into lmp-dev
...
* commit '52476989b8afc0e96c2218625031ed550b12c79b':
SDK only: hide the old L API version constant.
2014-10-17 17:15:02 +00:00
Neil Fuller
5a135a1cbb
am 9b0109eb: am c7aa8fe6: Merge "Removing some more FloatMath references"
...
* commit '9b0109eb051fcf0a7ad801d03e73aa4e0bf2d7a7':
Removing some more FloatMath references
2014-10-17 14:59:41 +00:00
Neil Fuller
9b0109eb05
am c7aa8fe6: Merge "Removing some more FloatMath references"
...
* commit 'c7aa8fe62356fc09962941140c8bb7ed8bab2f8f':
Removing some more FloatMath references
2014-10-17 14:54:17 +00:00
Neil Fuller
c7aa8fe623
Merge "Removing some more FloatMath references"
2014-10-17 14:48:17 +00:00
Dianne Hackborn
d3511d4be1
SDK only: hide the old L API version constant.
...
Also update the LOLLIPOP version constant to describe more things
that change when you target it.
Change-Id: I15e2c26a0f997ff2bfc8dd5076c827da7f42ee66
2014-10-16 17:49:45 -07:00
Prerepa Viswanadham
e51f6f84e5
am 248edc3e: Update javadoc comments for getBluetoothLeAdvertiser()
...
* commit '248edc3e969217aec1fcce7f324cbae6c46da0a3':
Update javadoc comments for getBluetoothLeAdvertiser()
2014-10-16 16:11:36 +00:00
Prerepa Viswanadham
248edc3e96
Update javadoc comments for getBluetoothLeAdvertiser()
...
To clarify that BluetoothLeAdvertiser object will return null
when BT is off OR if the hw doesn't support these capabilities
bug: 18006072
Change-Id: I635d7971711a3cae7c58f7a0636faf9a03f19970
2014-10-16 16:06:44 +00:00
Neil Fuller
4ef9403577
am 8a3785ca: am fd2d41b7: Merge "Replacing FloatMath native implementation with calls to Math"
...
* commit '8a3785cafec4b47fe8d61614b04a0e193d616428':
Replacing FloatMath native implementation with calls to Math
2014-10-16 09:32:33 +00:00
Neil Fuller
8a3785cafe
am fd2d41b7: Merge "Replacing FloatMath native implementation with calls to Math"
...
* commit 'fd2d41b742339d278f4a66f78a7c161108985ed8':
Replacing FloatMath native implementation with calls to Math
2014-10-16 09:24:18 +00:00
Neil Fuller
fd2d41b742
Merge "Replacing FloatMath native implementation with calls to Math"
2014-10-16 08:16:24 +00:00
Brian Carlstrom
c8a8701c2e
am 20de619d: Merge "Set threads\' contextClassLoader during LoadedApk.makeApplication." into lmp-dev
...
* commit '20de619d66a594fd9e6e76a3a2cb79422aef577c':
Set threads' contextClassLoader during LoadedApk.makeApplication.
2014-10-16 01:19:51 +00:00
Brian Carlstrom
20de619d66
Merge "Set threads' contextClassLoader during LoadedApk.makeApplication." into lmp-dev
2014-10-16 01:01:26 +00:00
Jim Miller
839685bc57
am e7c32555: Merge "Add a checkbox option to \'require password to decrypt\'" into lmp-dev
...
* commit 'e7c325559d961f13c6df96803bca4747f41b27a4':
Add a checkbox option to 'require password to decrypt'
2014-10-15 18:26:02 +00:00
Jim Miller
e7c325559d
Merge "Add a checkbox option to 'require password to decrypt'" into lmp-dev
2014-10-15 18:21:52 +00:00
Amith Yamasani
54be1ea752
am 2c3886cb: Merge "Fix admin policies in managed profiles" into lmp-dev
...
* commit '2c3886cb3463ff39c1986c5b85eba79748dd8c24':
Fix admin policies in managed profiles
2014-10-15 17:48:50 +00:00
Amith Yamasani
2c3886cb34
Merge "Fix admin policies in managed profiles" into lmp-dev
2014-10-15 17:44:24 +00:00
Amith Yamasani
242f4b1259
Fix admin policies in managed profiles
...
Some of the admin policies are throwing security exceptions in
a managed profile without being documented correctly and others
shouldn't be throwing security exceptions.
Changed setCameraDisabled() to not throw an exception. It now just
prevents work profile apps from using the camera.
Changed wipeData() to allow passing in ERASE_EXTERNAL_STORAGE. In
secondary users/profiles, this is just going to remove the user, so
the flag is harmless.
Updated documentation for setKeyguardDisabledFeatures() and resetPassword()
to indicate that they cannot be called in a managed profile.
Bug: 17987913
Change-Id: I8060be4c2d32bdd4edb46ce543551fabb9c8c983
2014-10-15 10:42:17 -07:00
Jeff Sharkey
96b46ebaee
am 88a6ed54: Merge "Reduce PackageInstaller Binder memory pressure." into lmp-dev
...
* commit '88a6ed5477eb6fa0453f9f29adef4c11b6eeade0':
Reduce PackageInstaller Binder memory pressure.
2014-10-15 16:53:28 +00:00
Jeff Sharkey
97d47ed036
Reduce PackageInstaller Binder memory pressure.
...
When restoring hundreds of apps on low-DPI devices, we end up sending
icon Bitmaps inline in the response instead of splitting into ashmem
regions. To avoid triggering TransactionTooLargeException, switch to
using ParceledListSlice under the hood.
Bug: 17926122
Change-Id: Ib4da6775e79d2fcb4aaea15f58ed998df203a5f9
2014-10-15 09:19:54 -07:00
Neil Fuller
12f427d0b5
am 1802567a: am e4625cc1: Merge "Fix Time docs to document various error cases"
...
* commit '1802567a79b2fc94aa1dff387cd55db8521cdca6':
Fix Time docs to document various error cases
2014-10-15 16:05:56 +00:00
Neil Fuller
1802567a79
am e4625cc1: Merge "Fix Time docs to document various error cases"
...
* commit 'e4625cc1a861615f4b3447e2a4d4990590d51470':
Fix Time docs to document various error cases
2014-10-15 16:01:01 +00:00
Neil Fuller
e4625cc1a8
Merge "Fix Time docs to document various error cases"
2014-10-15 15:56:06 +00:00
Neil Fuller
7079f2003c
Fix Time docs to document various error cases
...
Bug: https://code.google.com/p/android/issues/detail?id=76386
Change-Id: Ibb71405b70453d5abaf45426ec4e36261b6695cf
2014-10-15 12:08:05 +01:00