OSDN Git Service

android-x86/frameworks-base.git
9 years agoam eccbc7c9: Merge "Fix NativeCrashListener"
Neil Fuller [Thu, 16 Jul 2015 10:42:05 +0000 (10:42 +0000)]
am eccbc7c9: Merge "Fix NativeCrashListener"

* commit 'eccbc7c96f3f3dfa82f25362cf4ed0db3d9a6cb6':
  Fix NativeCrashListener

9 years agoMerge "Fix NativeCrashListener"
Neil Fuller [Thu, 16 Jul 2015 10:26:17 +0000 (10:26 +0000)]
Merge "Fix NativeCrashListener"

9 years agoam 1ecfdf33: Merge "docs: Add an explicit dependency on libcore/Docs.mk"
Narayan Kamath [Thu, 16 Jul 2015 10:10:28 +0000 (10:10 +0000)]
am 1ecfdf33: Merge "docs: Add an explicit dependency on libcore/Docs.mk"

* commit '1ecfdf33ee593c0e80cee5e11f4c0a0fd0071233':
  docs: Add an explicit dependency on libcore/Docs.mk

9 years agoMerge "docs: Add an explicit dependency on libcore/Docs.mk"
Narayan Kamath [Thu, 16 Jul 2015 08:57:17 +0000 (08:57 +0000)]
Merge "docs: Add an explicit dependency on libcore/Docs.mk"

9 years agodocs: Add an explicit dependency on libcore/Docs.mk
Narayan Kamath [Tue, 14 Jul 2015 12:39:23 +0000 (13:39 +0100)]
docs: Add an explicit dependency on libcore/Docs.mk

We include libcore sources in apicheck / docs targets so we must
regenerate the stubs or api definitions whenever the list of libcore
sources changes.

Change-Id: I9383015069bc4064d5d06d3d540047cd408e24c7

9 years agoam 2fccb66d: Merge "Fix a bug disappearing installerPackageName info of packages...
Chris Tate [Thu, 16 Jul 2015 00:24:30 +0000 (00:24 +0000)]
am 2fccb66d: Merge "Fix a bug disappearing installerPackageName info of packages after reboot."

* commit '2fccb66debb6fb26ba6072ccc83ed56d45cc55fb':
  Fix a bug disappearing installerPackageName info of packages after reboot.

9 years agoMerge "Fix a bug disappearing installerPackageName info of packages after reboot."
Chris Tate [Thu, 16 Jul 2015 00:09:37 +0000 (00:09 +0000)]
Merge "Fix a bug disappearing installerPackageName info of packages after reboot."

9 years agoFix NativeCrashListener
Neil Fuller [Wed, 15 Jul 2015 16:38:28 +0000 (17:38 +0100)]
Fix NativeCrashListener

In the move from InetUnixAddress to UnixSocketAddress
commit e9d537506bf19375fb932ac7d25ac9a9e3aef61d did not modify
the Os.accept() call in NativeCrashListener. It was passing
an empty InetSocketAddress.

The type could have been changed, but the peer address is
never used and it is safe to pass a null.

Bug: 3106438
Change-Id: I2a61221c4504657b3e1de848b0b493f202726126

9 years agoam b4db7923: Merge "Delete some obsolete test code."
Narayan Kamath [Tue, 14 Jul 2015 11:05:07 +0000 (11:05 +0000)]
am b4db7923: Merge "Delete some obsolete test code."

* commit 'b4db7923818393c5c839dba0d43bec36da98759c':
  Delete some obsolete test code.

9 years agoam ebac4d1b: Merge "Change conditionallyCheckInstanceCounts to use countInstancesOfCl...
Mathieu Chartier [Tue, 14 Jul 2015 11:05:01 +0000 (11:05 +0000)]
am ebac4d1b: Merge "Change conditionallyCheckInstanceCounts to use countInstancesOfClasses"

* commit 'ebac4d1b0858ee02e095e35969c8f7421a0f5cea':
  Change conditionallyCheckInstanceCounts to use countInstancesOfClasses

9 years agoMerge "Delete some obsolete test code."
Narayan Kamath [Tue, 14 Jul 2015 10:47:44 +0000 (10:47 +0000)]
Merge "Delete some obsolete test code."

9 years agoMerge "Change conditionallyCheckInstanceCounts to use countInstancesOfClasses"
Mathieu Chartier [Mon, 13 Jul 2015 16:41:10 +0000 (16:41 +0000)]
Merge "Change conditionallyCheckInstanceCounts to use countInstancesOfClasses"

9 years agoam 886630c0: Merge "Switch shutdownInput / shutdownOutput to using Os.shutdown."
Neil Fuller [Mon, 13 Jul 2015 15:11:11 +0000 (15:11 +0000)]
am 886630c0: Merge "Switch shutdownInput / shutdownOutput to using Os.shutdown."

