Home
last modified time | relevance | path

Searched refs:GetProcessName (Results 1 - 25 of 42) sorted by relevance

12

/base/startup/appspawn/test/moduletest/plugin-sample/
H A Dappspawn_plugin_sample.c47 APPSPAWN_LOGI("TestPlugin pre fork for %{public}s ", GetProcessName(property)); in TestPluginPreFork()
53 APPSPAWN_LOGI("TestPlugin pre reply to client for %{public}s ", GetProcessName(property)); in TestPluginPreReply()
59 APPSPAWN_LOGI("TestPlugin post reply to client for %{public}s ", GetProcessName(property)); in TestPluginPostReply()
65 APPSPAWN_LOGI("TestPlugin pre cold boot for %{public}s ", GetProcessName(property)); in ChildPreColdBoot()
70 APPSPAWN_LOGI("TestPlugin set app property for %{public}s ", GetProcessName(property)); in ChildExecute()
75 APPSPAWN_LOGI("TestPlugin pre reply to parent for %{public}s ", GetProcessName(property)); in ChildPreRely()
80 APPSPAWN_LOGI("TestPlugin post reply to parent for %{public}s ", GetProcessName(property)); in ChildPostRely()
85 APPSPAWN_LOGI("TestPlugin pre child run for %{public}s ", GetProcessName(property)); in ChildPreRun()
/base/startup/appspawn/modules/common/
H A Dappspawn_adapter.cpp53 "No access token in msg %{public}s", GetProcessName(property)); in SetAppAccessToken()
63 "set access token id failed, ret: %{public}d %{public}s", ret, GetProcessName(property)); in SetAppAccessToken()
64 APPSPAWN_LOGV("SetAppAccessToken success for %{public}s", GetProcessName(property)); in SetAppAccessToken()
108 "No domain info in req form %{public}s", GetProcessName(property)); in SetSelinuxCon()
128 "Set domain context failed, ret: %{public}d %{public}s", ret, GetProcessName(property)); in SetSelinuxCon()
129 APPSPAWN_LOGV("SetSelinuxCon success for %{public}s", GetProcessName(property)); in SetSelinuxCon()
201 APPSPAWN_LOGV("SetSeccompFilter success for %{public}s", GetProcessName(property)); in SetSeccompFilter()
211 "No tlv internet permission info in req form %{public}s", GetProcessName(property)); in SetInternetPermission()
H A Dappspawn_common.c68 const char *processName = GetProcessName(property); in SetProcessName()
103 "No tlv %{public}d in msg %{public}s", TLV_DOMAIN_INFO, GetProcessName(property)); in SetKeepCapabilities()
159 const char *processName = GetProcessName(property); in InitDebugParams()
231 "No tlv %{public}d in msg %{public}s", TLV_DAC_INFO, GetProcessName(property)); in SetUidGid()
454 APPSPAWN_LOGV("Spawning: prepare app %{public}s", GetProcessName(property)); in SpawnGetSpawningFlag()
462 APPSPAWN_LOGI("Spawning: prepare app %{public}s, start from begetctl", GetProcessName(property)); in SpawnGetSpawningFlag()
/base/startup/appspawn/modules/asan/
H A Dasan_detector.c120 APPSPAWN_LOGV("Prepare spawn app %{public}s", GetProcessName(property)); in AsanSpawnGetSpawningFlag()
136 APPSPAWN_LOGE("Failed to set asan exec path %{public}s", GetProcessName(property)); in AsanSpawnGetSpawningFlag()
151 APPSPAWN_LOGI("SetAsanEnabledEnv cold start app %{public}s", GetProcessName(property)); in AsanSpawnInitSpawningEnv()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_detector.cpp102 string name = FaultDetectorUtil::GetProcessName(pid); in UpdateUserMonitorInfo()
151 HIVIEW_LOGW("process: %{public}s already died, set state.", userMonitorInfo->GetProcessName().c_str()); in RemoveInvalidLeakedPid()
171 pid, it->second->GetProcessName().c_str()); in RemoveInvalidUserInfo()
176 processedPids_.insert(make_pair(it->second->GetProcessName(), now)); in RemoveInvalidUserInfo()
274 auto it2 = processedPids_.find(it->second->GetProcessName()); in DoProcessNativeLeak()
306 HIVIEW_LOGI("monitor process: %{public}s memory leaked", monitorInfo->GetProcessName().c_str()); in AddMonitorToList()
317 const string &name = userMonitorInfo->GetProcessName(); in ExeNextStateProcess()
373 string fullName = FaultDetectorUtil::GetProcessName(pid); in ProcessUserEvent()
395 if (it2->second->GetProcessName() == name) { in ProcessUserEvent()
H A Dnative_leak_state.cpp150 userMonitorInfo->GetProcessName().c_str(), userMonitorInfo->GetPid(), static_cast<uint32_t>(pssMemoryKb)); in CollectUserBaseInfo()
317 fout << "\tprocessName: " << userMonitorInfo->GetProcessName() << endl; in DumpGeneralInfo()
365 HIVIEW_LOGI("process %{public}s write detail statisitics finished", userMonitorInfo->GetProcessName().c_str()); in DumpDetailInfo()
385 userMonitorInfo->GetProcessName().c_str(), ret); in DumpStackInfo()
390 HIVIEW_LOGI("process %{public}s write stack statisitics finished", userMonitorInfo->GetProcessName().c_str()); in DumpStackInfo()
407 fout << "processName:\t" << userMonitorInfo->GetProcessName() << endl; in DumpUserMemInfo()
492 + "processName:\t" + userMonitorInfo->GetProcessName() + "\n" in DumpUserMemInfoToSmapsFile()
541 HIVIEW_LOGE("process %{public}s has died, stop get native log.", userMonitorInfo->GetProcessName().c_str()); in LaunchMemoryDebug()
636 info.bundleName = userMonitorInfo->GetProcessName(); in PostEvent()
H A Dnative_leak_util.cpp57 string newPath = path + "/" + userMonitorInfo->GetProcessName() + "_died"; in RemoveInvalidFile()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_manager.c550 APPSPAWN_CHECK(appSandbox != NULL, return -1, "Failed to get sandbox for %{public}s", GetProcessName(property)); in SpawnBuildSandboxEnv()
577 "No tlv %{public}d in msg %{public}s", TLV_DAC_INFO, GetProcessName(property)); in AppendPermissionGid()
579 APPSPAWN_LOGV("AppendPermissionGid %{public}s", GetProcessName(property)); in AppendPermissionGid()
592 permissionNode->section.name, permissionNode->section.gidTable[0], GetProcessName(property)); in AppendPermissionGid()
597 GetProcessName(property), dacInfo->gidCount, permissionNode->section.gidCount); in AppendPermissionGid()
604 permissionNode->section.name, GetProcessName(property)); in AppendPermissionGid()
618 "No tlv %{public}d in msg %{public}s", TLV_DAC_INFO, GetProcessName(property)); in AppendPackageNameGids()
621 (SandboxPackageNameNode *)GetSandboxSection(&sandbox->packageNameQueue, GetProcessName(property)); in AppendPackageNameGids()
629 GetProcessName(property), in AppendPackageNameGids()
639 GetProcessName(propert in AppendPackageNameGids()
[all...]
/base/hiviewdfx/faultloggerd/common/cutil/
H A Ddfx_cutil.h35 AT_SYMBOL_HIDDEN bool GetProcessName(char* buffer, size_t bufferSz);
H A Ddfx_cutil.c87 bool GetProcessName(char* buffer, size_t bufferSz) in GetProcessName() function
H A Dmusl_cutil.h87 bool GetProcessName(char* buffer, size_t bufferSz) in GetProcessName() function
/base/hiviewdfx/hiview/framework/native/unified_collection/process/include/
H A Dprocess_status.h42 std::string GetProcessName(int32_t pid);
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/
H A Dnative_token_info_inner.h50 std::string GetProcessName() const;
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dvendor.cpp124 std::string processName = StringUtil::TrimStr(watchPoint.GetProcessName()); in SendFaultLog()
165 oss << FreezeCommon::EVENT_PROCESS_NAME << std::string(COLON) << watchPoint.GetProcessName() << std::endl; in DumpEventInfo()
205 FreezeJsonUtil::WriteKeyValue(jsonFd, "process_name", watchPoint.GetProcessName()); in MergeFreezeJsonFile()
228 std::string processName = StringUtil::TrimStr(watchPoint.GetProcessName()); in InitLogInfo()
H A Dresolver.cpp60 watchPoint.GetProcessName() : watchPoint.GetPackageName(); in ResolveEvent()
H A Dwatch_point.h77 std::string GetProcessName() const;
H A Dwatch_point.cpp187 std::string WatchPoint::GetProcessName() const in GetProcessName() function in OHOS::HiviewDFX::WatchPoint
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchSceneDataProcessor.h80 std::string GetProcessName(const AppStartRecord& record);
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_util.h61 static std::string GetProcessName(int32_t pid);
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/base/
H A Dfault_info_base.h40 std::string GetProcessName() const in GetProcessName() function in OHOS::HiviewDFX::FaultInfoBase
/base/hiviewdfx/faultloggerd/test/unittest/common/
H A Dcommon_cutil_test.cpp50 ASSERT_TRUE(GetProcessName(processName, sizeof(processName))); in HWTEST_F()
/base/hiviewdfx/faultloggerd/frameworks/localhandler/
H A Ddfx_signal_local_handler.cpp107 GetProcessName(g_request.processName, sizeof(g_request.processName)); in DFX_SignalLocalHandler()
/base/startup/appspawn/standard/
H A Dappspawn_service.c217 APPSPAWN_LOGI("Kill process, pid: %{public}d app: %{public}s", ctx->pid, GetProcessName(ctx)); in AppSpawningCtxOnClose()
516 char *buffer = GetMapMem(property->client.id, GetProcessName(property), memSize, false, isNweb); in WriteMsgToChild()
518 "Failed to map memory error %{public}d fileName %{public}s ", errno, GetProcessName(property)); in WriteMsgToChild()
526 APPSPAWN_LOGE("Failed to copy msg fileName %{public}s ", GetProcessName(property)); in WriteMsgToChild()
940 GetProcessName(property), property->pid, property->client.id); in WaitChildDied()
962 GetProcessName(property), property->pid, property->client.id); in WaitChildTimeout()
978 GetProcessName(property), property->pid, property->client.id, result); in ProcessChildFdCheck()
1119 APPSPAWN_LOGI("ColdStartApp::processName: %{public}s path: %{public}s", GetProcessName(property), path); in AppSpawnColdStartApp()
1122 APPSPAWN_LOGV("Write msg to child %{public}s", GetProcessName(property)); in AppSpawnColdStartApp()
1141 "-param", GetProcessName(propert in AppSpawnColdStartApp()
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/process/
H A Dprocess_status.cpp33 std::string ProcessStatus::GetProcessName(int32_t pid) in GetProcessName() function in OHOS::HiviewDFX::UCollectUtil::ProcessStatus
/base/security/access_token/services/accesstokenmanager/test/unittest/
H A Dnative_token_receptor_test.cpp109 ASSERT_EQ("process6", tokenInfos[0]->GetProcessName()); in HWTEST_F()
112 ASSERT_EQ("process5", tokenInfos[1]->GetProcessName()); in HWTEST_F()
318 ASSERT_EQ(native->GetProcessName(), info.processName); in HWTEST_F()

Completed in 16 milliseconds

12