Home
last modified time | relevance | path

Searched refs:search (Results 1 - 22 of 22) sorted by relevance

/base/hiviewdfx/hidumper/test/scripts/testModule/
H A Dtest_base_command.py23 ret = re.search("BuildId: (.+?) [\d].[\d].[\d].[\d]", output)
28 ret = re.search("OsVersion: (.+?)[\d].[\d].[\d].[\d]", output)
33 ret = re.search("/proc/version\n\n([^\n]+\n)+\n", output)
38 ret = re.search("/proc/cmdline\n\n([^\n]+\n)+\n", output)
43 ret = re.search("/sys/kernel/debug/wakeup_sources\n\n([^\n]+\n){4,}", output)
48 ret = re.search("cmd is: uptime -p\n(\n[^\n]+)\n", output)
53 ret = re.search("cmd is: printenv\n\n([^\n]+){4,}\n", output)
58 ret = re.search("/proc/modules\n\n([^\n]+)\n", output)
63 ret = re.search("cmd is: lsmod\n\n([^\n]+)\n", output)
68 ret = re.search("/pro
[all...]
H A Dtest_storage.py22 result = re.search("cmd is: df -k\n\n([^\n]+\n){4,}", output)
27 result = re.search("cmd is: lsof\n\n([^\n]+\n){4,}", output)
32 result = re.search("cmd is: iotop -n 1 -m 100\n([^\n]+\n){4,}", output)
37 result = re.search("/proc/mounts\n\n([^\n]+\n){4,}", output)
45 result = re.search("storage io", output)
H A Dtest_net.py21 result = re.search("Received Bytes:\d+\nSent Bytes:\d+\n", output)
26 result = re.search("Proto RefCnt Flags\s+Type\s+State\s+I-Node Path\n([^\n]+\n){4,}", output)
31 result = re.search("face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compresse\n([^\n]+\n){4,}", output)
36 result = re.search("cmd is: ifconfig -a\n\n([^\n]+){4,}\n", output)
H A Dtest_cpu.py21 ret = re.search("PID Total Usage User Space Kernel Space Page Fault Minor Page Fault Major Name\n([^\n]+\n){4,}", output)
25 ret = re.search("PID Total Usage User Space Kernel Space Page Fault Minor Page Fault Major Name\n([^\n]+\n){1,}", output)
29 ret = re.search("cmd is: cat /sys/devices/system/cpu/cpu\d/cpufreq/cpuinfo_cur_freq\n\n\d+", output)
H A Dtest_sa.py25 result1 = re.search(r"-+HiviewService-+\n([^\n]+){4,}", output)
26 result2 = re.search(r"-+HiDumperService-+", output, re.DOTALL)
31 result = re.search(r"-+WindowManagerService-+\n([^\n]+){4,}", output)
H A Dtest_permission.py28 if re.search(r"\d", line) is None:
30 key = re.search(r'(/|\[|[a-zA-Z])(.*$)', line)
43 ret = re.search(r"\s([a-zA-Z0-9]{8,})\s", output)
48 result = re.search("UID\s+PID\s+TID PPID TCNT STIME TTY\s+TIME CMD\n([^\n]+\n){1,}", output)
53 result = re.search("/proc/\d+/mountinfo\n\n([^\n]+\n){4,}", output)
57 result = re.search(r"/proc/\d+/maps", output)
H A Dtest_memory.py37 if re.search(r"\d", line) is None:
39 key = re.search(r'\s*([a-zA-Z.]+(?:\s+[a-zA-Z.]+)*)\s*', line).group(1).strip();
82 graph = re.search(r"Graph\((\d+) kB\)", output).group(1)
83 dma = re.search(r"DMA\((\d+) kB\)", output).group(1)
H A Dtest_ipc.py21 result = re.search("CurrentPid:\d+\nTotalCount:\d+\nTotalTimeCost:\d+", output)
H A Dutils.py100 zipSourceFile = re.search("The result is:(.+)", output).group(1).strip()
/base/request/request/services/tests/
H A Dsearch.rs37 let v = agent.search(current, current - 3000, State::Any, Action::Any, Mode::Any); in sdv_search_user()
39 let v = agent.search(current + 3000, current, State::Any, Action::Any, Mode::Any); in sdv_search_user()
41 let v = agent.search( in sdv_search_user()
49 let v = agent.search( in sdv_search_user()
57 let v = agent.search( in sdv_search_user()
66 let v = agent.search( in sdv_search_user()
/base/request/request/services/src/service/command/
H A Dsearch.rs22 pub(crate) fn search(&self, data: &mut MsgParcel, reply: &mut MsgParcel) -> IpcResult<()> {
23 info!("Service search");
27 debug!("Service system api search: bundle name is {}", bundle);
31 debug!("Service user search: uid is {}", uid);
36 debug!("Service search: before is {}", before);
38 debug!("Service search: after is {}", after);
40 debug!("Service search: state is {}", state);
42 debug!("Service search: action is {}", action);
44 debug!("Service search: mode is {}", mode);
54 let ids = query::search(filte
[all...]
H A Dmod.rs23 mod search; modules
/base/customization/config_policy/frameworks/config_policy/src/
H A Dconfig_policy_utils.c196 char *search = (char *)calloc(bufSize, sizeof(char)); in GetFollowXRule() local
197 if (search == NULL || sprintf_s(search, bufSize, ":%s,", relPath) == -1) { in GetFollowXRule()
198 FreeIf(search); in GetFollowXRule()
204 char *item = strstr(followRule, search); in GetFollowXRule()
231 FreeIf(search); in GetFollowXRule()
/base/global/i18n/tools/
H A Ddata_process.py35 loc = re.search(loc_pattern, line).group()
36 tz = re.search(tz_pattern, line).group()
/base/security/selinux_adapter/scripts/selinux_check/
H A Dcheck_data_regex.py40 return re.search(r'[\$\(\)\*\+\.\[\]\?\\\^\{\}\|]', replace_str)
/base/global/i18n/frameworks/intl/src/
H A Dphone_number_format.cpp116 auto search = options.find("type"); in PhoneNumberFormat() local
117 if (search != options.end()) { in PhoneNumberFormat()
118 type = search->second; in PhoneNumberFormat()
/base/telephony/sms_mms/services/mms/
H A Dmms_network_client.cpp466 auto search = capabilities.netCaps_.find(NetCap::NET_CAPABILITY_MMS); in GetIfaceName() local
467 if (search == capabilities.netCaps_.end()) { in GetIfaceName()
/base/request/request/services/src/manage/
H A Dquery.rs33 pub(crate) fn search(filter: TaskFilter, method: SearchMethod) -> Vec<u32> {
/base/request/request/services/src/service/
H A Dstub.rs86 interface::SEARCH => self.search(data, reply), in on_remote_request()
/base/hiviewdfx/hicollie/frameworks/native/
H A Dwatchdog_inner.cpp861 auto search = map.find(taskId); in FfrtCallback() local
862 if (search != map.end()) { in FfrtCallback()
/base/request/request/test/rustest/src/
H A Dlib.rs246 pub fn search( in search() functions
/base/startup/init/services/modules/seccomp/scripts/
H A Dgenerate_code_from_policy.py175 s = re.search(r"libsyscall_to_nr_([^/]+)", file_name)

Completed in 11 milliseconds