* commit '886630c0d8adc17c494edf19a30b06473a687fcb':
  Switch shutdownInput / shutdownOutput to using Os.shutdown.

9 years agoMerge "Switch shutdownInput / shutdownOutput to using Os.shutdown."
Neil Fuller [Mon, 13 Jul 2015 15:02:04 +0000 (15:02 +0000)]
Merge "Switch shutdownInput / shutdownOutput to using Os.shutdown."

9 years agoam 188af044: Merge "Revert "frameworks/base: libexpat now exports its headers.""
Elliott Hughes [Sat, 11 Jul 2015 01:18:00 +0000 (01:18 +0000)]
am 188af044: Merge "Revert "frameworks/base: libexpat now exports its headers.""

* commit '188af044685802cfd5266fe45b68528a2413ce3d':
  Revert "frameworks/base: libexpat now exports its headers."

9 years agoMerge "Revert "frameworks/base: libexpat now exports its headers.""
Elliott Hughes [Sat, 11 Jul 2015 01:08:13 +0000 (01:08 +0000)]
Merge "Revert "frameworks/base: libexpat now exports its headers.""

9 years agoRevert "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 01:07:39 +0000 (01:07 +0000)]
Revert "frameworks/base: libexpat now exports its headers."

This reverts commit 2f31b66c04b1e80fd039418edf41e74f67b68143.

Change-Id: Ib4ce610d1767db5c72c54d33520e8bdf50171a18

9 years agoam 220b61f1: Merge "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 00:52:48 +0000 (00:52 +0000)]
am 220b61f1: Merge "frameworks/base: libexpat now exports its headers."

* commit '220b61f14387e492be4ae8b819a5f96ca9b8dc36':
  frameworks/base: libexpat now exports its headers.

9 years agoMerge "frameworks/base: libexpat now exports its headers."
Elliott Hughes [Sat, 11 Jul 2015 00:40:47 +0000 (00:40 +0000)]
Merge "frameworks/base: libexpat now exports its headers."

9 years agoChange conditionallyCheckInstanceCounts to use countInstancesOfClasses
Mathieu Chartier [Fri, 10 Jul 2015 20:44:42 +0000 (13:44 -0700)]
Change conditionallyCheckInstanceCounts to use countInstancesOfClasses

countInstancesOfClasses allows passing multiple classes unlike
countInstanceOfClass. This provides a speedup since we dont traverse
the heap multiple times.

Changed ActivityThread.dumpMemInfo to do a GC since countInstancesOfClass
no longer does GC before counting.

https://code.google.com/p/android/issues/detail?id=177552

Change-Id: Ia85684f40cf59a52aa71a8479c711a994651209b

9 years agoframeworks/base: libexpat now exports its headers.
Elliott Hughes [Fri, 10 Jul 2015 18:12:22 +0000 (11:12 -0700)]
frameworks/base: libexpat now exports its headers.

Change-Id: Iaba3d57db18ebdd89e4a993436e9bf844722ff87

9 years agoSwitch shutdownInput / shutdownOutput to using Os.shutdown.
Neil Fuller [Wed, 8 Jul 2015 11:57:15 +0000 (12:57 +0100)]
Switch shutdownInput / shutdownOutput to using Os.shutdown.

Bug: 3106438
Change-Id: I2c4817e435c6b253d6c507ea57bdfdfe45df8862

9 years agoam 43a2aca4: Merge "Remove @ToBeFixed from knowntags."
Narayan Kamath [Thu, 9 Jul 2015 17:38:46 +0000 (17:38 +0000)]
am 43a2aca4: Merge "Remove @ToBeFixed from knowntags."

* commit '43a2aca4c279d3db8abdf4692249134fdd69bd96':
  Remove @ToBeFixed from knowntags.

9 years agoDelete some obsolete test code.
Narayan Kamath [Thu, 9 Jul 2015 17:22:21 +0000 (18:22 +0100)]
Delete some obsolete test code.

- Get rid of obsolete annotations in MediaInserterTest.

- Drop support for @BrokenTest and @SideEffect. Nobody uses
  SideEffect and none of the tests that use this test runner
  (vm-tests-tf, essentially) use @BrokenTest.

Change-Id: Id73c4d4eda8031689f9263c85b563c29e635d446

9 years agoMerge "Remove @ToBeFixed from knowntags."
Narayan Kamath [Thu, 9 Jul 2015 17:22:13 +0000 (17:22 +0000)]
Merge "Remove @ToBeFixed from knowntags."

