Home
last modified time | relevance | path

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

/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dacl_check.py52 def acl_check_main(sn): argument
56 hdc_command(GENERATING_TOKEN_INFO_COMMAND.format(sn, TOKEN_INFO_URL.format(sn)))
57 …_command(DOWNLOAD_TOKEN_INFO_COMMAND.format(sn, TOKEN_INFO_URL.format(sn), DOWNLOAD_TOKEN_INFO_URL…
58 hdc_command(CLEAR_TOKEN_INFO_FILE.format(sn, TOKEN_INFO_URL.format(sn)))
59 file = read_txt(DOWNLOAD_TOKEN_INFO_URL.format(sn))
75 sn = '' variable
76 acl_check_main(sn)
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/acls_check/
Dacl_check.py52 def acl_check_main(sn): argument
56 hdc_command(GENERATING_TOKEN_INFO_COMMAND.format(sn, TOKEN_INFO_URL.format(sn)))
57 …_command(DOWNLOAD_TOKEN_INFO_COMMAND.format(sn, TOKEN_INFO_URL.format(sn), DOWNLOAD_TOKEN_INFO_URL…
58 hdc_command(CLEAR_TOKEN_INFO_FILE.format(sn, TOKEN_INFO_URL.format(sn)))
59 file = read_txt(DOWNLOAD_TOKEN_INFO_URL.format(sn))
75 sn = '' variable
76 acl_check_main(sn)
/developtools/integration_verification/tools/fotff/res/
Dres.go49 for _, sn := range snList {
50 res.devicePool <- sn
67 for _, sn := range snList {
68 res.devicePool <- sn
71 for _, sn := range snList {
72 res.serverPool <- sn
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/
Dcompare.py136 def sql_thread(sn, sn2): argument
139 print(DOWNLOAD_DB.format(sn)+' ' + SQL_SRC + ' ' + SQL_DES)
141 sql_file = download_from_device(DOWNLOAD_DB.format(sn), SQL_SRC, SQL_DES)
161 def apl_check_main(sn): argument
166 sql_thr = AplCompareThread(sql_thread, (sn, sn))
193 sn = sys.argv[1] variable
200 sn = sn_list[0] variable
201 apl_check_main(sn)
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/
Dcompare.py136 def sql_thread(sn, sn2): argument
139 print(DOWNLOAD_DB.format(sn)+' ' + SQL_SRC + ' ' + SQL_DES)
141 sql_file = download_from_device(DOWNLOAD_DB.format(sn), SQL_SRC, SQL_DES)
161 def apl_check_main(sn): argument
166 sql_thr = AplCompareThread(sql_thread, (sn, sn))
193 sn = sys.argv[1] variable
200 sn = sn_list[0] variable
201 apl_check_main(sn)
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/
DliteOsUpgrade_RK3568_app.py94 global local_image_path, loader_tool_path, sn, LocationID ,test_num, system_type
102 sn = self.params_dict.get("sn")
213 if exec_cmd(mini_path, sn, save_path, archive_path) == 98:
221 …est_return = cmd_test(resource_path, py_path, new_report_path, resource_path, sn, test_num, pr_url)
275 os.system("hdc -t %s shell reboot loader" % sn)
434 def start_cmd(sn): argument
438 hilog_cmd = "hdc -t %s shell \"hilog -w start -l 400000000 -m none\"" % sn
463 def cmd_test(screenshot_path, py_path, new_report_path, resource_path, sn, test_num, pr_url): argument
482 …% (py_path, config_path, resource_path, save_screenshot_path, sn, test_num, screenshot_path, pr_ur…
549 def exec_cmd(mini_path, sn, save_path, archive_path): argument
[all …]
DliteOsUpgrade_L2_app.py210 sn = self.params_dict.get('sn')
307 self.hdc_set_time(sn)
370 def hdc_set_time(self,sn): argument
374 cmd = 'hdc_std -t %s shell date -u "%sT%s"'% (sn,y_m_d,h_m_s)
/developtools/integration_verification/cases/smoke/basic/screenshot32/resource/
Ddistributedtest.py54 def enter_shell_cmd(shellcmd, waittime, sn): argument
59 cmd = "hdc_std -t {} shell \"{}\"".format(sn, shellcmd)
63 def file_from_dev(src, dst, sn): argument
64 cmd = "hdc_std -t {} file recv \"{}\" \"{}\"".format(sn, src, dst)
/developtools/ace_ets2bundle/compiler/src/
Dmanage_workers.ts68 let sn: number = i + 1; variable
69 let workerFileName: string = `filesInfo_${sn}.txt`;
Dgen_abc_plugin.ts1329 let sn: number = i + 1;
1330 let workerFileName: string = `filesInfo_${sn}.txt`;
/developtools/integration_verification/DeployDevice/src/
DL0task1.properties2 sn=XXXXX key
/developtools/hdc/hdc_rust/src/host/
Dserver.rs72 for sn in str.split(' ') { in start_usb_server()
73 if sn.is_empty() { in start_usb_server()
76 task::start_usb_device_loop(ptr, sn.to_string()).await; in start_usb_server()
/developtools/hdc/src/host/
Dhost_usb.h52 bool DetectMyNeed(libusb_device *device, string &sn);
Dhost_usb.cpp137 bool HdcHostUSB::DetectMyNeed(libusb_device *device, string &sn) in DetectMyNeed() argument
163 WRITE_LOG(LOG_FATAL, "malloc usb session failed sn:%s", sn.c_str()); in DetectMyNeed()
177 mapIgnoreDevice[sn] = HOST_USB_REGISTER; in DetectMyNeed()
237 string sn = szTmpKey; in WatchUsbNodeChange() local
238 if (thisClass->HasValidDevice(dev) && !thisClass->DetectMyNeed(dev, sn)) { in WatchUsbNodeChange()
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
Drom_analyzer.py180 cn, sn = GnCommonTool.find_part_subsystem(
184 cn, sn = GnCommonTool.find_part_subsystem(
186 subsystem_name = sn
Dram_analyzer.py213 for sn in subsystem_name_list:
214 sub_val_dict = rom_result_dict.get(sn)
227 return True, os.path.split(k)[-1], sn, cn, v
/developtools/hdc/hdc_rust/src/cffi/host/
Dhost_usb.cpp111 std::string sn = szTmpKey; in WatchUsbNodeChange() local
112 if (thisClass->HasValidDevice(dev) && !thisClass->DetectMyNeed(dev, sn)) { in WatchUsbNodeChange()
166 bool HostUsb::DetectMyNeed(libusb_device *device, string &sn) in DetectMyNeed() argument
180 mapIgnoreDevice[sn] = HOST_USB_REGISTER; in DetectMyNeed()
Dhost_usb.h137 bool DetectMyNeed(libusb_device *device, string &sn);
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/entity/
DDatabaseEntity.ets101 //设备sn
102 public sn: String;
/developtools/profiler/host/smartperf/client/client_command/
Dsp_utils.cpp260 std::string sn = GetSplitOne("param get ohos.boot.sn"); in GetDeviceInfo() local
264 resultMap["sn"] = sn; in GetDeviceInfo()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/database/
DDatabaseUtils.ts223 let sn = resultSet.getString(resultSet.getColumnIndex('sn')); variable
240 tGeneralInfo.sn = sn;
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts571 const sn: number = i + 1; constant
572 const workerFileName: string = `${FILESINFO}_${sn}${EXTNAME_TXT}`;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/
DProfilerTask.ets170 tGeneralInfo.sn = deviceInfo.serial;
/developtools/ace_ets2bundle/compiler/codegen/
Dcodegen_ets.js15sn(e){return"number"==typeof e?e:ls(e)?y:+e}function pn(e){if("string"==typeof e)return e;if($i(e)… function
/developtools/ace_ets2bundle/compiler/sample/pages/testcases/
DshowcaseCovid19.ets2989 … "name": "Senegal", "continent": "Africa", "alpha2": "sn", "population": 16743930, "months": [