/cts/hostsidetests/jvmti/base/jni/ |
D | cts_agent.cpp | 61 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/tests/tests/jni/libjnitest/ |
D | register.c | 28 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/tools/release-parser/tests/resources/ |
D | build.prop | 51 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
|
D | build.prop.pb.txt | 6 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/tools/cts-device-info/jni/ |
D | CtsDeviceInfoJniOnLoad.cpp | 22 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/ |
D | CtsTextJniOnLoad.cpp | 22 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/ |
D | CtsUiRenderingJniOnLoad.cpp | 21 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/tests/tests/hardware/jni/ |
D | CtsHardwareJniOnLoad.cpp | 22 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/ |
D | CtsSeccompJniOnLoad.cpp | 22 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/graphics/gpuprofiling/app/jni/ |
D | CtsGraphicsProfilingDataJniOnLoad.cpp | 22 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/media/libmediandkjni/ |
D | CtsMediaDrmJniOnLoad.cpp | 22 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/ |
D | CtsGpuToolsJniOnLoad.cpp | 22 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/permission/jni/ |
D | CtsPermissionsJniOnLoad.cpp | 22 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/ |
D | CtsVerifierJniOnLoad.cpp | 22 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/drm/jni/ |
D | CtsDrmJniOnLoad.cpp | 22 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/ |
D | native.cpp | 22 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/selinux/common/jni/ |
D | CtsSecurityJniOnLoad.cpp | 22 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/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/ |
D | JdwpTunnelTest.java | 166 VirtualMachine vm = startupTest(packageName, shortClassName); in testAttachDebugger() local 167 EventRequestManager erm = vm.eventRequestManager(); in testAttachDebugger() 170 vm.suspend(); in testAttachDebugger() 175 vm.allClasses().stream() in testAttachDebugger() 183 vm.resume(); in testAttachDebugger() 189 activityType = vm.eventQueue().remove().stream() in testAttachDebugger() 201 vm.resume(); in testAttachDebugger() 204 while (!vm.eventQueue().remove().stream().anyMatch(e -> e.request() == bpr)) { in testAttachDebugger() 210 vm.resume(); in testAttachDebugger() 213 vm.dispose(); in testAttachDebugger()
|
/cts/common/device-side/util/jni/ |
D | CtsJniOnLoad.cpp | 23 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/libnativehelper/jni/ |
D | jni_invocation_api_ndk_test.cpp | 32 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/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 113 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/view/jni/ |
D | CtsViewJniOnLoad.cpp | 27 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/ |
D | CtsSecurityJniOnLoad.cpp | 27 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/ |
D | CtsTrace.cpp | 49 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/ |
D | CtsOsJniOnLoad.cpp | 38 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()
|