9 years agoRemove @ToBeFixed from knowntags.
Narayan Kamath [Thu, 9 Jul 2015 16:54:45 +0000 (17:54 +0100)]
Remove @ToBeFixed from knowntags.

It's used nowhere and will be deleted shortly.

Change-Id: Ie87f16cd060445c0e0ccac4e9a192ca266c92851

9 years agoam 2ca4f73e: Merge "Switch LocalSocketImpl.accept() over to using Os.accept()"
Neil Fuller [Thu, 9 Jul 2015 11:23:00 +0000 (11:23 +0000)]
am 2ca4f73e: Merge "Switch LocalSocketImpl.accept() over to using Os.accept()"

* commit '2ca4f73e8036b35085f12cdbcff3350812c42ff6':
  Switch LocalSocketImpl.accept() over to using Os.accept()

9 years agoMerge "Switch LocalSocketImpl.accept() over to using Os.accept()"
Neil Fuller [Thu, 9 Jul 2015 11:11:08 +0000 (11:11 +0000)]
Merge "Switch LocalSocketImpl.accept() over to using Os.accept()"

9 years agoam c83d1819: Merge "Switch from InetUnixAddress to UnixSocketAddress"
Neil Fuller [Thu, 9 Jul 2015 10:02:57 +0000 (10:02 +0000)]
am c83d1819: Merge "Switch from InetUnixAddress to UnixSocketAddress"

* commit 'c83d18190d02ba848a800ded36d714270eefd226':
  Switch from InetUnixAddress to UnixSocketAddress

9 years agoSwitch LocalSocketImpl.accept() over to using Os.accept()
Neil Fuller [Wed, 8 Jul 2015 10:33:54 +0000 (11:33 +0100)]
Switch LocalSocketImpl.accept() over to using Os.accept()

Bug: 3106438
Change-Id: I3b4a07cc2283c3cfdbaf3d2460f37264f67690e3

9 years agoMerge "Switch from InetUnixAddress to UnixSocketAddress"
Neil Fuller [Thu, 9 Jul 2015 09:44:27 +0000 (09:44 +0000)]
Merge "Switch from InetUnixAddress to UnixSocketAddress"

9 years agoFix a bug disappearing installerPackageName info of packages after reboot.
hyemin.hwang [Thu, 9 Jul 2015 00:16:12 +0000 (09:16 +0900)]
Fix a bug disappearing installerPackageName info of packages after reboot.

If user install apps from playstore, system has installerPackageName attribute of app.
but, after reboot, some apps(have sharedUserID) installerPackageName attribute disappearing.
because lack of copy routine.
So, I added copy routine(installerPackageName).

Testcase :
1. Install app(has sharedUserId, ex Lync2013) from market.
2. Confirm package info from packages.xml(exist installer info).
3. reboot.
4. Re-confirm package info from packages.xml(not exist installer info).

Change-Id: I5f9597b0f0f23be21efdfc7c7780ce7cfd2b9672

9 years agoam 07e1c409: Merge "Android always has <malloc.h>."
Elliott Hughes [Wed, 8 Jul 2015 18:33:11 +0000 (18:33 +0000)]
am 07e1c409: Merge "Android always has <malloc.h>."

* commit '07e1c409acc375ae88b6cc73fe4541db529c9638':
  Android always has <malloc.h>.

9 years agoMerge "Android always has <malloc.h>."
Elliott Hughes [Wed, 8 Jul 2015 18:12:21 +0000 (18:12 +0000)]
Merge "Android always has <malloc.h>."

9 years agoam b05c2beb: Merge "Move listen() over to using android.system.Os"
Neil Fuller [Wed, 8 Jul 2015 10:33:28 +0000 (10:33 +0000)]
am b05c2beb: Merge "Move listen() over to using android.system.Os"

* commit 'b05c2bebf85619aaedaa39593acc53eaaed22493':
  Move listen() over to using android.system.Os

9 years agoMerge "Move listen() over to using android.system.Os"
Neil Fuller [Wed, 8 Jul 2015 10:18:13 +0000 (10:18 +0000)]
Merge "Move listen() over to using android.system.Os"

9 years agoAndroid always has <malloc.h>.
Elliott Hughes [Wed, 8 Jul 2015 02:19:34 +0000 (19:19 -0700)]
Android always has <malloc.h>.

Change-Id: I9e18daeec26380c439f823e6a55ee61773c1b680

9 years agoam 50d11ded: Merge "Reimplement LocalSocket methods using android.system.Os"
Neil Fuller [Tue, 7 Jul 2015 16:22:45 +0000 (16:22 +0000)]
am 50d11ded: Merge "Reimplement LocalSocket methods using android.system.Os"

