Home
last modified time | relevance | path

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

123

/developtools/hdc/hdc_rust/src/host/
Dauth.rs39 connect_key: String, in usb_handshake_with_daemon()
42 ) -> io::Result<(String, String)> { in usb_handshake_with_daemon() argument
99 connect_key: String, in handshake_with_daemon()
103 ) -> io::Result<(String, String)> { in handshake_with_daemon() argument
186 fn get_pubkey_pem(rsa: &Rsa<openssl::pkey::Private>) -> io::Result<String> { in get_pubkey_pem()
204 fn get_signature_b64(rsa: &Rsa<openssl::pkey::Private>, plain: String) -> io::Result<String> { in get_signature_b64()
Dserver.rs135 pub async fn server_fork(addr_str: String, log_level: usize) { in server_fork()
157 pub async fn server_fork(addr_str: String, log_level: usize) { in server_fork()
291 ) -> io::Result<(String, u32)> { in handshake_with_client()
309 fn unpack_channel_handshake(recv: Vec<u8>) -> io::Result<String> { in unpack_channel_handshake()
Dtask.rs484 pub async fn start_usb_device_loop(ptr: u64, connect_key: String) { in start_usb_device_loop()
516 async fn start_tcp_daemon_session(connect_key: String, task_info: &TaskInfo) -> io::Result<()> { in start_tcp_daemon_session()
626 connect_key: String, in tcp_handle_deamon()
869 async fn remove(connect_key: String) { in remove()
875 async fn put(connect_key: String, daemon_info: DaemonInfo) { in put()
892 pub async fn get_list(is_full: bool) -> Vec<String> { in get_list()
935 pub async fn get_connect_key(session_id: u32) -> Option<String> { in get_connect_key()
948 async fn get_valid_session_id(connect_key: String, channel_id: u32) -> io::Result<u32> { in get_valid_session_id()
/developtools/hdc/hdc_rust/src/common/
Dbase.rs32 pub fn split_command_to_args(command_line: &String) -> (Vec<String>, u32) { in split_command_to_args()
109 pub fn get_file_name(s: &mut String) -> Option<String> { in get_file_name()
127 pub fn extract_relative_path(_cwd: &str, mut _path: &str) -> String { in extract_relative_path()
136 pub fn combine(src1: String, src2: String) -> String { in combine()
181 pub fn tlv_append(mut tlv: String, tag: &str, val: &str) -> String { in tlv_append()
Dforward.rs77 task_string: String, in new()
78 connect_key: String, in new()
126 pub async fn remove_forward(task_string: String, forward_direction: bool) -> bool { in remove_forward()
483 pub async fn check_node_info(value: &String, arg: &mut Vec<String>) -> bool { in check_node_info()
643 value: String, in forward_tcp_accept()
708 pub async fn on_accept(session_id: u32, channel_id: u32, value: String, cid: u32) { in on_accept()
843 path: String, in server_socket_bind_listen()
903 pub async fn canonicalize(path: String) -> Result<String, Error> { in canonicalize()
1116 pub async fn daemon_connect_pipe(session_id: u32, channel_id: u32, fd: i32, path: String) { in daemon_connect_pipe()
1260 pub async fn filter_command(_payload: &[u8]) -> io::Result<(String, u32)> { in filter_command()
[all …]
Dfilemanager.rs42 pub fn open(&mut self) -> (bool, String) { in open() argument
/developtools/hdc/hdc_rust/src/daemon/
Dauth.rs154 async fn make_sign_message(session_id: u32, token: String, channel_id: u32) -> TaskMessage { in make_sign_message()
329 pub async fn get_auth_msg(session_id: u32) -> String { in get_auth_msg()
352 pub fn get_host_pubkey_info(buf: &str) -> (String, String) { in get_host_pubkey_info()
393 token: String, in handshake_deal_pubkey()
394 buf: String, in handshake_deal_pubkey()
522 token: String, in handshake_deal_signature()
523 pubkey: String, in handshake_deal_signature()
524 buf: String, in handshake_deal_signature()
634 async fn validate_signature(plain: String, pubkey: String, signature: String) -> io::Result<()> { in validate_signature()
815 async fn handshake_fail(session_id: u32, channel_id: u32, msg: String) { in handshake_fail()
Dshell.rs68 fn init_pty_process(cmd: Option<String>, _channel_id: u32) -> io::Result<PtyProcess> { in init_pty_process()
136 cmd: Option<String>, in subprocess_task()
307 option_cmd: Option<String>, in new()
/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()
DModuleAbilityInfo.java97 public void setLabels(HashMap<String, String> labels) { in setLabels()
101 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
DExtensionAbilityInfo.java103 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
107 public void setLabels(HashMap<String, String> labels) { in setLabels()
DModuleAppInfo.java140 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
144 public void setLabels(HashMap<String, String> labels) { in setLabels()
DAbilityInfo.java220 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
224 public void setLabels(HashMap<String, String> labels) { in setLabels()
DReqPermission.java45 public void setReasons(HashMap<String, String> reasons) { in setReasons()
DAppInfo.java214 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
218 public void setLabels(HashMap<String, String> labels) { in setLabels()
DShortcut.java53 public void setLabels(HashMap<String, String> labels) { in setLabels()
DJsonUtil.java551 …static void getTargetDeviceConfig(Map<String, DeviceConfig> deviceConfigs, JSONObject deviceConfig… in getTargetDeviceConfig()
1012 … String hapName, HashMap<String, String> profileJsons) throws BundleException { in parseModuleProfileInfo()
1053HashMap<String, String> profileJsons) throws BundleException { in parseModuleHapInfo()
1153 JSONObject moduleJson, HashMap<String, String> profileJsons) throws BundleException { in parseModulePages()
1204 … JSONObject moduleJson, byte[] data, HashMap<String, String> profileJsons) throws BundleException { in parseModuleExtensionAbilities()
1216HashMap<String, String> profileJsons) throws BundleException { in parseStageExtensionAbility()
1240HashMap<String, String> profileJsons) throws BundleException { in parseModuleExtensionAbility()
1297HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbilities()
1312HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbilityAndAddShortcut()
1328HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbility()
[all …]
DModuleShortcut.java69 public void setLabels(HashMap<String, String> labels) { in setLabels()
DAbilityFormInfo.java145 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
/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/hap/sign/
DSignElf.java81 public static boolean sign(SignerConfig signerConfig, Map<String, String> signParams) { in sign()
142 String inputFile, String outputFile, String profileSigned, Map<String, String> signParams) { in writeBlockDataToFile()
244 …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()
/developtools/profiler/tools/smaps_show/src/
Dmain.rs39 fn add(&mut self, key: &String, val: u64) { in add()
221 fn read_smaps(file_path: &String, need_combine: bool) -> Vec<VmStruct> { in read_smaps()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/entity/
DSignatureAlgorithm.java71 Pair<String, ? extends AlgorithmParameterSpec> signatureAlgAndParams) { in SignatureAlgorithm()

123