Home
last modified time | relevance | path

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

123

/base/request/request/services/src/manage/scheduler/
Dsql.rs18 pub(super) fn start_task(task_id: u32) -> String { in start_task()
32 pub(super) fn pause_task(task_id: u32) -> String { in pause_task()
44 pub(super) fn stop_task(task_id: u32) -> String { in stop_task()
56 pub(super) fn remove_task(task_id: u32) -> String { in remove_task()
65 pub(super) fn task_set_mode(task_id: u32, mode: Mode) -> String { in task_set_mode()
/base/security/code_signature/services/key_enable/src/
Dprofile_utils.rs118 ) -> Result<(String, String, u32, String), Box<dyn Error>> { in parse_pkcs7_data() argument
180 fn get_cert_details(profile_json: &JsonValue) -> Result<(String, String, u32, String), Box<dyn Erro… in get_cert_details() argument
233 profile_signer: &[(&String, &String)], in verify_signers()
247 fn format_x509name_to_string(name: &X509NameRef) -> String { in format_x509name_to_string()
264 fn format_x509_fabricate_name(name: &X509NameRef) -> String { in format_x509_fabricate_name()
284 fn get_profile_paths(is_debug: bool) -> Vec<String> { in get_profile_paths()
296 fn get_paths_from_prefix(prefix: &str) -> Vec<String> { in get_paths_from_prefix()
328 profile_info: &[(&String, &String)], in process_profile()
373 fn verify_udid(profile_json: &JsonValue) -> Result<(), String> { in verify_udid() argument
404 ) -> Result<(String, Vec<u8>), ()> { in validate_and_convert_inputs()
[all …]
Dcert_path_utils.rs145 pub fn get_profile_info(&self) -> Vec<(&String, &String)> { in get_profile_info()
153 pub fn get_debug_profile_info(&self) -> Vec<(&String, &String)> { in get_debug_profile_info()
357 fn fabricate_name(subject: &str) -> String { in fabricate_name()
383 pub fn common_format_fabricate_name(common_name: &str, organization: &str, email: &str) -> String { in common_format_fabricate_name()
426 subject: String, in cert_path_operation()
427 issuer: String, in cert_path_operation()
429 app_id: String, in cert_path_operation()
474 subject: String, in add_cert_path_info()
475 issuer: String, in add_cert_path_info()
477 app_id: String, in add_cert_path_info()
[all …]
/base/request/request/services/src/manage/config/
Dsystem_proxy.rs27 pub(crate) fn host(&self) -> String { in host()
31 pub(crate) fn port(&self) -> String { in port()
35 pub(crate) fn exlist(&self) -> String { in exlist()
/base/request/request/common/utils/src/hash/
Durl.rs20 pub fn url_hash(url: &str) -> String { in url_hash()
27 pub fn url_hash(url: &str) -> String { in url_hash()
Dsha256.rs16 pub fn sha256(input: &str) -> String { in sha256()
/base/request/request/services/src/manage/scheduler/state/
Dsql.rs100 pub(crate) fn app_uninstall(uid: u64) -> String { in app_uninstall()
104 pub(crate) fn app_state_unavailable(uid: u64) -> String { in app_state_unavailable()
130 pub(crate) fn app_state_available(uid: u64) -> String { in app_state_available()
145 pub(super) fn account_unavailable(active_accounts: &HashSet<u64>) -> String { in account_unavailable()
180 pub(super) fn account_available(active_accounts: &HashSet<u64>) -> String { in account_available()
227 pub(super) fn network_unavailable(info: &NetworkInfo) -> Option<String> { in network_unavailable()
262 pub(super) fn network_available(info: &NetworkInfo) -> String { in network_available()
295 pub(crate) fn special_process_terminate(uid: u64) -> String { in special_process_terminate()
/base/security/asset/frameworks/os_dependency/file/src/
Dce_operator.rs23 fn construct_ce_db_dir(user_id: i32) -> String { in construct_ce_db_dir()
27 fn construct_db_key_cipher_path(user_id: i32) -> String { in construct_db_key_cipher_path()
90 pub fn get_ce_user_dbs(user_id: i32) -> Result<Vec<String>> { in get_ce_user_dbs()
Dde_operator.rs24 fn construct_user_de_path(user_id: i32) -> String { in construct_user_de_path()
77 pub fn get_de_user_dbs(user_id: i32) -> Result<Vec<String>> { in get_de_user_dbs()
/base/update/updater/services/rust/hash_signed_data/src/
Devp.rs20 pub fn get_b64_decode_len(in_data: &[u8]) -> Result<(usize, usize), String> in get_b64_decode_len() argument
37 pub fn evp_decode_block(in_data: &[u8]) -> Result<Vec<u8>, String> in evp_decode_block() argument
/base/msdp/device_status/rust/subsystem/distributed_hardware/sys/src/interaction/
Ddm_device_info.rs48 pub fn device_id(&self) -> String { in device_id()
56 pub fn device_name(&self) -> String { in device_name()
73 pub fn network_id(&self) -> String { in network_id()
/base/request/request/services/src/utils/
Dmod.rs79 pub(crate) fn hashmap_to_string(map: &HashMap<String, String>) -> String { in hashmap_to_string() argument
90 pub(crate) fn string_to_hashmap(str: &mut str) -> HashMap<String, String> { in string_to_hashmap() argument
151 fn GetCallingBundle(token_id: u64) -> String; in GetCallingBundle()
Dcommon_event.rs30 fn on_receive_event(&self, code: i32, data: String, want: Want); in on_receive_event()
35 fn on_receive_event(&self, code: i32, data: String, want: UniquePtr<WantWrapper>) { in on_receive_event()
94 fn on_receive_event(&self, code: i32, data: String, want: UniquePtr<WantWrapper>); in on_receive_event()
101 fn ToString(self: &WantWrapper) -> String; in ToString()
/base/hiviewdfx/faultloggerd/tools/panic_maker/
Dmain.rs45 fn usage(args: &[String]) { in usage()
58 fn test_panic(args: &[String]) { in test_panic()
/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
Ddsoftbus.rs258 fn get_session_name(&mut self) -> FusionResult<String> { in get_session_name()
288 fn local_network_id(&mut self) -> FusionResult<String> { in local_network_id()
335 fn convert_i8_array_to_string(&self, arr: &[i8]) -> String { in convert_i8_array_to_string()
374 fn get_peer_session_name(&mut self, remote_network_id: &String) -> FusionResult<String>{ in get_peer_session_name()
448 fn close_input_softbus(&mut self, remote_network_id: &String) { in close_input_softbus()
480 …fn wait_session_opend(&mut self, remote_network_id: &String, session_id_: i32) -> FusionResult<()>… in wait_session_opend()
587 fn find_device(&self, session_id: i32) -> FusionResult<String> { in find_device()
728 fn send_msg(&self, device_id: &String, data: *const c_void, data_len: u32) -> FusionResult<()> { in send_msg()
760 fn get_session_dev_map(&self) -> HashMap<String, i32> { in get_session_dev_map()
947 pub fn close_input_softbus(&self, remote_network_id: &String) { in close_input_softbus()
[all …]
/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/
Dlib.rs44 fn read_process_name(pid: u32) -> String { in read_process_name()
57 fn read_thread_name(pid: u32) -> String { in read_thread_name()
/base/request/request/services/src/service/notification_bar/
Dnotification_config.rs28 title: Option<String>, in new()
29 text: Option<String>, in new()
Dtypology.rs30 fn progress_percentage(current: u64, total: u64) -> String { in progress_percentage()
41 fn progress_size(current: u64) -> String { in progress_size()
59 file_name: String, in task_eventual_notify()
/base/request/request/frameworks/native/cache_download/src/
Dinfo.rs53 pub fn ip(&self) -> String { in ip()
57 pub fn dns_servers(&self) -> Vec<String> { in dns_servers()
/base/request/request/frameworks/native/cache_download/src/download/ylong/
Dmod.rs37 fn msg(&self) -> String { in msg()
123 url: String, in download()
124 headers: Option<Vec<(String, String)>>, in download() argument
/base/security/asset/services/db_operator/src/
Dtable.rs94 fn build_sql_columns_not_empty(columns: &Vec<&str>, sql: &mut String) { in build_sql_columns_not_empty()
105 fn build_sql_columns(columns: &Vec<&str>, sql: &mut String) { in build_sql_columns()
114 fn build_sql_where(conditions: &DbMap, filter: bool, sql: &mut String) { in build_sql_where()
140 fn build_sql_alias_list(len: usize, sql: &mut String) { in build_sql_alias_list()
147 fn build_sql_values(len: usize, sql: &mut String) { in build_sql_values()
157 fn build_sql_sync(sql: &mut String) { in build_sql_sync()
162 fn build_sql_not_sync(sql: &mut String) { in build_sql_not_sync()
174 fn from_data_value_to_str_value(value: &Value) -> String { in from_data_value_to_str_value()
182 fn build_sql_query_options(query_options: Option<&QueryOptions>, sql: &mut String) { in build_sql_query_options()
214 …ild_sql_reverse_condition(condition: &DbMap, reverse_condition: Option<&DbMap>, sql: &mut String) { in build_sql_reverse_condition()
Ddatabase_file_upgrade.rs71 pub(crate) fn fmt_old_de_db_path(user_id: i32) -> String { in fmt_old_de_db_path()
92 pub fn construct_splited_db_name(calling_info: &CallingInfo, is_ce: bool) -> Result<String> { in construct_splited_db_name()
295 fn fmt_file_path(user_id: i32) -> String { in fmt_file_path()
300 fn fmt_file_dir(user_id: i32) -> String { in fmt_file_dir()
356 pub fn get_upgrade_list(user_id: i32) -> Result<Vec<String>> { in get_upgrade_list()
366 fn create_upgrade_list_inner(user_id: i32, version: &OriginVersion) -> Vec<String> { in create_upgrade_list_inner()
/base/request/request/services/tests/ut/task/
Dut_upload.rs64 fn test_server(test_body: Vec<Vec<String>>) -> String { in test_server()
84 fn handle_connection(mut stream: TcpStream, test_body: &Vec<String>) { in handle_connection()
121 fn config(server: String, files: Vec<File>) -> TaskConfig { in config()
/base/request/request/services/src/task/
Dfiles.rs161 pub(crate) fn convert_path(uid: u64, bundle_name: &str, path: &str) -> String { in convert_path()
199 pub(crate) fn get_value(&mut self) -> Result<String, ServiceError> { in get_value()
212 fn convert_bundle_name(config: &TaskConfig) -> Result<String, ServiceError> { in convert_bundle_name()
224 fn check_app_clone_bundle_name(uid: u64, bundle_name: &str) -> Result<String, ServiceError> { in check_app_clone_bundle_name()
/base/request/request/common/utils/src/
Dwrapper.rs66 fn SHA256(input: &str) -> String; in SHA256()
73 pub fn hilog_print(level: LogLevel, domain: u32, tag: &str, mut fmt: String) { in hilog_print()

123