* commit '50d11ded0d219ea9b128557080e4ffd49ebea5ab':
  Reimplement LocalSocket methods using android.system.Os

9 years agoMerge "Reimplement LocalSocket methods using android.system.Os"
Neil Fuller [Tue, 7 Jul 2015 16:11:47 +0000 (16:11 +0000)]
Merge "Reimplement LocalSocket methods using android.system.Os"

9 years agoSwitch from InetUnixAddress to UnixSocketAddress
Neil Fuller [Tue, 7 Jul 2015 15:58:00 +0000 (16:58 +0100)]
Switch from InetUnixAddress to UnixSocketAddress

UnixSocketAddress is replacing InetUnixAddress.

Bug: 3106438
Change-Id: I7c03fa357adfb3221908294fd254c8faae91fd1b

9 years agoam 0254af6f: Merge "Fix "Bluetooh" logging typo."
Elliott Hughes [Tue, 7 Jul 2015 06:14:43 +0000 (06:14 +0000)]
am 0254af6f: Merge "Fix "Bluetooh" logging typo."

* commit '0254af6f6831acdf077345bb8c4d7c34d1e6cd34':
  Fix "Bluetooh" logging typo.

9 years agoMerge "Fix "Bluetooh" logging typo."
Elliott Hughes [Tue, 7 Jul 2015 06:00:55 +0000 (06:00 +0000)]
Merge "Fix "Bluetooh" logging typo."

9 years agoFix "Bluetooh" logging typo.
Elliott Hughes [Tue, 7 Jul 2015 05:10:36 +0000 (22:10 -0700)]
Fix "Bluetooh" logging typo.

Change-Id: I2b9aea64f1b53e100ead6e71835bf5935b410eb9

9 years agoam 593dfbb2: Merge "Miss USB device Interface from UsbManager.getDeviceList()."
Mike Lockwood [Mon, 6 Jul 2015 17:26:47 +0000 (17:26 +0000)]
am 593dfbb2: Merge "Miss USB device Interface from UsbManager.getDeviceList()."

* commit '593dfbb29106ebca2994f487024fc98fe9c18ab5':
  Miss USB device Interface from UsbManager.getDeviceList().

9 years agoMerge "Miss USB device Interface from UsbManager.getDeviceList()."
Mike Lockwood [Mon, 6 Jul 2015 17:10:31 +0000 (17:10 +0000)]
Merge "Miss USB device Interface from UsbManager.getDeviceList()."

9 years agoMiss USB device Interface from UsbManager.getDeviceList().
wang.zhenyu [Sat, 4 Jul 2015 09:00:16 +0000 (17:00 +0800)]
Miss USB device Interface from UsbManager.getDeviceList().

In the scenario that you connect more than one device to android phone with an usb hub,
when you attach the second device,mNewConfigurationis is still corresponded to the first
device unless another mNewConfiguration is created by a new operation.
However,before another mNewConfiguration is created,setInterfaces() in addUsbConfiguration()
has already been executed. Problem is that mNewInterfaces has already been cleared when
it finished endUsbDeviceAdded for the first device. As a result,the UsbInterface descriptor
in the first device's Configuration descriptor is set to null.

Change-Id: I0ba4f07c809d07ebebed633e43c3ee8e2e4c5060

9 years agoMove listen() over to using android.system.Os
Neil Fuller [Fri, 3 Jul 2015 16:58:00 +0000 (17:58 +0100)]
Move listen() over to using android.system.Os

Bug: 3106438
Change-Id: I9b4d1d58d84a28828555ae863e86530995191f2c

9 years agoam 761e39e1: Merge "Switch to using android.system.Os for more calls"
Neil Fuller [Fri, 3 Jul 2015 14:18:36 +0000 (14:18 +0000)]
am 761e39e1: Merge "Switch to using android.system.Os for more calls"

* commit '761e39e18990b657c488c78a6c048f625bd6b74a':
  Switch to using android.system.Os for more calls

9 years agoReimplement LocalSocket methods using android.system.Os
Neil Fuller [Fri, 3 Jul 2015 14:06:23 +0000 (15:06 +0100)]
Reimplement LocalSocket methods using android.system.Os

InputStream.available()
OutputStream.flush()

Bug: 3106438
Change-Id: I3a9425c323229e27bb72f6232dd13f7579586840

9 years agoMerge "Switch to using android.system.Os for more calls"
Neil Fuller [Fri, 3 Jul 2015 14:07:33 +0000 (14:07 +0000)]
Merge "Switch to using android.system.Os for more calls"

9 years agoSwitch to using android.system.Os for more calls
Neil Fuller [Fri, 3 Jul 2015 09:59:17 +0000 (10:59 +0100)]
Switch to using android.system.Os for more calls

