Home
last modified time | relevance | path

Searched refs:process_name (Results 1 - 10 of 10) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/
H A Dlib.rs47 let mut process_name = binding.as_str(); in read_process_name() variables
48 if process_name.find('\0').is_some() { in read_process_name()
49 (process_name, _) = process_name.split_at(process_name.find('\0').unwrap()); in read_process_name()
51 if process_name.rfind('/').is_some() { in read_process_name()
52 (_, process_name) = process_name.split_at(process_name.rfind('/').unwrap() + 1); in read_process_name()
54 process_name in read_process_name()
[all...]
/base/security/asset/services/common/src/
H A Dprocess_info.rs41 process_name: *mut u8,
49 fn init(user_id: u32, uid: u32, process_name: &mut Vec<u8>, app_id: &mut Vec<u8>) -> Self { in init()
53 process_name: process_name.as_mut_ptr(), in init()
54 process_name_len: process_name.len() as u32, in init()
106 pub process_name: Vec<u8>,
117 let mut process_name = vec![0u8; 256]; in build() variables
119 let mut process_info_ffi = ProcessInfoFfi::init(user_id, uid as u32, &mut process_name, &mut app_id); in build()
122 process_name.truncate(process_info_ffi.process_name_len as usize); in build()
141 process_name, in build()
[all...]
H A Dcalling_info.rs57 owner_info.append(&mut process_info.process_name.clone()); in build()
97 let process_name = "test_process".as_bytes().to_vec(); in test_build_callig_info_specific_and_hap()
103 process_name, in test_build_callig_info_specific_and_hap()
116 let process_name = "test_process".as_bytes().to_vec(); in test_build_callig_info_hap()
123 process_name, in test_build_callig_info_hap()
135 let process_name = "test_process".as_bytes().to_vec(); in test_build_callig_info_native()
141 process_name, in test_build_callig_info_native()
154 let process_name = "test_process".as_bytes().to_vec(); in test_build_callig_info_specific_and_native()
160 process_name, in test_build_callig_info_specific_and_native()
/base/sensors/sensor/test/unittest/common/include/
H A Dsystem_info.h32 virtual double GetProcCpuUsage(const std::string &process_name);
38 double GetProcCpuUsage(const std::string &process_name);
39 int32_t GetTaskPidFile(const std::string &process_name);
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/
H A Dmacros.rs64 ($process_name:literal, $trace_flag:expr) => {
65 hitracechain::begin($process_name, $trace_flag as i32);
/base/sensors/sensor/test/unittest/common/src/
H A Dsystem_info.cpp47 int32_t CpuInfo::GetTaskPidFile(const std::string &process_name) in GetTaskPidFile() argument
79 if ((strLine.find(process_name)) == std::string::npos) { in GetTaskPidFile()
208 double CpuInfo::GetProcCpuUsage(const std::string &process_name) in GetProcCpuUsage() argument
214 int32_t pid = GetTaskPidFile(process_name); in GetProcCpuUsage()
/base/security/asset/test/unittest/module_test/src/crypto_manager/
H A Dlib.rs33 process_name: *const c_char,
54 process_name: name.as_ptr(), in grant_self_permission()
/base/hiviewdfx/hiview/base/utility/include/
H A Dfreeze_json_util.h67 "process_name",
90 std::string process_name = ""; member
/base/hiviewdfx/hiview/base/utility/
H A Dfreeze_json_util.cpp110 if (!collectMap["process_name"].empty()) { in FormatCollect()
111 jsonCollector.process_name = collectMap["process_name"].front(); in FormatCollect()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
H A Dfaultlogger.cpp1103 .InitProcessName(collector.process_name) in ReportAppFreezeToAppEvent()

Completed in 9 milliseconds