/build/hb/resolver/ |
H A D | env_args_resolver.py | 27 from util.log_util import LogUtil namespace 47 LogUtil.hb_info('Necessary package: {}'.format( 49 LogUtil.hb_info('Installed package: {}'.format( 51 LogUtil.hb_info('Uninstalled package: {}'.format( 54 LogUtil.hb_info( 70 LogUtil.hb_info('root path: {}'.format(root_path)) 71 LogUtil.hb_info('board: {}'.format(board)) 72 LogUtil.hb_info('kernel: {}'.format(kernel)) 73 LogUtil.hb_info('product: {}'.format(product)) 74 LogUtil [all...] |
H A D | clean_args_resolver.py | 27 from util.log_util import LogUtil namespace 38 LogUtil.hb_info( 48 LogUtil.hb_info( 56 LogUtil.hb_info(
|
/build/hb/util/ |
H A D | log_util.py | 37 class LogUtil(metaclass=NoInstance): class 46 '\r' + (LogUtil.message(level, line)).strip('\n')) 51 sys.stdout.write(LogUtil.message(level, line)) 58 sys.stderr.write(LogUtil.message(level, line)) 66 sys.stderr.write(LogUtil.message(level, line)) 87 sys.stderr.write(LogUtil.message(level, line)) 89 log_file.write(LogUtil.message(level, line)) 132 LogUtil.hb_error(log) 136 return_status_code = LogUtil.analyze_build_error(error_log, '3') 152 LogUtil [all...] |
H A D | system_util.py | 26 from util.log_util import LogUtil namespace 54 LogUtil.hb_info("start run hpm command") 66 LogUtil.hb_info(info[0], mode=log_mode) 68 LogUtil.hb_info(line) 71 LogUtil.hb_info("end hpm command") 77 LogUtil.get_failed_log(log_path)
|
H A D | monitor.py | 27 from log_util import LogUtil
namespace 125 LogUtil.write_log(self.log_path, f"User Cpu%: {usr_cpu}%", "info")
126 LogUtil.write_log(self.log_path, f"System Cpu%: {sys_cpu}%", "info")
127 LogUtil.write_log(self.log_path, f"Idle CPU%: {idle_cpu}%", "info")
134 LogUtil.write_log(self.log_path, f"Total Memory: {total_mem}GB", "info")
135 LogUtil.write_log(self.log_path, f"Free Memory: {free_mem}GB", "info")
136 LogUtil.write_log(self.log_path, f"Swap Memory: {swap_mem}GB", "info")
154 LogUtil.write_log(self.log_path,
163 LogUtil.write_log(self.log_path, f"Error running df command:{result.stderr}", "info")
|
H A D | timer_util.py | 19 from util.log_util import LogUtil namespace 32 LogUtil.hb_info("The run time for {} is {} s".format(func.__name__, round(e_time - s_time, 2)))
|
/build/hb/util/loader/ |
H A D | generate_targets_gn.py | 22 from util.log_util import LogUtil namespace 92 LogUtil.hb_info( 103 LogUtil.hb_info( 115 LogUtil.hb_info( 127 LogUtil.hb_info( 133 LogUtil.hb_info( 157 LogUtil.hb_info( 218 LogUtil.hb_info( 226 LogUtil.hb_info(
|
H A D | subsystem_scan.py | 22 from util.log_util import LogUtil namespace 108 LogUtil.hb_info('subsytem config scan completed')
|
H A D | load_ohos_build.py | 20 from util.log_util import LogUtil namespace 783 LogUtil.hb_info("generate '{}' info to '{}'".format(part_name, 802 LogUtil.hb_info("generate parts modules info to '{}'".format( 812 LogUtil.hb_info( 822 LogUtil.hb_info( 832 LogUtil.hb_info( 844 LogUtil.hb_info( 855 LogUtil.hb_info("generate parts info to '{}'".format(parts_info_file), mode=Config.log_mode) 865 LogUtil.hb_info( 932 LogUtil [all...] |
H A D | platforms_loader.py | 18 from util.log_util import LogUtil namespace 195 LogUtil.hb_info( 207 LogUtil.hb_info("generate toolchain to variant of platforms info to '{}'".format(
|
/build/hb/services/ |
H A D | preloader.py | 25 from util.log_util import LogUtil namespace 76 LogUtil.hb_info( 106 LogUtil.hb_info( 130 LogUtil.hb_info( 152 LogUtil.hb_info( 170 LogUtil.hb_info( 182 LogUtil.hb_info( 198 LogUtil.hb_info( 210 LogUtil.hb_info( 228 LogUtil [all...] |
H A D | ninja.py | 27 from util.log_util import LogUtil namespace 46 LogUtil.write_log(self.config.log_path, 62 LogUtil.write_log(
|
H A D | loader.py | 31 from util.log_util import LogUtil namespace 195 LogUtil.hb_info("Checking all build args...") 224 LogUtil.hb_info("Checking all product features...") 252 LogUtil.hb_warning(message) 263 LogUtil.hb_info("Checking parts config...") 369 LogUtil.hb_info( 377 LogUtil.hb_info("generate syscap info with part name list to '{}'".format( 385 LogUtil.hb_info("generate target syscap for init list to '{}'".format( 422 LogUtil.hb_info("generate infos for testfwk to '{}'".format( 437 LogUtil [all...] |
/build/hb/services/interface/ |
H A D | build_executor_interface.py | 22 from util.log_util import LogUtil namespace 33 LogUtil.hb_warning('duplicated regist arg {}, the original value "{}" will be replace to "{}"'.format(
|
H A D | load_interface.py | 21 from util.log_util import LogUtil namespace 44 LogUtil.hb_warning('duplicated regist arg {}, the original value "{}" will be replace to "{}"'.format(
|
H A D | preload_interface.py | 21 from util.log_util import LogUtil namespace 44 LogUtil.hb_warning('duplicated regist arg {}, the original value "{}" will be replace to "{}"'.format(
|
H A D | build_file_generator_interface.py | 21 from util.log_util import LogUtil namespace
|
/build/hb/containers/ |
H A D | status.py | 23 from util.log_util import LogUtil namespace 87 LogUtil.write_log(_log_path, traceback.format_exc() + '\n', 'error') 88 LogUtil.write_log(_log_path,
|
/build/hb/modules/ |
H A D | ohos_indep_build_module.py | 23 from util.log_util import LogUtil namespace 56 LogUtil.hb_info('{} build success'.format(','.join(get_part_name())))
|
H A D | ohos_install_module.py | 24 from util.log_util import LogUtil namespace 56 LogUtil.hb_info('{} build success')
|
H A D | ohos_build_module.py | 29 from util.log_util import LogUtil namespace 73 LogUtil.hb_info('{} build success'.format(
|
H A D | ohos_push_module.py | 24 from util.log_util import LogUtil namespace
|
/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 22 from util.log_util import LogUtil namespace 58 LogUtil.hb_info('build target "{}" used illegal build parameters {}'.format(build_target, flag))
|
/build/hb/util/post_build/ |
H A D | part_rom_statistics.py | 23 from util.log_util import LogUtil
namespace 41 LogUtil.hb_info(conform_str)
55 LogUtil.hb_info(out_of_standard_str)
68 LogUtil.hb_info(not_yet_standard_str)
|
/build/ohos/packages/ |
H A D | fs_process.py | 27 from hb.util.log_util import LogUtil namespace 136 LogUtil.hb_warning(f'Target file: {tfile} already exists!') 215 LogUtil.hb_info(f'{fs_cfg_path} not found, stop packing fs. ' 219 LogUtil.hb_info('component compiling, no need to pack fs')
|