Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/gki/
Dcpio.cpp48 pid_t pid = fork(); in Exec() local
49 if (pid == -1) in Exec()
52 if (pid == 0) { in Exec()
65 if (pid != waitpid(pid, &status, 0)) in Exec()
67 << "`; failed to waitpid(" << pid << ")"; in Exec()
/test/mlts/benchmark/native/
Dmulti_process_test.cpp242 pid_t pid = 1; in main() local
246 if (pid != 0) { in main()
247 pid = fork(); in main()
248 if (pid > 0) { in main()
249 children.push_back(pid); in main()
251 pid); in main()
252 } else if (pid < 0) { in main()
297 for (auto pid : children) { in main() local
298 waitpid(pid, nullptr, 0); in main()
/test/vts/runners/host/
Dutils.py357 " stdout: %s" % (proc.pid, ret, err, out))
409 pid = proc.pid
412 os.killpg(pid, signal_no)
420 os.kill(pid, windows_signal_no)
423 signal_no, pid, str(e))
477 logging.debug("Stop standing subprocess %d", proc.pid)
/test/vts/runners/target/gtest/
Dgtest_main.cpp611 pid_t pid; member
653 pid_t pid = fork(); in RunChildProcess() local
654 if (pid == -1) { in RunChildProcess()
657 } else if (pid == 0) { in RunChildProcess()
675 child_proc.pid = pid; in RunChildProcess()
692 if (child_proc.pid != 0) { in HandleSignals()
706 if (child_proc.pid != 0) { in HandleSignals()
709 kill(child_proc.pid, SIGKILL); in HandleSignals()
720 if (child_proc_list[i].pid == exit_pid) { in CheckChildProcExit()
810 static TestResult WaitForOneChild(pid_t pid) { in WaitForOneChild() argument
[all …]
/test/vts/utils/python/coverage/
Dcoverage_utils.py271 pids = set(pid.strip()
272 for pid in map(lambda entry: entry.split()[-1], entries)
273 if pid.isdigit())
293 for pid in pids:
294 cmd = "kill -9 " + pid
321 for pid in pids:
322 path = path_utils.JoinTargetPath(TARGET_COVERAGE_PATH, pid)
Dsancov_utils.py115 pid.strip()
116 for pid in map(lambda entry: entry.split()[-1], entries)
117 if pid.isdigit()
310 binary, pid, _ = os.path.basename(file).rsplit('.', 2)
/test/vts-testcase/hal/treble/vintf/
Dutils.cpp98 Partition PartitionOfProcess(int32_t pid) { in PartitionOfProcess() argument
99 auto partition = android::procpartition::getPartition(pid); in PartitionOfProcess()
Dutils.h106 Partition PartitionOfProcess(int32_t pid);
DVtsTrebleVintfTestBase.cpp204 [&](const auto &info) { partition = PartitionOfProcess(info.pid); }); in GetPartition()
/test/vts-testcase/kernel/bow/
DBowTest.cpp51 pid_t pid = fork(); in blockCheckpointsSupported() local
52 EXPECT_NE(pid, -1); in blockCheckpointsSupported()
54 if (pid == 0) { in blockCheckpointsSupported()
61 EXPECT_NE(waitpid(pid, &status, 0), -1); in blockCheckpointsSupported()
/test/vts/drivers/resource/fmq_driver/
DVtsFmqDriverTest.cpp299 pid_t pid = fork(); in TEST_F() local
300 if (pid == 0) { // child process is a reader, blocking for at most 0.1s. in TEST_F()
305 } else if (pid > 0) { in TEST_F()
/test/app_compat/csuite/instrumentation/launch/src/main/java/com/android/compatibilitytest/
DAppCompatibility.java337 int pid, in appCrashed() argument
350 public int appEarlyNotResponding(String processName, int pid, String annotation) in appEarlyNotResponding() argument
357 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument
/test/vts/utils/python/controllers/
Dandroid_device.py1374 pid = int(out.split()[1])
1375 self.log.info('apk %s has pid %s.', package_name, pid)
1376 return pid