/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | PidTest.cpp | 16 // 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 D | ProcessTest.cpp | 139 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 D | resourcendk1.cpp | 52 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 D | resourcendk.cpp | 101 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 D | schedndk.cpp | 97 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 D | spawnndk.cpp | 55 Pid = getpid();
in PosixSpawn() 78 Pid = getpid();
in PosixSpawnP() 163 pid = getpid();
in PosixSpawnAttrGetpGroup() 281 pid = getpid();
in PosixSpawnAttrSetPGroup()
|
H A D | tgkillndk.cpp | 25 int ret = tgkill(getpid(), gettid(), SIGCONT);
in TgKill()
|
H A D | capabilityndk.cpp | 31 cap_header.pid = getpid();
in Capset()
|
H A D | semaphorendk1.cpp | 38 snprintf(buf, sizeof(buf), "/testsem-%d-%d", static_cast<int>(getpid()), static_cast<int>(ts.tv_nsec));
in SemUnlink()
|
H A D | capability1ndk.cpp | 45 cap_header.pid = getpid();
in CapGet()
|
/test/xts/hats/kernel/rtginterface/ |
H A D | rtg_interface_test.cpp | 137 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 D | ProcessSchedApiTest.cpp | 133 rt = sched_getparam(getpid(), ¶m);
in SetPriorityAllTest() 139 rt = setpriority(PRIO_PROCESS, getpid(), DEFAULT_SHELL_PROCESS_PRIORITY);
in SetPriorityAllTest() 319 rt = sched_getparam(getpid(), ¶m);
in HWTEST_F() 396 newPrio = getpriority(PRIO_PROCESS, getpid());
in SchedSetParamAllTest() 404 rt = sched_setparam(getpid(), ¶m);
in SchedSetParamAllTest() 681 policy = sched_getscheduler(getpid());
in HWTEST_F() 745 rt = sched_setscheduler(getpid(), SCHED_RR, ¶m);
in HWTEST_F() 751 rt = sched_setscheduler(getpid(), SCHED_RR, ¶m);
in HWTEST_F() 760 rt = sched_setscheduler(getpid(), SCHED_RR, ¶m);
in HWTEST_F() 930 rt = sched_rr_get_interval(getpid(), in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/process/processid/ |
H A D | ProcessApiTest.cpp | 254 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 D | ProcessvmApiTest.cpp | 71 pid_t pid = getpid(); in HWTEST_F() 101 pid_t pid = getpid(); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/resource/prlimit64/ |
H A D | Prlimit64ApiTest.cpp | 63 pid_t pid = getpid(); in HWTEST_F() 108 pid_t pid = getpid(); in HWTEST_F()
|
/test/xts/hats/kernel/accesstokenid/ |
H A D | accesstokenid_test.cpp | 178 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 D | ShmTest.cpp | 339 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 D | KillApiTest.cpp | 84 pid_t pid = getpid(); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/signal/tgkill/ |
H A D | TgkillApiTest.cpp | 68 ret = tgkill(getpid(), tid, SIGUSR1); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/user/ |
H A D | UserApiTest.cpp | 141 pid_t pid = getpid(); in HWTEST_F() 426 pid_t pid = getpid(); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/ns/setns/ |
H A D | SetnsApiTest.cpp | 67 pid_t pid = getpid(); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/schedule/priority/ |
H A D | PriorityApiTest.cpp | 96 int pid = getpid(); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/async/wait4/ |
H A D | Wait4ApiTest.cpp | 111 printf("Child process (PID: %d) is running...\n", getpid()); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/capset/ |
H A D | CapsetApiTest.cpp | 44 g_pid = getpid(); in SetUp()
|
/test/xts/hats/kernel/syscalls/security/capget/ |
H A D | CapGetApiTest.cpp | 44 g_pid = getpid(); in SetUp()
|