Home
last modified time | relevance | path

Searched defs:String (Results 1 – 25 of 54) sorted by relevance

123

/developtools/hdc/hdc_rust/src/common/
Dbase.rs35 pub fn split_command_to_args(command_line: &String) -> (Vec<String>, u32) { in split_command_to_args()
112 pub fn get_file_name(s: &mut String) -> Option<String> { in get_file_name()
130 pub fn extract_relative_path(_cwd: &str, mut _path: &str) -> String { in extract_relative_path()
139 pub fn combine(src1: String, src2: String) -> String { in combine()
184 pub fn tlv_append(mut tlv: String, tag: &str, val: &str) -> String { in tlv_append()
266 pub fn get_relative_path(base_path: &String , local_path: &String) -> Option<String> { in get_relative_path()
Dfilemanager.rs42 pub fn open(&mut self) -> (bool, String) { in open() argument
Dhdctransfer.rs125 fn set_file_permission(path: String, mode: u32) -> std::io::Result<()> { in set_file_permission()
146 fn create_dir_all_with_permission(path: String, mode: u32) -> std::io::Result<()> { in create_dir_all_with_permission()
276 local_path: String, in spawn_handler()
566 pub fn get_sub_files_resurively(_path: &String) -> Vec<String> { in get_sub_files_resurively()
/developtools/hdc/hdc_rust/src/daemon_lib/
Dauth.rs164 async fn make_sign_message(session_id: u32, token: String, channel_id: u32) -> TaskMessage { in make_sign_message()
342 pub async fn get_auth_msg(session_id: u32) -> String { in get_auth_msg()
366 pub fn get_host_pubkey_info(buf: &str) -> (String, String) { in get_host_pubkey_info()
407 token: String, in handshake_deal_pubkey()
408 buf: String, in handshake_deal_pubkey()
536 token: String, in handshake_deal_signature()
537 pubkey: String, in handshake_deal_signature()
538 buf: String, in handshake_deal_signature()
648 async fn validate_signature(plain: String, pubkey: String, signature: String) -> io::Result<()> { in validate_signature()
829 async fn handshake_fail(session_id: u32, channel_id: u32, msg: String) { in handshake_fail()
Dshell.rs48 fn trim_quotation_for_cmd(cmd_input: String) -> String { in trim_quotation_for_cmd()
111 fn init_pty_process(cmd: Option<String>, _channel_id: u32) -> io::Result<PtyProcess> { in init_pty_process()
166 cmd: Option<String>, in subprocess_task()
317 option_cmd: Option<String>, in new()
599 cmd_param: String, in task_for_shell_execute()
742 cmd_param: String, in new()
Ddaemon_app.rs127 fn tar_to_dir(tar_path: PathBuf) -> Result<String, String> { in tar_to_dir() argument
283 async fn do_app_uninstall(session_id: u32, channel_id: u32, options: String, package: String) { in do_app_uninstall()
/developtools/hdc/hdc_rust/src/host/
Dtask.rs485 pub async fn start_usb_device_loop(ptr: u64, connect_key: String) { in start_usb_device_loop()
499 async fn start_tcp_daemon_session(connect_key: String, task_info: &TaskInfo) -> io::Result<()> { in start_tcp_daemon_session()
577 connect_key: String, in tcp_handle_deamon()
825 async fn remove(connect_key: String) { in remove()
831 pub async fn put(connect_key: String, daemon_info: DaemonInfo) { in put()
837 pub async fn update(connect_key: String, in update()
839 version: String, in update()
840 dev_name: String, in update()
841 emg_msg: String, in update()
869 pub async fn get_list(is_full: bool) -> Vec<String> { in get_list()
[all …]
Dhost_app.rs99 str: String, in check_install_continue()
158 fn dir_to_tar(dir_path: PathBuf) -> Result<String, String> { in dir_to_tar() argument
194 async fn install_single(session_id: u32, channel_id: u32) -> Result<(), String> { in install_single() argument
250 async fn init_install(session_id: u32, channel_id: u32, command: &String) -> Result<(), String> { in init_install() argument
304 async fn task_app_install(session_id: u32, channel_id: u32, payload: &[u8]) -> Result<(), String> { in task_app_install() argument
321 async fn task_app_uninstall(session_id: u32, channel_id: u32, payload: &[u8]) -> Result<(), String> in task_app_uninstall() argument
Dauth.rs37 connect_key: String, session_id: u32, channel_id: u32, conn_type: ConnectType, in start_handshake_with_daemon()
205 fn get_pubkey_pem(rsa: &Rsa<openssl::pkey::Private>) -> io::Result<String> { in get_pubkey_pem()
217 fn get_signature_b64(rsa: &Rsa<openssl::pkey::Private>, plain: String) -> io::Result<String> { in get_signature_b64()
Dserver.rs161 pub async fn server_fork(addr_str: String, log_level: usize) { in server_fork()
191 pub async fn server_fork(addr_str: String, log_level: usize) { in server_fork()
323 ) -> io::Result<(String, u32)> { in handshake_with_client()
341 fn unpack_channel_handshake(recv: Vec<u8>) -> io::Result<String> { in unpack_channel_handshake()
/developtools/packing_tool/adapter/ohos/
DDefPermission.java65 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
73 public void setLabels(HashMap<String, String> labels) { in setLabels()
DDefinePermission.java68 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
76 public void setLabels(HashMap<String, String> labels) { in setLabels()
DExtensionAbilityInfo.java103 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
107 public void setLabels(HashMap<String, String> labels) { in setLabels()
DModuleAbilityInfo.java107 public void setLabels(HashMap<String, String> labels) { in setLabels()
111 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
DReqPermission.java45 public void setReasons(HashMap<String, String> reasons) { in setReasons()
DShortcut.java53 public void setLabels(HashMap<String, String> labels) { in setLabels()
DAbilityInfo.java230 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
234 public void setLabels(HashMap<String, String> labels) { in setLabels()
DModuleAppInfo.java160 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
164 public void setLabels(HashMap<String, String> labels) { in setLabels()
DJsonUtil.java569 …static void getTargetDeviceConfig(Map<String, DeviceConfig> deviceConfigs, JSONObject deviceConfig… in getTargetDeviceConfig()
1030 … String hapName, HashMap<String, String> profileJsons) throws BundleException { in parseModuleProfileInfo()
1072HashMap<String, String> profileJsons) throws BundleException { in parseModuleHapInfo()
1194 JSONObject moduleJson, HashMap<String, String> profileJsons) throws BundleException { in parseModulePages()
1245 … JSONObject moduleJson, byte[] data, HashMap<String, String> profileJsons) throws BundleException { in parseModuleExtensionAbilities()
1257HashMap<String, String> profileJsons) throws BundleException { in parseStageExtensionAbility()
1281HashMap<String, String> profileJsons) throws BundleException { in parseModuleExtensionAbility()
1338HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbilities()
1353HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbilityAndAddShortcut()
1369HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbility()
[all …]
DAppInfo.java234 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
238 public void setLabels(HashMap<String, String> labels) { in setLabels()
DModuleShortcut.java69 public void setLabels(HashMap<String, String> labels) { in setLabels()
/developtools/hdc/hdc_rust/src/host_transfer/
Dhost_usb.rs84 pub fn get_ready_usb_devices_string(ptr: u64) -> Result<String, FromUtf8Error> { in get_ready_usb_devices_string()
93 pub fn on_device_connected(ptr: u64, connect_key: String, connect_success: bool) { in on_device_connected()
104 pub fn write_usb(ptr: u64, connect_key: String, buf: SerializedBuffer) -> i32 { in write_usb()
115 pub fn read_usb(ptr: u64, connect_key: String, excepted_size: i32) -> PersistBuffer { in read_usb()
126 pub fn cancel_usb_io(ptr: u64, connect_key: String) { in cancel_usb_io()
266 connect_key: String, in start_recv()
284 connect_key: String, in start_recv_once()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DVerifyCodeSignature.java211 private static void verifyLibs(File file, CodeSignBlock csb, Pair<String, String> pairResult) in verifyLibs()
241 Pair<String, String> pairResult) in verifyHapLib()
257 …private static void verifyHnpLib(JarFile inputJar, String hnpEntryName, Map<String, SignInfo> hnpL… in verifyHnpLib()
258 Map<String, String> hnpTypeMap, Pair<String, String> pairResult) in verifyHnpLib()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignElf.java79 public static boolean sign(SignerConfig signerConfig, Map<String, String> signParams) { in sign()
140 String inputFile, String outputFile, String profileSigned, Map<String, String> signParams) { in writeBlockDataToFile()
242 …private static SignBlockData generateCodeSignByte(SignerConfig signerConfig, Map<String, String> s… in generateCodeSignByte()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/
DRemoteSigner.java40 public RemoteSigner(Map<String, Object> params) {} in RemoteSigner()

123