Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 30) sorted by relevance

12

/test/testfwk/xdevice/
DREADME_zh.md85 … <!-- 轻量系统设备配置(轻量系统设备进行测试时,需要刷入已经集成好测试用例的系统,所以需要配置两个串口进行通信,如设备支持,可以将两个serial标签的com口设置为一致),可配置多个 -->
87 <serial> <!-- serial:表示一个串口定义 -->
88 <com></com> <!-- serial:表示本地连接的串口,如COM4 -->
94 </serial>
95 <serial>
99 </serial>
104 <serial>
111 </serial>
257 list history: display history record of a serial of tasks
DREADME.md16 …work configurations and provides different configuration options for the serial port connection an…
79 …- For devices that support serial port connection, refer to the following note to configure the …
82 …connection mode. The **com** mode indicates that the device is connected through the serial port.
84 >**serial**: serial port
85 >- **serial/com**: serial port for local connection, for example, **COM20**
86 …>- **serial/type**: serial port type. The value can be **cmd** \(serial port for test case exe…
87 …> For the open-source project, the **cmd** and **deploy** serial ports are the same, and th…
88 …> **serial/baud\_rate, data\_bits, stop\_bits** and **timeout**: serial port parameters. You c…
144 list history: display history record of a serial of tasks
/test/xts/tools/others/query/src/
DQueryMainStandard.cpp125 const char *serial = GetSerial(); in main() local
126 if (serial != nullptr) { in main()
127 printf("serial = %s\n", serial); in main()
/test/xts/tools/lite/others/query/src/
DQueryMainSmall.cpp126 const char *serial = GetSerial(); in main() local
127 if (serial != nullptr) { in main()
128 printf("serial = %s\n", serial); in main()
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py395 def get_device_log_file(report_path, serial=None, log_name="device_log", argument
405 serial = serial or time.time_ns()
407 serial = "%s_%s" % (device_name, serial)
408 device_file_name = "{}_{}.log".format(log_name, str(serial).replace(
499 def convert_serial(serial): argument
500 if serial.startswith("local_"):
501 return serial
502 elif serial.startswith("remote_"):
503 return "remote_{}_{}".format(convert_ip(serial.split("_")[1]),
504 convert_port(serial.split("_")[-1]))
[all …]
/test/testfwk/developer_test/src/core/
Dutils.py66 def get_device_log_file(report_path, serial=None, log_name="device_log"): argument
70 serial = serial or time.time_ns()
71 device_file_name = "{}_{}.log".format(log_name, serial)
/test/testfwk/developer_test/
DREADME.md48 5. NFS version: V4 or later \(required when device supports connection using the serial port but n…
49 6. pySerial version: 3.3 or later \(required when the device supports connection using the serial
108 5. Run the following command to install the serial port plug-in pySerial for Python on the local P…
120 6. If the device supports test result output only using the serial port, install the NFS server.
191 …3. For devices that only support the serial port connection, modify the configuration file as fol…
193 …\[device\] \# Configure the serial port information with the **"ipcamera"** attribute, includ…
197 <serial>
204 </serial>
218 …2. For devices that only support serial port connection, specify the NFS directory on the PC \(**…
228 …eck that the test environment is ready if the tested device only supports serial port connection.\)
[all …]
/test/xts/tools/lite/hctest/src/
Dhctest.c318 const char *serial = GetSerial(); in ObtainSystemParams() local
319 if (serial != NULL) { in ObtainSystemParams()
320 printf("serial = %s\n", serial); in ObtainSystemParams()
/test/testfwk/xdevice/docs/
DDevice_Auto_Upgrade_Guide.md106 import serial
136 … self.object_com = serial.Serial(self.serial_port, baudrate=self.baund_rate, timeout=1)
139 … error = "connect {} serial failed,please make sure this port is not occupied,error is {}".format(
/test/testfwk/xdevice/src/xdevice/_core/config/
Dconfig_manager.py199 for serial in node.findall("serial"):
201 for sub in serial:
/test/testfwk/developer_test/src/core/driver/
Ddrivers.py126 def get_device_log_file(report_path, serial=None, log_name="device_log"): argument
131 serial = serial or time.time_ns()
132 device_file_name = "{}_{}.log".format(log_name, serial)
580 serial = "{}_{}".format(str(request.config.device.__get_serial__()), time.time_ns())
581 log_tar_file_name = "{}_{}".format(request.get_module_name(), str(serial).replace(
1212 serial = "{}_{}".format(str(request.config.device.__get_serial__()),
1215 request.get_module_name(), str(serial).replace(":", "_"))
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice_lite.py532 import serial
533 self.com = serial.Serial(self.serial_port,
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit_lite.py516 serial = "_%s" % device.__get_serial__()
519 serial,
522 hash_file_name = "".join((self.hash_file_name, serial))
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Dopenharmony.py581 serial = "{}_{}".format(str(self.config.device.__get_serial__()), time.time_ns())
582 log_tar_file_name = "{}".format(str(serial).replace(":", "_"))
756 serial = "{}_{}".format(str(request.config.device.__get_serial__()),
758 log_tar_file_name = "{}".format(str(serial).replace(":", "_"))
895 serial = "{}_{}".format(str(request.config.device.__get_serial__()),
897 log_tar_file_name = "{}".format(str(serial).replace(":", "_"))
/test/xts/hats/telephony/ril/hdi_v1.0/
Dhdf_ril_hdiService_test.cpp540 if (resultInfo_.serial != currentSerialId) { in NotifyAll()
543 resultInfo_.serial); in NotifyAll()
2087 …dataLinkBandwidthInfo.serial, dataLinkBandwidthInfo.cid, dataLinkBandwidthInfo.qi, dataLinkBandwid… in GetLinkBandwidthInfoResponse()
3856 dataCallInfo.serial = serialId;
3882 dataCallInfo.serial = serialId;
3900 uniInfo.serial = serialId;
3916 uniInfo.serial = serialId;
3932 uniInfo.serial = serialId;
3946 uniInfo.serial = serialId;
3967 dataProfileInfo.serial = serialId;
[all …]
/test/xts/acts/startup/startup_standard/deviceinfo/src/main/js/test/
DDeviceInfoJsUnit.test.js296 let serialInfo = deviceinfo.serial;
1060 let serialInfo = deviceinfo.serial;
1415 let serialInfo = deviceinfo.serial;
/test/xts/hats/
DREADME.en.md359 1. Use a serial port tool to log in to the development board and save information about the serial
360 2. Restart the device and view serial port logs.
364 View the serial port logs, whose format is as follows:
507 Execute **HatsDemoTest.bin** to trigger test case execution, and analyze serial port logs generat…
/test/xts/dcts/
DREADME.md362 1. Use a serial port tool to log in to the development board and save information about the serial
363 2. Restart the device and view serial port logs.
367 View the serial port logs, whose format is as follows:
510 Execute **DctsDemoTest.bin** to trigger test case execution, and analyze serial port logs generat…
/test/xts/tools/lite/
DREADME.md372 1. Use a serial port tool to log in to the development board and save information about the serial
373 2. Restart the device and view serial port logs.
377 View the serial port logs, whose format is as follows:
521 Execute **ActsDemoTest.bin** to trigger test case execution, and analyze serial port logs generat…
/test/xts/acts/usb/usb_standard/src/main/js/test/
DUsbCoreJsunitEx.test.js180 device.serial = 'asdfsd'
188 ' serial ' + device.serial);
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/chart/router/
Dindex.js159 serial: 0, property
/test/xts/acts/arkui/ace_standard/src/main/js/MainAbility/pages/chart/router/
Dindex.js159 serial: 0, property
/test/xts/acts/arkui/ace_standard/src/main/js/MainAbility/pages/camera/router/
Dindex.js159 serial: 0, property
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/camera/router/
Dindex.js159 serial: 0, property
/test/xts/tools/
DREADME.md361 1. Use a serial port tool to log in to the development board and save information about the serial
362 2. Restart the device and view serial port logs.
366 View the serial port logs, whose format is as follows:
509 Execute **ActsDemoTest.bin** to trigger test case execution, and analyze serial port logs generat…

12