Home
last modified time | relevance | path

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

12345

/frameworks/native/build/
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-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-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
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-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-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-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/libs/hwui/jni/
Dandroid_graphics_HardwareRendererObserver.cpp31 static JNIEnv* getenv(JavaVM* vm) { in getenv() argument
33 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getenv()
34 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", vm); in getenv()
39 HardwareRendererObserver::HardwareRendererObserver(JavaVM* vm, jobject observer, in HardwareRendererObserver() argument
41 : uirenderer::FrameMetricsObserver(waitForPresentTime), mVm(vm) { in HardwareRendererObserver()
94 JavaVM* vm = nullptr; in android_graphics_HardwareRendererObserver_createObserver() local
95 if (env->GetJavaVM(&vm) != JNI_OK) { in android_graphics_HardwareRendererObserver_createObserver()
101 new HardwareRendererObserver(vm, weakRefThis, waitForPresentTime); in android_graphics_HardwareRendererObserver_createObserver()
Dandroid_graphics_HardwareRenderer.cpp104 static JNIEnv* getenv(JavaVM* vm) { in getenv() argument
106 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getenv()
107 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", vm); in getenv()
571 JavaVM* vm = nullptr; in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() local
572 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Unable to get Java VM"); in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
573 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
593 JavaVM* vm = nullptr; in android_view_ThreadedRenderer_setASurfaceTransactionCallback() local
594 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Unable to get Java VM"); in android_view_ThreadedRenderer_setASurfaceTransactionCallback()
596 vm, env->NewGlobalRef(aSurfaceTransactionCallback)); in android_view_ThreadedRenderer_setASurfaceTransactionCallback()
614 JavaVM* vm = nullptr; in android_view_ThreadedRenderer_setPrepareSurfaceControlForWebviewCallback() local
[all …]
/frameworks/base/services/core/jni/
Donload.cpp43 int register_android_server_vibrator_VibratorController(JavaVM* vm, JNIEnv* env);
44 int register_android_server_vibrator_VibratorManagerService(JavaVM* vm, JNIEnv* env);
66 int register_android_server_sensor_SensorService(JavaVM* vm, JNIEnv* env);
79 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument
84 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
91 register_android_server_broadcastradio_Tuner(vm, env); in JNI_OnLoad()
104 register_android_server_vibrator_VibratorController(vm, env); in JNI_OnLoad()
105 register_android_server_vibrator_VibratorManagerService(vm, env); in JNI_OnLoad()
130 register_android_server_sensor_SensorService(vm, env); in JNI_OnLoad()
Dcom_android_server_SystemServer.cpp74 JavaVM* vm; in startSensorManagerAidlService() local
75 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Cannot get Java VM"); in startSensorManagerAidlService()
78 ndk::SharedRefBase::make<SensorManagerAidl>(vm); in startSensorManagerAidlService()
91 JavaVM* vm; in startSensorManagerHidlService() local
92 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Cannot get Java VM"); in startSensorManagerHidlService()
94 android::sp<ISensorManager> sensorService = new SensorManager(vm); in startSensorManagerHidlService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/view/
DTouchpadTutorialActivity.kt56 val vm = viewModel<TouchpadTutorialViewModel>(factory = viewModelFactory) in TouchpadTutorialScreen() constant
57 val activeScreen by vm.screen.collectAsStateWithLifecycle(STARTED) in TouchpadTutorialScreen()
61 onBackTutorialClicked = { vm.goTo(BACK_GESTURE) }, in TouchpadTutorialScreen()
62 onHomeTutorialClicked = { vm.goTo(HOME_GESTURE) }, in TouchpadTutorialScreen()
73 val vm = viewModel<BackGestureTutorialViewModel>(factory = GestureViewModelFactory()) in BackGestureTutorialScreen() constant
78 val vm = viewModel<HomeGestureTutorialViewModel>(factory = GestureViewModelFactory()) in HomeGestureTutorialScreen() constant
/frameworks/base/core/jni/
Dandroid_graphics_BLASTBufferQueue.cpp42 static JNIEnv* getenv(JavaVM* vm) { in getenv() argument
44 auto result = vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6); in getenv()
46 if (vm->AttachCurrentThreadAsDaemon(&env, nullptr) != JNI_OK) { in getenv()
50 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", vm); in getenv()
112 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() argument
120 JavaVM* vm() { return mVm; } in vm() function in android::JGlobalRefHolder
135 JavaVM* vm = nullptr; in nativeSyncNextTransaction() local
136 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&vm) != JNI_OK, "Unable to get Java VM"); in nativeSyncNextTransaction()
138 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(callback)); in nativeSyncNextTransaction()
141 JNIEnv* env = getenv(globalCallbackRef->vm()); in nativeSyncNextTransaction()
Dcore_jni_helpers.h60 static inline JNIEnv* GetJNIEnvironment(JavaVM* vm, jint version = JNI_VERSION_1_4) {
62 if (vm->GetEnv(reinterpret_cast<void**>(&env), version) != JNI_OK) {
74 VmDetacher(JavaVM* vm) : mVm(vm) {} in VmDetacher()
/frameworks/base/tests/ChoreographerTests/jni/
DChoreographerTestsJniOnLoad.cpp22 JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) { in JNI_OnLoad() argument
24 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/frameworks/opt/car/services/builtInServices/jni/
Donload.cpp25 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument
30 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/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/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/base/services/tests/mockingservicestests/jni/
Donload.cpp34 extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) in JNI_OnLoad() argument
39 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/frameworks/libs/binary_translation/tests/jni_tests/jni/
Djni_tests.cc54 JavaVM* vm; in Java_com_berberis_jnitests_JniTests_checkJavaVMCorrespondsToJNIEnv() local
55 if (env->GetJavaVM(&vm) != JNI_OK) { in Java_com_berberis_jnitests_JniTests_checkJavaVMCorrespondsToJNIEnv()
60 if (vm->GetEnv(&env_copy, JNI_VERSION_1_6) != JNI_OK) { in Java_com_berberis_jnitests_JniTests_checkJavaVMCorrespondsToJNIEnv()

12345