Searched refs:proc (Results 1 – 7 of 7) sorted by relevance
/cts/tools/vm-tests-tf/src/util/build/ |
D | ExecuteFile.java | 153 Process proc = null; in run() local 178 proc = Runtime.getRuntime().exec(cmdLine, null, workDir); in run() 183 new ThreadBytesStreamSucker(localInStream, proc.getOutputStream(), inToBeClose)); in run() 185 proc.getOutputStream().close(); in run() 191 suckOut = new Thread(new ThreadCharactersStreamSucker(proc.getInputStream(), in run() 195 new ThreadBytesStreamSucker(proc.getInputStream(), localOutStream, outToBeClose)); in run() 202 suckErr = new Thread(new ThreadCharactersStreamSucker(proc.getErrorStream(), in run() 206 new ThreadBytesStreamSucker(proc.getErrorStream(), localErrStream, errToBeClose)); in run() 220 proc.waitFor(); in run() 231 ret = proc.exitValue(); in run() [all …]
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | RootProcessScanner.java | 70 File proc = new File("/proc"); in getRootProcessDirs() local 71 if (!proc.exists()) { in getRootProcessDirs() 72 throw new FileNotFoundException(proc + " is missing (man 5 proc)"); in getRootProcessDirs() 76 File[] processDirs = proc.listFiles(); in getRootProcessDirs()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 99 final Process proc = new ProcessBuilder("logcat", "-t", format.format(new Date(millis))) in readLogSince() local 103 Streams.copy(proc.getInputStream(), buf); in readLogSince() 104 final int res = proc.waitFor(); in readLogSince()
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 117 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE) 118 output, error = proc.communicate() 147 proc = subprocess.Popen(command.split(), 150 output, error = proc.communicate() 197 proc = subprocess.Popen( 200 logcat = proc.stdout 205 proc.kill() 765 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE) 766 output, error = proc.communicate()
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 134 Process proc = runtime.exec(commands); in printMemory() local 136 in = new BufferedReader(new InputStreamReader(proc.getInputStream())); in printMemory()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 460 final Process proc = new ProcessBuilder(cmd).redirectErrorStream(true).start(); in logCommand() local 463 copy(proc.getInputStream(), buf); in logCommand() 464 final int res = proc.waitFor(); in logCommand()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxHostTest.java | 811 ProcessDetails proc = new ProcessDetails(domainLabel, user, pid, ppid, procTitle); in createProcMap() local 815 procMap.get(domainLabel).add(proc); in createProcMap() 822 exeMap.get(procTitle).add(proc); in createProcMap()
|