Home
last modified time | relevance | path

Searched refs:getpid (Results 1 - 25 of 44) sorted by relevance

12

/test/xts/acts/kernel_lite/process_posix/src/
H A DPidTest.cpp16 // tested api in this file: getpid getppid getpgrp setpgrp getpgid setpgid
35 * @tc.name getpid and getppid test
40 pid_t parentPid = getpid(); in HWTEST_F()
73 LOG("parent process id:%d", getpid()); in HWTEST_F()
77 LOG("sub parent process id:%d", getpid()); in HWTEST_F()
85 LOG("orphane process id:%d", getpid()); in HWTEST_F()
126 pid_t parentPid = getpid(); in HWTEST_F()
155 pid_t parentPid = getpid(); in HWTEST_F()
174 pid_t childPid = getpid(); in HWTEST_F()
197 pid_t parentPid = getpid(); in HWTEST_F()
[all...]
H A DProcessTest.cpp139 EXPECT_NE(*shared, getpid()); in HWTEST_F()
249 EXPECT_NE(*shared, getpid()); in HWTEST_F()
377 EXPECT_EQ(*shared, getpid()); in HWTEST_F()
393 int myPid = (int)getpid(); in HWTEST_F()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dresourcendk1.cpp52 id_t pid = getpid(); in GetPriority1()
77 id_t pid = getpid(); in Setpriority1()
183 id_t pid = getpid(); in PrLimit1()
195 id_t pid = getpid(); in PrLimit2()
207 id_t pid = getpid(); in PrLimit641()
219 id_t pid = getpid(); in PrLimit642()
H A Dresourcendk.cpp101 id_t pid = getpid(); in PrLimit()
117 id_t pid = getpid(); in PrLimit64()
148 int oldprio = getpriority(PRIO_PROCESS, getpid()); in Setpriority()
149 int setval = setpriority(PRIO_PROCESS, getpid(), oldprio + valueFirst); in Setpriority()
H A Dschedndk.cpp97 int schval = sched_getscheduler(getpid()); in SchedGetscheduler()
114 pid_t pid = getpid(); in SchedSetparam()
147 pid_t pid = getpid(); in SchedSetscheduler()
210 pid_t pid = getpid(); in SchedRrGetInterval()
225 pid_t pid = getpid(); in Setns()
H A Dspawnndk.cpp55 Pid = getpid(); in PosixSpawn()
78 Pid = getpid(); in PosixSpawnP()
163 pid = getpid(); in PosixSpawnAttrGetpGroup()
281 pid = getpid(); in PosixSpawnAttrSetPGroup()
H A Dtgkillndk.cpp25 int ret = tgkill(getpid(), gettid(), SIGCONT); in TgKill()
H A Dcapabilityndk.cpp31 cap_header.pid = getpid(); in Capset()
H A Dsemaphorendk1.cpp38 snprintf(buf, sizeof(buf), "/testsem-%d-%d", static_cast<int>(getpid()), static_cast<int>(ts.tv_nsec)); in SemUnlink()
H A Dcapability1ndk.cpp45 cap_header.pid = getpid(); in CapGet()
/test/xts/hats/kernel/rtginterface/
H A Drtg_interface_test.cpp137 int pid = getpid(); in HWTEST_F()
172 int pid = getpid(); in HWTEST_F()
192 int pid = getpid(); in HWTEST_F()
213 int pid = getpid(); in HWTEST_F()
266 int pid = getpid(); in HWTEST_F()
316 int pid = getpid(); in HWTEST_F()
350 int pid = getpid(); in HWTEST_F()
400 int pid = getpid(); in HWTEST_F()
/test/xts/acts/kernel_lite/sched_posix/src/
H A DProcessSchedApiTest.cpp133 rt = sched_getparam(getpid(), &param); in SetPriorityAllTest()
139 rt = setpriority(PRIO_PROCESS, getpid(), DEFAULT_SHELL_PROCESS_PRIORITY); in SetPriorityAllTest()
319 rt = sched_getparam(getpid(), &param); in HWTEST_F()
396 newPrio = getpriority(PRIO_PROCESS, getpid()); in SchedSetParamAllTest()
404 rt = sched_setparam(getpid(), &param); in SchedSetParamAllTest()
681 policy = sched_getscheduler(getpid()); in HWTEST_F()
745 rt = sched_setscheduler(getpid(), SCHED_RR, &param); in HWTEST_F()
751 rt = sched_setscheduler(getpid(), SCHED_RR, &param); in HWTEST_F()
760 rt = sched_setscheduler(getpid(), SCHED_RR, &param); in HWTEST_F()
930 rt = sched_rr_get_interval(getpid(), in HWTEST_F()
[all...]
/test/xts/hats/kernel/syscalls/process/processid/
H A DProcessApiTest.cpp254 pid_t pid = getpid(); in HWTEST_F()
282 pid_t pid = getpid(); in HWTEST_F()
315 EXPECT_EQ(ret, getpid()); in HWTEST_F()
/test/xts/hats/kernel/syscalls/mem/processvm/
H A DProcessvmApiTest.cpp71 pid_t pid = getpid(); in HWTEST_F()
101 pid_t pid = getpid(); in HWTEST_F()
/test/xts/hats/kernel/syscalls/resource/prlimit64/
H A DPrlimit64ApiTest.cpp63 pid_t pid = getpid(); in HWTEST_F()
108 pid_t pid = getpid(); in HWTEST_F()
/test/xts/hats/kernel/accesstokenid/
H A Daccesstokenid_test.cpp178 tinfo->pid = getpid(); in CheckChildThreadInheritance()
195 tinfo->pid = getpid(); in CheckChildThreadSetIndepent()
296 tinfo.pid = getpid(); in HWTEST_F()
338 tinfo.pid = getpid(); in HWTEST_F()
/test/xts/acts/kernel_lite/ipc_posix/shared_memory/
H A DShmTest.cpp339 LOG("> getpid = %d", getpid()); in HWTEST_F()
367 EXPECT_EQ(shmPerm.shm_cpid, getpid()); // PID of creator in HWTEST_F()
368 EXPECT_EQ(shmPerm.shm_lpid, getpid()); // PID of last shmat/shmdt in HWTEST_F()
/test/xts/hats/kernel/syscalls/signal/kill/
H A DKillApiTest.cpp84 pid_t pid = getpid(); in HWTEST_F()
/test/xts/hats/kernel/syscalls/signal/tgkill/
H A DTgkillApiTest.cpp68 ret = tgkill(getpid(), tid, SIGUSR1); in HWTEST_F()
/test/xts/hats/kernel/syscalls/user/
H A DUserApiTest.cpp141 pid_t pid = getpid(); in HWTEST_F()
426 pid_t pid = getpid(); in HWTEST_F()
/test/xts/hats/kernel/syscalls/ns/setns/
H A DSetnsApiTest.cpp67 pid_t pid = getpid(); in HWTEST_F()
/test/xts/hats/kernel/syscalls/schedule/priority/
H A DPriorityApiTest.cpp96 int pid = getpid(); in HWTEST_F()
/test/xts/hats/kernel/syscalls/async/wait4/
H A DWait4ApiTest.cpp111 printf("Child process (PID: %d) is running...\n", getpid()); in HWTEST_F()
/test/xts/hats/kernel/syscalls/fileio/capset/
H A DCapsetApiTest.cpp44 g_pid = getpid(); in SetUp()
/test/xts/hats/kernel/syscalls/security/capget/
H A DCapGetApiTest.cpp44 g_pid = getpid(); in SetUp()

Completed in 12 milliseconds

12