Ashok Bhat
8ab665dda4
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 >
2014-01-23 16:25:19 +00:00
Narayan Kamath
2f756cbb5a
Remove unused field from AssetManager.
...
This field was introduced in commit 4bdd33b81a17 but wasn't
used there (or since).
Change-Id: I0615e98b8990d42da6b85f8094ab19eb0465fd9e
2014-01-22 11:09:09 +00:00
Jeff Brown
4ccb823a9f
Refactor display manager service to new pattern.
...
Transform DisplayManagerService into a SystemService and start cleaning
up other local services that it uses from window manager and input manager.
Clean up service thread initialization.
Remove unnecessary static variables from ActivityManagerService.
It's starting to become clear that we really need a better way to manage
service dependencies. Boot phases don't quite cut it.
Change-Id: If319dbd7cbfbd4812fe55ece969e818d4b20755b
2014-01-16 22:16:42 -08:00
Jeff Brown
6f357d3284
Start untangling system server early bootstrapping.
...
Refactored SystemServer to get rid of a bunch of legacy cruft related
to how the ServerThread used to be started up.
Create system context first when system server starts. This removes
the tangled initialization order dependency that forced us to start
the activity manager service before most anything else.
Moved factory test related constants into the FactoryTest class.
Partially migrated Installer, ActivityManagerService, and
PowerManagerService to the new SystemService pattern. There's more
work to be done here, particularly around the lifecycle of the
power manager.
Bug: 12172368
Change-Id: Ia527dd56e3b3fd90f9eeb41289dbe044921230d4
2014-01-16 11:24:58 -08:00
Narayan Kamath
23b7e0a32b
am d8facb67: am d569e21d: am 48de490c: am 486544f7: Merge "AArch64: Use long for pointers in view/input classes"
...
* commit 'd8facb6763638178bd12f1010466e426c0754f49':
AArch64: Use long for pointers in view/input classes
2014-01-16 15:42:14 +00:00
Narayan Kamath
275586aa53
am 7471dfc4: am 42defa02: am faa62aac: am 84ee7930: Merge "AArch64: Use long for pointers in android/os/MessageQueue"
...
* commit '7471dfc4a894ade4cd83949d2b59b9b7e75bbf92':
AArch64: Use long for pointers in android/os/MessageQueue
2014-01-16 15:42:09 +00:00
Narayan Kamath
6706888e24
am 775667c0: am 03e8be75: am 8796ab7f: am bb35356d: Merge changes Id54087dd,I946325e4,I2a2b2e68
...
* commit '775667c070f6e0375e7a247d30a34b0073d7fd5b':
AArch64: Use long for pointers in BitmapRegionDecoder
AArch64: Use long for pointers in Movie class
AArch64: Add AssetInputStream.getNativeAsset
2014-01-16 15:41:52 +00:00
Narayan Kamath
e18f0e2a46
am 19bd2c28: am ab220dee: am 947d88a0: am 138d67c8: Merge "AArch64: Use long for pointers in MotionEvent class"
...
* commit '19bd2c28f9c3e4db12cad93ed2a69c17c95e42fd':
AArch64: Use long for pointers in MotionEvent class
2014-01-16 15:41:47 +00:00
Narayan Kamath
e413dae892
am 8e96d73a: am e488f2c1: am a0b25d41: am d85bba8e: Merge "AArch64: Use long for pointers in VelocityTracker class"
...
* commit '8e96d73a755348b25ceb80f907eae15be2da0d75':
AArch64: Use long for pointers in VelocityTracker class
2014-01-16 15:41:41 +00:00
Narayan Kamath
c45068e4a4
am d7a54c65: am 31f10bb2: am 80b3dd0d: am 27a647bf: Merge "AArch64: Use long for pointers in android/os/MemoryFile"
...
* commit 'd7a54c6574c3ca759e977f27912caecb6b40e827':
AArch64: Use long for pointers in android/os/MemoryFile
2014-01-16 15:41:35 +00:00
Narayan Kamath
a5a0d384fc
am 425b08f1: am c1abb5e3: am 53321d99: am f19c50d6: Merge "AArch64: Use long for pointers in KeyCharacterMap class"
...
* commit '425b08f14419a1e67a3d9d2c9b97ea61ecd4f5cb':
AArch64: Use long for pointers in KeyCharacterMap class
2014-01-16 15:41:30 +00:00
Elliott Hughes
8bb8caa2b1
am c12410f1: am c3be4ba3: am 12377887: am 991e9818: Merge "AArch64: Use long for pointers in speech/srec classes"
...
* commit 'c12410f1a3b951126a02ad5fe4160bc830a860ec':
AArch64: Use long for pointers in speech/srec classes
2014-01-16 15:41:18 +00:00
Narayan Kamath
d8facb6763
am d569e21d: am 48de490c: am 486544f7: Merge "AArch64: Use long for pointers in view/input classes"
...
* commit 'd569e21dac38fffe0e6a7f935e9a6965495b87d4':
AArch64: Use long for pointers in view/input classes
2014-01-16 15:38:34 +00:00
Narayan Kamath
7471dfc4a8
am 42defa02: am faa62aac: am 84ee7930: Merge "AArch64: Use long for pointers in android/os/MessageQueue"
...
* commit '42defa02337b94d25714fe737f749f2c3300c790':
AArch64: Use long for pointers in android/os/MessageQueue
2014-01-16 15:38:29 +00:00
Narayan Kamath
775667c070
am 03e8be75: am 8796ab7f: am bb35356d: Merge changes Id54087dd,I946325e4,I2a2b2e68
...
* commit '03e8be757d2703d52fad3fd153c6bcf0b13ed1d1':
AArch64: Use long for pointers in BitmapRegionDecoder
AArch64: Use long for pointers in Movie class
AArch64: Add AssetInputStream.getNativeAsset
2014-01-16 15:38:15 +00:00
Narayan Kamath
19bd2c28f9
am ab220dee: am 947d88a0: am 138d67c8: Merge "AArch64: Use long for pointers in MotionEvent class"
...
* commit 'ab220deeb8a413649335d5ef47d974dfdc3ac5ec':
AArch64: Use long for pointers in MotionEvent class
2014-01-16 15:38:10 +00:00
Narayan Kamath
8e96d73a75
am e488f2c1: am a0b25d41: am d85bba8e: Merge "AArch64: Use long for pointers in VelocityTracker class"
...
* commit 'e488f2c154f089141709279dd93bcd641c85659b':
AArch64: Use long for pointers in VelocityTracker class
2014-01-16 15:38:05 +00:00
Narayan Kamath
d7a54c6574
am 31f10bb2: am 80b3dd0d: am 27a647bf: Merge "AArch64: Use long for pointers in android/os/MemoryFile"
...
* commit '31f10bb21b24824c5dbf60b420239513f02b9e55':
AArch64: Use long for pointers in android/os/MemoryFile
2014-01-16 15:38:00 +00:00
Narayan Kamath
425b08f144
am c1abb5e3: am 53321d99: am f19c50d6: Merge "AArch64: Use long for pointers in KeyCharacterMap class"
...
* commit 'c1abb5e3957f6abdd9cea8f2717290a3f130a216':
AArch64: Use long for pointers in KeyCharacterMap class
2014-01-16 15:37:55 +00:00
Elliott Hughes
c12410f1a3
am c3be4ba3: am 12377887: am 991e9818: Merge "AArch64: Use long for pointers in speech/srec classes"
...
* commit 'c3be4ba304196f1624818dce3da43492156b62fe':
AArch64: Use long for pointers in speech/srec classes
2014-01-16 15:37:45 +00:00
Narayan Kamath
d569e21dac
am 48de490c: am 486544f7: Merge "AArch64: Use long for pointers in view/input classes"
...
* commit '48de490c33cac16ed82d753799d7add804f72977':
AArch64: Use long for pointers in view/input classes
2014-01-16 07:35:25 -08:00
Narayan Kamath
42defa0233
am faa62aac: am 84ee7930: Merge "AArch64: Use long for pointers in android/os/MessageQueue"
...
* commit 'faa62aaca5f4a149f20487d42279fefc7d356428':
AArch64: Use long for pointers in android/os/MessageQueue
2014-01-16 07:35:20 -08:00
Narayan Kamath
03e8be757d
am 8796ab7f: am bb35356d: Merge changes Id54087dd,I946325e4,I2a2b2e68
...
* commit '8796ab7f22d3e9f5b85571e8851851c023416f96':
AArch64: Use long for pointers in BitmapRegionDecoder
AArch64: Use long for pointers in Movie class
AArch64: Add AssetInputStream.getNativeAsset
2014-01-16 07:35:06 -08:00
Narayan Kamath
ab220deeb8
am 947d88a0: am 138d67c8: Merge "AArch64: Use long for pointers in MotionEvent class"
...
* commit '947d88a0eacafb2e5ec5ce5eaaae8be32ecb9aa9':
AArch64: Use long for pointers in MotionEvent class
2014-01-16 07:35:02 -08:00
Narayan Kamath
e488f2c154
am a0b25d41: am d85bba8e: Merge "AArch64: Use long for pointers in VelocityTracker class"
...
* commit 'a0b25d41d556d2c37852b6036aaf6f33b0e8c5a8':
AArch64: Use long for pointers in VelocityTracker class
2014-01-16 07:34:57 -08:00
Narayan Kamath
31f10bb21b
am 80b3dd0d: am 27a647bf: Merge "AArch64: Use long for pointers in android/os/MemoryFile"
...
* commit '80b3dd0d8e333905e9f2a3a844bc524d41df7da2':
AArch64: Use long for pointers in android/os/MemoryFile
2014-01-16 07:34:53 -08:00
Narayan Kamath
c1abb5e395
am 53321d99: am f19c50d6: Merge "AArch64: Use long for pointers in KeyCharacterMap class"
...
* commit '53321d9990cae810da28b7ae9f6f9b3fe7455020':
AArch64: Use long for pointers in KeyCharacterMap class
2014-01-16 07:34:48 -08:00
Elliott Hughes
c3be4ba304
am 12377887: am 991e9818: Merge "AArch64: Use long for pointers in speech/srec classes"
...
* commit '12377887e3a74a69100071e0a383f6d9a54046c9':
AArch64: Use long for pointers in speech/srec classes
2014-01-16 07:34:39 -08:00
Narayan Kamath
486544f763
Merge "AArch64: Use long for pointers in view/input classes"
2014-01-16 12:12:31 +00:00
Narayan Kamath
84ee7930bb
Merge "AArch64: Use long for pointers in android/os/MessageQueue"
2014-01-16 12:12:15 +00:00
Narayan Kamath
bb35356dc0
Merge changes Id54087dd,I946325e4,I2a2b2e68
...
* changes:
AArch64: Use long for pointers in BitmapRegionDecoder
AArch64: Use long for pointers in Movie class
AArch64: Add AssetInputStream.getNativeAsset
2014-01-16 12:11:58 +00:00
Narayan Kamath
138d67c847
Merge "AArch64: Use long for pointers in MotionEvent class"
2014-01-16 12:11:55 +00:00
Narayan Kamath
d85bba8ebd
Merge "AArch64: Use long for pointers in VelocityTracker class"
2014-01-16 12:11:51 +00:00
Narayan Kamath
27a647bf38
Merge "AArch64: Use long for pointers in android/os/MemoryFile"
2014-01-16 12:11:47 +00:00
Narayan Kamath
f19c50d657
Merge "AArch64: Use long for pointers in KeyCharacterMap class"
2014-01-16 12:11:42 +00:00
Craig Mautner
e9ddaa0b18
Merge "Cleanup after ActivityView" into klp-modular-dev
2014-01-16 01:49:24 +00:00
Craig Mautner
34b73dfaa3
Cleanup after ActivityView
...
- Release Surface and VirtualDisplay when shutting down ActivityView.
- Shut down child stacks when relaunching parent activity.
Change-Id: I60314b2b43bd2da5406cf6ec871293b5baca157c
2014-01-15 17:47:51 -08:00
Ashok Bhat
bdebe1ad95
AArch64: Use long for pointers in speech/srec classes
...
For storing pointers, long is used in speech/srec classes,
as native pointers can be 64-bit.
Note corresponding JNI files are in the external/srec project
under srec_jni directory.
Change-Id: Iacd10840e81f5acc3eb202424f83b49ae4eb23ab
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com >
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com >
2014-01-15 17:38:06 -08:00
Jeff Hao
ac20b46925
am 6c13f384: am 56b11064: am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
...
* commit '6c13f384749150e9fa6f930023a9161fe97402d0':
Add sample profiling interface to startMethodTracing.
2014-01-15 19:48:18 +00:00
Jeff Hao
6c13f38474
am 56b11064: am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
...
* commit '56b110649424534de36ca41b3e352a73b6bdf3c0':
Add sample profiling interface to startMethodTracing.
2014-01-15 19:45:06 +00:00
Jeff Hao
56b1106494
am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
...
* commit '9a5005a3bfa419cb856a83ca34a67556d9fd5b74':
Add sample profiling interface to startMethodTracing.
2014-01-15 11:41:30 -08:00
Jeff Hao
d02e60fbd4
Add sample profiling interface to startMethodTracing.
...
Frameworks base side of this change. Also changed art and libcore.
Change-Id: Ib5ba0445163dca714d1ae66430750346ff8811be
2014-01-15 11:27:24 -08:00
Marco Nelissen
4e53edf7ea
am e495a5a3: am cb15fb60: am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."
...
* commit 'e495a5a3f3feec6319262a6bdab3b7704d6ab843':
Before requerying a cursor, check if it is closed.
2014-01-15 17:29:43 +00:00
Marco Nelissen
e495a5a3f3
am cb15fb60: am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."
...
* commit 'cb15fb6041e604025d4b76645435f8cbafee754c':
Before requerying a cursor, check if it is closed.
2014-01-15 17:27:19 +00:00
Marco Nelissen
cb15fb6041
am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."
...
* commit '0d4916f19f81f80fc83eb7646c6d339630d5f618':
Before requerying a cursor, check if it is closed.
2014-01-15 09:22:55 -08:00
Marco Nelissen
c3036a1246
Merge "Before requerying a cursor, check if it is closed."
2014-01-15 17:17:05 +00:00
Ashok Bhat
a0545dd54f
AArch64: Add AssetInputStream.getNativeAsset
...
This patch adds AssetInputStream.getNativeAsset. This function
returns asset pointer, which can then be passed to JNI functions.
Note that this function is hidden and not part of Android API.
This function will eventually replace getAssetInt,
once all the classes that use getAssetInt are changed
to use getNativeAsset instead.
Change-Id: I2a2b2e6864f1f57ae2b3a10c45559b3635266ed5
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com >
2014-01-15 14:21:59 +00:00
Matthew Xie
91da5b6830
Merge changes I86b3fa60,I7fa4e847 into klp-modular-dev
...
* changes:
BLE peripheral mode (3/4): Add peripheral mode API.
NPE in BluetoothSocket.write()
2014-01-14 20:44:16 +00:00
John Spurlock
4b67b88e34
am cce06eda: am b3436359: am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit 'cce06eda6bd6af957b261f66eb8ea3623fe09caf':
Docfixes: three typos and escape */*.
2014-01-14 20:00:42 +00:00
John Spurlock
cce06eda6b
am b3436359: am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit 'b34363590953e4efd70168cdf03386d1e469a548':
Docfixes: three typos and escape */*.
2014-01-14 19:57:02 +00:00