OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 6ab07fac: Merge "Use long for pointers in opengl/EGL classes"
Narayan Kamath [Tue, 25 Feb 2014 13:11:40 +0000 (05:11 -0800)]
am 6ab07fac: Merge "Use long for pointers in opengl/EGL classes"

* commit '6ab07fac49d6b618883a2ef4cea11f0959b3abe3':
  Use long for pointers in opengl/EGL classes

10 years agoMerge "Use long for pointers in opengl/EGL classes"
Narayan Kamath [Tue, 25 Feb 2014 13:05:43 +0000 (13:05 +0000)]
Merge "Use long for pointers in opengl/EGL classes"

10 years agoUse long for pointers in opengl/EGL classes
Ashok Bhat [Mon, 24 Feb 2014 10:06:55 +0000 (10:06 +0000)]
Use long for pointers in opengl/EGL classes

Note that files changed in this patch have been automatically
generated by running frameworks/native/opengl/tools/glgen/gen script

This patch updates EGL classes in frameworks/base to support
64-bit platforms. Key changes in the EGL classes include

[x] EGLObjectHandle class - EGLObjectHandle class has two public
    methods (constructor and getHandle) that assume handles are
    32-bit. They have not been changed. Instead, two new hidden
    methods (EGLObjectHandle(long) and getNativeHandle) have been
    added.

[x] EG14 class - Two public methods eglGetDisplay and
    eglCreatePbufferFromClientBuffer assume that handles are 32-bit.
    They have been changed to throw unsupported operation exception
    on non 32-bit machines. Two new methods eglGetDisplay(long)
    and eglCreatePbufferFromClientBuffer(...long buffer..) have
    been added to support 64-bit handles.

Change-Id: I9e0f064e5b33700eb0baa2e1841a21f931f7a765
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoam bbfc08b3: Merge changes I6d4fdada,Ia34899a4
Greg Hackmann [Fri, 21 Feb 2014 21:04:00 +0000 (13:04 -0800)]
am bbfc08b3: Merge changes I6d4fdada,Ia34899a4

* commit 'bbfc08b3abc0934f67659f3238eb79dcac838c17':
  open("/dev/rtc0") failure in AlarmManagerService.setTime() should be non-fatal
  Move time setting code from SystemClock to AlarmManagerService

10 years agoMerge changes I6d4fdada,Ia34899a4
Greg Hackmann [Fri, 21 Feb 2014 21:01:00 +0000 (21:01 +0000)]
Merge changes I6d4fdada,Ia34899a4

* changes:
  open("/dev/rtc0") failure in AlarmManagerService.setTime() should be non-fatal
  Move time setting code from SystemClock to AlarmManagerService

10 years agoopen("/dev/rtc0") failure in AlarmManagerService.setTime() should be non-fatal
Greg Hackmann [Tue, 28 Jan 2014 00:30:09 +0000 (16:30 -0800)]
open("/dev/rtc0") failure in AlarmManagerService.setTime() should be non-fatal

Setting the time-of-day clock is still useful on systems where the RTC
device is not yet brought up or otherwise unavailable.  This matches the
in-kernel behavior of the Android alarm driver.

Change-Id: I6d4fdadab12e241ada7419425efd55bd13873c55
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoMove time setting code from SystemClock to AlarmManagerService
Greg Hackmann [Thu, 20 Feb 2014 00:39:36 +0000 (16:39 -0800)]
Move time setting code from SystemClock to AlarmManagerService

On devices using /dev/rtc instead of /dev/alarm, updating the
time-of-day clock and RTC are separate syscalls.  Hence the clock and
RTC could be left in inconsistent states if two threads called
SystemClock.setCurrentTimeMillis() simultaneously.

By moving this code into AlarmManagerService, we can put a global lock
around AlarmManagerService.setTime() and prevent the race condition.

Note that access to SystemClock.setCurrentTimeMillis() is now gated by
android.permission.SET_TIME, where before it was gated by filesystem
permissions (i.e., could the process write to /dev/alarm or /dev/rtc).

Change-Id: Ia34899a4cde983656305fd2ef466dfe908ed23c8
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoam 4a809272: Merge "Fix documentation for Parcel.readException()."
Elliott Hughes [Fri, 21 Feb 2014 17:25:54 +0000 (09:25 -0800)]
am 4a809272: Merge "Fix documentation for Parcel.readException()."

* commit '4a80927241b3168d9d5138c46c22385d6467a736':
  Fix documentation for Parcel.readException().

10 years agoam 8d41e653: Merge "Miscellaneous small documentation fixes."
Elliott Hughes [Fri, 21 Feb 2014 17:25:50 +0000 (09:25 -0800)]
am 8d41e653: Merge "Miscellaneous small documentation fixes."