The methods being switched here should involve no important
semantic changes. socket.getSoTimeout() is now implemented:
previously it would have returned 0 in all cases.

Some tidy up of unimplemented / commented code.

Switching other calls to use Os would carry more risk and
will be handled separately they can be switched safely.

Bug: 3106438
Change-Id: I5526249395565fee6e43f159a2b5975b0d41d058

9 years agoam 6bcdf90e: Merge "Delete unused testing scripts and WithFramework."
Narayan Kamath [Thu, 2 Jul 2015 11:28:40 +0000 (11:28 +0000)]
am 6bcdf90e: Merge "Delete unused testing scripts and WithFramework."

* commit '6bcdf90e49ca8ed1ac7a9074d5f6b79889451001':
  Delete unused testing scripts and WithFramework.

9 years agoMerge "Delete unused testing scripts and WithFramework."
Narayan Kamath [Thu, 2 Jul 2015 11:18:18 +0000 (11:18 +0000)]
Merge "Delete unused testing scripts and WithFramework."

9 years agoDelete unused testing scripts and WithFramework.
Narayan Kamath [Thu, 25 Jun 2015 13:22:00 +0000 (14:22 +0100)]
Delete unused testing scripts and WithFramework.

These scripts haven't worked in a long time now. run_core_test
uses VM options that aren't supported and WithFramework (which is
unmaintained) and run_junit.sh refers to an APK that doesn't
exist anymore.

If anyone wishes to run these tests individually, they can just
use vogar instead :
$ make vogar vogar.jar
$ vogar --mode=activity frameworks/base/tests/CoreTests/android/core/Sha1Test.java

This also allows us to delete the WithFramework class, which was
only referenced by these obsolete scripts.

bug: 22078684
Change-Id: I481f6721d51d50456421a1526c370b93aec9b351

9 years agoam 1d50879b: Merge "Remove memory leak in PersistentDataBlockService jni"
Narayan Kamath [Wed, 1 Jul 2015 13:44:56 +0000 (13:44 +0000)]
am 1d50879b: Merge "Remove memory leak in PersistentDataBlockService jni"

* commit '1d50879b1d183d4caa15b9685515b5f959213fe9':
  Remove memory leak in PersistentDataBlockService jni

9 years agoMerge "Remove memory leak in PersistentDataBlockService jni"
Narayan Kamath [Wed, 1 Jul 2015 13:32:04 +0000 (13:32 +0000)]
Merge "Remove memory leak in PersistentDataBlockService jni"

9 years agoRemove memory leak in PersistentDataBlockService jni
Henrik Baard [Tue, 23 Jun 2015 07:36:36 +0000 (09:36 +0200)]
Remove memory leak in PersistentDataBlockService jni

When calling the methods
 com_android_server_PersistentDataBlockService_getBlockDeviceSize()
 com_android_server_PersistentDataBlockService_wipe()
memory is leaked because string created by
 GetStringUTFChars() is not released.

Use ScopedUtfChars instead to ensure that memory is released.

Change-Id: I880a6d66a4824778b411b858774b8ffa009c1e17

9 years agoam 3b43f862: Merge "[RenderScript] update the type of offsets for BLAS.BNNM"
Miao Wang [Wed, 1 Jul 2015 06:01:32 +0000 (06:01 +0000)]
am 3b43f862: Merge "[RenderScript] update the type of offsets for BLAS.BNNM"

* commit '3b43f862d09cf420a36ac372edcfddd4c4a68aa5':
  [RenderScript] update the type of offsets for BLAS.BNNM

9 years agoMerge "[RenderScript] update the type of offsets for BLAS.BNNM"
Miao Wang [Wed, 1 Jul 2015 05:53:41 +0000 (05:53 +0000)]
Merge "[RenderScript] update the type of offsets for BLAS.BNNM"

9 years ago[RenderScript] update the type of offsets for BLAS.BNNM
Miao Wang [Tue, 30 Jun 2015 00:43:03 +0000 (17:43 -0700)]
[RenderScript] update the type of offsets for BLAS.BNNM

bug: 22184114

Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491
(cherry picked from commit 6099ee6e081904e73e0fad331e326b0607b6b1dc)

9 years agoam 6463dd52: Merge "add comment about xor not being porter/duff Bug: 21934855"
John Hoford [Tue, 30 Jun 2015 22:44:56 +0000 (22:44 +0000)]
am 6463dd52: Merge "add comment about xor not being porter/duff Bug: 21934855"

* commit '6463dd52470a2279e699647a282a085c00604d0c':
  add comment about xor not being porter/duff Bug: 21934855

