/frameworks/libs/binary_translation/jni/ |
D | jni_trampolines.cc | 192 JavaVM* host_vm; in DoTrampoline_JNIEnv_GetJavaVM() 197 *bit_cast<GuestType<JavaVM*>*>(arg_vm) = ToGuestJavaVM(host_vm); in DoTrampoline_JNIEnv_GetJavaVM() 222 using PFN_callee = decltype(std::declval<JavaVM>().functions->DestroyJavaVM); in DoJavaVMTrampoline_DestroyJavaVM() 224 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_DestroyJavaVM() 232 using PFN_callee = decltype(std::declval<JavaVM>().functions->AttachCurrentThread); in DoJavaVMTrampoline_AttachCurrentThread() 234 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_AttachCurrentThread() 246 using PFN_callee = decltype(std::declval<JavaVM>().functions->DetachCurrentThread); in DoJavaVMTrampoline_DetachCurrentThread() 248 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_DetachCurrentThread() 256 using PFN_callee = decltype(std::declval<JavaVM>().functions->GetEnv); in DoJavaVMTrampoline_GetEnv() 258 JavaVM* arg_java_vm = ToHostJavaVM(arg_vm); in DoJavaVMTrampoline_GetEnv() [all …]
|
/frameworks/libs/binary_translation/jni/include/berberis/jni/ |
D | jni_trampolines.h | 37 GuestType<JavaVM*> ToGuestJavaVM(void* host_java_vm); 38 JavaVM* ToHostJavaVM(GuestType<JavaVM*> guest_java_vm);
|
/frameworks/base/core/jni/ |
D | core_jni_helpers.h | 60 static inline JNIEnv* GetJNIEnvironment(JavaVM* vm, jint version = JNI_VERSION_1_4) { 68 static inline JNIEnv* GetOrAttachJNIEnvironment(JavaVM* jvm, jint version = JNI_VERSION_1_4) { 74 VmDetacher(JavaVM* vm) : mVm(vm) {} in VmDetacher() 78 JavaVM* const mVm;
|
D | android_graphics_BLASTBufferQueue.cpp | 42 static JNIEnv* getenv(JavaVM* vm) { in getenv() 86 JavaVM* mVm; 112 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() 120 JavaVM* vm() { return mVm; } in vm() 126 JavaVM* mVm; 135 JavaVM* vm = nullptr; in nativeSyncNextTransaction()
|
/frameworks/base/libs/hwui/jni/ |
D | ByteBufferStreamAdaptor.cpp | 15 ByteBufferStream(JavaVM* jvm, jobject jbyteBuffer, size_t initialPosition, size_t length, in ByteBufferStream() 25 static ByteBufferStream* Create(JavaVM* jvm, JNIEnv* env, jobject jbyteBuffer, in Create() 138 JavaVM* mJvm; 174 ByteArrayStream(JavaVM* jvm, jbyteArray jarray, size_t offset, size_t length) in ByteArrayStream() 178 static ByteArrayStream* Create(JavaVM* jvm, JNIEnv* env, jbyteArray jarray, size_t offset, in Create() 259 JavaVM* mJvm; 269 JavaVM* jvm; 275 JavaVM* jvm; in CreateByteBufferStreamAdaptor() 306 JavaVM* jvm; in CreateByteArrayStreamAdaptor()
|
D | GraphicsJNI.h | 47 static void setJavaVM(JavaVM* javaVM); 53 static JavaVM* getJavaVM() { return mJavaVM; } in getJavaVM() 168 static JavaVM* mJavaVM; 261 JavaVM* mJavaVM; 337 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() 345 JavaVM* vm() { return mVm; } in vm() 359 JavaVM* mVm;
|
D | android_graphics_HardwareRendererObserver.h | 29 HardwareRendererObserver(JavaVM* vm, jobject observer, bool waitForPresentTime); 65 JavaVM* const mVm;
|
D | android_graphics_HardwareRendererObserver.cpp | 31 static JNIEnv* getenv(JavaVM* vm) { in getenv() 39 HardwareRendererObserver::HardwareRendererObserver(JavaVM* vm, jobject observer, in HardwareRendererObserver() 94 JavaVM* vm = nullptr; in android_graphics_HardwareRendererObserver_createObserver()
|
D | Utils.h | 81 JNIEnv* get_env_or_die(JavaVM* jvm); 91 JNIEnv* requireEnv(JavaVM* jvm);
|
D | Utils.cpp | 157 JNIEnv* android::get_env_or_die(JavaVM* jvm) { in get_env_or_die() 165 JNIEnv* android::requireEnv(JavaVM* jvm) { in requireEnv()
|
/frameworks/libs/native_bridge_support/android_api/libnativehelper/proxy/ |
D | nativehelper_trampolines.cc | 54 JavaVM* host_vm; in DoCustomTrampoline_JNI_CreateJavaVM() 70 JavaVM* host_vm; in DoCustomTrampoline_JNI_GetCreatedJavaVMs() 78 *ToHostAddr<GuestType<JavaVM*>>(ToGuestAddr(guest_vm)) = ToGuestJavaVM(host_vm); in DoCustomTrampoline_JNI_GetCreatedJavaVMs()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_init.cpp | 28 JavaVM* g_current_java_vm_ = NULL; 30 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) { in JNI_OnLoad()
|
/frameworks/base/core/jni/include/android_runtime/ |
D | AndroidRuntime.h | 106 static JavaVM* getJavaVM(); 132 int startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote, bool primary_zygote); 140 static JavaVM* mJavaVM;
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | NativeCallbackThread.h | 31 JavaVM *mvm; 44 explicit NativeCallbackThread(JavaVM *vm);
|
D | TunerCallback.h | 29 void register_android_server_broadcastradio_TunerCallback(JavaVM *vm, JNIEnv *env);
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.cpp | 114 RealJniWrapper(JavaVM* jvm); 117 static JavaVM* getJvm(JNIEnv* env); 120 JavaVM* const mJvm; 275 static JNIEnv* getOrAttachJniEnv(JavaVM* jvm); 279 RealTimedQueueWrapper(JavaVM* jvm) { in RealTimedQueueWrapper() 454 static JavaVM* getJavaVm(JNIEnv* env) { in getJavaVm() 456 JavaVM* jvm = nullptr; in getJavaVm() 462 static JNIEnv* getJniEnv(JavaVM* vm) { in getJniEnv() 470 static JNIEnv* getOrAttachJniEnv(JavaVM* jvm) { in getOrAttachJniEnv() 484 VmDetacher(JavaVM* vm) : mVm(vm) {} in getOrAttachJniEnv() [all …]
|
/frameworks/base/tools/dump-coverage/ |
D | dump_coverage.cc | 32 static JavaVM* java_vm = nullptr; 183 static jint AgentStart(JavaVM* vm, char* options) { in AgentStart() 192 Agent_OnAttach(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) { in Agent_OnAttach() 198 Agent_OnLoad(JavaVM* jvm ATTRIBUTE_UNUSED, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE… in Agent_OnLoad()
|
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/ |
D | SensorManager.h | 46 explicit SensorManager(JavaVM* vm); 67 JavaVM* mJavaVm;
|
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/ |
D | SensorManagerAidl.h | 33 explicit SensorManagerAidl(JavaVM* vm); 66 JavaVM* mJavaVm;
|
/frameworks/libs/binary_translation/tests/jni_tests/jni/ |
D | jni_tests.cc | 31 jint JNI_OnLoad(JavaVM* /* vm */, void* /* reserved */) { in JNI_OnLoad() argument 54 JavaVM* vm; in Java_com_berberis_jnitests_JniTests_checkJavaVMCorrespondsToJNIEnv()
|
/frameworks/ex/framesequence/jni/ |
D | BitmapDecoderJNI.cpp | 19 jint JNI_OnLoad(JavaVM*, void*) { in JNI_OnLoad() argument
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/cpp/ |
D | com_android_dcl_Jni.cpp | 19 extern "C" jint JNI_OnLoad(JavaVM* /* vm */, void* /* reserved */) in JNI_OnLoad() argument
|
/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()
|
/frameworks/base/tests/ChoreographerTests/jni/ |
D | ChoreographerTestsJniOnLoad.cpp | 22 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) { in JNI_OnLoad()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | rtp_jni.cpp | 24 __attribute__((visibility("default"))) jint JNI_OnLoad(JavaVM *vm, void *) in JNI_OnLoad()
|