* commit '8d41e653bae240488281d430309e2d501e9524e5':
  Miscellaneous small documentation fixes.

10 years agoMerge "Fix documentation for Parcel.readException()."
Elliott Hughes [Fri, 21 Feb 2014 17:21:52 +0000 (17:21 +0000)]
Merge "Fix documentation for Parcel.readException()."

10 years agoMerge "Miscellaneous small documentation fixes."
Elliott Hughes [Fri, 21 Feb 2014 17:19:21 +0000 (17:19 +0000)]
Merge "Miscellaneous small documentation fixes."

10 years agoam 4a642ee5: Merge "Remove unused JNITest class"
Narayan Kamath [Fri, 21 Feb 2014 16:34:36 +0000 (08:34 -0800)]
am 4a642ee5: Merge "Remove unused JNITest class"

* commit '4a642ee5e65ca47ecf6cb274096162e580aac922':
  Remove unused JNITest class

10 years agoam 22c66639: Merge "Fixes for 64bit in libhwui"
Narayan Kamath [Fri, 21 Feb 2014 16:34:30 +0000 (08:34 -0800)]
am 22c66639: Merge "Fixes for 64bit in libhwui"

* commit '22c66639093a634b5688372d261d003b0478c450':
  Fixes for 64bit in libhwui

10 years agoMerge "Remove unused JNITest class"
Narayan Kamath [Fri, 21 Feb 2014 15:02:30 +0000 (15:02 +0000)]
Merge "Remove unused JNITest class"

10 years agoRemove unused JNITest class
Ashok Bhat [Sat, 15 Feb 2014 11:28:48 +0000 (11:28 +0000)]
Remove unused JNITest class

JNITest class is no longer actively used. This patch
removes the class (java and jni) files.

JNI interfaces and calls are extensively tested in
the art unit tests (art/tests) and in cts (see
CtsJniTestCases).

Change-Id: I62f7c72deb5d206fa3f545ae39a9cb9011110d0a
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoMerge "Fixes for 64bit in libhwui"
Narayan Kamath [Fri, 21 Feb 2014 14:23:57 +0000 (14:23 +0000)]
Merge "Fixes for 64bit in libhwui"

10 years agoFixes for 64bit in libhwui
Kévin PETIT [Thu, 13 Feb 2014 11:03:40 +0000 (11:03 +0000)]
Fixes for 64bit in libhwui

Using reinterpret_cast allows conversions between pointer types
and integers which don't have the same size. The corresponding
flags is -Wint-to-pointer-cast.

Change-Id: I8ff0c79d235fa6d07b8d9305edc185d946d5133d
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
10 years agoam 05cebdc2: Merge "Fix several bad function definitions."
Narayan Kamath [Thu, 20 Feb 2014 12:58:52 +0000 (04:58 -0800)]
am 05cebdc2: Merge "Fix several bad function definitions."

* commit '05cebdc2abd05b0dca351306cb039245d50c67ae':
  Fix several bad function definitions.

10 years agoam 9fce8535: Merge "AArch64: Make AssetAtlasService 64-bit compatible"
Narayan Kamath [Thu, 20 Feb 2014 12:58:45 +0000 (04:58 -0800)]
am 9fce8535: Merge "AArch64: Make AssetAtlasService 64-bit compatible"

* commit '9fce8535851fc696997bd3c251d00e34179d6482':
  AArch64: Make AssetAtlasService 64-bit compatible

10 years agoMerge "Fix several bad function definitions."
Narayan Kamath [Thu, 20 Feb 2014 12:55:27 +0000 (12:55 +0000)]
Merge "Fix several bad function definitions."

10 years agoMerge "AArch64: Make AssetAtlasService 64-bit compatible"
Narayan Kamath [Thu, 20 Feb 2014 12:55:20 +0000 (12:55 +0000)]
Merge "AArch64: Make AssetAtlasService 64-bit compatible"

10 years agoFix several bad function definitions.
Narayan Kamath [Thu, 6 Feb 2014 11:50:31 +0000 (11:50 +0000)]
Fix several bad function definitions.

We claim these functions want jlong as input (8 bytes wide)
but the definitions use pointer types or jints
(4 bytes wide for 32 bit).

bug: 12890271

(cherry picked from 017546e65280a3389b6167f5fc3b5d1c3001154a)

Change-Id: Iede02be90e6a3c9a2db1fe04dcd0db99abe37097

10 years agoAArch64: Make AssetAtlasService 64-bit compatible
Ashok Bhat [Mon, 27 Jan 2014 16:00:23 +0000 (16:00 +0000)]
AArch64: Make AssetAtlasService 64-bit compatible

