| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
|
|
|
|
| |
Change-Id: Id747767377953fd644a538aad3f603d6c50875a2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Requires change Ifaf115da in frameworks/base.
Bug: 20079551
Change-Id: Ifaf115dabd1a59cdb1b46e2d49c41f64ac107de4
|
|/
|
|
|
|
|
|
|
| |
Will be used by the system_server watchdog to monitor the
availability of binder threads in the process to handle
incoming IPC requests.
Bug: 19297165
Change-Id: I39175f3869ad14da5620fddb47f454e6e4ee2b25
|
|
|
|
|
| |
Bug: 19620911
Change-Id: Ifce5319e4e35afd344dead67ab7ba1cd399476a3
|
|
|
|
|
|
|
|
|
| |
- Adds a new AIDL interface for querying process
information from activity manager.
Bug: 19186859
Change-Id: Ic08858f346d6b66e7bfc9da6faa2c6e38d9b2e82
|
|\
| |
| |
| |
| | |
* commit '80e8150549c9d8380dadf942336d41ab3d92bf78':
binder: Add {read,write}Uint32 methods to Parcel
|
| |
| |
| |
| |
| |
| |
| |
| | |
Adds readUint32 and writeUint32 methods to the Parcel class. This
saves a lot of static_casting in anything implementing a Binder
interface on the native side.
Change-Id: Iafc73b0633654a3a4c49767f41806b56906c924f
|
|\ \
| |/
| |
| |
| | |
* commit '104e12594e085bc8dd32eedb96643b774b1508a0':
binder: Return pid_t/uid_t instead of int
|
| |
| |
| |
| |
| |
| |
| | |
Makes IPCThreadState::getCalling{Pid,Uid} return a more
appropriate type.
Change-Id: I97f8a83c1c0722bc1afbf8a6df1a288f8f1f0d2c
|
|\ \
| |/
| |
| |
| | |
* commit '55f71bc0800b9ec7a779c5d30d5a90e074c2526b':
Replace IInterface::asBinder() with a static
|
| |
| |
| |
| |
| |
| |
| | |
so we can do NULL checks again, and update calls to IInterface::asBinder()
to use the new static version.
Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
|
|\ \
| |/
| |
| |
| | |
* commit 'bc49cd07664d8a590bc6ed44884ba9405f6b706e':
kill HAVE_FORKEXEC
|
| |
| |
| |
| |
| | |
Bug: 18317407
Change-Id: I0c7b5886e5de12bdd95cfcc046bc87e4a6aeef5b
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
android_atomic_...64 use."""""
* commit 'a0187a9c83cb042b4cb92dac59214247bb7affcf':
Revert "Revert "Revert "Revert "Remove incorrect android_atomic_...64 use.""""
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After fixing b/16874785.
This reverts commit f010a05c7e9a23b6083294aff4a8183ab01f686e.
Change-Id: I1645ca5d6f60595bf5d388913665ce4b8780b26d
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
android_atomic_...64 use.""""
* commit 'f491f497b2a4ba5a0ec60b291cce4ffb3be3d33c':
Revert "Revert "Revert "Remove incorrect android_atomic_...64 use."""
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 66629e0de532376fa3ef43175ad05eccd21114da.
Change-Id: Ic298b345d0e500d18e4297b00e755ce3340f13fb
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
use."""
* commit '6e5316b1dac10bed0d81f4b2942e4a8749cd67b2':
Revert "Revert "Remove incorrect android_atomic_...64 use.""
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 9dc5c269f74ac76f62515e3d9558e67c6e63067d.
Adds a stdint.h include in case stdatomic.h stops including that.
Change-Id: If3dd1db1f1132c0f2dc1efb0a44617d3f36d7cfb
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '735082ea156d91cf72c241e9134abc22038c8f13':
Revert "Remove incorrect android_atomic_...64 use."
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 88b7541d682a6ad402eff15e58c9c792497096d7.
Change-Id: Ie701c308451a3697bb167aff119318b932133f90
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'c11eca81e66892eb62a03b4553055197d122fe5b':
Remove incorrect android_atomic_...64 use.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change the mExtras field in Binder.h to be a stdatomic.h atomic
value, and replace references to it with proper stdatomic.h calls.
This removes one of a small number of remaining 64 bit
android_atomic references. It also replaces the erroneously
non-atomic read accesses to mExtras.
It would be better if this used the C++11 <atomic> facility,
but we don't quite have that yet.
Bug: 16513433
Change-Id: Ibabb88d05025187ee1ce6c7f1aa670b133a547f8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All uses of this API have been removed. It should
never have been made public in the first place.
bug: 15424960
(cherry picked from commit 7da40c0a84dd89e92201448dd5ed3387dc94df2b)
Change-Id: I8d89f62dbdaee7149ef908e0c97417b85e0c48a2
|
| | |\ |
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'f0190bff38b6c29abbfc4a877442f71fc3d7dad8':
Add support for writing byte arrays to parcels
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I76ffed0e69ccfe70e87d98646f11d4de7c3fd980
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After fixing b/16874785.
This reverts commit f010a05c7e9a23b6083294aff4a8183ab01f686e.
Original comment, which actually describes the effect of this:
Change the mExtras field in Binder.h to be a stdatomic.h atomic
value, and replace references to it with proper stdatomic.h calls.
This removes one of a small number of remaining 64 bit
android_atomic references. It also replaces the erroneously
non-atomic read accesses to mExtras.
It would be better if this used the C++11 <atomic> facility,
but we don't quite have that yet.
Fixes
Bug:16513433
Change-Id: I1645ca5d6f60595bf5d388913665ce4b8780b26d
(cherry picked from commit 3effababf2980d029339522fdc914bdeb913d99b)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 12979595
Change-Id: Ida474e539a3af0a85ec157a66bbf986430c8020e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 12979595
Change-Id: Ic8e8d625becc6d1050f840ad63b7423f388eeba3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
All uses of this API have been removed. It should
never have been made public in the first place.
bug: 15424960
Change-Id: Id07d24ec95b2b393e6da138a7e8a9a4ecebeca94
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'd09b2acdc8ca706c65984956e61c0bb333cee992':
Remove global variables from ProcessState.
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* commit '033bdd72f9f32f4bd3d282750bdc0dcfbb469959':
Remove global variables from ProcessState.
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These weren't really being used and they make it
very hard to reason about who looks at command line
arguments.
Processes started via app_process (this includes all
zygote forks and the system_server) can get information
about command line arguments from the AndroidRuntime
class, which is available via a call to
AndroidRuntime::getRuntime.
bug: 13647418
Change-Id: I6f92680c3619a68c6d4b0995db4cdc9adc788e36
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I3c2b3d9b1671da4b9d9c58dce27e291d30703b03
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
to parcels
* commit '793be12c0f5a7878d1085e94e58a9c36c84f0911':
Add support for writing byte arrays to parcels
|
| |\ \ \
| | |/ /
| |/| /
| | |/
| | | |
* commit 'b730a45216991cf22c39451c47393b4bccae111b':
Add support for writing byte arrays to parcels
|
| | |
| | |
| | |
| | |
| | |
| | | |
b/13418320
Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ib0e5a037,I1bd7c38e,Icfc67c2a,I96c64312,I59528054, ...
* commit 'c93865de80a16d3638936890fb42eb175284044b':
ServiceManager: Implement PING_TRANSACTION
ServiceManager: Use 32/64 bit types from new binder header
Binder: Use 64 bit pointers in 32 processes if selected by the target
Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true
Binder: Make binder portable
ServiceManager: Fix the binder interface
ServiceManager: Store handles in uint32_t instead of void *
ServiceManager: Generic Fixes
ServiceManager: Add extra error handling
ServiceManager: Fix Android.mk
ServiceManager: Make use of kernel exported structures
|
| | |
| | |
| | |
| | |
| | |
| | | |
Uses new kernel header where void * has been replaced by binder_uintptr_t
Change-Id: Icfc67c2a279269f700343bd9246fd7cb94efe2c1
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes include
- Binder attempts to cast pointers to a int datatype
which is not sufficient on a 64-bit platform.
- This patch introduces new read/write functions into
Parcel that allow pointers to be written using the
uintptr_t datatype for compile-time data type size
selection.
- Change access specifier for the methods above.
- Binder uses the 64bit android_atomic_release_cas64
(aka cmpxchg)
Change-Id: I595280541e0ba1d19c94b2ca2127bf9d96efabf1
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Cherrypicked from master.
b/9464621
Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d
|
| |
| |
| |
| | |
Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d
|
| |
| |
| |
| | |
Change-Id: Ia507160a2534059afe93849c8efc8407a046b50e
|
| |
| |
| |
| |
| |
| | |
Binder code
Change-Id: I7f308e28ebac0755628e19c9b4d0d7399341b435
|
|/
|
|
| |
Change-Id: I8b040e4b2e968fd0754e15dcf9f899fbfe210b6e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fallout from the Flattenable change, update all its uses.
Additionnaly, fix/tighten size checks when (un)flatten()ing
things.
Removed the assumption by some flattenables (e.g.: Fence)
that the size passed to them would be exact (it can
and will be larger in some cases)
The code in Parcel is a bit complicated so that we don't
have to expose the full implementation (and also to
keep the code smallish).
Change-Id: I0bf1c8aca2a3128491b4f45510bc46667e566dde
|
|
|
|
|
|
|
|
| |
libbinder is only built for the target, where bionic will provide
uio, so it does not need to include the libcutils wrapper around
uio for windows.
Change-Id: Ifc2dd353bf7ed51bf08ec0ae91c43b12830f94ba
|