Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/nova-video-player/aos-libnativehelper


https://github.com/nova-video-player/aos-libnativehelper

Call JNIEnv FatalError rather than abort(3).

Change-Id: Ieb9cf7a3dafa88e6fefd5728365aebef85e7e127

a3b5700211a46457c0ada87d85cbae96f5dea5d8 authored about 12 years ago
Make libnativehelper stand-alone.

Bug: 6369821
Change-Id: I502211bddaf60d6097b81b35f606bbcdd1a3e092

73d3c2e3ed100f1d0ccc08a9675844bf8a0848fa authored almost 13 years ago
Make sure we rethrow the same exception we started with.

Bug: 6312938
Change-Id: I41d8adf27fd32103c55d9eeafa28a25c37f5029d

e2b11e7e4077187462324810d2b8a404417ba6a2 authored almost 13 years ago
Merge remote-tracking branch 'goog/ics-aah'

9a67c9d55e573ea7c908b1863b568e2806697b41 authored almost 13 years ago
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Also fix an occurrence of LOGW missed in a...

79a0d9c410a2060744e044aec2536e29a4f5213c authored about 13 years ago
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Ia5d301248024df26c2a29...

7f18b364f0a76f13e741b315be30cb95b9005c6e authored about 13 years ago
am 92c1f6f1: (-s ours) Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

* commit '92c1f6f1b4249e4e379452ee7b49f027052bf4ce':
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) ...

6d3fbd7737583f1344e58f3e742898207e283b55 authored over 13 years ago
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I8bd96961e369a08e8...

292b1c28091b32a418eb44dcdef157a7b808abd4 authored over 13 years ago
am 1663a6c1: (-s ours) Rename (IF_)LOG() to (IF_)ALOG() DO NOT MERGE

* commit '1663a6c12fdf4732d7ea0a0406af6085b3c408e4':
Rename (IF_)LOG() to (IF_)ALOG() DO NOT ...

72e281f9b04d434c3326a869ded9fdd36fde6705 authored over 13 years ago
Rename (IF_)LOG() to (IF_)ALOG() DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/141576

Bug: 5449033
Change-Id: Ie3bc0d5436218ea05...

4ed586e80dbdc5dec3a733db87bae635c84b0337 authored over 13 years ago
Fix JNIEXPORT now people are using -fvisibility.

This is a backport from dalvik-dev.

Change-Id: If6001b580bd9b36f3845aaa115333d69682f3a92

154661e660d6e1914501a18d7536fb882a7d2e05 authored over 13 years ago
Break a dependency on frameworks/base when building a host VM.

These aren't necessarily good abstractions, but they're no worse than what
we had, and having th...

e6adf5ae42820113a8dac53bcf42447e0563d133 authored over 13 years ago
Normalize the include guard style.

An leading underscore followed by a capital letter is a reserved
name space in C and C++.

This ...

1ff7a0d91493dbf01bceba5fb28ce80ddac21708 authored over 13 years ago
Tidy up some includes.

Change-Id: I5abd4f8ab06db0c77fa369fcd97d8f1259b343df

a6f951cbffc9ba9b906b5995958396402d0a32ab authored over 13 years ago
Move JNIHelp's implementation to C++.

Ouch.

Change-Id: I81c0457a95549f1bef7cc8d9ab23d6ca4475cdb5

87f62a8c3826070d807817238a1ee8afd11ec34c authored almost 14 years ago
Fix a buffer overrun in jniLogException.

...by not having a fixed-length buffer at all. What are we, C programmmers?

Bug: 4330470
Change...

ed2af7959d343a36cf63205300a368a0dfd4c361 authored almost 14 years ago
Fix build by reverting NELEM change.

Change-Id: Ie68f42213e7a915fb1be45ae87790117f8356c4e

85629f2243da0ded0135ffec471a9257a832edb8 authored almost 14 years ago
In C++, we can offer a better NELEM.

Change-Id: Iaedc727becb4af1c779299d4da7c91bd522fe9cc