Changes in this patch include

[x] Long(64-bit) is used to store native pointers in
    AssetAtlasService and related classes as they can be 64-bit.

[x] Some minor changes have been done to conform with
    standard JNI practice (e.g. use of jint instead of int
    in JNI function prototypes)

Change-Id: Ib4c77c134e3ad5b21732e20cde9a54a0b16bdab1
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoam 2b3c14bf: Merge "libandroidfw: fix build error for 64-bit"
Narayan Kamath [Thu, 20 Feb 2014 11:53:36 +0000 (03:53 -0800)]
am 2b3c14bf: Merge "libandroidfw: fix build error for 64-bit"

* commit '2b3c14bf75c71524a0fcbc3e9d1fdab9aa6c3473':
  libandroidfw: fix build error for 64-bit

10 years agoMerge "libandroidfw: fix build error for 64-bit"
Narayan Kamath [Thu, 20 Feb 2014 11:50:59 +0000 (11:50 +0000)]
Merge "libandroidfw: fix build error for 64-bit"

10 years agolibandroidfw: fix build error for 64-bit
Patrik Bannura [Wed, 12 Feb 2014 12:38:54 +0000 (13:38 +0100)]
libandroidfw: fix build error for 64-bit

Fixed casting int to pointer in logging code.
Previously ints where printed as pointers and
the %p format specifier was used for convenience
to get hex output. This change uses %x and also
gets rid of the casts.

Change-Id: Ia2539769d245f50c0f3884119f80682defe69d61

10 years agoam 16ea3e6a: Merge "A background started service is removed from mStartingBackground...
Craig Mautner [Wed, 19 Feb 2014 16:26:15 +0000 (08:26 -0800)]
am 16ea3e6a: Merge "A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one."

* commit '16ea3e6a5b37dc436d1089996004bcae12f5e3b0':
  A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one.

10 years agoam 7c710936: Merge "Remove java.io.tmpdir assignment in AndroidRuntime."
Narayan Kamath [Wed, 19 Feb 2014 16:26:07 +0000 (08:26 -0800)]
am 7c710936: Merge "Remove java.io.tmpdir assignment in AndroidRuntime."

* commit '7c710936c5129664f8b23bf4592c12eca975d229':
  Remove java.io.tmpdir assignment in AndroidRuntime.

10 years agoMerge "A background started service is removed from mStartingBackground when timeout...
Craig Mautner [Wed, 19 Feb 2014 15:36:00 +0000 (15:36 +0000)]
Merge "A background started service is removed from mStartingBackground when timeout. Fix is to make sure mStartingBackground is updated to remove one."

10 years agoMerge "Remove java.io.tmpdir assignment in AndroidRuntime."
Narayan Kamath [Wed, 19 Feb 2014 14:24:47 +0000 (14:24 +0000)]
Merge "Remove java.io.tmpdir assignment in AndroidRuntime."

10 years agoam f11cc165: Merge "Fixed a possible infinite loop in JsonReader#skipValue()"
Calin Juravle [Wed, 19 Feb 2014 11:18:06 +0000 (03:18 -0800)]
am f11cc165: Merge "Fixed a possible infinite loop in JsonReader#skipValue()"

* commit 'f11cc165f4d6e18d79ce013fa2f74fb43e002ac1':
  Fixed a possible infinite loop in JsonReader#skipValue()

10 years agoMerge "Fixed a possible infinite loop in JsonReader#skipValue()"
Calin Juravle [Wed, 19 Feb 2014 11:15:00 +0000 (11:15 +0000)]
Merge "Fixed a possible infinite loop in JsonReader#skipValue()"

10 years agoA background started service is removed from mStartingBackground when timeout.
Junu Kim [Wed, 19 Feb 2014 07:25:21 +0000 (16:25 +0900)]
A background started service is removed from mStartingBackground when timeout.
Fix is to make sure mStartingBackground is updated to remove one.

Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520

10 years agoFixed a possible infinite loop in JsonReader#skipValue()
Calin Juravle [Tue, 18 Feb 2014 19:08:39 +0000 (19:08 +0000)]
Fixed a possible infinite loop in JsonReader#skipValue()

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

Change-Id: Idaa0e75fc5612550c4b9ccb9afa5535ea5b189df

10 years agoam 60097a9c: Merge "Structure device not freed in error case"
Jeff Sharkey [Tue, 18 Feb 2014 17:16:31 +0000 (09:16 -0800)]
am 60097a9c: Merge "Structure device not freed in error case"

* commit '60097a9c5a7214cb73d0bc966adef767743f8798':
  Structure device not freed in error case