9 years agoMerge "add comment about xor not being porter/duff Bug: 21934855"
John Hoford [Tue, 30 Jun 2015 22:34:43 +0000 (22:34 +0000)]
Merge "add comment about xor not being porter/duff Bug: 21934855"

9 years agoadd comment about xor not being porter/duff
John Hoford [Tue, 30 Jun 2015 01:15:22 +0000 (18:15 -0700)]
add comment about xor not being porter/duff
Bug: 21934855

Change-Id: I99394bd8a7a40a220c05118564b532f2533da38a

9 years agoam 61e8329b: Merge "Replace parentheses with curly braces to fix vector doc bug."
Stephen Hines [Tue, 30 Jun 2015 01:21:30 +0000 (01:21 +0000)]
am 61e8329b: Merge "Replace parentheses with curly braces to fix vector doc bug."

* commit '61e8329bb84919823b4c8b93c025ab9b110cd618':
  Replace parentheses with curly braces to fix vector doc bug.

9 years agoMerge "Replace parentheses with curly braces to fix vector doc bug."
Stephen Hines [Tue, 30 Jun 2015 01:11:14 +0000 (01:11 +0000)]
Merge "Replace parentheses with curly braces to fix vector doc bug."

9 years agoReplace parentheses with curly braces to fix vector doc bug.
Stephen Hines [Tue, 30 Jun 2015 01:04:37 +0000 (18:04 -0700)]
Replace parentheses with curly braces to fix vector doc bug.

https://code.google.com/p/android/issues/detail?id=178299

Change-Id: I3ae31d48a39e8db9976fdedde560e870b23e2c83

9 years agoam 0eba4019: Merge "Add Java doc comments on script group name reuse"
Yang Ni [Mon, 29 Jun 2015 22:52:48 +0000 (22:52 +0000)]
am 0eba4019: Merge "Add Java doc comments on script group name reuse"

* commit '0eba40194e41c4f4a78a65041b3e736240b07b77':
  Add Java doc comments on script group name reuse

9 years agoMerge "Add Java doc comments on script group name reuse"
Yang Ni [Mon, 29 Jun 2015 22:39:49 +0000 (22:39 +0000)]
Merge "Add Java doc comments on script group name reuse"

9 years agoAdd Java doc comments on script group name reuse
Yang Ni [Thu, 25 Jun 2015 00:06:10 +0000 (17:06 -0700)]
Add Java doc comments on script group name reuse

b/21999787

Change-Id: Id9a7bad4ce91f3afdd82a1288cf94430f3aef9bb
(cherry picked from commit dbb6fd58a4b113f8761ce825ad5b91e50c170971)

9 years agoam 16d520fc: Merge "Rename ZipEntryName to ZipString"
Yusuke Sato [Mon, 29 Jun 2015 18:01:14 +0000 (18:01 +0000)]
am 16d520fc: Merge "Rename ZipEntryName to ZipString"

* commit '16d520fce6a3cecdc6b50e184a00b9585b86e512':
  Rename ZipEntryName to ZipString

9 years agoMerge "Rename ZipEntryName to ZipString"
Yusuke Sato [Mon, 29 Jun 2015 17:49:28 +0000 (17:49 +0000)]
Merge "Rename ZipEntryName to ZipString"

9 years agoam ffe72f70: Merge "Use the correct lock to protect members in PolicyControl"
Wale Ogunwale [Mon, 29 Jun 2015 15:17:30 +0000 (15:17 +0000)]
am ffe72f70: Merge "Use the correct lock to protect members in PolicyControl"

* commit 'ffe72f70e0da02868848c7e71d8f44a5463925ea':
  Use the correct lock to protect members in PolicyControl

9 years agoMerge "Use the correct lock to protect members in PolicyControl"
Wale Ogunwale [Mon, 29 Jun 2015 15:09:29 +0000 (15:09 +0000)]
Merge "Use the correct lock to protect members in PolicyControl"

9 years agoUse the correct lock to protect members in PolicyControl
tiger_huang [Mon, 29 Jun 2015 09:17:30 +0000 (17:17 +0800)]
Use the correct lock to protect members in PolicyControl

Members in PolicyControl can be accessed by multiple threads via the
public functions called by PhoneWindowManager. Most of the functions
are called with the window-manager-lock held, but reloadFromSetting()
is an exception.

In this patch, we acquire the window-manager-lock before calling
reloadFromSetting() to ensure accessing the members with the same
lock held.

Change-Id: I54ac5cab2a2d74c568fa96145f7a6741c6d99e36

9 years agoRename ZipEntryName to ZipString
Yusuke Sato [Thu, 25 Jun 2015 21:58:16 +0000 (14:58 -0700)]
Rename ZipEntryName to ZipString

Also add a 4th parameter to StartIteration(). This is for
https://android-review.googlesource.com/#/c/156771/.

