| /developtools/hdc/hdc_rust/src/common/ |
| D | base.rs | 34 pub fn split_command_to_args(command_line: &String) -> (Vec<String>, u32) { in split_command_to_args() 111 pub fn get_file_name(s: &mut String) -> Option<String> { in get_file_name() 129 pub fn extract_relative_path(_cwd: &str, mut _path: &str) -> String { in extract_relative_path() 138 pub fn combine(src1: String, src2: String) -> String { in combine() 183 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()
|
| D | filemanager.rs | 42 pub fn open(&mut self) -> (bool, String) { in open() argument
|
| D | hdctransfer.rs | 119 fn set_file_permission(path: String, mode: u32) -> std::io::Result<()> { in set_file_permission() 138 fn create_dir_all_with_permission(path: String, mode: u32) -> std::io::Result<()> { in create_dir_all_with_permission() 264 local_path: String, in spawn_handler() 554 pub fn get_sub_files_resurively(_path: &String) -> Vec<String> { in get_sub_files_resurively()
|
| /developtools/hdc/hdc_rust/src/daemon_lib/ |
| D | auth.rs | 164 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()
|
| D | shell.rs | 48 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()
|
| D | daemon_app.rs | 127 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/ |
| D | task.rs | 489 pub async fn start_usb_device_loop(ptr: u64, connect_key: String) { in start_usb_device_loop() 503 async fn start_tcp_daemon_session(connect_key: String, task_info: &TaskInfo) -> io::Result<()> { in start_tcp_daemon_session() 581 connect_key: String, in tcp_handle_deamon() 831 async fn remove(connect_key: String) { in remove() 837 pub async fn put(connect_key: String, daemon_info: DaemonInfo) { in put() 843 pub async fn update(connect_key: String, in update() 845 version: String, in update() 846 dev_name: String, in update() 847 emg_msg: String, in update() 875 pub async fn get_list(is_full: bool) -> Vec<String> { in get_list() [all …]
|
| D | auth.rs | 37 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()
|
| D | server.rs | 161 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()
|
| D | host_app.rs | 108 str: String, in check_install_continue() 166 fn dir_to_tar(dir_path: PathBuf) -> Result<String, String> { in dir_to_tar() argument
|
| /developtools/packing_tool/adapter/ohos/ |
| D | DefPermission.java | 65 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions() 73 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | DefinePermission.java | 68 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions() 76 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | ModuleAbilityInfo.java | 107 public void setLabels(HashMap<String, String> labels) { in setLabels() 111 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions()
|
| D | ExtensionAbilityInfo.java | 113 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions() 117 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | ReqPermission.java | 45 public void setReasons(HashMap<String, String> reasons) { in setReasons()
|
| D | Shortcut.java | 53 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | AbilityInfo.java | 230 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions() 234 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | ModuleAppInfo.java | 160 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions() 164 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | JsonUtil.java | 567 …static void getTargetDeviceConfig(Map<String, DeviceConfig> deviceConfigs, JSONObject deviceConfig… in getTargetDeviceConfig() 1028 … String hapName, HashMap<String, String> profileJsons) throws BundleException { in parseModuleProfileInfo() 1070 … HashMap<String, String> profileJsons) throws BundleException { in parseModuleHapInfo() 1192 JSONObject moduleJson, HashMap<String, String> profileJsons) throws BundleException { in parseModulePages() 1243 … JSONObject moduleJson, byte[] data, HashMap<String, String> profileJsons) throws BundleException { in parseModuleExtensionAbilities() 1255 … HashMap<String, String> profileJsons) throws BundleException { in parseStageExtensionAbility() 1279 … HashMap<String, String> profileJsons) throws BundleException { in parseModuleExtensionAbility() 1342 … HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbilities() 1357 … HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbilityAndAddShortcut() 1373 … HashMap<String, String> profileJsons) throws BundleException { in parseModuleAbility() [all …]
|
| D | AppInfo.java | 234 public void setDescriptions(HashMap<String, String> descriptions) { in setDescriptions() 238 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| D | ModuleShortcut.java | 69 public void setLabels(HashMap<String, String> labels) { in setLabels()
|
| /developtools/hdc/hdc_rust/src/host_transfer/ |
| D | host_usb.rs | 84 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/ |
| D | VerifyCodeSignature.java | 211 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/ |
| D | SignElf.java | 79 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/ |
| D | RemoteSigner.java | 40 public RemoteSigner(Map<String, Object> params) {} in RemoteSigner()
|