10 years agoam 02a64dae: Merge "Tethering: Skip link local addresses when enabling NAT"
Jeff Sharkey [Tue, 18 Feb 2014 17:13:00 +0000 (09:13 -0800)]
am 02a64dae: Merge "Tethering: Skip link local addresses when enabling NAT"

* commit '02a64daefece8ccdc40935c7bc865a8966249c44':
  Tethering: Skip link local addresses when enabling NAT

10 years agoam 234b0b03: Merge "Fix, MountService now only sends one onShutDownComplete"
Jeff Sharkey [Tue, 18 Feb 2014 17:12:57 +0000 (09:12 -0800)]
am 234b0b03: Merge "Fix, MountService now only sends one onShutDownComplete"

* commit '234b0b037ee1f8dc50c846279216a8e4d779ff56':
  Fix, MountService now only sends one onShutDownComplete

10 years agoMerge "Structure device not freed in error case"
Jeff Sharkey [Tue, 18 Feb 2014 17:12:14 +0000 (17:12 +0000)]
Merge "Structure device not freed in error case"

10 years agoMerge "Tethering: Skip link local addresses when enabling NAT"
Jeff Sharkey [Tue, 18 Feb 2014 17:11:09 +0000 (17:11 +0000)]
Merge "Tethering: Skip link local addresses when enabling NAT"

10 years agoMerge "Fix, MountService now only sends one onShutDownComplete"
Jeff Sharkey [Tue, 18 Feb 2014 17:10:02 +0000 (17:10 +0000)]
Merge "Fix, MountService now only sends one onShutDownComplete"

10 years agoam a14d9c31: Merge "Move Json{Reader,Writer} test to cts."
Narayan Kamath [Mon, 17 Feb 2014 18:23:56 +0000 (10:23 -0800)]
am a14d9c31: Merge "Move Json{Reader,Writer} test to cts."

* commit 'a14d9c318a1d358902a76aff733303c5509bb5fc':
  Move Json{Reader,Writer} test to cts.

10 years agoMerge "Move Json{Reader,Writer} test to cts."
Narayan Kamath [Mon, 17 Feb 2014 18:20:33 +0000 (18:20 +0000)]
Merge "Move Json{Reader,Writer} test to cts."

10 years agoMove Json{Reader,Writer} test to cts.
Narayan Kamath [Mon, 17 Feb 2014 17:51:43 +0000 (17:51 +0000)]
Move Json{Reader,Writer} test to cts.

These tests aren't really run automatically (or perhaps
even manually) in their present location, and increasing
CTS coverage is never a bad thing.

Change-Id: I81cce1211021011dca551fde62e725e177ca4df0

10 years agoam be57fca4: Merge "Extended locales in AAPT / AssetManager."
Narayan Kamath [Mon, 17 Feb 2014 11:03:49 +0000 (03:03 -0800)]
am be57fca4: Merge "Extended locales in AAPT / AssetManager."

* commit 'be57fca41a731217010d9f92554cf48708b06ecf':
  Extended locales in AAPT / AssetManager.

10 years agoam 49024bac: Merge "AssetManager support for 3 letter lang/country codes."
Narayan Kamath [Mon, 17 Feb 2014 11:03:46 +0000 (03:03 -0800)]
am 49024bac: Merge "AssetManager support for 3 letter lang/country codes."

* commit '49024bacf63db39467e7f318c682ad771ec0de22':
  AssetManager support for 3 letter lang/country codes.

10 years agoMerge "Extended locales in AAPT / AssetManager."
Narayan Kamath [Mon, 17 Feb 2014 11:00:29 +0000 (11:00 +0000)]
Merge "Extended locales in AAPT / AssetManager."

10 years agoMerge "AssetManager support for 3 letter lang/country codes."
Narayan Kamath [Mon, 17 Feb 2014 11:00:14 +0000 (11:00 +0000)]
Merge "AssetManager support for 3 letter lang/country codes."

10 years agoam 7d1a6c5c: Merge "Fix destruction issues relating to AllocationAdapter."
Tim Murray [Fri, 14 Feb 2014 23:53:59 +0000 (15:53 -0800)]
am 7d1a6c5c: Merge "Fix destruction issues relating to AllocationAdapter."

* commit '7d1a6c5cac16795e5953d2b4d34671e34e907632':
  Fix destruction issues relating to AllocationAdapter.

10 years agoMerge "Fix destruction issues relating to AllocationAdapter."
Tim Murray [Fri, 14 Feb 2014 23:50:08 +0000 (23:50 +0000)]
Merge "Fix destruction issues relating to AllocationAdapter."

