/cts/apps/CameraITS/tools/ |
D | run_parallel_tests.py | 75 proc = Process(target=run_cmd, args=(cmd,)) 76 procs.append(proc) 77 proc.start() 79 for proc in procs: 80 proc.join() 110 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 111 output, error = proc.communicate()
|
D | run_all_tests.py | 119 proc = subprocess.Popen( 121 timer = threading.Timer(PROC_TIMEOUT_TIME, proc.kill) 125 proc.communicate() 126 test_code = proc.returncode
|
/cts/tests/app/src/android/app/cts/ |
D | BaseProcessInstrumentation.java | 40 final String proc = getProcessName(); in onCreate() local 42 if (!proc.equals(appProc)) { in onCreate() 44 "getProcessName()s mismatch. Instr=%s App=%s", proc, appProc)); in onCreate() 48 result.putBoolean(proc, true); in onCreate() 49 if (proc.equals(mMainProc)) { in onCreate()
|
D | ServiceTest.java | 1415 for (ProcessRecordProto proc : procsList) { in getLruProcesses() 1416 procs.put(proc.lruIndex, proc); in getLruProcesses() 1425 String printProc(int i, ProcessRecordProto proc) { in printProc() argument 1426 return "#" + i + ": " + proc.processName in printProc() 1427 + " pid=" + proc.pid + " uid=" + proc.uid in printProc() 1428 + (proc.isolatedAppId != 0 ? " isolated=" + proc.isolatedAppId : ""); in printProc() 1431 private void logProc(int i, ProcessRecordProto proc) { in logProc() argument 1432 Log.i("XXXXXXXX", printProc(i, proc)); in logProc() 1440 ProcessRecordProto proc = procs.get(i); in verifyLruOrder() local 1441 logProc(i, proc); in verifyLruOrder() [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/apps/CameraITS/pymodules/its/ |
D | device.py | 132 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE) 133 output, error = proc.communicate() 162 proc = subprocess.Popen(command.split(), 165 output, error = proc.communicate() 212 proc = subprocess.Popen( 215 logcat = proc.stdout 220 proc.kill() 987 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE) 988 output, error = proc.communicate() 1077 proc = subprocess.Popen(com.split(), stdout=subprocess.PIPE) [all …]
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Utils.java | 177 final Process proc = new ProcessBuilder(cmd).redirectErrorStream(true).start(); in logCommand() local 180 copy(proc.getInputStream(), buf); in logCommand() 181 final int res = proc.waitFor(); in logCommand()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ActivityManagerIncidentTest.java | 186 for (ProcessRecordProto proc : dump.getProcsList()) { in testDumpProcesses() 187 if (proc.getProcessName().equals(SYSTEM_PROC) && proc.getUid() == SYSTEM_UID) { in testDumpProcesses()
|
/cts/tests/core/runner-axt/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 135 Process proc = runtime.exec(commands); in printMemory() local 137 in = new BufferedReader(new InputStreamReader(proc.getInputStream())); in printMemory()
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
D | CtsTestRunListener.java | 135 Process proc = runtime.exec(commands); in printMemory() local 137 in = new BufferedReader(new InputStreamReader(proc.getInputStream())); in printMemory()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 483 final Process proc = new ProcessBuilder(cmd).redirectErrorStream(true).start(); in logCommand() local 486 copy(proc.getInputStream(), buf); in logCommand() 487 final int res = proc.waitFor(); in logCommand()
|
/cts/hostsidetests/security/src/android/cts/security/ |
D | SELinuxHostTest.java | 1327 ProcessDetails proc = new ProcessDetails(domainLabel, user, pid, ppid, procTitle); in createProcMap() local 1331 procMap.get(domainLabel).add(proc); in createProcMap() 1338 exeMap.get(procTitle).add(proc); in createProcMap()
|