Home
last modified time | relevance | path

Searched refs:mPythonVersion (Results 1 – 1 of 1) sorted by relevance

/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java98 private String mPythonVersion = "2"; field in VtsPythonVirtualenvPreparer
396 if (mPythonVersion.startsWith("3.") || mPythonVersion.equals("3")) { in getConfiguredPythonVersionMajor()
398 } else if (mPythonVersion.startsWith("2.") || mPythonVersion.equals("2")) { in getConfiguredPythonVersionMajor()
401 throw new TargetSetupError("Unsupported python version " + mPythonVersion); in getConfiguredPythonVersionMajor()
466 "virtualenv", "-p", "python" + mPythonVersion, mVenvDir.getAbsolutePath()}; in createVirtualenv()
514 mVenvDir = new File(tempDir, "vts-virtualenv-" + mPythonVersion); in checkHostReuseVirtualenv()
517 CLog.d("Using existing virtualenv for version " + mPythonVersion); in checkHostReuseVirtualenv()
522 mVenvDir = FileUtil.createTempDir("vts-virtualenv-" + mPythonVersion + "-" in checkHostReuseVirtualenv()