Home
last modified time | relevance | path

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

12345

/cts/hostsidetests/jvmti/base/jni/
Dcts_agent.cpp61 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, in Agent_OnLoad() argument
64 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnLoad()
72 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, in Agent_OnAttach() argument
76 CHECK_EQ(0, vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6)) in Agent_OnAttach()
79 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnAttach()
/cts/tools/release-parser/tests/resources/
Dbuild.prop51 persist.sys.dalvik.vm.lib.2=libart.so
52 dalvik.vm.isa.arm64.variant=kryo
53 dalvik.vm.isa.arm64.features=default
54 dalvik.vm.isa.arm.variant=kryo
55 dalvik.vm.isa.arm.features=default
56 dalvik.vm.lockprof.threshold=500
58 dalvik.vm.stack-trace-dir=/data/anr
Dbuild.prop.pb.txt6 key: "dalvik.vm.isa.arm64.features"
50 key: "dalvik.vm.isa.arm64.variant"
98 key: "persist.sys.dalvik.vm.lib.2"
106 key: "dalvik.vm.stack-trace-dir"
118 key: "dalvik.vm.isa.arm.features"
166 key: "dalvik.vm.lockprof.threshold"
178 key: "dalvik.vm.isa.arm.variant"
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java164 VirtualMachine vm = startupTest(packageName, shortClassName); in testAttachDebugger() local
165 EventRequestManager erm = vm.eventRequestManager(); in testAttachDebugger()
168 vm.suspend(); in testAttachDebugger()
173 vm.allClasses().stream() in testAttachDebugger()
181 vm.resume(); in testAttachDebugger()
187 activityType = vm.eventQueue().remove().stream() in testAttachDebugger()
199 vm.resume(); in testAttachDebugger()
202 while (!vm.eventQueue().remove().stream().anyMatch(e -> e.request() == bpr)) { in testAttachDebugger()
208 vm.resume(); in testAttachDebugger()
211 vm.dispose(); in testAttachDebugger()
/cts/tests/tests/jni/libjnitest/
Dregister.c28 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
31 if ((*vm)->GetEnv(vm, (void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/hostsidetests/jvmti/attaching/app/jni/
Dcts_agent.cpp113 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, in Agent_OnLoad() argument
116 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnLoad()
124 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, in Agent_OnAttach() argument
128 CHECK_EQ(0, vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6)) in Agent_OnAttach()
131 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnAttach()
/cts/tests/tests/libnativehelper/jni/
Djni_invocation_api_ndk_test.cpp32 JavaVM* vm = nullptr; in TEST_F() local
34 EXPECT_EQ(JNI_ERR, JNI_CreateJavaVM(&vm, &env, &vm_args)); in TEST_F()
35 EXPECT_EQ(nullptr, vm); in TEST_F()
/cts/hostsidetests/gputools/apps/jni/
DCtsGpuToolsJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad() argument
24 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) in JNI_OnLoad()
/cts/hostsidetests/graphics/gpuprofiling/app/jni/
DCtsGraphicsProfilingDataJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void * /*reserved*/) { in JNI_OnLoad() argument
24 if (vm->GetEnv((void **)&env, JNI_VERSION_1_4) != JNI_OK) in JNI_OnLoad()
/cts/tests/tests/hardware/jni/
DCtsHardwareJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad() argument
24 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) in JNI_OnLoad()
/cts/tests/tests/text/jni/
DCtsTextJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void *) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/uirendering/jni/
DCtsUiRenderingJniOnLoad.cpp21 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad() argument
23 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) in JNI_OnLoad()
/cts/hostsidetests/seccomp/app/jni/
DCtsSeccompJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void * /*reserved*/) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/media/libmediandkjni/
DCtsMediaDrmJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void */*reserved*/) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tools/cts-device-info/jni/
DCtsDeviceInfoJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad() argument
24 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) in JNI_OnLoad()
/cts/tests/tests/drm/jni/
DCtsDrmJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/apps/CtsVerifier/jni/verifier/
DCtsVerifierJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/hostsidetests/packagemanager/extractnativelibs/apps/jni/
Dnative.cpp22 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
24 if (vm->GetEnv((void**)&env, JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/permission/jni/
DCtsPermissionsJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/selinux/common/jni/
DCtsSecurityJniOnLoad.cpp22 jint JNI_OnLoad(JavaVM *vm, void *reserved __attribute__((unused))) { in JNI_OnLoad() argument
25 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/common/device-side/util/jni/
DCtsJniOnLoad.cpp23 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
26 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/view/jni/
DCtsViewJniOnLoad.cpp27 jint JNI_OnLoad(JavaVM *vm, void *) { in JNI_OnLoad() argument
29 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/security/jni/
DCtsSecurityJniOnLoad.cpp27 jint JNI_OnLoad(JavaVM *vm, void *) { in JNI_OnLoad() argument
30 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/hostsidetests/atrace/AtraceTestApp/jni/
DCtsTrace.cpp49 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad() argument
51 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/os/jni/
DCtsOsJniOnLoad.cpp38 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
41 if (vm->GetEnv((void **) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()

12345