Home
last modified time | relevance | path

Searched refs:jvm (Results 1 – 25 of 54) sorted by relevance

123

/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DJvmPlatform.java17 package com.google.caliper.platform.jvm;
86 File jvm = new File(bin, "java"); in vmExecutable() local
87 if (!jvm.exists() || jvm.isDirectory()) { in vmExecutable()
88 jvm = new File(bin, "java.exe"); in vmExecutable()
89 if (!jvm.exists() || jvm.isDirectory()) { in vmExecutable()
95 return jvm; in vmExecutable()
DJvmModule.java17 package com.google.caliper.platform.jvm;
/external/webrtc/webrtc/modules/utility/source/
Djvm_android.cc72 JavaVM* jvm = JVM::GetInstance()->jvm(); in AttachCurrentThreadIfNeeded() local
73 RTC_CHECK(jvm); in AttachCurrentThreadIfNeeded()
74 JNIEnv* jni = GetEnv(jvm); in AttachCurrentThreadIfNeeded()
78 jint ret = jvm->AttachCurrentThread(&env, nullptr); in AttachCurrentThreadIfNeeded()
88 jint res = JVM::GetInstance()->jvm()->DetachCurrentThread(); in ~AttachCurrentThreadIfNeeded()
208 void JVM::Initialize(JavaVM* jvm, jobject context) { in Initialize() argument
211 g_jvm = new JVM(jvm, context); in Initialize()
228 JVM::JVM(JavaVM* jvm, jobject context) in JVM() argument
229 : jvm_(jvm) { in JVM()
Dhelpers_android.cc25 JNIEnv* GetEnv(JavaVM* jvm) { in GetEnv() argument
27 jint status = jvm->GetEnv(&env, JNI_VERSION_1_6); in GetEnv()
98 AttachThreadScoped::AttachThreadScoped(JavaVM* jvm) in AttachThreadScoped() argument
99 : attached_(false), jvm_(jvm), env_(NULL) { in AttachThreadScoped()
100 env_ = GetEnv(jvm); in AttachThreadScoped()
106 jint res = jvm->AttachCurrentThread(&env_, NULL); in AttachThreadScoped()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DFakeWorkers.java23 import com.google.caliper.platform.jvm.JvmPlatform;
45 private static VirtualMachine jvm; field in FakeWorkers
52 if (jvm == null) { in init()
55 jvm = new VirtualMachine("default", in init()
61 return jvm; in init()
69 VirtualMachine jvm = init(); in createProcessBuilder() local
72 args = WorkerProcess.getJvmArgs(jvm, BenchmarkClass.forClass(mainClass)); in createProcessBuilder()
/external/javassist/src/main/javassist/util/
DHotSwapper.java77 private VirtualMachine jvm; field in HotSwapper
105 jvm = null; in HotSwapper()
115 jvm = connector.attach(arguments); in HotSwapper()
116 EventRequestManager manager = jvm.eventRequestManager(); in HotSwapper()
186 List list = jvm.classesByName(className); in toRefType()
243 EventQueue queue = jvm.eventQueue(); in waitEvent()
249 jvm.redefineClasses(map); in hotswap()
/external/webrtc/talk/app/webrtc/test/
Dandroidtestinitializer.cc57 JavaVM* jvm = NULL; in EnsureInitializedOnce() local
58 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm)); in EnsureInitializedOnce()
61 RTC_CHECK_GE(webrtc_jni::InitGlobalJniVariables(jvm), 0); in EnsureInitializedOnce()
65 webrtc::VoiceEngine::SetAndroidObjects(jvm, context); in EnsureInitializedOnce()
/external/libtextclassifier/util/java/
Dscoped_global_ref.h35 GlobalRefDeleter(JavaVM* jvm) : jvm_(jvm) {} // NOLINT(runtime/explicit) in GlobalRefDeleter() argument
69 ScopedGlobalRef<T> MakeGlobalRef(T object, JNIEnv* env, JavaVM* jvm) { in MakeGlobalRef() argument
71 return ScopedGlobalRef<T>(reinterpret_cast<T>(globalObject), jvm); in MakeGlobalRef()
/external/webrtc/talk/app/webrtc/java/jni/
Djni_onload.cc38 extern "C" jint JNIEXPORT JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) { in JNI_OnLoad() argument
39 jint ret = InitGlobalJniVariables(jvm); in JNI_OnLoad()
50 extern "C" void JNIEXPORT JNICALL JNI_OnUnLoad(JavaVM *jvm, void *reserved) { in JNI_OnUnLoad() argument
Djni_helpers.cc84 jint InitGlobalJniVariables(JavaVM *jvm) { in InitGlobalJniVariables() argument
86 g_jvm = jvm; in InitGlobalJniVariables()
92 if (jvm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6) != JNI_OK) in InitGlobalJniVariables()
/external/webrtc/webrtc/modules/audio_device/android/
Densure_initialized.cc32 JavaVM* jvm = NULL; in EnsureInitializedOnce() local
33 RTC_CHECK_EQ(0, jni->GetJavaVM(&jvm)); in EnsureInitializedOnce()
37 webrtc::JVM::Initialize(jvm, context); in EnsureInitializedOnce()
/external/webrtc/webrtc/modules/utility/include/
Djvm_android.h148 static void Initialize(JavaVM* jvm, jobject context);
168 JavaVM* jvm() const { return jvm_; } in jvm() function
172 JVM(JavaVM* jvm, jobject context);
Dhelpers_android.h26 JNIEnv* GetEnv(JavaVM* jvm);
58 explicit AttachThreadScoped(JavaVM* jvm);
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DPlatformModule.java22 import com.google.caliper.platform.jvm.JvmModule;
23 import com.google.caliper.platform.jvm.JvmPlatform;
/external/vogar/
D.vogarconfig.example9 # use "--verbose", "--suggest-classpaths" and "--mode jvm" + "use-bootclasspath"
13 --mode jvm
/external/jacoco/
D.travis.sh53 jdk_switcher /usr/lib/jvm/java-7-openjdk-amd64
56 jdk_switcher /usr/lib/jvm/java-8-oracle
/external/doclava/
DAndroid.bp37jvm/java-6-sun/lib/tools.jar --classpath ../../out/host/common/obj/JAVA_LIBRARIES/antlr_intermedia…
/external/robolectric-shadows/
Drun_robotests.mk142 $(my_target): $(call java-lib-files,jvm-jacoco-agent,true) $(copy_android_all_jars)
155 my_jacoco_agent_jar := $(call java-lib-files,jvm-jacoco-agent,true)
188 my_coverage_report_jar := $(call java-lib-files,jvm-jacoco-reporter,true)
/external/protobuf/util/
Dtests.sh96 export PATH=/usr/lib/jvm/java-6-openjdk-amd64/bin:$PATH
100 export PATH=/usr/lib/jvm/java-7-openjdk-amd64/bin:$PATH
110 export PATH=/usr/lib/jvm/java-7-oracle/bin:$PATH
/external/protobuf/
Dtests.sh96 export PATH=/usr/lib/jvm/java-6-openjdk-amd64/bin:$PATH
100 export PATH=/usr/lib/jvm/java-7-openjdk-amd64/bin:$PATH
110 export PATH=/usr/lib/jvm/java-7-oracle/bin:$PATH
/external/robolectric-shadows/scripts/
Dsync-android.sh17 JAVA_6=/usr/lib/jvm/jdk1.6.0_45/bin
18 JAVA_7=/usr/lib/jvm/java-7-openjdk-amd64/bin
/external/conscrypt/benchmark-jmh/
Dbuild.gradle20 jmhJvm = System.getProperty('jmh.jvm')
38 jvm = jmhJvm
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/
Dandroid_test.cc131 JavaVM* jvm; member
351 veData1.jvm = vm; in JNI_OnLoad()
352 veData2.jvm = vm; in JNI_OnLoad()
405 VoiceEngine::SetAndroidObjects(veData1.jvm, env, context); in Java_org_webrtc_voiceengine_test_AndroidTest_RunAutoTest()
437 VoiceEngine::SetAndroidObjects(veData1.jvm, env, context); in Java_org_webrtc_voiceengine_test_AndroidTest_Create()
/external/oj-libjdwp/src/share/back/
Dtransport.c193 JavaVM *jvm; in loadTransport() local
196 JNI_FUNC_PTR(env,GetJavaVM)(env, &jvm); in loadTransport()
197 ver = (*onLoad)(jvm, &callback, JDWPTRANSPORT_VERSION_1_0, &t); in loadTransport()
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dhadoop.sh19 export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

123