Home
last modified time | relevance | path

Searched refs:jvm (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DByteBufferStreamAdaptor.cpp21 static JNIEnv* requireEnv(JavaVM* jvm) { in requireEnv() argument
23 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in requireEnv()
24 if (jvm->AttachCurrentThreadAsDaemon(&env, nullptr) != JNI_OK) { in requireEnv()
33 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream() argument
35 : mJvm(jvm) in ByteBufferStream()
43 static ByteBufferStream* Create(JavaVM* jvm, JNIEnv* env, jobject jbyteBuffer, in Create() argument
64 return new ByteBufferStream(jvm, jbyteBuffer, position, length, storage); in Create()
192 ByteArrayStream(JavaVM* jvm, jbyteArray jarray, size_t offset, size_t length) in ByteArrayStream() argument
193 : mJvm(jvm), mByteArray(jarray), mOffset(offset), mPosition(0), mLength(length) {} in ByteArrayStream()
196 static ByteArrayStream* Create(JavaVM* jvm, JNIEnv* env, jbyteArray jarray, size_t offset, in Create() argument
[all …]
DUtils.cpp153 JNIEnv* android::get_env_or_die(JavaVM* jvm) { in get_env_or_die() argument
155 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die()
156 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", jvm); in get_env_or_die()
DCreateJavaOutputStreamAdaptor.cpp19 JavaInputStreamAdaptor(JavaVM* jvm, jobject js, jbyteArray ar, jint capacity, in JavaInputStreamAdaptor() argument
21 : fJvm(jvm) in JavaInputStreamAdaptor()
32 JavaVM* jvm; in Create() local
33 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&jvm) != JNI_OK); in Create()
47 return new JavaInputStreamAdaptor(jvm, js, ar, capacity, swallowExceptions); in Create()
DUtils.h81 JNIEnv* get_env_or_die(JavaVM* jvm);
/frameworks/base/core/tests/coretests/apks/install_jni_lib/
Dcom_android_frameworks_coretests_JNITest.cpp27 jint JNI_OnLoad(JavaVM *jvm, void */* reserved */) { in JNI_OnLoad() argument
31 if (jvm->GetEnv((void **) &e, JNI_VERSION_1_6)) { in JNI_OnLoad()
/frameworks/base/apct-tests/perftests/core/jni/
DSystemPerfTest.cpp70 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument
72 if (jvm->GetEnv((void**) &env, JNI_VERSION_1_6)) { in JNI_OnLoad()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp188 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument
190 if (jvm->GetEnv((void**) &env, JNI_VERSION_1_6)) { in JNI_OnLoad()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp321 jint JNI_OnLoad(JavaVM* jvm, void*) { in JNI_OnLoad() argument
323 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6)) { in JNI_OnLoad()
/frameworks/base/tools/dump-coverage/
Ddump_coverage.cc198 Agent_OnLoad(JavaVM* jvm ATTRIBUTE_UNUSED, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE… in Agent_OnLoad()
/frameworks/base/
DApiDocs.bp322 …args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list…