10 years agoFix destruction issues relating to AllocationAdapter.
Tim Murray [Wed, 12 Feb 2014 19:16:17 +0000 (11:16 -0800)]
Fix destruction issues relating to AllocationAdapter.

bug 12971201

Change-Id: I3d9f66f527a35837ac866a695bdcc41d908a2562

10 years agoam 509a243c: Merge "Check the return value of listFiles on the ifw directory"
Ben Gruver [Fri, 14 Feb 2014 21:57:24 +0000 (13:57 -0800)]
am 509a243c: Merge "Check the return value of listFiles on the ifw directory"

* commit '509a243c2c5ebc9cc55324bd9a03a5b560d81cfb':
  Check the return value of listFiles on the ifw directory

10 years agoMerge "Check the return value of listFiles on the ifw directory"
Ben Gruver [Fri, 14 Feb 2014 21:15:49 +0000 (21:15 +0000)]
Merge "Check the return value of listFiles on the ifw directory"

10 years agoCheck the return value of listFiles on the ifw directory
Ben Gruver [Tue, 1 Oct 2013 00:03:34 +0000 (17:03 -0700)]
Check the return value of listFiles on the ifw directory

listFiles can return null if the directory doesn't exist

Bug: 10497143
Change-Id: Ie4cbdf18a259a9641669a4e6b9bf49b4879acc67

10 years agoam d7043f00: Merge "Add hidden minor version ID for support lib workarounds."
Tim Murray [Fri, 14 Feb 2014 20:51:32 +0000 (12:51 -0800)]
am d7043f00: Merge "Add hidden minor version ID for support lib workarounds."

* commit 'd7043f0084237200b6aab5d101c8ab6d3ab495c6':
  Add hidden minor version ID for support lib workarounds.

10 years agoMerge "Add hidden minor version ID for support lib workarounds."
Tim Murray [Fri, 14 Feb 2014 20:47:33 +0000 (20:47 +0000)]
Merge "Add hidden minor version ID for support lib workarounds."

10 years agoRemove java.io.tmpdir assignment in AndroidRuntime.
Narayan Kamath [Fri, 14 Feb 2014 17:14:09 +0000 (17:14 +0000)]
Remove java.io.tmpdir assignment in AndroidRuntime.

This value is overridden by the framework anyway
(see ActivityThread.handleBindApplication). Besides,
it doesn't seem like a great idea to let tools clutter
/sdcard/ with temp files.

Change-Id: I26c710cbea7397f89e6103e54a73044a87da95b1

10 years agoExtended locales in AAPT / AssetManager.
Narayan Kamath [Tue, 21 Jan 2014 15:32:36 +0000 (15:32 +0000)]
Extended locales in AAPT / AssetManager.

Support 3 letter language codes, script codes &
variants. The bulk of the changes are related to
the implementation of command line filtering of
locales etc. The previous code assumed that the
value of each "axis" (locale, density, size etc.)
could be represented by a 4 byte type. This is
no longer the case.

This change introduces a new class, AaptLocaleValue
which holds a (normalized) locale parsed from a
directory name or a filter string. This class takes
responsibility for parsing locales as well as
writing them to ResTable_config structures, which is
their representation in the resource table.

This includes minor changes at the java / JNI level
for AssetManager. We now call locale.toLanguageTag()
to give the native layer a well formed BCP-47 tag.
I've removed some duplicated parsing code in
AssetManager.cpp and replaced them with functions on
ResTable_config. The native getLocales function has
been changed to return well formed BCP-47 locales as
well, so that the corresponding java function can use
Locale.forLanguageTag to construct a Locale object
out of it.

Finally, this change introduces default and copy
constructors for ResTable_config to prevent having
to memset() the associated memory to 0 on every
stack allocation.

(cherry-picked from commit 91447d88f2bdf9c2bf8d1a53570efef6172fba74)

Change-Id: I1b43086860661012f949fb8e5deb7df44519b854

10 years agoAssetManager support for 3 letter lang/country codes.
Narayan Kamath [Mon, 20 Jan 2014 13:57:11 +0000 (13:57 +0000)]
AssetManager support for 3 letter lang/country codes.

- 3 letter codes are packed into the existing 32 bit locale
  field in ResTable_config
- We introduce new fields for script / variant information.

Note that we define a "match" between two ResTable_config
structures to be purely on the basis of their language &
country (disregarding the script and the variant). However,
configs with scripts and variants are considered to be more
specific than those without.

(cherry picked from commit 378c6775a62d9c461cde51f06c1b14bb014c78fd)

Change-Id: I7dce82a3fe2412834252723f458826ae41535a78

