| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was an old userspace ABI, but we've encouraged all
platforms to move to a consistent ABI, regardless of
bitness of the device. This corresponds to a kernel
config option that we started requiring not be set
in Android P.
After this, the build system still needs to have this support
removed.
Bug: 232423610
Test: boot cf
Change-Id: Iff5997f910d86c73bbd6502ec393434d248cdcd5
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some 32-bit kernels use a binder kernel interface with a different API
controlled by the kernel configuration CONFIG_ANDROID_BINDER_IPC_32BIT.
This changes builds versions of these tests built for this bitness
specially so that they can run and work on these devices.
Test: atest --all binderLibTest{,_IPC_32} binderDriverInterfaceTest{,_IPC_32}
Bug: 154755898
Change-Id: I82b47e8064564a037bf8ed453e9ae7b8901b5667
|
| |
|
|
|
| |
Test: atest --test-mapping .
Change-Id: Id21c53fc2a4a308539b5354f34c3ee1e529b8b49
|
| |
|
|
|
|
|
|
|
|
| |
It came up recently that the libbinder ping transaction uses 4-bytes in
the reply header, but it really only needs to use the binder return
code (how servicemanager did it before when written in C).
Fixes: 137203409
Test: TH
Change-Id: I4555fdba0f80263caa3f3727ef5c5458d160a585
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After servicemanager was re-written in C++, it started returning a
4-byte payload for ping. Whereas before, in the C implementation, a zero
byte payload was returned.
Allowing multiple values in this test to stop presubmit failures. As a
follow-up, I will try to determine if we can switch libbinder to a
0-byte ping (and revert this CL). Alternatively, once SM is in all
branches, if we want this behavior, we can restrict this test to 4-bytes
OR we can remove this expected value from this test altogether.
This test is allowing both values and being fixed in this strange way
because an investigation will follow, and our branching structure (and
vendor prebuilts) make it hard to revert the offending change.
Fixes: 136633463
Bug: 137203409
Test: binderDriverInterfaceTest passes
(on devices with and w/o and updated SM)
Change-Id: I43a5d10c59ae71933db40d932716cd979f802cc5
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes -Wzero-as-null-pointer-constant warning.
clang-tidy -checks=modernize-use-nullptr -p compile_commands.json -fix
...
Test: m
Bug: 68236239
Change-Id: I3181bc5683796423a98b0f9b94daf30880c07bdc
Merged-In: I3181bc5683796423a98b0f9b94daf30880c07bdc
(cherry picked from commit 91635563b8a1bf7a31e4ceb439728dacb79abd76)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
A recent change to the binder kernel driver delays the
delivery of BR_TRANSACTION_COMPLETE until a reply comes
in. The binderDriverInterfaceTest uses the non-blocking
interface, and assumes BR_TRANSACTION_COMPLETE comes in
on the first read. I don't think we depend on this
assumption in any of our real code, so change the test.
Bug: 69442864
Test: binderDriverInterfaceTest passes
Change-Id: Iafca061c1bb7badd6cb61b3e876d9c3bbfa18542
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a test to check that alloc->buffers
is properly initialized when calling
close after open with no mmap.
Bug: 36007193
Test: run binderDriverInterfaceTest
Change-Id: I94af8499e65714b1b09ac063459eacf05504262a
Signed-off-by: Sherry Yang <sherryy@android.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add unit tests for log functions
Add support of std::endl
Add back support of char
Add back support of bool
Add back support of String16
Fix a build warning on union initialization
Test: run /data/nativetest(64)/binderTextOutputTest
Bug: 32181382
Change-Id: I4030b142beacc5dcd88a10904710fd6e19f7240c
|
| |
|
|
|
|
| |
See build/soong/README.md for more information.
Change-Id: Ifbe9b0072a63b4467c72b3a52148a606e5365f78
|
| |
|
|
| |
Change-Id: I31991ed089f395174857e86e509b8190ad98f92a
|
| |
|
|
|
|
|
| |
When compiling 32 bit binaries against a 64 bit binder interface,
implicit promotions of intptr_t types to uint64_t for fields in the
binder ioctl structures can result in invalid pointers because of sign
extension.
|
| | |
|
|
|
Test ioctls and some binder commands without using libbinder.
Change-Id: I86dde56ff1380bca17d086021ac5324dc5210354
|