/external/autotest/client/virt/tests/ |
whql_submission.py | 31 for vm in vms: 32 nics = vm.params.objects("nics") 34 s = vm.wait_for_login(nic_index, 600) 77 sessions = virt_utils.parallel((vm.reboot, (session,)) 78 for vm, session in zip(vms, sessions)) 81 for vm in vms: 82 nics = vm.params.objects("nics") 84 s = vm.wait_for_login(nic_index, 600) 257 virt_utils.parallel(vm.destroy for vm in vms [all...] |
ethtool.py | 107 copy_files_from = vm.copy_files_from 114 copy_files_from = vm.copy_files_to 183 vm = env.get_vm(params["main_vm"]) 184 vm.verify_alive() 185 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 188 session2 = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 192 guest_ip = vm.get_address() 193 ethname = virt_test_utils.get_linux_ifname(session, vm.get_mac_address(0))
|
vlan.py | 22 vm = [] 34 vm.append(env.get_vm(params["main_vm"])) 35 vm.append(env.get_vm("vm2")) 36 for vm_ in vm: 71 " from vm%s to vm%s" % (src+1, dst+1)) 76 logging.info("file succeed received in vm %s", vlan_ip[dst]) 84 session.append(vm[i].wait_for_login( 87 raise error.TestError("Could not log into guest(vm%d)" % i) 91 vm[i].get_mac_address()) [all...] |
softlockup.py | 9 1) Boot up a VM. 32 vm = env.get_vm(params["main_vm"]) 97 vm.verify_alive() 98 session = vm.wait_for_login(timeout=login_timeout) 115 vm.copy_files_to(monitor_path, "/tmp") 116 vm.copy_files_to(stress_path, "/tmp")
|
whql_client_install.py | 24 vm = env.get_vm(params["main_vm"]) 25 vm.verify_alive() 26 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 102 session = vm.reboot(session) 135 session = vm.reboot(session)
|
/packages/apps/Nfc/nci/jni/ |
NfcJniUtil.h | 101 /* Our VM */ 102 JavaVM *vm; member in struct:nfc_jni_native_data 136 ScopedAttach(JavaVM* vm, JNIEnv** env) : vm_(vm)
|
/external/autotest/client/tests/kvm/tests/ |
usb.py | 18 vm = env.get_vm(params["main_vm"]) 19 vm.create() 21 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 23 output = vm.monitor.cmd("info usb")
|
cdrom.py | 12 1) Boot up a VM with one iso. 13 2) Check if VM identifies correctly the iso file. 43 blocks = vm.monitor.info("block") 72 blocks = vm.monitor.info("block") 102 vm = env.get_vm(params["main_vm"]) 103 vm.create() 105 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360))) 136 eject_cdrom(device, vm.monitor) 145 change_cdrom(device, cdrom, vm.monitor) 187 eject_cdrom(device, vm.monitor [all...] |
enospc.py | 116 vm = env.get_vm(params["main_vm"]) 117 vm.create() 119 session_serial = vm.wait_for_serial_login(timeout=login_timeout) 142 status = vm.monitor.cmd("info status") 146 logging.info("Checking all images in use by the VM") 147 for image_name in vm.params.objects("images"): 148 image_params = vm.params.object_params(image_name) 158 vm.monitor.cmd("cont") 168 logging.info("Final %s", vm.monitor.cmd("info status"))
|
timedrift.py | 55 vm = env.get_vm(params["main_vm"]) 56 vm.verify_alive() 58 session = vm.wait_for_login(timeout=timeout) 84 # Set the VM's CPU affinity 85 prev_affinity = set_cpu_affinity(vm.get_shell_pid(), cpu_mask) 91 load_session = vm.login() 144 # Restore the VM's CPU affinity
|
hdparm.py | 52 vm = env.get_vm(params["main_vm"]) 53 vm.create() 54 session = vm.wait_for_login(timeout=int(params.get("login_timeout", 360)))
|
qemu_img.py | 247 2) Start a VM using the backing file as its harddisk. 249 VM. 253 6) Start the VM using the original harddisk. 289 # Start a new VM, using backing file as its harddisk 292 vm = env.get_vm(vm_name) 293 vm.create() 295 session = vm.wait_for_login(timeout=timeout) 307 vm.destroy() 316 # Second, Start a new VM, using image_name as its harddisk 320 vm = env.get_vm(vm_name [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
WorkerProcess.java | 164 VirtualMachine vm = experiment.vm(); local 165 VmConfig vmConfig = vm.config; 166 args.addAll(getJvmArgs(vm, benchmarkClass)); 179 logger.finest(String.format("Full JVM (%s) args: %s", vm.name, args)); 184 VirtualMachine vm, 187 VmConfig vmConfig = vm.config; 193 logger.fine(String.format("%s(%s) Path: %s", platformName, vm.name, jdkPath)); 197 logger.fine(String.format("%s(%s) args: %s", platformName, vm.name, jvmOptions));
|
/system/vold/ |
main.cpp | 42 static int process_config(VolumeManager *vm); 63 VolumeManager *vm; local 85 if (!(vm = VolumeManager::Instance())) { 96 vm->setDebug(true); 101 vm->setBroadcaster((SocketListener *) cl); 104 if (vm->start()) { 109 if (process_config(vm)) { 210 static int process_config(VolumeManager *vm) { 240 vm->addDiskSource(std::shared_ptr<VolumeManager::DiskSource>(
|
/art/runtime/ |
scoped_thread_state_change.h | 88 // Constructor used by ScopedJniThreadState for an unattached thread that has access to the VM*. 115 JavaVMExt* Vm() const { 180 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) { 186 vm_(env_ != nullptr ? env_->vm : nullptr) { 191 explicit ScopedObjectAccessAlreadyRunnable(JavaVM* vm) 192 : self_(nullptr), env_(nullptr), vm_(down_cast<JavaVMExt*>(vm)) {} 212 // for use of Object, thereby inhibiting the Object being modified by GC whilst native or VM code 238 explicit ScopedObjectAccessUnchecked(JavaVM* vm) ALWAYS_INLINE 239 : ScopedObjectAccessAlreadyRunnable(vm), tsc_() {} 270 // routines operating with just a VM are sound, they are not, but when you have just a V [all...] |
/cts/hostsidetests/appsecurity/test-apps/SplitApp/jni/ |
com_android_cts_splitapp_Native.cpp | 74 jint JNI_OnLoad(JavaVM* vm, void* reserved) { 82 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
/development/samples/SimpleJNI/jni/ |
native.cpp | 77 * This is called by the VM when the shared library is first loaded. 85 jint JNI_OnLoad(JavaVM* vm, void* reserved) 94 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
/external/apache-harmony/ |
run-harmony-tests | 23 # concurrent: needs vogar to detect code type in the target VM 29 --vm-arg -Xmx32M \
|
/external/skia/tools/skiaserve/urlhandlers/ |
InfoHandler.cpp | 49 SkMatrix vm = request->fDebugCanvas->getCurrentMatrix(); local 52 info["ViewMatrix"] = SkJSONCanvas::MakeMatrix(vm);
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/ |
native.cpp | 77 * This is called by the VM when the shared library is first loaded. 85 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) 94 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/ |
native.cpp | 77 * This is called by the VM when the shared library is first loaded. 85 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) 94 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/ |
native.cpp | 77 * This is called by the VM when the shared library is first loaded. 85 jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) 94 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
|
/external/javasqlite/src/main/native/ |
sqlite_jni.c | 97 /* internal handle for SQLite VM (sqlite_compile()) */ 100 struct hvm *next; /* next vm handle */ 104 void *vm; /* SQLite 2/3 VM/statement */ member in struct:hvm 792 if (v->vm) { 795 sqlite3_finalize((sqlite3_stmt *) v->vm); 797 sqlite_finalize((sqlite_vm *) v->vm, 0); 801 sqlite_finalize((sqlite_vm *) v->vm, 0); 804 sqlite3_finalize((sqlite3_stmt *) v->vm); 807 v->vm = 0 [all...] |
/art/dalvikvm/ |
dalvikvm.cc | 175 JavaVM* vm = nullptr; local 177 if (JNI_CreateJavaVM(&vm, &env, &init_args) != JNI_OK) { 195 if (vm->DetachCurrentThread() != JNI_OK) { 201 if (vm->DestroyJavaVM() != 0) {
|
/build/core/ |
dex_preopt_libart.mk | 36 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms) 37 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx) 38 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms) 39 DEX2OAT_XMX := $(call get-product-default-property,dalvik.vm.dex2oat-Xmx)
|