10 years agoam fa8f95e9: Merge "AArch64: Use long for pointers in SurfaceSession class"
Narayan Kamath [Fri, 14 Feb 2014 13:14:07 +0000 (05:14 -0800)]
am fa8f95e9: Merge "AArch64: Use long for pointers in SurfaceSession class"

* commit 'fa8f95e9b96e3a12e98269c8a31ed34df6a323ca':
  AArch64: Use long for pointers in SurfaceSession class

10 years agoMerge "AArch64: Use long for pointers in SurfaceSession class"
Narayan Kamath [Fri, 14 Feb 2014 13:10:43 +0000 (13:10 +0000)]
Merge "AArch64: Use long for pointers in SurfaceSession class"

10 years agoam 24d8fa73: Merge "frameworks/base: move idmap from frameworks/native"
Dianne Hackborn [Fri, 14 Feb 2014 01:50:53 +0000 (17:50 -0800)]
am 24d8fa73: Merge "frameworks/base: move idmap from frameworks/native"

* commit '24d8fa739b7ca0791174af260ed95cdc139e0903':
  frameworks/base: move idmap from frameworks/native

10 years agoam bbba8211: Merge "Telephony: Handle DATA_CALL_LIST in DCC."
Wink Saville [Fri, 14 Feb 2014 01:50:51 +0000 (17:50 -0800)]
am bbba8211: Merge "Telephony: Handle DATA_CALL_LIST in DCC."

* commit 'bbba8211f9eca938d5d482583fd6e047615b4334':
  Telephony: Handle DATA_CALL_LIST in DCC.

10 years agoMerge "frameworks/base: move idmap from frameworks/native"
Dianne Hackborn [Fri, 14 Feb 2014 01:45:12 +0000 (01:45 +0000)]
Merge "frameworks/base: move idmap from frameworks/native"

10 years agoMerge "Telephony: Handle DATA_CALL_LIST in DCC."
Wink Saville [Thu, 13 Feb 2014 23:37:03 +0000 (23:37 +0000)]
Merge "Telephony: Handle DATA_CALL_LIST in DCC."

10 years agoam bba3a694: Merge "Telephony API extension v2"
Wink Saville [Thu, 13 Feb 2014 04:29:01 +0000 (20:29 -0800)]
am bba3a694: Merge "Telephony API extension v2"

* commit 'bba3a694b8400fd340c0400bf42ef3d79a4285b1':
  Telephony API extension v2

10 years agoMerge "Telephony API extension v2"
Wink Saville [Thu, 13 Feb 2014 04:26:33 +0000 (04:26 +0000)]
Merge "Telephony API extension v2"

10 years agoam a9bb594d: Merge "Convert all selinux_android_restorecon and _setfilecon calls...
Nick Kralevich [Wed, 12 Feb 2014 23:12:08 +0000 (15:12 -0800)]
am a9bb594d: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."

* commit 'a9bb594da6aff97ba927ba67a34486d0b9c1b4a0':
  Convert all selinux_android_restorecon and _setfilecon calls to new API.

10 years agoMerge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
Nick Kralevich [Wed, 12 Feb 2014 23:09:37 +0000 (23:09 +0000)]
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."

10 years agoam a3c3533b: Merge "Finish fixing Zygote descriptor leakage problem"
Dave Platt [Wed, 12 Feb 2014 23:07:07 +0000 (15:07 -0800)]
am a3c3533b: Merge "Finish fixing Zygote descriptor leakage problem"

* commit 'a3c3533b1d6a4016cd1856fccac6cc404997b8a6':
  Finish fixing Zygote descriptor leakage problem

10 years agoMerge "Finish fixing Zygote descriptor leakage problem"
Dave Platt [Wed, 12 Feb 2014 23:03:48 +0000 (23:03 +0000)]
Merge "Finish fixing Zygote descriptor leakage problem"

10 years agoam 54e7f53f: Merge "Fix build."
Narayan Kamath [Wed, 12 Feb 2014 17:29:55 +0000 (09:29 -0800)]
am 54e7f53f: Merge "Fix build."

* commit '54e7f53fce25366781840a124aa018534c4eb52b':
  Fix build.

10 years agoMerge "Fix build."
Narayan Kamath [Wed, 12 Feb 2014 17:26:57 +0000 (17:26 +0000)]
Merge "Fix build."

10 years agoam d562a9b5: Merge "Improve Parcel\'s handling of non-primitive arrays"
Paul Duffin [Wed, 12 Feb 2014 10:29:41 +0000 (02:29 -0800)]
am d562a9b5: Merge "Improve Parcel\'s handling of non-primitive arrays"

* commit 'd562a9b5160b491a9cc884f72651e46d786bdc0a':
  Improve Parcel's handling of non-primitive arrays

