Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 164) sorted by relevance

1234567

/base/hiviewdfx/hidumper/test/innerkits_test/
Dmain.cpp22 static uint64_t GetPss(const int &pid) in GetPss()
28 static uint64_t GetPrivateDirty(const int &pid) in GetPrivateDirty()
34 static uint64_t GetSharedDirty(const int &pid) in GetSharedDirty()
40 static bool GetMemInfo(const int &pid, OHOS::HiviewDFX::MemInfoData::MemInfo &data) in GetMemInfo()
46 static uint64_t GetCpuUsage(const int &pid) in GetCpuUsage()
54 int pid; in main() local
/base/hiviewdfx/hidumper/interfaces/innerkits/
Ddump_usage.cpp41 bool DumpUsage::GetMemInfo(const int &pid, MemInfoData::MemInfo &info) in GetMemInfo()
48 uint64_t DumpUsage::GetPss(const int &pid) in GetPss()
54 uint64_t DumpUsage::GetPrivateDirty(const int &pid) in GetPrivateDirty()
60 uint64_t DumpUsage::GetSharedDirty(const int &pid) in GetSharedDirty()
66 float DumpUsage::GetCpuUsage(const int &pid) in GetCpuUsage()
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
Dlog_catcher_utils.cpp29 int DumpStacktrace(int fd, int pid) in DumpStacktrace()
46 bool ReadCPUInfo(int fd, int pid) in ReadCPUInfo()
54 bool ReadMemoryInfo(int fd, int pid) in ReadMemoryInfo()
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
Dsignal_handler_test.cpp86 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(); variable
194 pid_t pid = fork(); variable
219 pid_t pid = fork(); variable
244 pid_t pid = fork(); variable
/base/hiviewdfx/faultloggerd/example/
Ddump_catcher_demo.cpp41 static NOINLINE int TestFuncRemote(int32_t pid, int32_t tid) in TestFuncRemote()
64 static bool ParseParameters(int argc, char *argv[], int32_t &pid, int32_t &tid) in ParseParameters()
98 int32_t pid = 0; in main() local
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dopen_stacktrace_catcher.cpp37 bool OpenStacktraceCatcher::Initialize(const std::string& packageNam, int pid, int intParam2) in Initialize()
83 inline void OpenStacktraceCatcher::WaitChildPid(pid_t pid) in WaitChildPid()
97 int pid = -1; in ForkAndDumpStackTrace() local
Dpeer_binder_catcher.cpp39 bool PeerBinderCatcher::Initialize(const std::string& strParam1, int pid, int layer) in Initialize()
93 std::set<int> PeerBinderCatcher::GetBinderPeerChainPids(int pid, int layer, int fd) const in GetBinderPeerChainPids()
153 std::set<int> PeerBinderCatcher::GetPeerBinderByLayer (int pid, int layer, in GetPeerBinderByLayer()
189 void PeerBinderCatcher::ParseBinderCallChain(int pid, std::map<int, std::list<BinderInfo>> info, in ParseBinderCallChain() argument
206 std::set<int> PeerBinderCatcher::GetBinderPeerPids(int pid, long layer) const in GetBinderPeerPids()
225 int PeerBinderCatcher::GetMatchBinderPeerInfo(int &pid, int &tid, int &waitTime, std::string &match… in GetMatchBinderPeerInfo()
Devent_log_task.cpp189 int pid = event_->GetEventIntValue("PID"); in AppStackCapture() local
236 int pid = event_->GetEventIntValue("PID"); in PeerBinderCapture() local
253 int pid = event_->GetEventIntValue("PID"); in CpuUtilizationCapture() local
266 int pid = event_->GetEventIntValue("PID"); in MemoryUsageCapture() local
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/test/
Dmain.cpp55 static bool CatchStack(int32_t pid, int32_t tid) in CatchStack()
85 static bool CatchStackFrame(int32_t pid, int32_t tid) in CatchStackFrame()
117 static bool FunctionThree(int32_t pid, int32_t tid) in FunctionThree()
166 static bool FunctionTwo(int32_t pid, int32_t tid) in FunctionTwo()
173 static bool FunctionOne(int32_t pid, int32_t tid) in FunctionOne()
199 int32_t pid = 0; in main() local
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Dprocess_dfx_test.cpp98 pid_t pid = accountmgrPid; variable
135 pid_t pid = 1; variable
155 pid_t pid = 164; variable
175 pid_t pid = 10000; variable
289 pid_t pid = 100; variable
Dprocess_dump_test.cpp667 int32_t pid = 1, tid = 1; variable
684 int32_t pid = 243, tid = 243; variable
701 int32_t pid = 243, tid = 243; variable
716 int32_t pid = 1, tid = 1; variable
732 int32_t pid = 243, tid = 243; variable
749 int32_t pid = 243, tid = 243; variable
765 pid_t pid = GetProcessPid("accountmgr"); variable
786 pid_t pid = GetProcessPid("accountmgr"); variable
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
Ddfx_dump_catcher.cpp82 DfxDumpCatcher::DfxDumpCatcher(int32_t pid) : frameCatcherPid_(pid) in DfxDumpCatcher()
127 bool DfxDumpCatcher::DoDumpLocalPid(int pid, std::string& msg) in DoDumpLocalPid()
175 bool DfxDumpCatcher::DoDumpRemoteLocked(int pid, int tid, std::string& msg) in DoDumpRemoteLocked()
181 bool DfxDumpCatcher::DoDumpLocalLocked(int pid, int tid, std::string& msg) in DoDumpLocalLocked()
207 bool DfxDumpCatcher::DumpCatchMix(int pid, int tid, std::string& msg) in DumpCatchMix()
213 bool DfxDumpCatcher::DumpCatch(int pid, int tid, std::string& msg) in DumpCatch()
235 bool DfxDumpCatcher::DumpCatchFd(int pid, int tid, std::string& msg, int fd) in DumpCatchFd()
245 static int SignalTargetProcess(const int type, int pid, int tid) in SignalTargetProcess()
291 static void LoadPidStat(const int pid, std::string& msg) in LoadPidStat()
299 bool DfxDumpCatcher::DoDumpCatchRemote(const int type, int pid, int tid, std::string& msg) in DoDumpCatchRemote()
[all …]
/base/startup/appspawn_standard/test/moduletest/
Dappspawn_module_test.cpp70 bool readFileInfo(char *buffer, const int32_t &pid, const char *fileName) in readFileInfo()
102 bool checkUid(const int32_t &pid, const AppSpawnStartMsg &params) in checkUid()
123 bool checkGid(const int32_t &pid, const AppSpawnStartMsg &params) in checkGid()
147 std::size_t getGids(const int32_t &pid, std::vector<int32_t> &gids) in getGids()
181 bool checkGids(const int32_t &pid, const AppSpawnStartMsg &params) in checkGids()
193 bool checkGidsCount(const int32_t &pid, const AppSpawnStartMsg &params) in checkGidsCount()
205 bool checkProcName(const int32_t &pid, const AppSpawnStartMsg &params) in checkProcName()
245 bool checkProcessIsDestroyed(const int32_t &pid) in checkProcessIsDestroyed()
269 char pid[BUFFER_SIZE]; in checkAppspawnPID() local
/base/hiviewdfx/hiview/test/moduletest/common/
Dhiview_plugin_platform_module_test.cpp50 int32_t pid = 0; in GetServicePid() local
58 int pid = GetServicePid(serviceName); in WaitForServiceReady() local
/base/sensors/sensor/services/sensor/src/
Dclient_info.cpp97 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled()
125 bool ClientInfo::UpdateAppThreadInfo(int32_t pid, int32_t uid, AccessTokenID callerToken) in UpdateAppThreadInfo()
148 void ClientInfo::DestroyAppThreadInfo(int32_t pid) in DestroyAppThreadInfo()
188 sptr<SensorBasicDataChannel> ClientInfo::GetSensorChannelByPid(int32_t pid) in GetSensorChannelByPid()
230 bool ClientInfo::UpdateSensorInfo(uint32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo) in UpdateSensorInfo()
254 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber()
268 bool ClientInfo::UpdateSensorChannel(int32_t pid, const sptr<SensorBasicDataChannel> &channel) in UpdateSensorChannel()
308 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
332 bool ClientInfo::DestroySensorChannel(int32_t pid) in DestroySensorChannel()
365 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
[all …]
Dsensor_suspend_policy.cpp45 ErrCode SensorSuspendPolicy::DisableSensor(uint32_t sensorId, int32_t pid) in DisableSensor()
87 int64_t maxReportDelayNs, int32_t pid) in SaveSubscriber()
103 ErrCode SensorSuspendPolicy::EnableSensor(uint32_t sensorId, int32_t pid, int64_t samplingPeriodNs, in EnableSensor()
141 std::vector<uint32_t> SensorSuspendPolicy::GetSensorIdByPid(int32_t pid) in GetSensorIdByPid()
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_pipe.cpp129 void FaultLoggerPipeMap::Set(int pid) in Set()
137 FaultLoggerPipe2* FaultLoggerPipeMap::Get(int pid) in Get()
145 void FaultLoggerPipeMap::Del(int pid) in Del()
/base/hiviewdfx/faultloggerd/test/funchook/
Ddfx_func_hook_unittest.cpp56 pid_t pid = fork(); variable
84 pid_t pid = fork(); variable
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dcommon_utils.cpp42 pid_t pid = fork(); in ExecCommand() local
79 std::string GetProcNameByPid(pid_t pid) in GetProcNameByPid()
95 pid_t pid = -1; in GetPidByName() local
/base/hiviewdfx/faultloggerd/tools/dump_catcher/
Dmain.cpp55 static int ParseParamters(int argc, char *argv[], int &type, int32_t &pid, int32_t &tid) in ParseParamters()
121 int32_t pid = 0; in main() local
/base/hiviewdfx/hiview/utility/smart_parser/segment_analysis/
Dsegment_analysis_twolayers.cpp103 int pid = StringUtil::StrToInt(startSeg[0]); in GetStartSegment() local
210 bool SegmentAnalysisTwoLayers::GetNextSegWaitOther(int pid, const UniqSegment& seg, UniqSegment& ne… in GetNextSegWaitOther()
215 bool SegmentAnalysisTwoLayers::GetNextSegIpcTrans(int pid, UniqSegment& seg, UniqSegment& nextSeg) in GetNextSegIpcTrans()
279 bool SegmentAnalysisTwoLayers::GetFirstBlockedIpcSeg(int pid, UniqSegment& seg) in GetFirstBlockedIpcSeg()
300 bool SegmentAnalysisTwoLayers::GetNextSegIpcFull(int pid, const UniqSegment& seg, UniqSegment& next… in GetNextSegIpcFull()
310 int pid = StringUtil::StrToInt(seg->GetValue(SEGMENT_PARENT_ID)); in GetNextSegment() local
330 int pid = StringUtil::StrToInt(seg->GetValue(SEGMENT_PARENT_ID)); in NextSegHasAnalyzed() local
/base/location/location_locator/locator/source/
Dwork_record.cpp37 int pid = parcel.ReadInt32(); in ReadFromParcel() local
146 bool WorkRecord::Add(int uid, int pid, std::string name) in Add()
173 bool WorkRecord::Remove(int uid, int pid, std::string name) in Remove()
249 int pid = workRecord.GetPid(i); in Set() local
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
Dfaultloggerd_client.cpp100 int32_t RequestPipeFd(int32_t pid, int32_t pipeType) in RequestPipeFd()
112 int32_t RequestDelPipeFd(int32_t pid) in RequestDelPipeFd()
218 bool RequestCheckPermission(int32_t pid) in RequestCheckPermission()
241 int RequestSdkDump(int32_t type, int32_t pid, int32_t tid) in RequestSdkDump()
/base/hiviewdfx/faultloggerd/test/systemtest/src/
Dfaultloggerd_system_test.cpp165 pid_t pid = fork(); in ForkAndRunCommands() local
217 bool FaultLoggerdSystemTest::IsDigit(std::string pid) in IsDigit()
246 std::string pid = FaultLoggerdSystemTest::ForkAndRunCommands(cmds, commandStatus); in GetfileNamePrefix() local
258 std::string pid = FaultLoggerdSystemTest::ForkAndRunCommands(cmds, commandStatus); in GetstackfileNamePrefix() local
300 int FaultLoggerdSystemTest::CheckCountNum(std::string& filePath, std::string& pid, std::string& Err… in CheckCountNum()
330 int FaultLoggerdSystemTest::CheckCountNumAbort(std::string& filePath, std::string& pid) in CheckCountNumAbort()
341 int FaultLoggerdSystemTest::CheckCountNumPCZero(std::string& filePath, std::string& pid) in CheckCountNumPCZero()
351 int FaultLoggerdSystemTest::CheckCountNumOverStack(std::string& filePath, std::string& pid) in CheckCountNumOverStack()
361 int FaultLoggerdSystemTest::CheckCountNumMultiThread(std::string& filePath, std::string& pid) in CheckCountNumMultiThread()
388 int FaultLoggerdSystemTest::CheckCountNumStackTop(std::string& filePath, std::string& pid, std::str… in CheckCountNumStackTop()
[all …]
/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp102 bool DumpCommonUtils::IsUserPid(const std::string &pid) in IsUserPid()
136 int pid; in GetUserPids() local
181 bool DumpCommonUtils::GetProcessNameByPid(int pid, std::string& name) in GetProcessNameByPid()
196 bool DumpCommonUtils::GetProcessInfo(int pid, PidInfo &info) in GetProcessInfo()

1234567