OSDN Git Service

AArch64: Make Binder and Parcel 64-bit compatible
authorAshok Bhat <ashok.bhat@arm.com>
Wed, 22 Jan 2014 16:00:20 +0000 (16:00 +0000)
committerDavid Butcher <david.butcher@arm.com>
Thu, 23 Jan 2014 16:25:19 +0000 (16:25 +0000)
commit8ab665dda40ab10e60fc69392022171f454af530
tree31c33947ff99a921cb19beec7f1bbf03bcc17a29
parent407f74f494e5374d9bdceae9d9fb453aa8270f6b
AArch64: Make Binder and Parcel 64-bit compatible

Changes include
[x] Long is used to store native pointers

[x] Added new method obtain(long obj) to Parcel. Binder
    uses this method instead of obtain(int obj).

[x] obtain(int) has been changed to throw unsupported
    operation exception.

Change-Id: I408e0f2a24deb28c9277d86670653a51eb314266
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
core/java/android/os/Binder.java
core/java/android/os/Parcel.java
core/jni/android_os_Parcel.cpp
core/jni/android_util_Binder.cpp