Home
last modified time | relevance | path

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

123

/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-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
Dphone-xhdpi-4096-dalvik-heap.mk20 dalvik.vm.heapstartsize?=8m \
21 dalvik.vm.heapgrowthlimit?=192m \
22 dalvik.vm.heapsize?=512m \
23 dalvik.vm.heaptargetutilization?=0.6 \
24 dalvik.vm.heapminfree?=8m \
25 dalvik.vm.heapmaxfree?=16m
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-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
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-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-xhdpi-6144-dalvik-heap.mk20 dalvik.vm.heapstartsize?=16m \
21 dalvik.vm.heapgrowthlimit?=256m \
22 dalvik.vm.heapsize?=512m \
23 dalvik.vm.heaptargetutilization?=0.5 \
24 dalvik.vm.heapminfree?=8m \
25 dalvik.vm.heapmaxfree?=32m
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-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/av/media/ndk/
DNdkJavaVMHelper.cpp28 JavaVM *vm; in getJNIEnv() local
30 int status = JNI_GetCreatedJavaVMs(&vm, 1, &nVMs); in getJNIEnv()
31 if (status != JNI_OK || nVMs == 0 || vm == NULL) { in getJNIEnv()
34 } else if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getJNIEnv()
35 ALOGE("Failed to get JNIEnv for JavaVM: %p", vm); in getJNIEnv()
/frameworks/base/services/core/jni/
Donload.cpp42 int register_android_server_vibrator_VibratorController(JavaVM* vm, JNIEnv* env);
43 int register_android_server_vibrator_VibratorManagerService(JavaVM* vm, JNIEnv* env);
65 int register_android_server_sensor_SensorService(JavaVM* vm, JNIEnv* env);
70 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument
75 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
82 register_android_server_broadcastradio_Tuner(vm, env); in JNI_OnLoad()
94 register_android_server_vibrator_VibratorController(vm, env); in JNI_OnLoad()
95 register_android_server_vibrator_VibratorManagerService(vm, env); in JNI_OnLoad()
121 register_android_server_sensor_SensorService(vm, env); in JNI_OnLoad()
Dcom_android_server_SystemServer.cpp108 JavaVM *vm; in android_server_SystemServer_startHidlServices() local
109 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Cannot get Java VM"); in android_server_SystemServer_startHidlServices()
111 sp<ISensorManager> sensorService = new SensorManager(vm); in android_server_SystemServer_startHidlServices()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRendererObserver.cpp30 static JNIEnv* getenv(JavaVM* vm) { in getenv() argument
32 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getenv()
33 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", vm); in getenv()
38 HardwareRendererObserver::HardwareRendererObserver(JavaVM* vm, jobject observer, in HardwareRendererObserver() argument
40 : uirenderer::FrameMetricsObserver(waitForPresentTime), mVm(vm) { in HardwareRendererObserver()
93 JavaVM* vm = nullptr; in android_graphics_HardwareRendererObserver_createObserver() local
94 if (env->GetJavaVM(&vm) != JNI_OK) { in android_graphics_HardwareRendererObserver_createObserver()
100 new HardwareRendererObserver(vm, observerObj, waitForPresentTime); in android_graphics_HardwareRendererObserver_createObserver()
Dandroid_graphics_HardwareRenderer.cpp79 static JNIEnv* getenv(JavaVM* vm) { in getenv() argument
81 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getenv()
82 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", vm); in getenv()
408 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() argument
416 JavaVM* vm() { return mVm; } in vm() function in android::JGlobalRefHolder
428 JWeakGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm) { in JWeakGlobalRefHolder() argument
429 mWeakRef = getenv(vm)->NewWeakGlobalRef(object); in JWeakGlobalRefHolder()
438 JavaVM* vm() { return mVm; } in vm() function in android::JWeakGlobalRefHolder
556 JavaVM* vm = nullptr; in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() local
557 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Unable to get Java 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/apex/jobscheduler/service/jni/
Donload.cpp28 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument
33 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/frameworks/base/services/tests/mockingservicestests/jni/
Donload.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/core/jni/
Dcore_jni_helpers.h113 static inline JNIEnv* GetJNIEnvironment(JavaVM* vm, jint version = JNI_VERSION_1_4) {
115 if (vm->GetEnv(reinterpret_cast<void**>(&env), version) != JNI_OK) {
127 VmDetacher(JavaVM* vm) : mVm(vm) {} in VmDetacher()
/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/tools/dump-coverage/
Ddump_coverage.cc183 static jint AgentStart(JavaVM* vm, char* options) { in AgentStart() argument
185 java_vm = vm; in AgentStart()
192 Agent_OnAttach(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) { in Agent_OnAttach() argument
193 return AgentStart(vm, options); in Agent_OnAttach()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/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