Searched refs:emulatorProcess (Results 1 – 1 of 1) sorted by relevance
809 Process emulatorProcess = ((IManagedTestDevice) device).getEmulatorProcess(); in killEmulator() local810 if (emulatorProcess != null) { in killEmulator()811 emulatorProcess.destroy(); in killEmulator()812 if (emulatorProcess.isAlive()) { in killEmulator()815 forceKillProcess(emulatorProcess, device.getSerialNumber()); in killEmulator()831 private void forceKillProcess(Process emulatorProcess, String emulatorSerial) { in forceKillProcess() argument832 if (emulatorProcess.getClass().getName().equals("java.lang.UNIXProcess")) { in forceKillProcess()835 Field f = emulatorProcess.getClass().getDeclaredField("pid"); in forceKillProcess()837 Integer pid = (Integer)f.get(emulatorProcess); in forceKillProcess()