Home
last modified time | relevance | path

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

12345

/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java143 VirtualMachine vm = startupTest(); in testAttachDebugger() local
144 EventRequestManager erm = vm.eventRequestManager(); in testAttachDebugger()
147 vm.suspend(); in testAttachDebugger()
152 vm.allClasses().stream() in testAttachDebugger()
160 vm.resume(); in testAttachDebugger()
166 activityType = vm.eventQueue().remove().stream() in testAttachDebugger()
178 vm.resume(); in testAttachDebugger()
181 while (!vm.eventQueue().remove().stream().anyMatch(e -> e.request() == bpr)) { in testAttachDebugger()
187 vm.resume(); in testAttachDebugger()
190 vm.dispose(); in testAttachDebugger()
/cts/hostsidetests/jvmti/base/jni/
Dcts_agent.cpp59 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, in Agent_OnLoad() argument
62 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) { in Agent_OnLoad()
70 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, in Agent_OnAttach() argument
74 CHECK_EQ(0, vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6)) in Agent_OnAttach()
77 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/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/binder_ndk/libbinder_ndk_test/
Dutilities.cpp65 JavaVM* vm = GetJavaVM(); in GetEnv() local
66 if (vm == nullptr) return nullptr; in GetEnv()
69 jint attach = vm->AttachCurrentThread(&result, nullptr); in GetEnv()
/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/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/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/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/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/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/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/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.cpp24 jint JNI_OnLoad(JavaVM *vm, void *) { in JNI_OnLoad() argument
26 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/security/jni/
DCtsSecurityJniOnLoad.cpp26 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
29 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()
/cts/hostsidetests/os/test-apps/StaticSharedNativeLibConsumer/jni/
Dversion.cpp48 extern "C" jint JNI_OnLoad(JavaVM* vm, void*) { in JNI_OnLoad() argument
50 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/cts/tests/sensor/jni/
DnativeTestHelper.cpp44 jint JNI_OnLoad(JavaVM *vm, void *) { in JNI_OnLoad() argument
46 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/cts/tests/tests/graphics/jni/
DCtsGraphicsJniOnLoad.cpp32 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad() argument
34 if (vm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) in JNI_OnLoad()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/jni/
Dcom_android_cts_splitapp_Native.cpp74 jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument
82 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()

12345