/frameworks/base/core/jni/android/graphics/ |
D | ByteBufferStreamAdaptor.cpp | 21 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 …]
|
D | Utils.cpp | 153 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()
|
D | CreateJavaOutputStreamAdaptor.cpp | 19 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()
|
D | Utils.h | 81 JNIEnv* get_env_or_die(JavaVM* jvm);
|
/frameworks/base/core/tests/coretests/apks/install_jni_lib/ |
D | com_android_frameworks_coretests_JNITest.cpp | 27 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/ |
D | SystemPerfTest.cpp | 70 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/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 188 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/ |
D | com_android_commands_hid_Device.cpp | 321 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/ |
D | dump_coverage.cc | 198 Agent_OnLoad(JavaVM* jvm ATTRIBUTE_UNUSED, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE… in Agent_OnLoad()
|
/frameworks/base/ |
D | ApiDocs.bp | 322 …args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list…
|