| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Bug: 6369821
Change-Id: I502211bddaf60d6097b81b35f606bbcdd1a3e092
|
| |
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/141576
Bug: 5449033
Change-Id: Ie3bc0d5436218ea05f98cb0373ecf5924f78db05
|
| |
|
|
|
|
| |
This is a backport from dalvik-dev.
Change-Id: If6001b580bd9b36f3845aaa115333d69682f3a92
|
| |
|
|
|
|
|
|
|
|
| |
An leading underscore followed by a capital letter is a reserved
name space in C and C++.
This change also moves any #include directives within the include
guard in some of the compiler/codegen/arm header files.
Change-Id: I9715e2c5301699d31886e61d0fe6e29483555a2a
|
| |
|
|
| |
Change-Id: I5abd4f8ab06db0c77fa369fcd97d8f1259b343df
|
| |
|
|
|
|
| |
Ouch.
Change-Id: I81c0457a95549f1bef7cc8d9ab23d6ca4475cdb5
|
| |
|
|
| |
Change-Id: Ie68f42213e7a915fb1be45ae87790117f8356c4e
|
| |
|
|
| |
Change-Id: Iaedc727becb4af1c779299d4da7c91bd522fe9cc
|
| |
|
|
|
|
|
|
| |
I still think you should be doing checks and throwing exceptions in Java,
and your native code should just crash if you lie to it, but this will
ease the translation of frameworks/base code over to using JNI more correctly.
Change-Id: I9f2512e2349452b82360b375911c814ab00db23b
|
| |
|
|
|
|
| |
This hasn't been useful in a really long time.
Change-Id: Ieea01f5d051bc8fc671f7414af3bed626ece75f1
|
| |
|
|
| |
Change-Id: I4de4dc69d8989f1add431e58533c7e633f67e550
|
| |
|
|
| |
Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b
|
| |\
| |
| |
| | |
exceptions. Plugged some JNI reference leaks in existing JNI helpers." into kraken
|
| | |
| |
| |
| |
| |
| | |
Plugged some JNI reference leaks in existing JNI helpers.
Change-Id: I62213cdae375235f6ee9304ecd8dc3d2b7f58c85
|
| |/
|
|
| |
Change-Id: I0c0edb3ebf0d5e040d6bbbf60269fab0deb70ef9
|
| |
|
|
| |
...and switch all NPE throwers over to the helper.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
Make the dynamic exception construction mechanism be able to handle exception constructors that take Object instead of String. (2) Add a convenience in JNIHelp to throw RuntimeExceptions.
Merge commit '66cbe5b10e3bd9f7b3c262a2ec8a3c11087baa80'
* commit '66cbe5b10e3bd9f7b3c262a2ec8a3c11087baa80':
Two exception-related tweaks: (1) Make the dynamic exception construction
|
| | |
| |
| |
| |
| |
| |
| | |
mechanism be able to handle exception constructors that take Object instead
of String. (2) Add a convenience in JNIHelp to throw RuntimeExceptions.
Change-Id: Ie5ce680c30043a4b186e59d7c8883666648b2c87
|
| |\ \
| | |
| | |
| | |
| | | |
* changes:
Clone TEMP_FAILURE_RETRY in JNIHelp.h, to make up for (take your pick) laggard libc implementations not keeping up with the times or (perhaps) agressively modern libc implementations too eagerly expanding upon the standard.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
laggard libc implementations not keeping up with the times or
(perhaps) agressively modern libc implementations too eagerly
expanding upon the standard.
Change-Id: I4c4d050d15a00f4e82f8beb2b9c386b7c652f495
|
| |/ /
| |
| |
| |
| |
| | |
This code is dead at the moment, and were it ever to become live, I'm pretty
sure we'd want to start again from scratch rather than do whatever the author
of this had in mind.
|
| |/
|
|
|
| |
Also add one example caller I used to test this, and update the
libnativehelper README file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The native memory allocated for ByteBuffer.allocateDirect was not being
tracked by the VM's "external allocation" mechanism. This adds the
necessary calls to the Harmony OSMemory allocator, which is what
actually calls malloc().
The external alloc stuff just takes size values, so we tuck a copy of
the allocation size into the allocated block, and pull it out when it's
time to free the memory.
(Includes in a couple of other changes that I had to commit somewhere so
I could sync.)
|
| | |
|
| | |
|
| | |
|
| |
|