Home
last modified time | relevance | path

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

12

/external/autotest/client/tests/dacapo/
Ddacapo.py23 def set_java_environment(self, jvm, java_root): argument
29 if jvm.startswith('ibm'):
43 def run_once(self, test='antlr', config='./dacapo.cfg', jvm='default'): argument
54 if not jvm == 'default':
56 jvm_pkg_url = cfg.get(jvm, 'jvm_pkg_url')
57 jvm_pkg_md5 = cfg.get(jvm, 'package_md5')
62 java_root = cfg.get(jvm, 'java_root')
63 self.set_java_environment(jvm, java_root)
Dcontrol107 # list of jvm entries inside the configuration file. 'default' means the test
108 # will use the jvm installed on the machine.
117 for jvm in jvm_list:
119 t = test + '-' + jvm
120 job.run_test('dacapo', test=test, config=dacapo_config, jvm=jvm, tag=t)
/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;
DEffectiveClassPath.java17 package com.google.caliper.platform.jvm;
/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/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/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/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/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/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/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/caliper/caliper/src/test/java/com/google/caliper/config/
DVmConfigTest.java21 import com.google.caliper.platform.jvm.JvmPlatform;
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_surface_view.h26 JavaVM* jvm,
Dvideo_render_android_native_opengl2.h28 JavaVM* jvm,
Dvideo_render_android_surface_view.cc227 JavaVM* jvm, in AndroidSurfaceViewChannel() argument
233 _jvm(jvm), in AndroidSurfaceViewChannel()
Dvideo_render_android_native_opengl2.cc236 JavaVM* jvm, in AndroidNativeOpenGl2Channel() argument
240 _renderer(renderer), _jvm(jvm), _javaRenderObj(javaRenderObj), in AndroidNativeOpenGl2Channel()

12