Bug: 21957428
Change-Id: Ifbf9aec2f04b214b57e99c306282d7c0d39675a9

9 years agoam 78db19c2: Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."
Tenghui Zhu [Thu, 25 Jun 2015 21:19:09 +0000 (21:19 +0000)]
am 78db19c2: Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."

* commit '78db19c25a3a18d9ccf19b91be17e791e4fd782c':
  Limit dotProduct value to 1.0f, so acosf would not return NaN.

9 years agoMerge "Limit dotProduct value to 1.0f, so acosf would not return NaN."
Tenghui Zhu [Thu, 25 Jun 2015 21:07:12 +0000 (21:07 +0000)]
Merge "Limit dotProduct value to 1.0f, so acosf would not return NaN."

9 years agoam fdb70dc4: Merge "Fix filedescriptor leakage in MediaMetadataRetriever"
Narayan Kamath [Thu, 25 Jun 2015 09:48:46 +0000 (09:48 +0000)]
am fdb70dc4: Merge "Fix filedescriptor leakage in MediaMetadataRetriever"

* commit 'fdb70dc4346f801673aa700f3fca2b8cc77b809c':
  Fix filedescriptor leakage in MediaMetadataRetriever

9 years agoam a78c0e0b: Merge "Fixed Javadoc typos"
Narayan Kamath [Thu, 25 Jun 2015 09:48:39 +0000 (09:48 +0000)]
am a78c0e0b: Merge "Fixed Javadoc typos"

* commit 'a78c0e0b9aff70d03101a25b47024f6d02cb93e2':
  Fixed Javadoc typos

9 years agoLimit dotProduct value to 1.0f, so acosf would not return NaN.
Lazar Trsic [Tue, 23 Jun 2015 09:46:49 +0000 (11:46 +0200)]
Limit dotProduct value to 1.0f, so acosf would not return NaN.

Due to precision loss of float math, we sometimes get 1.000001f for
dotProduct. This causes NaN result from acosf() and floor() funcs.

At the moment, this does not cause any problems on ARM, as casting
NaN to int results in 0. On mips however (possibly on x86), such cast
gives INT_MAX, so crash occurs when trying to use the resulting value.

Change-Id: I8e0285a0306a65b8469d9f4885c19665066fc4c8

9 years agoMerge "Fix filedescriptor leakage in MediaMetadataRetriever"
Narayan Kamath [Thu, 25 Jun 2015 08:33:49 +0000 (08:33 +0000)]
Merge "Fix filedescriptor leakage in MediaMetadataRetriever"

9 years agoFix filedescriptor leakage in MediaMetadataRetriever
harvey_tsai [Thu, 11 Jun 2015 03:51:36 +0000 (11:51 +0800)]
Fix filedescriptor leakage in MediaMetadataRetriever

setDataSource(String) throws an IllegalArgumentException
when an IOException or FileNotFoundException occurs, but doesn't
close FileDescriptor accordingly.

Change-Id: Ib6e0f1418afeeb19e03abd4bedb4cc845a58b6b4

9 years agoMerge "Fixed Javadoc typos"
Narayan Kamath [Thu, 25 Jun 2015 08:27:47 +0000 (08:27 +0000)]
Merge "Fixed Javadoc typos"

9 years agoFixed Javadoc typos
Philipp Hasper [Tue, 12 May 2015 07:09:25 +0000 (09:09 +0200)]
Fixed Javadoc typos

Simple single character typos

Change-Id: I17660dbb3b7ee6597637e8d76770f434ebf202ea

9 years agoam 08592bd0: Merge "Frameworks/base: Add tracing system properties"
Andreas Gampe [Thu, 25 Jun 2015 03:53:59 +0000 (03:53 +0000)]
am 08592bd0: Merge "Frameworks/base: Add tracing system properties"

* commit '08592bd0f7daf5c1d10baf78d5e216befd7b6a8e':
  Frameworks/base: Add tracing system properties

9 years agoMerge "Frameworks/base: Add tracing system properties"
Andreas Gampe [Thu, 25 Jun 2015 03:44:43 +0000 (03:44 +0000)]
Merge "Frameworks/base: Add tracing system properties"

9 years agoFrameworks/base: Add tracing system properties
Andreas Gampe [Tue, 23 Jun 2015 04:09:36 +0000 (21:09 -0700)]
Frameworks/base: Add tracing system properties

Add system properties to support zygote-started method tracing.
These are needed as the limit on system properties does not allow
the reuse of the runtime extra options system property.

Bug: 21760614

(cherry picked from commit 98f406f6f31660d0f5ee32113ffadc720b426dc6)

Change-Id: I3785cc5715acadbee81ef7b45081ed780f1351d3

