/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_thread.h | 32 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_;
|
D | dfx_process.h | 33 …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; 53 void SetPid(pid_t pid); 55 void SetRecycleTid(pid_t nstid); 56 void SetNsPid(pid_t pid); 63 pid_t pid_ = 0; 64 pid_t nsPid_ = 0; 66 pid_t recycleTid_ = 0;
|
D | dfx_process.cpp | 53 std::shared_ptr<DfxProcess> DfxProcess::CreateProcessWithKeyThread(pid_t pid, std::shared_ptr<DfxTh… in CreateProcessWithKeyThread() 98 void DfxProcess::SetRecycleTid(pid_t nstid) in SetRecycleTid() 126 pid_t tid = atoi(ent->d_name); in InitOtherThreads() 131 pid_t nstid = tid; in InitOtherThreads() 147 void DfxProcess::InsertThreadNode(pid_t tid, pid_t nsTid, bool attach) in InsertThreadNode() 209 pid_t DfxProcess::GetPid() const in GetPid() 239 void DfxProcess::SetPid(pid_t pid) in SetPid() 249 void DfxProcess::SetNsPid(pid_t pid) in SetNsPid() 254 pid_t DfxProcess::GetNsPid() const in GetNsPid()
|
D | dfx_thread.cpp | 36 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()
|
/base/notification/ans_standard/services/ans/test/unittest/mock/ |
D | mock_ipc.cpp | 23 pid_t uid_ = 1; 25 pid_t IPCSkeleton::GetCallingUid() in GetCallingUid() 30 pid_t IPCSkeleton::GetCallingPid() in GetCallingPid() 35 void IPCSkeleton::SetCallingUid(pid_t uid) in SetCallingUid()
|
/base/location/location_locator/locator/include/ |
D | request.h | 30 pid_t GetUid(); 31 pid_t GetPid(); 35 void SetUid(pid_t uid); 36 void SetPid(pid_t pid); 49 pid_t uid_; 50 pid_t pid_;
|
D | locator_ability.h | 66 void RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid) override; 68 void RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) override; 70 void RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) override; 73 sptr<ILocatorCallback>& callback, std::string bundleName, pid_t pid, pid_t uid) override; 118 std::unique_ptr<std::map<pid_t, sptr<ISwitchCallback>>> switchCallbacks_;
|
/base/security/selinux/interfaces/policycoreutils/include/ |
D | service_checker.h | 41 int ListServiceCheck(const pid_t &callingPid); 43 int GetServiceCheck(const pid_t &callingPid, const std::string &serviceName); 45 int GetRemoteServiceCheck(const pid_t &callingPid, const std::string &remoteServiceName); 47 int AddServiceCheck(const pid_t &callingPid, const std::string &serviceName); 53 int CheckPerm(const pid_t &callingPid, const std::string &serviceName, std::string action);
|
/base/startup/init_lite/services/init/adapter/ |
D | init_adapter.c | 64 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/notification/ans_standard/services/ans/test/unittest/mock/include/ |
D | mock_ipc_skeleton.h | 36 static pid_t GetCallingPid(); 38 static pid_t GetCallingUid(); 58 static void SetCallingUid(pid_t uid);
|
/base/location/interfaces/innerkits/locator_standard/include/ |
D | locator_proxy.h | 40 void RegisterSwitchCallback(const sptr<IRemoteObject> &callback, pid_t uid) override; 42 void RegisterGnssStatusCallback(const sptr<IRemoteObject> &callback, pid_t uid) override; 44 void RegisterNmeaMessageCallback(const sptr<IRemoteObject> &callback, pid_t uid) override; 47 sptr<ILocatorCallback>& callback, std::string bundleName, pid_t pid, pid_t uid) override;
|
D | i_locator.h | 63 virtual void RegisterSwitchCallback(const sptr<IRemoteObject> &callback, pid_t uid) = 0; 65 virtual void RegisterGnssStatusCallback(const sptr<IRemoteObject> &callback, pid_t uid) = 0; 67 virtual void RegisterNmeaMessageCallback(const sptr<IRemoteObject> &callback, pid_t uid) = 0; 70 sptr<ILocatorCallback>& callback, std::string bundleName, pid_t pid, pid_t uid) = 0;
|
D | location_switch_callback_host.h | 40 pid_t m_lastCallingPid; 41 pid_t m_lastCallingUid;
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/ |
D | process_dfx_test.cpp | 45 pid_t ProcessDfxTest::GetAccountmgrPid() in GetAccountmgrPid() 56 pid_t accountmgrPid = 0; in GetAccountmgrPid() 92 pid_t accountmgrPid = ProcessDfxTest::GetAccountmgrPid(); 98 pid_t pid = accountmgrPid; 99 pid_t tid = accountmgrPid; 135 pid_t pid = 1; 155 pid_t pid = 164; 175 pid_t pid = 10000; 289 pid_t pid = 100; 290 pid_t tid = 100;
|
/base/notification/ces_standard/services/ces/include/ |
D | publish_manager.h | 32 bool CheckIsFloodAttack(pid_t appUid); 35 std::map<pid_t, std::vector<int64_t>> floodAttackAppStatistics_;
|
D | inner_common_event_manager.h | 33 …const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, con… 38 …const sptr<IRemoteObject> &commonEventListener, const struct tm &recordTime, const pid_t &pid, con… 60 …bool CheckUserId(const pid_t &pid, const uid_t &uid, const Security::AccessToken::AccessTokenID &c…
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | service_checker.cpp | 38 pid_t pid; 178 static int GetCallingContext(const pid_t &pid, std::string &context) in GetCallingContext() 204 int ServiceChecker::CheckPerm(const pid_t &callingPid, const std::string &serviceName, std::string … in CheckPerm() 239 int ServiceChecker::ListServiceCheck(const pid_t &callingPid) in ListServiceCheck() 244 int ServiceChecker::GetServiceCheck(const pid_t &callingPid, const std::string &serviceName) in GetServiceCheck() 249 int ServiceChecker::GetRemoteServiceCheck(const pid_t &callingPid, const std::string &remoteService… in GetRemoteServiceCheck() 258 int ServiceChecker::AddServiceCheck(const pid_t &callingPid, const std::string &serviceName) in AddServiceCheck()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | aafwk_app_mgr_client_adapter.h | 32 int32_t sharedFd, pid_t &renderPid) = 0; 36 virtual int GetRenderProcessTerminationStatus(pid_t renderPid, int &status) = 0;
|
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
D | signal_handler_test.cpp | 86 static string GetCppCrashFileName(pid_t pid) in GetCppCrashFileName() 138 static bool CheckLocalCrashKeyWords(const string& filePath, pid_t pid, int sig) in CheckLocalCrashKeyWords() 169 pid_t pid = fork(); 194 pid_t pid = fork(); 219 pid_t pid = fork(); 244 pid_t pid = fork();
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/mock/ |
D | mock_dfx_thread.h | 29 virtual pid_t GetThreadId() = 0; 37 MOCK_METHOD0(GetThreadId, pid_t());
|
/base/location/location_gnss/gnss/include/ |
D | gnss_ability.h | 58 void RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid) override; 60 void RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid) override; 89 std::unique_ptr<std::map<pid_t, sptr<IGnssStatusCallback>>> gnssStatusCallback_; 90 std::unique_ptr<std::map<pid_t, sptr<INmeaMessageCallback>>> nmeaCallback_;
|
/base/web/webview/ohos_adapter/aafwk_adapter/include/ |
D | aafwk_app_mgr_client_adapter_impl.h | 33 …int StartRenderProcess(const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, pid_t &ren… 37 int GetRenderProcessTerminationStatus(pid_t renderPid, int &status) override;
|
/base/location/location_locator/locator/source/ |
D | request.cpp | 60 void Request::SetUid(pid_t uid) in SetUid() 65 pid_t Request::GetUid() in GetUid() 70 void Request::SetPid(pid_t pid) in SetPid() 75 pid_t Request::GetPid() in GetPid()
|
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/ |
D | common_utils.cpp | 42 pid_t pid = fork(); in ExecCommand() 79 std::string GetProcNameByPid(pid_t pid) in GetProcNameByPid() 93 pid_t GetPidByName(const std::string& processName) in GetPidByName() 95 pid_t pid = -1; in GetPidByName()
|
/base/notification/ans_standard/services/ans/test/unittest/ |
D | bundle_manager_helper_test.cpp | 43 pid_t callingUid = IPCSkeleton::GetCallingUid(); 55 pid_t callingUid = IPCSkeleton::GetCallingUid();
|