Home
last modified time | relevance | path

Searched refs:log_info (Results 1 – 17 of 17) sorted by relevance

/aosp12/system/logging/logwrapper/
H A Dlogwrap.cpp94 struct log_info { struct
157 static void do_log_line(struct log_info* log_info, const char* line) { in do_log_line() argument
164 if (log_info->fp) { in do_log_line()
172 static void log_line(struct log_info* log_info, char* line, int len) { in log_line() argument
187 static void print_buf_lines(struct log_info* log_info, char* buf, int buf_size) { in print_buf_lines() argument
246 static void print_abbr_buf(struct log_info* log_info) { in print_abbr_buf() argument
341 struct log_info log_info = {}; in parent() local
355 if (!log_info.btag) { in parent()
356 log_info.btag = tag; in parent()
513 if (log_info.fp) { in parent()
[all …]
/aosp12/system/sepolicy/tools/
H A Dcheck_seapp.c619 log_info("Rule map cmp MATCH\n"); in rule_map_cmp()
625 log_info("Rule map cmp INPUT MATCH\n"); in rule_map_cmp()
632 log_info("Rule map cmp NO MATCH\n"); in rule_map_cmp()
815 log_info("Validating keys!\n"); in rule_map_new()
893 log_info("Using stdin for input\n"); in init()
976 log_info("Policy file set to: \"%s\"\n", in init()
1067 log_info("Existing entry found!\n"); in rule_add()
1132 log_info("Got line %zu\n", lineno); in parse_file()
1304 log_info("Freeing lists\n"); in cleanup()
1319 log_info("Starting to parse\n"); in main()
[all …]
/aosp12/system/extras/simpleperf/scripts/inferno/
H A Dinferno.py44 from simpleperf_utils import log_exit, log_fatal, log_info, AdbHelper, open_report_in_browser
81 log_info("Using event sampling (-c %s -e %s)." % (num_events, event_name))
84 log_info("Using frequency sampling (-f %d)." % args.sample_frequency)
152 log_info("Parsed %s callchains." % process.num_samples)
333 log_info("Starting data collection stage for '%s'." % process.name)
368 log_info("Flamegraph generated at '%s'." % report_path)
/aosp12/system/extras/simpleperf/scripts/
H A Dapi_profiler.py36 from simpleperf_utils import AdbHelper, get_target_binary_path, log_exit, log_info, remove
87 log_info('There are %d recording data files.' % len(names))
89 log_info('recording file: %s' % os.path.join(args.out_dir, name))
H A Dapp_profiler.py34 log_info, log_exit, ReadElf, remove, set_log_level, str_to_bytes)
204 log_info('prepare profiling')
206 log_info('start profiling')
209 log_info('collect profiling data')
211 log_info('profiling is finished.')
242 log_info('run adb cmd: %s' % adb_args)
360 log_info('Waiting for native process %s' % self.args.native_program)
H A Dbinary_cache_builder.py32 from simpleperf_utils import (AdbHelper, extant_dir, extant_file, flatten_arg_list, log_info,
133 log_info('copy to binary_cache: %s to %s' % (from_path, target_file))
181 log_info('pull file to binary_cache: %s to %s' % (binary, binary_cache_file))
184 log_info('use current file in binary_cache: %s' % binary_cache_file)
H A Dannotate.py29 Addr2Nearestline, BinaryFinder, extant_dir, flatten_arg_list, is_windows, log_exit, log_info,
409 log_info('annotate file %s' % from_path)
481 log_info('annotate finish successfully, please check result in annotated_files/.')
H A Dpprof_proto_generator.py33 flatten_arg_list, log_info, log_exit, ReadElf, ToolFinder)
482 log_info("Can't generate line information because binary_cache is missing.")
485 log_info("Can't generate line information because can't find llvm-symbolizer.")
H A Dreport_html.py32 Addr2Nearestline, ArgParseFormatter, BinaryFinder, get_script_dir, log_exit, log_info, Objdump,
804 log_info('Disassemble %s' % dso_info[0])
1040 log_info("Report generated at '%s'." % args.report_path)
H A Dsimpleperf_utils.py63 def log_info(msg: str): function
363 log_info('unroot adb')
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DResourceMapping.cpp119 LogInfo& log_info) { in FromContainers() argument
129 log_info.Warning(LogMessage() << target_resid.GetErrorMessage()); in FromContainers()
137 log_info.Warning(LogMessage() << "overlay '" << overlay.GetPath() in FromContainers()
H A DIdmap.cpp337 LogInfo log_info; in FromContainers() local
339 target, overlay, *info, fulfilled_policies, enforce_overlayable, log_info); in FromContainers()
351 header->debug_info_ = log_info.GetString(); in FromContainers()
/aosp12/system/extras/simpleperf/scripts/test/
H A Dapi_profiler_test.py20 from simpleperf_utils import log_info, remove
28 log_info('skip this test on Android < %s.' % min_android_version)
/aosp12/system/logging/logd/
H A DLogAudit.cpp221 static const char log_info[] = { KMSG_PRIORITY(LOG_INFO) }; in logPrint() local
226 iov[0].iov_base = info ? const_cast<char*>(log_info) : const_cast<char*>(log_warning); in logPrint()
227 iov[0].iov_len = info ? sizeof(log_info) : sizeof(log_warning); in logPrint()
/aosp12/frameworks/base/cmds/idmap2/include/idmap2/
H A DResourceMapping.h48 bool enforce_overlayable, LogInfo& log_info);
/aosp12/frameworks/base/cmds/idmap2/tests/
H A DResourceMappingTests.cpp71 LogInfo log_info; in TestGetResourceMapping() local
73 enforce_overlayable, log_info); in TestGetResourceMapping()
H A DIdmapTests.cpp392 LogInfo log_info; in TestIdmapDataFromApkAssets() local
394 fulfilled_policies, enforce_overlayable, log_info); in TestIdmapDataFromApkAssets()