027ff8072c5387a7a1736dbffe2808c84222939a authored almost 14 years ago
Add jniThrowExceptionFmt.

I still think you should be doing checks and throwing exceptions in Java,
and your native code s...

2f82af198bf9e856115d1a809556e9df46bd9bab authored almost 14 years ago
Fix the order in which natives are registered.

All the core libraries want from JniHelp during registration is
jniRegisterNativeMethods. JniHel...

605e6a92ffe4d4fa7d57e2e5bdcf6c988ace4ba8 authored almost 14 years ago
Remove JNI_FORCE_C

This hasn't been useful in a really long time.

Change-Id: Ieea01f5d051bc8fc671f7414af3bed626ece...

b53ec15205415f63aa3a96b4e0bc906f6bad28e0 authored almost 14 years ago
Added JNI hack to support JNI hack

Some of our graphics code wants to get a pointer, release it, and then
continue to use it. The ...

115c251741981bd455f154dccb26902565c40b32 authored almost 14 years ago
jniRegisterNativeMethods should abort on failure

The jniRegisterNativeMethods function currently behaves like the
RegisterNatives function that i...

a810cc59cafcc292ec4f6010324725bd100f7638 authored about 14 years ago
Track change in libcore/NativeCode.mk.

Bug: 2281992
Change-Id: Ibfb877bc78396bc0e947ae2f8f86e484843f07de

acc847356a8ae6ee093aceb114cfa52a8386aaf6 authored about 14 years ago
Add optional tags to dalvik.

Change-Id: I29a78ccb6312d12b3ef0ed02cfbc638a5b01db9c

51c0f5bb47b896eda82ee50277bbb80a97006d87 authored over 14 years ago
Support dalvikvm on a Linux x86 host

Change-Id: Id166ab03a01833e06ec1a9aa0059e4eb28ec04ce

52985c66d2599cdf186a87c5a0694a12a044eefa authored over 14 years ago
Fix a couple copyright headers that aren't in the prescribed format.

Change-Id: I4de4dc69d8989f1add431e58533c7e633f67e550

bf785f4c09b9ac23ddc640b82e56eb6157fdd0f6 authored over 14 years ago
am 1c3da619: am 0f0e6f10: Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread

Merge commit '1c3da6197c677339cfdd41a948a5f79f804d6e4e'

* commit '1c3da6197c677339cfdd41a948a5f...

2394cac109a10082586002deb7b4e6d40b5bbc79 authored over 14 years ago
The ICU data is no longer compiled directly into the shared library.

Change-Id: Ief1aa1c5f6da39f4d94cb68b285d8e02cc10b9ac

04e41374bbe3198c6c4694eec6e74ade13d1260c authored over 14 years ago
Move the implementation of JNIHelp.h's FileDescriptor helpers into JNIHelp.c.

These functions used to be declared in dalvik/ but defined in libcore/, which
was a layering vio...

1a3bd5d7c1e82afe404f13e933c3a380e460b3e5 authored over 14 years ago
Remove repeated newlines at the end of files.

Change-Id: I1e3d103a7b932ef21acedb6438c0f26b315df28f

ca0b703f5ac2eeb1e11e7349d04a24d25099a937 authored over 14 years ago
Remove trailing whitespace.

Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b

abb4eff21526f5fb5e2acb9216135af515951670 authored over 14 years ago
am 09eae10c: am 23971e39: Merge "Added a new JNI helper for logging exceptions. Plugged some JNI reference leaks in existing JNI helpers." into kraken

a4d591b0a189b51f460a2e08f9a9380cc3a1f068 authored over 14 years ago
Added a new JNI helper for logging exceptions.

Plugged some JNI reference leaks in existing JNI helpers.

Change-Id: I62213cdae375235f6ee9304ecd...

2c3fc7a0c04b2feb274d0809c182adc96b284aba authored over 14 years ago
Merge branch 'dalvik-dev'

d5ef6cb3c059da34c12cc50fbaadac995dc2bcc8 authored over 14 years ago
Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master

Change-Id: I0c0edb3ebf0d5e040d6bbbf60269fab0deb70ef9