10 years agoMerge "Improve Parcel's handling of non-primitive arrays"
Paul Duffin [Wed, 12 Feb 2014 10:27:13 +0000 (10:27 +0000)]
Merge "Improve Parcel's handling of non-primitive arrays"

10 years agoFix build.
Dianne Hackborn [Tue, 11 Feb 2014 21:56:21 +0000 (13:56 -0800)]
Fix build.

At least part of what is broken.  Other stuff still seems to be.

(cherry picked from 32bb5fae353b5bb6275e75952e89c514c7369cee)

Change-Id: I280376645166fe772ff7a31ff2e8494dce2adbf8

10 years agoam f991771f: Merge "Use size_t* in AssetManager::createIdmap"
Narayan Kamath [Wed, 12 Feb 2014 09:40:24 +0000 (01:40 -0800)]
am f991771f: Merge "Use size_t* in AssetManager::createIdmap"

* commit 'f991771f81953f5d355eb905d05a784ed7287016':
  Use size_t* in AssetManager::createIdmap

10 years agoMerge "Use size_t* in AssetManager::createIdmap"
Narayan Kamath [Wed, 12 Feb 2014 09:32:16 +0000 (09:32 +0000)]
Merge "Use size_t* in AssetManager::createIdmap"

10 years agoframeworks/base: move idmap from frameworks/native
Colin Cross [Wed, 12 Feb 2014 02:04:44 +0000 (18:04 -0800)]
frameworks/base: move idmap from frameworks/native

idmap depends on libandroidfw, so it should go in frameworks/base.

Change-Id: I3c1db3baa355f53d6b523d60f4377e63eff00c30

10 years agoUse size_t* in AssetManager::createIdmap
Colin Cross [Wed, 12 Feb 2014 02:02:06 +0000 (18:02 -0800)]
Use size_t* in AssetManager::createIdmap

ResTable::createIdmap takes a size_t*, and the idmap command is
passing in a size_t*, make AssetManager::createIdmap take a
size_t*.  Should fix the mac build.

Change-Id: Idc16dedfe2aa7367c75f89a937a8242d494e8f8e

10 years agoam 89492190: Merge "Runtime resource overlay, iteration 2, test cases"
Dianne Hackborn [Tue, 11 Feb 2014 21:34:49 +0000 (13:34 -0800)]
am 89492190: Merge "Runtime resource overlay, iteration 2, test cases"

* commit '89492190b39e301d8203d0a9a9f6b11120c16ecb':
  Runtime resource overlay, iteration 2, test cases

10 years agoam 67754d93: Merge "Runtime resource overlay, iteration 2"
Dianne Hackborn [Tue, 11 Feb 2014 21:34:46 +0000 (13:34 -0800)]
am 67754d93: Merge "Runtime resource overlay, iteration 2"

* commit '67754d93c4bfb2da1831b1dd2b40c12a838b1028':
  Runtime resource overlay, iteration 2

10 years agoMerge "Runtime resource overlay, iteration 2, test cases"
Dianne Hackborn [Tue, 11 Feb 2014 21:30:08 +0000 (21:30 +0000)]
Merge "Runtime resource overlay, iteration 2, test cases"

10 years agoMerge "Runtime resource overlay, iteration 2"
Dianne Hackborn [Tue, 11 Feb 2014 21:29:58 +0000 (21:29 +0000)]
Merge "Runtime resource overlay, iteration 2"

10 years agoam 578087e3: Merge "New command line tool \'idmap\'"
Dianne Hackborn [Tue, 11 Feb 2014 20:32:17 +0000 (12:32 -0800)]
am 578087e3: Merge "New command line tool \'idmap\'"

* commit '578087e39845a0c9a728ba18963f498d1f69b279':
  New command line tool 'idmap'

10 years agoMerge "New command line tool 'idmap'"
Dianne Hackborn [Tue, 11 Feb 2014 20:30:07 +0000 (20:30 +0000)]
Merge "New command line tool 'idmap'"

10 years agoImprove Parcel's handling of non-primitive arrays
Paul Duffin [Mon, 3 Feb 2014 15:02:17 +0000 (15:02 +0000)]
Improve Parcel's handling of non-primitive arrays

Treat arrays other than actual Object arrays (i.e. those whose component type
is actually Object) and the primitive arrays already handled specially by
Parcel as Serializable's.

Issue: 64583
Change-Id: I3ff797f3262e77e4de27f35709bceee5410d1ed4

10 years agoam 3aeb629d: Merge "Use long to store pointers in GLES_JNI/EGL classes"
Narayan Kamath [Tue, 11 Feb 2014 16:30:28 +0000 (08:30 -0800)]
am 3aeb629d: Merge "Use long to store pointers in GLES_JNI/EGL classes"

