OSDN Git Service
Kenny Root [Tue, 12 Jan 2016 20:59:32 +0000 (20:59 +0000)]
Merge "Track changes in libcore"
Kenny Root [Tue, 12 Jan 2016 20:58:04 +0000 (12:58 -0800)]
Track changes in libcore
The OCSP update added some API changes necessary to interact with it.
This change tracks the addition of the API.
Change-Id: I22c0448848747943bc039ff8e8fd0a1f0c531224
Todd Kennedy [Fri, 8 Jan 2016 18:03:15 +0000 (18:03 +0000)]
Merge "Update PackageInstaller install handing"
Andreas Gampe [Fri, 8 Jan 2016 17:35:45 +0000 (17:35 +0000)]
Merge "Frameworks/base: New preload tool"
Andreas Gampe [Tue, 15 Sep 2015 15:57:12 +0000 (08:57 -0700)]
Frameworks/base: New preload tool
Add a new preload tool based on hprof dumps. This means that only
a userdebug build (to adjust the pre-existing preloaded-classes
file) is required now, not a recompiled runtime.
Change-Id: Ib0c00de3b248e49fa8271cbace67c5d4a50170a1
Narayan Kamath [Fri, 8 Jan 2016 09:36:14 +0000 (09:36 +0000)]
Merge "Trivial correction of Camera2 API description"
Narayan Kamath [Fri, 8 Jan 2016 09:30:41 +0000 (09:30 +0000)]
Merge "Fixed calendar fields comparison"
Philipp Hasper [Thu, 25 Jun 2015 10:10:01 +0000 (12:10 +0200)]
Fixed calendar fields comparison
Month was compared with the day and vice versa.
Found by dukejeffrie.
Change-Id: Ic4efca440c408325819ff1df85db7b407cf3207e
Hidenari Koshimae [Fri, 8 Jan 2016 07:18:28 +0000 (16:18 +0900)]
Trivial correction of Camera2 API description
Change-Id: Ibb3393b94812dfe7b496182bb5ef43f1a5df7434
Stephen Hines [Thu, 7 Jan 2016 21:57:21 +0000 (21:57 +0000)]
Merge "Remove graphics-related RenderScript tests."
Todd Kennedy [Tue, 29 Sep 2015 22:43:00 +0000 (15:43 -0700)]
Update PackageInstaller install handing
* Allow forcing permission check. We want to modify the PackageInstaller to
use the PackageInstallerSession for better security / remove deprecated APIs.
In order to do this and continue to prompt for permissions, we need to prevent
the PakcageInstaller from auto-approving the permissions.
* Add originating UID to SessionParams. This is used for package verifier
checks.
Bug:
22282121
Change-Id: I19079749d20ace66f1332f399d52cb0fb8784cd9
Alex Klyubin [Thu, 7 Jan 2016 19:08:26 +0000 (19:08 +0000)]
Merge "[1/3] Remove unnecessary throws statement in ServiceManager"
Calin Juravle [Thu, 7 Jan 2016 11:44:55 +0000 (11:44 +0000)]
Merge "Create jit profile file during the app startup flow."
Calin Juravle [Thu, 17 Dec 2015 15:06:49 +0000 (17:06 +0200)]
Create jit profile file during the app startup flow.
ActivityThread has already all the needed information
(userId,sharedAppId) to create the profile file and set the correct
permissions on it. This avoids passing uids to the runtime which now
expects the profile file to be already created.
As part of this change:
- move the registration with the runtim in handleBindApplication
- register only if needed: we could properly setup a profile file and we
have at least one code path. Note that registration with the runtime is
done solely for profiling reasons.
Bug:
26080105
Change-Id: I72657e9ea0a0449a09734456b5f8b5da844cee62
Umair Khan [Wed, 6 Jan 2016 14:17:20 +0000 (19:47 +0530)]
[1/3] Remove unnecessary throws statement in ServiceManager
The exception is already caught by the try-catch block.
Change-Id: I0c10fe51d12a10cbc02a25c719d03a4ba6497767
Signed-off-by: Umair Khan <omerjerk@gmail.com>
Wale Ogunwale [Wed, 6 Jan 2016 15:47:05 +0000 (15:47 +0000)]
Merge "[WindowManagerService] fix starting window issue"
Chad Brubaker [Mon, 4 Jan 2016 20:26:56 +0000 (20:26 +0000)]
Merge "Add ConfigNetworkSecurityPolicy"
Dan Sandler [Mon, 4 Jan 2016 19:58:42 +0000 (19:58 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm."
Ronnie Leng [Mon, 4 Jan 2016 17:36:08 +0000 (11:36 -0600)]
[WindowManagerService] fix starting window issue
Symptom:
1. Acitivity A and B belong to same task.
2. A is started and start B in its code
3. B is opened with blank screen
If starting icon has been display, both startingWindow and
startingView should not be null.
Current logic only uses judgement on startWindow. In above
case, it leads startingView set to null as A and B shares
the same starting window due to same task. Then system will
not get chance to remove startingView as it is null.
It needs add judgement on startingView.
Change-Id: I6cfa1a3ebce93ce435cc2d9ada239b1e808988de
Dan Sandler [Tue, 29 Dec 2015 20:45:39 +0000 (15:45 -0500)]
Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.
Bug:
26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
Pavlin Radoslavov [Tue, 29 Dec 2015 01:24:14 +0000 (01:24 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 24 Nov 2015 01:13:25 +0000 (17:13 -0800)]
Use GID "wakelock" to control access to kernel wakelock
* Added GID "wakelock" (3010) to the list of groups the System Server
belongs to.
* Added GID "wakelock" to the list of assigned groups for the
"android.permission.BLUETOOTH_STACK" Android permission.
* Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"
Bug:
25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e
Narayan Kamath [Thu, 24 Dec 2015 11:56:44 +0000 (11:56 +0000)]
Merge changes from topic 'aosp-merge-24-12'
* changes:
Special case system_server to not create the JIT code cache.
Don't use IntegralToString
Track libcore commit
85d69e16fe1e59e50c1ad228e754abf325088362.
Track API changes to java.lang.ref.Reference.
Remove merge markers from preloaded-classes
Move StrictJarFile from libcore to framework
Switch RecoverySystem impl to use sun.security.pkcs
API update for OpenJdk based libcore
Use libcore/known_oj_tags for the javadoc stage.
Stop preloading fortress classes
Use HexDump instead of java.lang.IntegralToString
Add core-oj to the list of core library jars.
Nicolas Geoffray [Fri, 11 Dec 2015 15:01:04 +0000 (15:01 +0000)]
Special case system_server to not create the JIT code cache.
(cherry picked from commit
3c43b3863328e339dff90b216aed15194d129e4a)
Change-Id: Ic7b0887f9edcb950fad98ccbe66cab6949fbdc52
Chad Brubaker [Tue, 1 Dec 2015 21:03:27 +0000 (13:03 -0800)]
Don't use IntegralToString
Fix master build
(cherry picked from commit
7845e44c0cff3ec6a9ea0e5059fa1f7019ef0eb7)
Change-Id: Ic99a5e868b5d42e7bf72ef5388e30f070b6655d8
Narayan Kamath [Sun, 20 Dec 2015 20:17:40 +0000 (20:17 +0000)]
Track libcore commit
85d69e16fe1e59e50c1ad228e754abf325088362.
Unhide Pattern.UNICODE_CHARACTER_CLASS.
(cherry picked from commit
c55d9e767a2ddaced89f4528ce0fce4f2f89357e)
Change-Id: I5c53d8db13948c5d143c05694f49872456c260eb
Narayan Kamath [Wed, 9 Dec 2015 15:59:03 +0000 (15:59 +0000)]
Track API changes to java.lang.ref.Reference.
(cherry picked from commit
12f62b7ec1e0d119541ab8febd337012248d2eb7)
Change-Id: I7a08d9de7cf39e4c3e11aa504e5e48a7edf17333
Przemyslaw Szczepaniak [Wed, 2 Dec 2015 11:32:22 +0000 (11:32 +0000)]
Remove merge markers from preloaded-classes
(cherry picked from commit
b0868054720a05d9e6d8ef6ee7e4c8c2d176f456)
Change-Id: Ieb1953e33dab7f852740872af110a938eb5c1ca4
Przemyslaw Szczepaniak [Tue, 3 Nov 2015 09:47:56 +0000 (09:47 +0000)]
Move StrictJarFile from libcore to framework
Bug:
25337946
(cherry picked from commit
8a7c1606d88873c5a1b5764c16cb046b6f2275b2)
Change-Id: I1bfce4129887d7cbfc02d92641b44920d7cdbbee
Przemyslaw Szczepaniak [Thu, 9 Jul 2015 12:28:30 +0000 (13:28 +0100)]
Switch RecoverySystem impl to use sun.security.pkcs
Due to org.apache.harmony.security package removal,
RecoverySystem#verifyPackage was rewritten to use
sun.security.pkcs package for verifining package
signature.
(cherry picked from commit
9ad08ec5be0d1e225c9f463fd395ba852b6b5bba)
Change-Id: I04848ad8f045f87224f9d30ff8dd745aac6d08fd
Przemyslaw Szczepaniak [Thu, 19 Nov 2015 16:39:03 +0000 (16:39 +0000)]
API update for OpenJdk based libcore
(cherry picked from commit
7e1fb09d0b8e94f55509c65aca797c467c810f89)
Change-Id: Idc1639d3bc751c5fa738bc661e6bb8077240bd3b
Narayan Kamath [Mon, 27 Jul 2015 13:02:11 +0000 (14:02 +0100)]
Use libcore/known_oj_tags for the javadoc stage.
Helps us process (and discard) OpenJdk specific javadoc tags.
(cherry picked from commit
2c4f2843f4aa904c27dc78086bff039dbd295959)
Change-Id: Ib90ce70509fefa24608067db18cfc21c6c5d0590
Przemyslaw Szczepaniak [Wed, 18 Nov 2015 15:03:13 +0000 (15:03 +0000)]
Stop preloading fortress classes
(cherry picked from commit
f1e520169309f1303d4383298dd5644df59efe4b)
Change-Id: I4fd13c4dc373482c1235b54746fdf7f029a80dc2
Przemyslaw Szczepaniak [Thu, 15 Oct 2015 10:04:19 +0000 (11:04 +0100)]
Use HexDump instead of java.lang.IntegralToString
java.lang.IntegralToString is being removed, replaced
all its usage by com.android.internal.util.HexDump.
(cherry picked from commit
3f72604be806c0173b5dca0225cadf6e7c872147)
Change-Id: I0527d580f5975dca0dfaa6f86fa3695dd49d0849
Piotr Jastrzebski [Tue, 17 Feb 2015 16:58:52 +0000 (16:58 +0000)]
Add core-oj to the list of core library jars.
With some core classes moved to separate core-oj jar
we need to use the new jar.
(cherry picked from commit
cfa292e1dad184648bf673167f3f35b4fb34fc93)
Change-Id: Iba481c3df029902a2bd0f9661d0819f4a191b2aa
Dimitry Ivanov [Mon, 21 Dec 2015 23:10:49 +0000 (23:10 +0000)]
Merge "Use shared namespace for bundled app classloader"
Chad Brubaker [Mon, 21 Dec 2015 18:52:48 +0000 (18:52 +0000)]
Merge "Add hostname aware isCleartextTrafficPermitted"
Calin Juravle [Mon, 21 Dec 2015 09:43:34 +0000 (09:43 +0000)]
Merge "Pass app's code paths to the runtime"
Dimitry Ivanov [Sat, 12 Dec 2015 01:34:21 +0000 (17:34 -0800)]
Use shared namespace for bundled app classloader
Allow bundled apps to reference platform native libraries
located in subdirectories of the default library path
(/system/lib/hw/* for example).
In addition to this bundled apps need to share native
libraries with default namespace. Added parameter to
ApplicationLoaders.createClassLoader() to do just that.
Bug:
26165097
Bug:
26164393
(cherry picked from commit
75b10ecccdd1881390075dd22c1d4f9bdf1c5828)
Change-Id: I836e5fed4713f2a605a5de673c40970ef6d988dd
Nick Kralevich [Sat, 19 Dec 2015 06:58:58 +0000 (06:58 +0000)]
Merge "common_time_server.cpp: more O_CLOEXEC"
Nick Kralevich [Sat, 19 Dec 2015 04:47:02 +0000 (20:47 -0800)]
common_time_server.cpp: more O_CLOEXEC
Change-Id: I2185a462d72e11f5a015c525d2d37c52ecc3e430
Ying Wang [Thu, 17 Dec 2015 19:10:13 +0000 (19:10 +0000)]
Merge "Fix typo in config.xml file"
Łukasz Nowicki [Thu, 17 Dec 2015 15:22:30 +0000 (15:22 +0000)]
Fix typo in config.xml file
Change-Id: I5902c410ced9418278e0ccf847eac8ea1d70bafe
Calin Juravle [Thu, 10 Dec 2015 17:32:15 +0000 (17:32 +0000)]
Pass app's code paths to the runtime
The runtime needs the application's main code paths so it know for which
dex files to record the profile.
Bug:
26080105
Change-Id: I5f2cb5c140aa6893ac78bc0d5897e33764569e5b
Samuel Tan [Thu, 17 Dec 2015 00:35:58 +0000 (00:35 +0000)]
Merge "Add comments to keep Java and native binder PersistableBundle in sync"
Samuel Tan [Thu, 17 Dec 2015 00:35:43 +0000 (00:35 +0000)]
Merge "Fix PersistableBundle handling in Parcel.writeValue"
Samuel Tan [Thu, 17 Dec 2015 00:35:35 +0000 (00:35 +0000)]
Merge "Specify path for native PersistableBundle implementation"
Eino-Ville Talvala [Wed, 16 Dec 2015 23:01:43 +0000 (23:01 +0000)]
Merge "Revert "Camera2: create new streams if surface size has changed""
Yin-Chia Yeh [Wed, 16 Dec 2015 22:50:48 +0000 (22:50 +0000)]
Revert "Camera2: create new streams if surface size has changed"
This change is redundant after the following change is merged:
Camera2: Handle surface size change
When comparing if two OutputConfigurations are equal, also check
the width, height, format, dataspace when the output configurations
were created. With this, CameraDeviceImpl knows that the surface has
changed sizes and will reconfigure the stream.
Bug:
12250682
Change-Id: I4216260a0a08ad87b835ed97e9eaddf1df317fcc
This reverts commit
f49f8b0bad0c6cd5db1b603233ad008c5bac4a60.
Eino-Ville Talvala [Wed, 16 Dec 2015 22:18:13 +0000 (22:18 +0000)]
Merge "Camera2: create new streams if surface size has changed"
John Reck [Wed, 16 Dec 2015 18:27:24 +0000 (18:27 +0000)]
Merge "libhwui: make setSurface asynchronous"
Samuel Tan [Mon, 14 Dec 2015 21:29:17 +0000 (13:29 -0800)]
Add comments to keep Java and native binder PersistableBundle in sync
Add comments stating that certain methods of the Java binder framework
should be kept in sync with the corresponding methods mirrored in the
native PersistableBundle implementation.
BUG:
25815410
Change-Id: I475b2e9a527291eea58c8178cd733c444dfcfed5
Samuel Tan [Sat, 12 Dec 2015 00:50:58 +0000 (16:50 -0800)]
Fix PersistableBundle handling in Parcel.writeValue
Previously, in Parcel.writeValue, PersistableBundle objects
would be handled as Parcelable types, since we check for
the Parcelable type before the PersistableBundle type (and
PersistableBundle implements the Parcelable interface).
Fix this by moving the PersistableBundle type "if" condition
above the Parcealble type "if" condition. Also, add a comment
that explicitly states this nuance, in order to prevent future
regressions.
BUG:
25815410
Change-Id: Ia86aa5fc39423422342df0609a0d37e7f38d7ddd
Samuel Tan [Tue, 1 Dec 2015 02:17:19 +0000 (18:17 -0800)]
Specify path for native PersistableBundle implementation
Specify path for native PersistableBundle implementation in
PersistableBundle.aidl.
BUG:
25815410
Change-Id: If29b06604b938805d5250fe80e54ef9ea1e88365
Chad Brubaker [Wed, 9 Dec 2015 20:58:37 +0000 (12:58 -0800)]
Add ConfigNetworkSecurityPolicy
ConfigNetworkSecurityPolicy is a NetworkSecurityPolicy based on an
ApplicationConfig.
Change-Id: I623854090f9eaa1c2bd3561dce6ce8268850c819
Greg Hackmann [Mon, 14 Dec 2015 21:12:52 +0000 (21:12 +0000)]
Merge "Trace SQLite operations"
Greg Hackmann [Mon, 1 Dec 2014 22:31:21 +0000 (14:31 -0800)]
Trace SQLite operations
Inefficient SQLite use can have non-obvious effects on performance. For
example, insert and update operations can trigger a surprising number of
fsync() calls, especially if they're not grouped together into
transactions.
Add tracepoints around SQLite operations, to make it easier to pinpoint
their effects on the rest of the system.
Change-Id: I30cc3d02eca264e46dcc09ca7512a32519543834
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Chad Brubaker [Mon, 14 Dec 2015 19:31:08 +0000 (19:31 +0000)]
Merge "Use the application's usesCleartextTraffic flag"
Chad Brubaker [Mon, 14 Dec 2015 19:30:44 +0000 (19:30 +0000)]
Merge "Check for null hostnames in RootTrustManager"
Svetoslav Ganov [Mon, 14 Dec 2015 17:53:15 +0000 (17:53 +0000)]
Merge "Change signature|system permissions to signature|privileged"
Michael Wright [Mon, 14 Dec 2015 17:38:58 +0000 (17:38 +0000)]
Merge "Customize auto-brightness parameters"
Zoran Jovanovic [Thu, 10 Dec 2015 16:01:16 +0000 (17:01 +0100)]
Customize auto-brightness parameters
Auto-brightness parameters are device dependent so they should be
configurable.
The common issue with original values manifests as the screen being
perceived as too bright in dark rooms with minimum brightness and
also laginess on backlight change.
Change-Id: I2b040608bca73a3397c65c24d3b28a1514499ae6
Julia Reynolds [Mon, 14 Dec 2015 16:39:49 +0000 (16:39 +0000)]
Merge "Fix volume expand arrow to be displayed correctly"
Alexander Toresson [Mon, 14 Dec 2015 15:10:04 +0000 (16:10 +0100)]
Fix volume expand arrow to be displayed correctly
Sometimes, the volume control expand arrow would be displayed
incorrectly. When different apps use different volume controls and
force different orientations, the position of the arrow (expand button)
will not be updated correctly. When this happens the arrow cannot be
pressed and the volume settings cannot be expanded.
The underlying reason is that onLayoutChange only compares the old
dimensions of a view with the new dimensions, which doesn't take into
account that the last time onLayoutChange was run it may have been run
for a different view (a different volume control), in which case the
dimensions of the new view may not have changed, but the arrow needs to
be repositioned anyway as it needs to be positioned in relation to
another view.
Fix this problem by storing the last stream (volume control) that the
arrow was positioned in relation to, and checking if we're positioning
in relation to the same stream the next time the position of the arrow
is updated.
Change-Id: Id23e7605d50857292e09c1909b3e27f01bdf5e22
Yury Zhauniarovich [Sun, 13 Dec 2015 17:01:03 +0000 (20:01 +0300)]
Change signature|system permissions to signature|privileged
Permission protection level changed from signature|system,
which is deprecated to signature|privileged.
Change-Id: I697723221617f8c12255d6911d34cd1bf96eff8b
Signed-off-by: Yury Zhauniarovich <y.zhalnerovich@gmail.com>
John Reck [Fri, 11 Dec 2015 20:37:36 +0000 (20:37 +0000)]
Merge "Fix memory leak in HWUI"
Chad Brubaker [Fri, 11 Dec 2015 20:35:11 +0000 (12:35 -0800)]
Use the application's usesCleartextTraffic flag
When no config is specified use the application's usesCleartextTraffic
flag when building the default config.
Change-Id: I07378f88da47b49f63e9089fca7f1e99efede272
Dimitry Ivanov [Fri, 11 Dec 2015 20:30:32 +0000 (20:30 +0000)]
Merge "Use nativeloader to load NativeActivity"
Dmitriy Ivanov [Sun, 15 Nov 2015 22:58:36 +0000 (14:58 -0800)]
Use nativeloader to load NativeActivity
System apps are the exception and they can
access internal platform libraries (this
is needed for bundled apps to work correctly).
Also fix the way NativeActivity loads the native
library to correspond to the way BaseDexClassloader
does it.
Bug: http://b/
22548808
Bub: http://b/
25777936
Change-Id: Idc94cdded182ea2cb1cbebc76c336cc3394c7ebe
Chad Brubaker [Fri, 11 Dec 2015 18:02:34 +0000 (18:02 +0000)]
Merge "Add null check to getConfigForHostname"
Sangkyu Lee [Fri, 11 Dec 2015 07:05:10 +0000 (16:05 +0900)]
Fix memory leak in HWUI
std::unique_ptr::release just releases the ownership of the
managed object. To delete the object, std::unique_ptr::reset
function should be called.
Change-Id: If65f74085b1fc2be3a9fffc433326e0bcdb40ff3
Chad Brubaker [Fri, 11 Dec 2015 02:32:40 +0000 (18:32 -0800)]
Check for null hostnames in RootTrustManager
Even if the hostname aware method is called if the hostname is null then
the destination is unknown and the configuration can be ambiguous.
Change-Id: I7cacbd57a42604933fdc882371f143dc0a20902d
Chad Brubaker [Fri, 11 Dec 2015 02:12:59 +0000 (18:12 -0800)]
Add null check to getConfigForHostname
bug:
26144676
Change-Id: I18f50940846f1ce8109560c63ce2a87ce084d9e5
Chad Brubaker [Wed, 9 Dec 2015 22:58:01 +0000 (14:58 -0800)]
Add hostname aware isCleartextTrafficPermitted
Change-Id: I22b9ea277407846f9c333ce0cc37c25a2be1381e
Matthew Williams [Thu, 10 Dec 2015 18:04:44 +0000 (18:04 +0000)]
Merge "ConcurrentModificationException in SyncManager"
Mikael Persson [Thu, 26 Nov 2015 11:34:29 +0000 (12:34 +0100)]
Camera2: create new streams if surface size has changed
When a new capture session is created, the old streams
are re-used if same surface and rotation. However, if the
surface has changed size, we must re-create the stream
to ensure HAL is configured properly, which includes
setting up proper sensor resolution.
This is an issue in e.g. CTS testNoiseReductionModes
and testEdgeModeControl, where a new preview with different
size can be setup without first stopping the previous one.
The same preview surface is used here, but with changed size.
Change-Id: I3b88a95209e83cf1cef0f4d1f791c87b0feb093f
Signed-off-by: Mikael Persson <mikael.persson@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
Thomas Buhot [Fri, 4 Dec 2015 11:18:03 +0000 (12:18 +0100)]
libhwui: make setSurface asynchronous
On the critical path of the cold launch of applications
the main thread of the started application tells the RenderThread
to create a surface. This process is synchronous and blocks
the main thread of the application until the creation
of the EGLContext is complete.
As a consequence the launch time of the application is delayed
by time spent allocating the EGL Context in the RenderThread.
With this optimization the launch time of any application
is improved (for example settings by 20 to 40 ms).
Change-Id: Ibf47aaa0abb8dedf7aa00693073db3785d9d6b08
Signed-off-by: Thomas Buhot <thomas.buhot@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
Eino-Ville Talvala [Wed, 9 Dec 2015 21:14:21 +0000 (21:14 +0000)]
Merge "Replace hard-coded errno values with OsConstants"
Chad Brubaker [Wed, 9 Dec 2015 20:53:01 +0000 (20:53 +0000)]
Merge "Use a custom TrustedCertificateStore"
Chad Brubaker [Wed, 9 Dec 2015 20:52:50 +0000 (20:52 +0000)]
Merge "Expose findByIssuerAndSignature"
Stephen Hines [Wed, 9 Dec 2015 19:03:38 +0000 (11:03 -0800)]
Remove graphics-related RenderScript tests.
Bug: http://b/
25497185
These APIs have been deprecated for quite some time, and it makes sense
to remove the obsolete tests.
Change-Id: Ief413633c49b304042e191fbc200901bf9a794ad
Chad Brubaker [Wed, 9 Dec 2015 18:40:55 +0000 (18:40 +0000)]
Merge "Refactor NetworkSecurityPolicy to be pluggable"
Christopher Wiley [Tue, 8 Dec 2015 23:15:52 +0000 (23:15 +0000)]
Merge "Rethrow remote's ServiceSpecificException"
Chad Brubaker [Tue, 8 Dec 2015 21:37:28 +0000 (13:37 -0800)]
Refactor NetworkSecurityPolicy to be pluggable
This allows us to keep the logic for the NetworkSecurityPolicy in the
framework instead of in libcore.
Change-Id: I4bf494f79c27729cb17d93d90a91319492270ce9
Paul Duffin [Tue, 8 Dec 2015 14:11:45 +0000 (14:11 +0000)]
Merge "Remove framework from LOCAL_JAVA_LIBRARIES"
am:
e252149ab9
* commit '
e252149ab99a008a0a75734326755cadd5c5ee7a':
Remove framework from LOCAL_JAVA_LIBRARIES
Paul Duffin [Tue, 8 Dec 2015 14:10:09 +0000 (14:10 +0000)]
Merge "Follow-up to Switch to the latest version of Caliper"
am:
80d5bef6f9
* commit '
80d5bef6f9da4a0eeb23c3356843351170553df6':
Follow-up to Switch to the latest version of Caliper
Paul Duffin [Tue, 8 Dec 2015 14:04:29 +0000 (14:04 +0000)]
Merge "Remove framework from LOCAL_JAVA_LIBRARIES"
Paul Duffin [Tue, 8 Dec 2015 14:03:10 +0000 (14:03 +0000)]
Merge "Follow-up to Switch to the latest version of Caliper"
Paul Duffin [Tue, 8 Dec 2015 13:51:27 +0000 (13:51 +0000)]
Remove framework from LOCAL_JAVA_LIBRARIES
After previous change removed LOCAL_NO_STANDARD_LIBRARIES:=true
it is no longer necessary to explicitly add framework to
LOCAL_JAVA_LIBRARIES as it is added automatically by the build.
Change-Id: I68bf700375e34a10302f76d7463110755b815f85
Andreas Gampe [Tue, 8 Dec 2015 02:24:08 +0000 (18:24 -0800)]
Follow-up to Switch to the latest version of Caliper
Remove LOCAL_NO_STANDARD_LIBRARIES.
(cherry pick from commit
c9d6a91cd51a9b7ff00187914fe922b0d22b3d66)
Bug:
24848946
Change-Id: I19feea042c9b4823d4979f4d951476792600edbc
振淦王 [Tue, 1 Dec 2015 08:37:31 +0000 (16:37 +0800)]
ConcurrentModificationException in SyncManager
updateRunningAccounts and dispatchSyncOperation is running in different thread,
and mActiveSyncContexts not synchronization.
If methods occur together,
mActiveSyncContexts change may occur when cycle is running.
Sample:
https://code.google.com/p/android/issues/detail?id=195341
Solution:
Offboard the traversal from the main thread to the handler thread.
Change-Id: Ifb9fbb466a5087186be31f7877c50b8c8b6737e4
Signed-off-by: wangzhengan <wangzglx@gmail.com>
Neil Fuller [Tue, 8 Dec 2015 10:47:59 +0000 (10:47 +0000)]
Merge "Add ICU4J APIs for Android"
am:
cb02371ca7
* commit '
cb02371ca70a81796c75bd3bbf88478caf6ea7b7':
Add ICU4J APIs for Android
Neil Fuller [Tue, 8 Dec 2015 10:42:51 +0000 (10:42 +0000)]
Merge "Add ICU4J APIs for Android"
Michael Wright [Mon, 7 Dec 2015 23:19:53 +0000 (23:19 +0000)]
Merge "Add support for locking the screen when the lid is closed"
am:
9dc3c36c9c
* commit '
9dc3c36c9cd796d90b65543567495d910d266e4c':
Add support for locking the screen when the lid is closed
Samuel Tan [Mon, 7 Dec 2015 23:15:15 +0000 (23:15 +0000)]
Merge "Add support for reading and writing double array values"
am:
61c0b7cd4d
* commit '
61c0b7cd4d73381a2f4e3d3836389b130b5006d9':
Add support for reading and writing double array values
Paul Duffin [Mon, 7 Dec 2015 23:12:48 +0000 (23:12 +0000)]
Merge "Switch to the latest version of Caliper"
am:
ae119af517
* commit '
ae119af517fc427ead5bd6a3394b3b1f92df790d':
Switch to the latest version of Caliper
Michael Wright [Mon, 7 Dec 2015 21:34:59 +0000 (21:34 +0000)]
Merge "Add support for locking the screen when the lid is closed"
Samuel Tan [Mon, 7 Dec 2015 18:56:01 +0000 (18:56 +0000)]
Merge "Add support for reading and writing double array values"
Neil Fuller [Tue, 10 Nov 2015 13:14:07 +0000 (13:14 +0000)]
Add ICU4J APIs for Android
Add the planned set of new I18N public APIs for
Android N.
This APIs consists of a whitelisted subset of ICU4J APIs
repackaged under android.icu (not com.ibm.icu).
It includes no deprecated, provisional, internal methods from
ICU 56.
There may be future work to improve the ICU4J JavaDoc text
for Android, but the API surface area should be mostly
stable at this point.
Bug:
22023363
(cherry-picked from commit
d7fa3e79f071696bd62182c01b62fe0ea1cc9587)
Change-Id: I6667acbbf7c5501e12ecfbdd560ea80283c0c831
Paul Duffin [Mon, 7 Dec 2015 13:34:27 +0000 (13:34 +0000)]
Merge "Switch to the latest version of Caliper"