7d26526dd4c399ca57d1453b0fa20822a0461f11 authored over 14 years ago
Remove two dead files.

java_lang_Character.cpp has long been dead; I killed AndroidSystemNatives.h
this afternoon. I'm ...

430e620e3d322b80ef0dff0e1ad76047ab3b0e0a authored almost 15 years ago
Move the libcore registration out of libnativehelpers and into libcore.

Bug: 754114
Change-Id: Iaa03def509c10cbaa12fd2128584b93d4be4a6b7

46b3d4d5a4ed5a8c5d71463867c26565879bcf0b authored almost 15 years ago
Add Java 6's java.net.IDN.

harmony's tests and my code, though ICU4C does all the hard work.

I've added a test of my own t...

fb0a8fd975333a3ffb93a23a6198a5ae408e2f42 authored almost 15 years ago
Add Java 6's java.io.Console.

This is actually functional, if you're in the mood to "adb shell".

The implementation is based ...

e7a7963e9d55b3271adb90c29d538e8fe36c15b5 authored almost 15 years ago
am 10ebc7d0: Merge "Implement (but @hide) java.text.Normalizer from Java 6."

Merge commit '10ebc7d0b84dcb98e1a7eeac96ef06acdfc8d184' into dalvik-dev

* commit '10ebc7d0b84dc...

27fa5f5dd554437f67f56059f75e06bd0e8e9538 authored almost 15 years ago
Implement (but @hide) java.text.Normalizer from Java 6.

Based on https://android-git.corp.google.com/g/42516.

Includes the harmony tests from their Jav...

1baa2a7d51ad8d4585364ef41a793fcdef06b6d8 authored almost 15 years ago
resolved conflicts for merge of e84bea92 to dalvik-dev

0c015d7b0966388188d7e5f3111108d74b41fc9d authored almost 15 years ago
Break the sqlite JDBC driver out from our JDBC implementation.

