Home
last modified time | relevance | path

Searched refs:device_num (Results 1 – 6 of 6) sorted by relevance

/developtools/integration_verification/cases/smoke/basic/screenshot32/resource/
Dcapturescreentest.py42 …with open(os.path.join(args.save_path, 'test_{}.log'.format(args.device_num)),mode='a', encoding='…
83 cmd = "hdc_std -t {} shell \"{}\"".format(args.device_num, shellcmd)
88 …cd /data/log/faultlog/temp && tar -cf after_test_cppcrash{}.tar cppcrash*".format(args.device_num))
89 file_from_dev("/data/log/faultlog/temp/after_test_cppcrash{}.tar".format(args.device_num), \
91 …ata/log/faultlog/faultlogger && tar -cf after_test_jscrash{}.tar jscrash*".format(args.device_num))
92 … file_from_dev("/data/log/faultlog/faultlogger/after_test_jscrash{}.tar".format(args.device_num), \
100 cmd = "hdc_std -t {} file send \"{}\" \"{}\"".format(args.device_num, src, dst)
105 cmd = "hdc_std -t {} file recv \"{}\" \"{}\"".format(args.device_num, src, dst)
112 while args.device_num not in connection_status and connection_cnt < 15:
234 prefix = args.device_num
[all …]
/developtools/integration_verification/cases/daily/mini_system/
DL2_mini_system_test.py44 …with open(os.path.join(args.save_path, 'L2_mini_test_{}.log'.format(args.device_num)), mode='a', e…
73 …with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', enco…
82 …with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', enco…
90 cmd = "hdc_std -t {} shell \"{}\"".format(args.device_num, shellcmd)
100 if args.device_num == 'null':
103 args.device_num = result.split()[0]
113 pids = EnterCmd("hdc_std -t {} shell pidof {}".format(args.device_num, pname), 0, 1)
135 res = EnterCmd("hdc_std -t {} shell hidumper --mem".format(args.device_num), 0, 1)
148 pids = EnterCmd("hdc_std -t {} shell pidof {}".format(args.device_num, pname), 0, 1)
Drk3568_chipset_only_test.py44 …with open(os.path.join(args.save_path, 'L2_mini_test_{}.log'.format(args.device_num)), mode='a', e…
73 …with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', enco…
82 …with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', enco…
90 cmd = "hdc_std -t {} shell \"{}\"".format(args.device_num, shellcmd)
100 if args.device_num == 'null':
103 args.device_num = result.split()[0]
113 pids = EnterCmd("hdc_std -t {} shell pidof {}".format(args.device_num, pname), 0, 1)
142 pids = EnterCmd("hdc_std -t {} shell pidof {}".format(args.device_num, pname), 0, 1)
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
Dram_analyzer.py52 def verify_device(cls, device_num: str) -> bool:
61 return device_num in stderr or device_num in stdout
101 …def __parse_hidumper_mem(cls, content: typing.Text, device_num: str, ss: str = "Pss") -> typing.Di…
131 HDCTool.exec(["hdc", "-t", device_num, "shell", "ps", "-ef"]))
154 def process_hidumper_info(cls, device_num: str, ss: str) -> typing.Dict[str, int]:
161 ["hdc", "-t", device_num, "shell", "hidumper", "--mem"])
162 name_size_dict = cls.__parse_hidumper_mem(stdout, device_num, ss)
168 if not HDCTool.verify_device(device_num):
169 print("error: {} is inaccessible or not found".format(device_num))
425 def analysis(cls, cfg_path: str, json_path: str, rom_result_json: str, device_num: str,
[all …]
DREADME.md141 -n DEVICE_NUM, --device_num DEVICE_NUM
/developtools/hdc/src/host/
Dhost_usb.cpp649 int device_num = libusb_get_device_list(ctxUSB, &listDevices); in FindDeviceByID() local
650 WRITE_LOG(LOG_DEBUG, "device_num:%d", device_num); in FindDeviceByID()
651 if (device_num <= 0) { in FindDeviceByID()
665 for (i = 0; i < device_num; ++i) { in FindDeviceByID()