Home
last modified time | relevance | path

Searched refs:local_path (Results 1 – 8 of 8) sorted by relevance

/developtools/hdc/hdc_rust/src/common/
Dhdctransfer.rs61 pub local_path: String, field
89 local_path: String::new(), in new()
116 if f.is_dir() && !transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
118 .local_path in check_local_path()
125 if op.contains(Base::get_path_sep()) && !transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
127 .local_path in check_local_path()
131 if transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
132 transfer.local_path.push_str(op.as_str()); in check_local_path()
134 if transfer.local_path.ends_with(Base::get_path_sep()) { in check_local_path()
135 create_dir_all(transfer.local_path.clone()).is_ok() in check_local_path()
[all …]
Dhdcfile.rs98 let local_path = file_task.transfer.local_path.clone(); in check_local_path() localVariable
99 let mut file_manager = FileManager::new(local_path); in check_local_path()
196 task.transfer.local_path = argv.get(argv.len() - 2).unwrap().clone(); in set_master_parameters()
202 task.transfer.local_path = Base::extract_relative_path(&cwd, &task.transfer.local_path); in set_master_parameters()
205 task.transfer.local_path = argv.get((argc - 1) as usize).unwrap().clone(); in set_master_parameters()
207 task.transfer.local_name = Base::get_file_name(&mut task.transfer.local_path).unwrap(); in set_master_parameters()
208 let file = metadata(task.transfer.local_path.clone()); in set_master_parameters()
215 task.transfer.task_queue = get_sub_files_resurively(&task.transfer.local_path.clone()); in set_master_parameters()
216 task.transfer.base_local_path = get_base_path(task.transfer.local_path.clone()); in set_master_parameters()
219 task.transfer.local_path = task.transfer.task_queue.pop().unwrap(); in set_master_parameters()
[all …]
/developtools/hdc/scripts/
Ddev_hdc_test.py46 local_path = "resource" variable in GP
123 cls.local_path = content.get("local_path")
166 cls.local_path = opt
221 return os.path.join(GP.local_path, path)
271 local_path = os.path.join(GP.local_path, local)
274 return check_shell(cmd) and _check_file(local_path, remote_path)
278 local_path = os.path.join(GP.local_path, local)
281 return check_shell(cmd) and _check_file(local_path, remote_path)
285 app = os.path.join(GP.local_path, app)
375 os.mkdir(GP.local_path)
[all …]
Dhdc_normal_test.py135 if not os.path.exists(GP.local_path):
/developtools/hdc/hdc_rust/src/host/
Dhost_app.rs105 self.transfer.local_path = self.transfer.task_queue.pop().unwrap(); in install_single()
106 let local_path = self.transfer.local_path.clone(); in install_single() localVariable
107 let mut file_manager = FileManager::new(local_path.clone()); in install_single()
114 if let Some(index) = local_path.rfind('.') { in install_single()
115 let str = local_path.as_str(); in install_single()
167 self.transfer.local_path.clone(), in check_install_continue()
Dunittest.rs167 assert_eq!(task.transfer.local_path, "/home/1234.hap"); in if_init_install_works()
/developtools/hdc/hdc_rust/src/daemon/
Ddaemon_app.rs98 let local_path = tmp_dir.clone() + transconfig.optional_name.as_str(); in do_app_check() localVariable
100 task.transfer.local_path = local_path; in do_app_check()
106 return File::create(task.transfer.local_path.clone()).is_ok(); in do_app_check()
110 return File::create(task.transfer.local_path.clone()).is_ok(); in do_app_check()
203 let local_path = task.transfer.local_path.clone(); in do_app_install() localVariable
207 let result = execute_cmd(&format!("bm install {} -p {}", options, local_path)); in do_app_install()
210 let result = execute_cmd(&format!("bm install {} {}", options, local_path)); in do_app_install()
213 let _ = FileManager::remove_file(local_path.as_str()); in do_app_install()
/developtools/integration_verification/DeployDevice/src/util/
Dfind_fail_task.py4 local_path = 'D:\Local\ATLog' variable
18 for dir_path, dir_names, file_names in os.walk(local_path):