The JDBC driver is from a different source
(http://www.ch-werner.de/javasqlite/overview-summary....

0761d9497d0fdb024ff73180a310d1e82d43b423 authored almost 15 years ago
First pass at reorganizing org.apache.harmony.xnet.provider.jsse native code into a single file.

At enh's suggestion, I'm consoldiating the OpenSSL related native code
into a single wrapper cla...

2672d48fca706257c8b9d62d960af33126d65c70 authored almost 15 years ago
Merge remote branch 'goog/master' into mm

Conflicts:
libcore/JavaLibrary.mk

d0d8bbeb906333a7cbedaf31a641a4b7feed4cdb authored almost 15 years ago
am adbe0586: am 217f8ef4: reconcile main tree with open-source eclair

Merge commit 'adbe0586957a71d2aa9f100646882dbca1c78f12'

* commit 'adbe0586957a71d2aa9f100646882...

bbcaf14c62a09ec8fffec3cadcdb47fa33f56fbe authored almost 15 years ago
am 217f8ef4: reconcile main tree with open-source eclair

Merge commit '217f8ef4c1c151c63382dc0785edd960c233f62e' into eclair-plus-aosp

* commit '217f8ef...

590caeedbd07ae84da361e223a98ddfd56cc1385 authored almost 15 years ago
Remove RuleBasedNumberFormat from our icu4jni fork, since we don't need it.

This is ICU API not used by Java, so there's no point pretending to maintain it.

Bug: http://b/...

0704dba57a4a97d652c221c6754cac81e004f595 authored about 15 years ago
reconcile android-2.1_r1 snapshot

edffb2814b483a30da0a922c9135b5acdaaccefc authored about 15 years ago
Fix jniThrowRuntimeException for C callers, add jniThrowNullPointerException.

...and switch all NPE throwers over to the helper.

9f6e1d367d772894733387e6dae2ddf685c5bf03 authored about 15 years ago
android-2.1_r1 snapshot

c094b8b1c4f92a56b3e68ad158b4312e5503a2be authored about 15 years ago
Merge commit 'goog/eclair-plus-aosp'

ab0c08d36b667fbff12b326efc3d744b22d0fde2 authored about 15 years ago
am 66cbe5b1: am bf1bb914: am 4a888b09: 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.

Merge commit '66cbe5b10e3bd9f7b3c262a2ec8a3c11087baa80'

* commit '66cbe5b10e3bd9f7b3c262a2ec8a3...

773c77904249482681e13e852a58c8446caf6bb1 authored about 15 years ago
am bf1bb914: am 4a888b09: 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.

Merge commit 'bf1bb914a62c65eb8304ce1d86e8ff2dd4f5c79b' into eclair-mr2-plus-aosp

* commit 'bf1...

ea544a2cb103ad11e24f1782840cb0d1681ff59b authored about 15 years ago
am 4a888b09: 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.

Merge commit '4a888b09be2ade9fc5bb0137f702b3be889679a9' into eclair-plus-aosp

* commit '4a888b0...

ac2c10c2419a2fd8686f62f4e20dff19f5e8cc72 authored about 15 years ago
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 ...

f84f4c65bfd3a16161ce6220d3cbde0765ba0f46 authored about 15 years ago
am d829c399: merge from open-source master

Merge commit 'd829c39941df81efe05eb3e974cfc048ce2d47f2'

* commit 'd829c39941df81efe05eb3e974cfc...

1c1c514b81477239ed6f9c2af857d25df821809b authored about 15 years ago
merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD

f7218bb080b76a58d4099121e9a9e08bf4bcbb60 authored about 15 years ago
eclair snapshot

519e0b931c5c7fa927059c588898ec46d0b19c90 authored about 15 years ago
Merge change I4c4d050d

* changes:
Clone TEMP_FAILURE_RETRY in JNIHelp.h, to make up for (take your pick) laggard libc...

d293e88bf05aaf9f6366c6dd63981c7289a57612 authored over 15 years ago
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 i...

6edaa4741d14963a009183410c8287195944fddc authored over 15 years ago
Remove dead native org.apache.harmony.nio.AddressUtils code.

This code is dead at the moment, and were it ever to become live, I'm pretty
sure we'd want to s...

17096341fea5eacf135055ba199cdae84d16026e authored over 15 years ago
Change the host build to include whole static libraries, and to name

them "*-host".

Change-Id: Ibf565c9c4b0709eb25edd71786b269895a1616a4

6174c468b61d35f30dd1b060cf539f56a3f1a0e0 authored over 15 years ago
Clear pending exception before throwing a new one.

The JNI helper function that throws an exception calls FindClass, which
isn't allowed if an exce...

261c1312c56f2622ba2a553d060a195f87d6751f authored over 15 years ago
Expose the portable "strerror_r" used by jniThrowIOException.

Also add one example caller I used to test this, and update the
libnativehelper README file.

e4239aecb2d2ba2948968166518dc12d4083dc52 authored over 15 years ago
More work on getting Dalvik to build on the host (particularly OSX).

The dalvikvm executable still doesn't quite build (fails in linker), which
is probably due to th...

0e023432b369854b41619231b5d752baf5754ce2 authored over 15 years ago
First parts of enabling a host Dalvik build.

Most of this is just factoring out common make defs to include both on
the host and device side,...

3f30fc0bc473dc19ee565bb86194619d606febb2 authored over 15 years ago
"External allocation" tracking for direct buffers.

The native memory allocated for ByteBuffer.allocateDirect was not being
tracked by the VM's "ext...

0b9d26cc3b493ecb0f8672661c97b7bde17cbaa8 authored over 15 years ago
auto import from //depot/cupcake/@135843

7f844dda3883ad3d72b0905c388af7e274f5caa4 authored almost 16 years ago
auto import from //depot/cupcake/@135843

3a7b73e353a33de5bb8132e881a106a4a30d61e4 authored almost 16 years ago
Code drop from //branches/cupcake/...@124589

379c0f0cfc20c82d902aef0890ed903a9d261a34 authored about 16 years ago
Initial Contribution

ad83f63492fb91e7f8120fb78a01acee5b29c386 authored over 16 years ago