Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tools/
Drun_parallel_tests.py75 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()
Drun_all_tests.py119 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/
DBaseProcessInstrumentation.java40 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()
DServiceTest.java1464 boolean isEquivalentTo(ProcessRecordProto proc) { in isEquivalentTo() argument
1465 int procAppId = proc.isolatedAppId != 0 ? proc.isolatedAppId : UserHandle.getAppId( in isEquivalentTo()
1466 proc.uid); in isEquivalentTo()
1469 return procAppId == getAppId() && proc.userId == getUserId(); in isEquivalentTo()
1532 for (ProcessRecordProto proc : procsList) { in getLruProcesses()
1533 procs.put(proc.lruIndex, proc); in getLruProcesses()
1542 String printProc(int i, ProcessRecordProto proc) { in printProc() argument
1543 return "#" + i + ": " + proc.processName in printProc()
1544 + " pid=" + proc.pid + " uid=" + proc.uid in printProc()
1545 + (proc.isolatedAppId != 0 ? " isolated=" + proc.isolatedAppId : ""); in printProc()
[all …]
DNotificationManagerTest.java1000 Process proc = Runtime.getRuntime().exec("cmd notification suspend_package " in testSuspendPackage_withoutShellPermission() local
1005 new BufferedReader(new InputStreamReader(proc.getInputStream())); in testSuspendPackage_withoutShellPermission()
1015 proc.waitFor(); in testSuspendPackage_withoutShellPermission()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java70 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/
Ddevice.py134 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
135 output, error = proc.communicate()
164 proc = subprocess.Popen(command.split(),
167 output, error = proc.communicate()
214 proc = subprocess.Popen(
217 logcat = proc.stdout
222 proc.kill()
989 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
990 output, error = proc.communicate()
1079 proc = subprocess.Popen(com.split(), stdout=subprocess.PIPE)
[all …]
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtils.java177 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/
DActivityManagerIncidentTest.java186 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/
DCtsTestRunListener.java135 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/
DCtsTestRunListener.java135 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/
DCommonExternalStorageTest.java481 final Process proc = new ProcessBuilder(cmd).redirectErrorStream(true).start(); in logCommand() local
484 copy(proc.getInputStream(), buf); in logCommand()
485 final int res = proc.waitFor(); in logCommand()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java1382 … ProcessDetails proc = new ProcessDetails(domainLabel, user, pid, ppid, procTitle); in createProcMap() local
1386 procMap.get(domainLabel).add(proc); in createProcMap()
1393 exeMap.get(procTitle).add(proc); in createProcMap()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1849 u64 proc = r64(bnd + 0xd0); in set_up_w128() local
1850 u64 alloc = proc + 0x1c0; in set_up_w128()