Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/av/media/libmediaplayer2/
DJavaVMHelper.cpp39 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/
Dtablet-7in-xhdpi-2048-dalvik-heap.mk20 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
Dtablet-dalvik-heap.mk20 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
Dphone-xhdpi-1024-dalvik-heap.mk20 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
Dtablet-10in-xhdpi-2048-dalvik-heap.mk20 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
Dtablet-7in-hdpi-1024-dalvik-heap.mk20 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
Dphone-hdpi-512-dalvik-heap.mk21 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
Dphone-xhdpi-2048-dalvik-heap.mk21 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
Dphone-hdpi-dalvik-heap.mk20 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/
DChoreographerThread.cpp194 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 …]
DChoreographerThread.h40 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/
Dandroid_util.cpp34 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/
Djni_helper.cpp31 JNIHelper::JNIHelper(JavaVM *vm) in JNIHelper() argument
33 vm->AttachCurrentThread(&mEnv, NULL); in JNIHelper()
34 mVM = vm; in JNIHelper()
/frameworks/base/services/core/jni/
Dcom_android_server_SystemServer.cpp57 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()
Donload.cpp64 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/
Djni_init.cpp28 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/
Dandroid_view_ThreadedRenderer.cpp86 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/
Drtp_jni.cpp24 __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/
Dtest_onload.cpp32 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/
Djni_init.cpp30 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) { in JNI_OnLoad() argument
32 g_current_java_vm_ = vm; in JNI_OnLoad()
/frameworks/ex/framesequence/jni/
DBitmapDecoderJNI.cpp32 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/
Djni_entry_point.cpp30 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/
Dcom_android_internal_car_CarServiceHelperService.cpp58 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/
Dnative.cpp88 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/
Dnative.cpp88 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()

123