Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 191) sorted by relevance

12345678

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_thread.h32 DfxThread(pid_t pid, pid_t tid, pid_t nsTid, const ucontext_t &context);
33 DfxThread(pid_t pid, pid_t tid, pid_t nsTid);
37 pid_t GetProcessId() const;
38 pid_t GetThreadId() const;
39 pid_t GetRealTid() const;
40 void SetThreadId(pid_t tid);
70 pid_t pid_;
71 pid_t tid_;
72 pid_t nsTid_;
Ddfx_process.h33 …static std::shared_ptr<DfxProcess> CreateProcessWithKeyThread(pid_t pid, std::shared_ptr<DfxThread…
40 void InsertThreadNode(pid_t tid, pid_t nsTid, bool attach = true);
44 pid_t GetPid() const;
46 pid_t GetNsPid() const;
54 void SetPid(pid_t pid);
56 void SetRecycleTid(pid_t nstid);
57 void SetNsPid(pid_t pid);
65 pid_t pid_ = 0;
66 pid_t nsPid_ = 0;
68 pid_t recycleTid_ = 0;
Ddfx_thread.cpp36 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid, const ucontext_t &context) in DfxThread()
54 DfxThread::DfxThread(pid_t pid, pid_t tid, pid_t nsTid) in DfxThread()
95 pid_t DfxThread::GetProcessId() const in GetProcessId()
100 pid_t DfxThread::GetThreadId() const in GetThreadId()
171 pid_t DfxThread::GetRealTid() const in GetRealTid()
176 void DfxThread::SetThreadId(pid_t tid) in SetThreadId()
Ddfx_process.cpp53 std::shared_ptr<DfxProcess> DfxProcess::CreateProcessWithKeyThread(pid_t pid, std::shared_ptr<DfxTh… in CreateProcessWithKeyThread()
97 void DfxProcess::SetRecycleTid(pid_t nstid) in SetRecycleTid()
125 pid_t tid = atoi(ent->d_name); in InitOtherThreads()
130 pid_t nstid = tid; in InitOtherThreads()
146 void DfxProcess::InsertThreadNode(pid_t tid, pid_t nsTid, bool attach) in InsertThreadNode()
209 pid_t DfxProcess::GetPid() const in GetPid()
244 void DfxProcess::SetPid(pid_t pid) in SetPid()
254 void DfxProcess::SetNsPid(pid_t pid) in SetNsPid()
259 pid_t DfxProcess::GetNsPid() const in GetNsPid()
/base/location/interfaces/inner_api/include/
Dapp_identity.h26 explicit AppIdentity(pid_t uid, pid_t pid, uint32_t tokenId, uint32_t firstTokenId);
29 inline pid_t GetPid() const in GetPid()
34 inline void SetPid(pid_t pid) in SetPid()
39 inline pid_t GetUid() const in GetUid()
44 inline void SetUid(pid_t uid) in SetUid()
81 pid_t uid_;
82 pid_t pid_;
Dcommon_hisysevent.h23 void WriteGnssStateEvent(const std::string& state, const pid_t pid, const pid_t uid);
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/
Dmock_ipc.cpp23 pid_t uid_ = 1000;
25 pid_t IPCSkeleton::GetCallingUid() in GetCallingUid()
30 pid_t IPCSkeleton::GetCallingPid() in GetCallingPid()
35 void IPCSkeleton::SetCallingUid(pid_t uid) in SetCallingUid()
/base/security/selinux/interfaces/policycoreutils/include/
Dservice_checker.h32 int ListServiceCheck(const pid_t callingPid);
34 int GetServiceCheck(const pid_t callingPid, const std::string &serviceName);
36 int GetRemoteServiceCheck(const pid_t callingPid, const std::string &remoteServiceName);
38 int AddServiceCheck(const pid_t callingPid, const std::string &serviceName);
44 int CheckPerm(const pid_t callingPid, const std::string &serviceName, std::string action);
Dhdf_service_checker.h24 int HdfListServiceCheck(pid_t callingPid);
25 int HdfGetServiceCheck(pid_t callingPid, const char *serviceName);
26 int HdfAddServiceCheck(pid_t callingPid, const char *serviceName);
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_ipc.cpp23 pid_t uid_ = 1;
26 pid_t IPCSkeleton::GetCallingUid() in GetCallingUid()
31 pid_t IPCSkeleton::GetCallingPid() in GetCallingPid()
41 void IPCSkeleton::SetCallingUid(pid_t uid) in SetCallingUid()
/base/notification/common_event_service/test/mock/
Dmock_ipc.cpp23 pid_t uid_ = 1000;
26 pid_t IPCSkeleton::GetCallingUid() in GetCallingUid()
31 pid_t IPCSkeleton::GetCallingPid() in GetCallingPid()
36 void IPCSkeleton::SetCallingUid(pid_t uid) in SetCallingUid()
/base/location/services/location_locator/locator/include/
Drequest.h31 pid_t GetUid();
32 pid_t GetPid();
37 void SetUid(pid_t uid);
38 void SetPid(pid_t pid);
62 pid_t uid_;
63 pid_t pid_;
/base/startup/init/services/init/adapter/
Dinit_adapter.c64 static pid_t g_waitPid = -1;
66 static void SignalRegWaitSem(pid_t waitPid, sem_t *waitSem) in SignalRegWaitSem()
72 void CheckWaitPid(pid_t sigPID) in CheckWaitPid()
83 void CheckWaitPid(pid_t sigPID) in CheckWaitPid()
92 pid_t retPid = fork(); in SystemExecuteRcs()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/
Dnapi_callback_context.h27 using CALLBACK_FUNC = std::function<void(const napi_env, const napi_ref, pid_t threadId)>;
28 using RELEASE_FUNC = std::function<void(pid_t threadId)>;
34 pid_t threadId;
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/include/
Dmock_ipc_skeleton.h36 static pid_t GetCallingPid();
38 static pid_t GetCallingUid();
58 static void SetCallingUid(pid_t uid);
/base/notification/common_event_service/test/mock/include/
Dmock_ipc_skeleton.h37 static pid_t GetCallingPid();
39 static pid_t GetCallingUid();
59 static void SetCallingUid(pid_t uid);
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
Dmock_ipc_skeleton.h52 static pid_t GetCallingPid();
59 static pid_t GetCallingUid();
134 static void SetCallingUid(pid_t uid);
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Dprocess_dfx_test.cpp45 pid_t ProcessDfxTest::GetAccountmgrPid() in GetAccountmgrPid()
56 pid_t accountmgrPid = 0; in GetAccountmgrPid()
89 pid_t accountmgrPid = ProcessDfxTest::GetAccountmgrPid();
95 pid_t pid = accountmgrPid;
96 pid_t tid = accountmgrPid;
126 pid_t pid = 1;
143 pid_t pid = 164;
160 pid_t pid = 10000;
256 pid_t pid = 100;
257 pid_t tid = 100;
/base/security/selinux/interfaces/policycoreutils/src/
Dservice_checker.cpp57 extern "C" int HdfListServiceCheck(pid_t callingPid) in HdfListServiceCheck()
62 extern "C" int HdfGetServiceCheck(pid_t callingPid, const char *serviceName) in HdfGetServiceCheck()
70 extern "C" int HdfAddServiceCheck(pid_t callingPid, const char *serviceName) in HdfAddServiceCheck()
79 pid_t pid;
220 static int GetCallingContext(const pid_t pid, std::string &context) in GetCallingContext()
246 int ServiceChecker::CheckPerm(const pid_t callingPid, const std::string &serviceName, std::string a… in CheckPerm()
282 int ServiceChecker::ListServiceCheck(const pid_t callingPid) in ListServiceCheck()
287 int ServiceChecker::GetServiceCheck(const pid_t callingPid, const std::string &serviceName) in GetServiceCheck()
292 int ServiceChecker::GetRemoteServiceCheck(const pid_t callingPid, const std::string &remoteServiceN… in GetRemoteServiceCheck()
301 int ServiceChecker::AddServiceCheck(const pid_t callingPid, const std::string &serviceName) in AddServiceCheck()
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dcommon_utils.cpp38 pid_t pid = fork(); in ExecCommand()
75 std::string GetProcNameByPid(pid_t pid) in GetProcNameByPid()
89 pid_t GetPidByName(const std::string& processName) in GetPidByName()
91 pid_t pid = -1; in GetPidByName()
105 bool IsTheProcessExist(pid_t pid) in IsTheProcessExist()
/base/web/webview/test/unittest/aafwk_app_client_adapter/
Dnweb_aafwk_adapter_test.cpp62 MOCK_METHOD4(StartRenderProcess, int(const std::string &, int32_t, int32_t, pid_t &));
63 MOCK_METHOD2(GetRenderProcessTerminationStatus, int(pid_t, int &));
109 pid_t renderPid = 0;
130 pid_t renderPid = 0;
173 pid_t red = 1;
197 pid_t red = 1;
221 pid_t red = 1;
238 pid_t renderPid = 0;
249 pid_t red = 1;
/base/powermgr/power_manager/utils/permission/src/
Dpermission.cpp38 pid_t pid = IPCSkeleton::GetCallingPid(); in IsTokenAplMatch()
39 pid_t uid = IPCSkeleton::GetCallingUid(); in IsTokenAplMatch()
102 pid_t pid = IPCSkeleton::GetCallingPid(); in IsSystemHap()
103 pid_t uid = IPCSkeleton::GetCallingUid(); in IsSystemHap()
145 pid_t pid = IPCSkeleton::GetCallingPid(); in IsPermissionGranted()
146 pid_t uid = IPCSkeleton::GetCallingUid(); in IsPermissionGranted()
/base/notification/common_event_service/services/include/
Dpublish_manager.h39 bool CheckIsFloodAttack(pid_t appUid);
43 std::map<pid_t, std::vector<int64_t>> floodAttackAppStatistics_;
/base/web/webview/ohos_adapter/interfaces/
Daafwk_app_mgr_client_adapter.h32 int32_t sharedFd, pid_t &renderPid) = 0;
36 virtual int GetRenderProcessTerminationStatus(pid_t renderPid, int &status) = 0;
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/mock/
Dmock_dfx_thread.h29 virtual pid_t GetThreadId() = 0;
37 MOCK_METHOD0(GetThreadId, pid_t());

12345678