9 years agoam c2a30713: Merge "Duplicate description on AccessibilityEvent"
Alan Viverette [Wed, 24 Jun 2015 23:01:06 +0000 (23:01 +0000)]
am c2a30713: Merge "Duplicate description on AccessibilityEvent"

* commit 'c2a30713793a60b7a1ab039da43f6510b06b0b7d':
  Duplicate description on AccessibilityEvent

9 years agoMerge "Duplicate description on AccessibilityEvent"
Alan Viverette [Wed, 24 Jun 2015 22:47:01 +0000 (22:47 +0000)]
Merge "Duplicate description on AccessibilityEvent"

9 years agoam 9a65f9dd: Merge "Add an AM option to start with allocation tracking"
Mathieu Chartier [Wed, 24 Jun 2015 21:08:53 +0000 (21:08 +0000)]
am 9a65f9dd: Merge "Add an AM option to start with allocation tracking"

* commit '9a65f9ddd066c1824e2068ed114d72862689f6b0':
  Add an AM option to start with allocation tracking

9 years agoMerge "Add an AM option to start with allocation tracking"
Mathieu Chartier [Wed, 24 Jun 2015 20:55:38 +0000 (20:55 +0000)]
Merge "Add an AM option to start with allocation tracking"

9 years agoAdd an AM option to start with allocation tracking
Man Cao [Fri, 12 Jun 2015 03:14:34 +0000 (20:14 -0700)]
Add an AM option to start with allocation tracking

The new option "--track-allocation" is to work with the new
allocation tracker in ART.

Bug:20037135
Change-Id: Ic5f8945ab4c1f167c27b05ad0d11d04bac680c1f

9 years agoam 299a3393: Merge "Clarify art.gc.gc-count-rate-histogram runtime stat."
Hiroshi Yamauchi [Wed, 24 Jun 2015 18:26:48 +0000 (18:26 +0000)]
am 299a3393: Merge "Clarify art.gc.gc-count-rate-histogram runtime stat."

* commit '299a339335221f009bddd07ff9f08ab28a07947c':
  Clarify art.gc.gc-count-rate-histogram runtime stat.

9 years agoMerge "Clarify art.gc.gc-count-rate-histogram runtime stat."
Hiroshi Yamauchi [Wed, 24 Jun 2015 18:13:00 +0000 (18:13 +0000)]
Merge "Clarify art.gc.gc-count-rate-histogram runtime stat."

9 years agoClarify art.gc.gc-count-rate-histogram runtime stat.
Hiroshi Yamauchi [Thu, 28 May 2015 22:28:16 +0000 (15:28 -0700)]
Clarify art.gc.gc-count-rate-histogram runtime stat.

(cherry pick commit 2d6327d0adaf6ca3d13e1e082f55680cfefcc449)

Bug: 21491908
Change-Id: I84d93aa73eebc327513c4663a6b606e2dad9a0b7

9 years agoam e6734b6b: Merge "Fix javadoc for Adapter.getViewTypeCount()"
Wale Ogunwale [Tue, 23 Jun 2015 17:12:01 +0000 (17:12 +0000)]
am e6734b6b: Merge "Fix javadoc for Adapter.getViewTypeCount()"

* commit 'e6734b6b1247577ebdeacff441f6ab8cfe25a1e3':
  Fix javadoc for Adapter.getViewTypeCount()

9 years agoMerge "Fix javadoc for Adapter.getViewTypeCount()"
Wale Ogunwale [Tue, 23 Jun 2015 17:03:51 +0000 (17:03 +0000)]
Merge "Fix javadoc for Adapter.getViewTypeCount()"

9 years agoFix javadoc for Adapter.getViewTypeCount()
Minhyeok Jeong [Sat, 20 Jun 2015 19:51:22 +0000 (04:51 +0900)]
Fix javadoc for Adapter.getViewTypeCount()

Remove duplicate words.

Change-Id: Iaeeb8f74313d2ca88c28e4b3672316367b16ca2d

9 years agoam 5acb30de: Merge "Apply the scale to surfaceinsets when computing crop region"
Wale Ogunwale [Fri, 19 Jun 2015 20:45:05 +0000 (20:45 +0000)]
am 5acb30de: Merge "Apply the scale to surfaceinsets when computing crop region"

* commit '5acb30de6f65ff9ab47138b022a724ec489bdd9d':
  Apply the scale to surfaceinsets when computing crop region

9 years agoMerge "Apply the scale to surfaceinsets when computing crop region"
Wale Ogunwale [Fri, 19 Jun 2015 20:34:47 +0000 (20:34 +0000)]
Merge "Apply the scale to surfaceinsets when computing crop region"