/frameworks/av/media/libmediaplayer2/ |
D | JavaVMHelper.cpp | 39 JavaVM* vm; in javaAttachThread() local 42 vm = JavaVMHelper::getJavaVM(); in javaAttachThread() 43 if (vm == NULL) { in javaAttachThread() 51 result = vm->AttachCurrentThread(pEnv, (void*) &args); in javaAttachThread() 63 JavaVM* vm; in javaDetachThread() local 66 vm = JavaVMHelper::getJavaVM(); in javaDetachThread() 67 if (vm == NULL) { in javaDetachThread() 71 result = vm->DetachCurrentThread(); in javaDetachThread() 137 JavaVM *vm = sJavaVM.load(); in getJNIEnv() local 138 CHECK(vm != NULL); in getJNIEnv() [all …]
|
/frameworks/native/build/ |
D | tablet-7in-xhdpi-2048-dalvik-heap.mk | 20 dalvik.vm.heapstartsize=16m \ 21 dalvik.vm.heapgrowthlimit=192m \ 22 dalvik.vm.heapsize=512m \ 23 dalvik.vm.heaptargetutilization=0.75 \ 24 dalvik.vm.heapminfree=512k \ 25 dalvik.vm.heapmaxfree=8m
|
D | tablet-dalvik-heap.mk | 20 dalvik.vm.heapstartsize=5m \ 21 dalvik.vm.heapgrowthlimit=48m \ 22 dalvik.vm.heapsize=256m \ 23 dalvik.vm.heaptargetutilization=0.75 \ 24 dalvik.vm.heapminfree=512k \ 25 dalvik.vm.heapmaxfree=2m
|
D | phone-xhdpi-1024-dalvik-heap.mk | 20 dalvik.vm.heapstartsize=8m \ 21 dalvik.vm.heapgrowthlimit=96m \ 22 dalvik.vm.heapsize=256m \ 23 dalvik.vm.heaptargetutilization=0.75 \ 24 dalvik.vm.heapminfree=512k \ 25 dalvik.vm.heapmaxfree=8m
|
D | tablet-10in-xhdpi-2048-dalvik-heap.mk | 20 dalvik.vm.heapstartsize=16m \ 21 dalvik.vm.heapgrowthlimit=192m \ 22 dalvik.vm.heapsize=512m \ 23 dalvik.vm.heaptargetutilization=0.75 \ 24 dalvik.vm.heapminfree=512k \ 25 dalvik.vm.heapmaxfree=8m
|
D | tablet-7in-hdpi-1024-dalvik-heap.mk | 20 dalvik.vm.heapstartsize=8m \ 21 dalvik.vm.heapgrowthlimit=80m \ 22 dalvik.vm.heapsize=384m \ 23 dalvik.vm.heaptargetutilization=0.75 \ 24 dalvik.vm.heapminfree=512k \ 25 dalvik.vm.heapmaxfree=8m
|
D | phone-hdpi-512-dalvik-heap.mk | 21 dalvik.vm.heapstartsize=5m \ 22 dalvik.vm.heapgrowthlimit=48m \ 23 dalvik.vm.heapsize=128m \ 24 dalvik.vm.heaptargetutilization=0.75 \ 25 dalvik.vm.heapminfree=512k \ 26 dalvik.vm.heapmaxfree=2m
|
D | phone-xhdpi-2048-dalvik-heap.mk | 21 dalvik.vm.heapstartsize=8m \ 22 dalvik.vm.heapgrowthlimit=192m \ 23 dalvik.vm.heapsize=512m \ 24 dalvik.vm.heaptargetutilization=0.75 \ 25 dalvik.vm.heapminfree=512k \ 26 dalvik.vm.heapmaxfree=8m
|
D | phone-hdpi-dalvik-heap.mk | 20 dalvik.vm.heapstartsize=5m \ 21 dalvik.vm.heapsize=32m \ 22 dalvik.vm.heaptargetutilization=0.75 \ 23 dalvik.vm.heapminfree=512k \ 24 dalvik.vm.heapmaxfree=2m
|
/frameworks/opt/gamesdk/src/swappy/ |
D | ChoreographerThread.cpp | 194 JavaChoreographerThread(JavaVM *vm, Callback onChoreographer); 210 JavaChoreographerThread::JavaChoreographerThread(JavaVM *vm, in JavaChoreographerThread() argument 213 mJVM(vm) in JavaChoreographerThread() 331 int ChoreographerThread::getSDKVersion(JavaVM *vm) in getSDKVersion() argument 334 vm->AttachCurrentThread(&env, nullptr); in getSDKVersion() 361 bool ChoreographerThread::isChoreographerCallbackClassLoaded(JavaVM *vm) in isChoreographerCallbackClassLoaded() argument 364 vm->AttachCurrentThread(&env, nullptr); in isChoreographerCallbackClassLoaded() 377 Type type, JavaVM *vm, Callback onChoreographer) { in createChoreographerThread() argument 383 if (getSDKVersion(vm) >= 24) { in createChoreographerThread() 388 if (isChoreographerCallbackClassLoaded(vm)){ in createChoreographerThread() [all …]
|
D | ChoreographerThread.h | 40 Type type, JavaVM *vm, Callback onChoreographer); 58 static int getSDKVersion(JavaVM *vm); 59 static bool isChoreographerCallbackClassLoaded(JavaVM *vm);
|
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/common/ |
D | android_util.cpp | 34 JavaVM &vm = *app->activity->vm; in get_args() local 36 if (vm.AttachCurrentThread(&p_env, nullptr) != JNI_OK) return nullptr; in get_args() 58 vm.DetachCurrentThread(); in get_args()
|
/frameworks/opt/net/wifi/service/jni/ |
D | jni_helper.cpp | 31 JNIHelper::JNIHelper(JavaVM *vm) in JNIHelper() argument 33 vm->AttachCurrentThread(&mEnv, NULL); in JNIHelper() 34 mVM = vm; in JNIHelper()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_SystemServer.cpp | 57 JavaVM *vm; in android_server_SystemServer_startHidlServices() local 58 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Cannot get Java VM"); in android_server_SystemServer_startHidlServices() 60 sp<ISensorManager> sensorService = new SensorManager(vm); in android_server_SystemServer_startHidlServices()
|
D | onload.cpp | 64 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument 69 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad() 76 register_android_server_broadcastradio_Tuner(vm, env); in JNI_OnLoad()
|
/frameworks/base/packages/services/PacProcessor/jni/ |
D | jni_init.cpp | 28 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) { in JNI_OnLoad() argument 30 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 86 static JNIEnv* getenv(JavaVM* vm) { in getenv() argument 88 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getenv() 89 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", vm); in getenv() 459 NotifyHandler(JavaVM* vm, ObserverProxy* observer) : mVm(vm), mObserver(observer) {} in NotifyHandler() argument 483 ObserverProxy(JavaVM *vm, jobject observer) : mVm(vm) { in ObserverProxy() argument 842 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() argument 850 JavaVM* vm() { return mVm; } in vm() function in android::JGlobalRefHolder 866 JavaVM* vm = nullptr; in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() local 867 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Unable to get Java VM"); in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() 868 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() [all …]
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | rtp_jni.cpp | 24 __attribute__((visibility("default"))) jint JNI_OnLoad(JavaVM *vm, void *) in JNI_OnLoad() argument 27 if (vm->GetEnv((void **)&env, JNI_VERSION_1_4) != JNI_OK || in JNI_OnLoad()
|
/frameworks/base/tests/net/jni/ |
D | test_onload.cpp | 32 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument 37 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_init.cpp | 30 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) { in JNI_OnLoad() argument 32 g_current_java_vm_ = vm; in JNI_OnLoad()
|
/frameworks/ex/framesequence/jni/ |
D | BitmapDecoderJNI.cpp | 32 jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument 34 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/frameworks/base/native/webview/plat_support/ |
D | jni_entry_point.cpp | 30 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument 32 jint ret = vm->AttachCurrentThread(&env, NULL); in JNI_OnLoad()
|
/frameworks/opt/car/services/src/jni/ |
D | com_android_internal_car_CarServiceHelperService.cpp | 58 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument 63 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/ |
D | native.cpp | 88 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument 97 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/ |
D | native.cpp | 88 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument 97 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
|