* commit '3aeb629d8251699237e3d067be4fb44ba206626c':
  Use long to store pointers in GLES_JNI/EGL classes

10 years agoam 7b7726b7: Merge "Fix in MediaMuxer\'s JNI code"
Narayan Kamath [Tue, 11 Feb 2014 16:30:25 +0000 (08:30 -0800)]
am 7b7726b7: Merge "Fix in MediaMuxer\'s JNI code"

* commit '7b7726b7982063034667c6a6076cc0b390ede8ce':
  Fix in MediaMuxer's JNI code

10 years agoam b823bd45: Merge "Use long to store pointers in ConsumerIrService"
Narayan Kamath [Tue, 11 Feb 2014 16:30:20 +0000 (08:30 -0800)]
am b823bd45: Merge "Use long to store pointers in ConsumerIrService"

* commit 'b823bd45600fc339ae2e618d5fe506ace74ada4a':
  Use long to store pointers in ConsumerIrService

10 years agoam f44a3f1e: Merge "Use long for pointers in EmojiFactory and PdfDocument"
Narayan Kamath [Tue, 11 Feb 2014 16:30:06 +0000 (08:30 -0800)]
am f44a3f1e: Merge "Use long for pointers in EmojiFactory and PdfDocument"

* commit 'f44a3f1e00e38b09f70efed3eaf771871435e478':
  Use long for pointers in EmojiFactory and PdfDocument

10 years agoMerge "Use long to store pointers in GLES_JNI/EGL classes"
Narayan Kamath [Tue, 11 Feb 2014 15:39:04 +0000 (15:39 +0000)]
Merge "Use long to store pointers in GLES_JNI/EGL classes"

10 years agoMerge "Fix in MediaMuxer's JNI code"
Narayan Kamath [Tue, 11 Feb 2014 14:33:38 +0000 (14:33 +0000)]
Merge "Fix in MediaMuxer's JNI code"

10 years agoMerge "Use long to store pointers in ConsumerIrService"
Narayan Kamath [Tue, 11 Feb 2014 14:29:09 +0000 (14:29 +0000)]
Merge "Use long to store pointers in ConsumerIrService"

10 years agoMerge "Use long for pointers in EmojiFactory and PdfDocument"
Narayan Kamath [Tue, 11 Feb 2014 14:07:16 +0000 (14:07 +0000)]
Merge "Use long for pointers in EmojiFactory and PdfDocument"

10 years agoam 6d8b21a8: Merge "Fix TinyHashMap to use generic hash_type instead of hash_t"
Narayan Kamath [Tue, 11 Feb 2014 13:44:37 +0000 (05:44 -0800)]
am 6d8b21a8: Merge "Fix TinyHashMap to use generic hash_type instead of hash_t"

* commit '6d8b21a84c92904a966d77f3c6c0282e92c2b077':
  Fix TinyHashMap to use generic hash_type instead of hash_t

10 years agoMerge "Fix TinyHashMap to use generic hash_type instead of hash_t"
Narayan Kamath [Tue, 11 Feb 2014 13:40:37 +0000 (13:40 +0000)]
Merge "Fix TinyHashMap to use generic hash_type instead of hash_t"

10 years agoam 38d799fc: Merge "Generic object based data copy."
Tim Murray [Mon, 10 Feb 2014 23:29:55 +0000 (15:29 -0800)]
am 38d799fc: Merge "Generic object based data copy."

* commit '38d799fc7a272c3c6ff7b9bc7b7f9239b45bf98c':
  Generic object based data copy.

10 years agoMerge "Generic object based data copy."
Tim Murray [Mon, 10 Feb 2014 23:27:05 +0000 (23:27 +0000)]
Merge "Generic object based data copy."

10 years agoGeneric object based data copy.
Jason Sams [Tue, 26 Nov 2013 02:28:33 +0000 (18:28 -0800)]
Generic object based data copy.

This change consolidates the copy paths to Object based.
The runtime now uses reflection to identify the type of
array present.  This adds support for long/double and reduces
the amount of code present.  We could also support arrays of vectors
or objects in the future with this mechanism.

Change-Id: I2297c1c01fbe6a64c375d6368f25d7db781ea788

10 years agoam 40545f32: Merge "frameworks/base: fix errors inside ALOGV"
Colin Cross [Mon, 10 Feb 2014 22:06:09 +0000 (14:06 -0800)]
am 40545f32: Merge "frameworks/base: fix errors inside ALOGV"

* commit '40545f32d3364604dac0c21a0310c26f7596e3a8':
  frameworks/base: fix errors inside ALOGV