Home
last modified time | relevance | path

Searched refs:procName (Results 1 – 20 of 20) sorted by relevance

/base/hiviewdfx/hiview/base/event_report/cache/
Dhiview_event_cacher.cpp43 void HiviewEventCacher::UpdatePluginStatsEvent(const std::string &name, const std::string &procName in UpdatePluginStatsEvent() argument
51 event->Update(KEY_OF_PROC_NAME, procName); in UpdatePluginStatsEvent()
56 event->Update(KEY_OF_PROC_NAME, procName); in UpdatePluginStatsEvent()
/base/hiviewdfx/hiview/base/event_report/
Dhiview_event_report.cpp71 void HiviewEventReport::UpdatePluginStats(const std::string &name, const std::string &procName, uin… in UpdatePluginStats() argument
74 name.c_str(), procName.c_str(), procTime); in UpdatePluginStats()
75 HiviewEventCacher::GetInstance().UpdatePluginStatsEvent(name, procName, procTime); in UpdatePluginStats()
/base/security/device_auth/test/fuzztest/devauthcb_fuzzer/
Ddevauthcb_fuzzer.cpp38 static void NativeTokenSet(const char *procName) in NativeTokenSet() argument
53 .processName = procName, in NativeTokenSet()
/base/security/device_auth/test/fuzztest/devauth_fuzzer/
Ddevauth_fuzzer.cpp38 static void NativeTokenSet(const char *procName) in NativeTokenSet() argument
53 .processName = procName, in NativeTokenSet()
/base/startup/appspawn/test/moduletest/
Dappspawn_module_test.cpp221 char procName[BUFFER_SIZE]; in checkProcName() local
222 if (fgets(procName, sizeof(procName), fp) != nullptr) { in checkProcName()
223 for (unsigned int i = 0; i < sizeof(procName); i++) { in checkProcName()
224 if (procName[i] == '\n') { in checkProcName()
225 procName[i] = '\0'; in checkProcName()
230 << " :" << strcmp(params.procName.c_str(), procName) << "."; in checkProcName()
232 … if (params.procName.compare(0, params.procName.size(), procName, params.procName.size()) == 0) { in checkProcName()
236 …ror(LABEL, " procName=%{public}s, params.procName=%{public}s.", procName, params.procName.c_str()); in checkProcName()
436 GTEST_LOG_(INFO) << "AppSpawn_HF_fork_002 start " << params.procName.size();
/base/hiviewdfx/hiview/base/event_report/test/unittest/common/
Devent_report_unit_test.cpp126 const std::string procName = "TEST_PROC_NAME"; variable
136 HiviewEventReport::UpdatePluginStats(name, procName, retCode);
/base/hiviewdfx/hiview/base/event_report/include/
Dhiview_event_report.h31 …static void UpdatePluginStats(const std::string &name, const std::string &procName, uint32_t procT…
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dasan_collector.cpp66 curr_.procName = "0"; in AsanCollector()
208 curr_.procName = GetApplicationNameById(curr_.uid); in CalibrateErrTypeProcName()
209 curr_.appVersion = GetApplicationVersion(curr_.uid, curr_.procName); in CalibrateErrTypeProcName()
246 curr_.procName = captured[PROCNAME_FIELD].str(); in ReadRecordToString()
Dzip_helper.cpp199 std::string name = params->procName; in CalcCollectedLogName()
201 name = params->procName.substr(params->procName.find_last_of("/") + 1); in CalcCollectedLogName()
242 "Process name:" + params->procName + "\n" + in WriteNewFile()
Dreporter.h54 std::string procName; member
/base/hiviewdfx/hiview/base/event_report/cache/include/
Dhiview_event_cacher.h34 …void UpdatePluginStatsEvent(const std::string &name, const std::string &procName, uint32_t procTim…
/base/location/test/mock/include/
Dmock_if_system_ability_manager.h44 …MOCK_METHOD(int32_t, AddSystemProcess, (const std::u16string& procName, const sptr<IRemoteObject>&…
/base/account/os_account/services/accountmgr/test/mock/src/
Dmock_service_registry.cpp136 const std::u16string& procName, const sptr<IRemoteObject>& procObject) in AddSystemProcess() argument
/base/security/access_token/services/test/mock/aafwk/
Dmock_service_registry.cpp179 const std::u16string& procName, const sptr<IRemoteObject>& procObject) in AddSystemProcess() argument
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp169 std::string procName; in IsHidumperClientProcess() local
170 if (DumpCommonUtils::GetProcessNameByPid(pid, procName)) { in IsHidumperClientProcess()
171 ret = (procName.find("hidumper") != std::string::npos); in IsHidumperClientProcess()
174 …E_COMMON, "debug|ret=%{public}d, pid=%{public}d, procName=%{public}s", ret, pid, procName.c_str()); in IsHidumperClientProcess()
/base/location/test/mock/src/
Dmock_service_registry.cpp173 const std::u16string& procName, const sptr<IRemoteObject>& procObject) in AddSystemProcess() argument
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dmemory_info.cpp497 string procName = "unknown"; in GetProcName() local
501 return procName; in GetProcName()
506 return procName; in GetProcName()
508 procName = cmdResult.at(0).substr(names[0].length() + 1); in GetProcName()
509 return procName; in GetProcName()
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp724 std::string procName = TimeFileUtils::GetNameByPid(pid); in CheckAllowWhileIdle() local
732 …[procName](const DevStandbyMgr::AllowInfo &allowInfo) { return allowInfo.GetName() == procName; }); in CheckAllowWhileIdle()
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp791 std::string procName = CommonUtils::GetProcNameByPid(pid); in ExitHiviewIfNeed() local
792 if (procName == "hiview") { in ExitHiviewIfNeed()
/base/security/device_auth/test/unittest/deviceauth/source/
Ddevice_auth_ipc_test.cpp105 static void NativeTokenSet(const char *procName) in NativeTokenSet() argument
120 .processName = procName, in NativeTokenSet()