Home
last modified time | relevance | path

Searched defs:u64 (Results 1 – 25 of 39) sorted by relevance

12

/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitrace_meter/src/
Dlib.rs20 pub fn start_trace(label: u64, value: &str) { in start_trace()
29 pub fn finish_trace(label: u64) { in finish_trace()
37 pub fn start_trace_async(label: u64, value: &str, task_id: i32) { in start_trace_async()
46 pub fn finish_trace_async(label: u64, value: &str, task_id: i32) { in finish_trace_async()
55 pub fn count_trace(label: u64, name: &str, count: i64) { in count_trace()
/base/request/request/services/src/manage/scheduler/state/
Drecorder.rs41 top_uid: Option<u64>, in init()
42 foreground_account: u64, in init()
43 active_accounts: HashSet<u64>, in init()
79 foreground_account: u64, in update_accounts()
80 active_accounts: HashSet<u64>, in update_accounts()
Dmod.rs128 pub(crate) fn top_uid(&self) -> Option<u64> { in top_uid()
132 pub(crate) fn top_user(&self) -> u64 { in top_user()
Dsql.rs71 pub(crate) fn add_account_change(&mut self, active_accounts: &HashSet<u64>) { in add_account_change()
76 pub(crate) fn add_app_state_available(&mut self, top_uid: u64) { in add_app_state_available()
80 pub(crate) fn add_app_state_unavailable(&mut self, uid: u64) { in add_app_state_unavailable()
84 pub(crate) fn add_special_process_terminate(&mut self, uid: u64) { in add_special_process_terminate()
/base/request/request/services/src/manage/scheduler/
Dmod.rs90 pub(crate) fn get_task(&self, uid: u64, task_id: u32) -> Option<&Arc<RequestTask>> { in get_task()
112 pub(crate) fn start_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in start_task()
116 pub(crate) fn resume_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in resume_task()
120 fn start_inner(&mut self, uid: u64, task_id: u32, is_resume: bool) -> Result<(), ErrorCode> { in start_inner()
158 pub(crate) fn pause_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in pause_task()
172 pub(crate) fn remove_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in remove_task()
187 pub(crate) fn stop_task(&mut self, uid: u64, task_id: u32) -> Result<(), ErrorCode> { in stop_task()
197 pub(crate) fn task_completed(&mut self, uid: u64, task_id: u32) { in task_completed()
220 uid: u64, in task_cancel()
223 task_count: &mut HashMap<u64, (usize, usize)>, in task_cancel()
[all …]
/base/request/request/services/src/service/client/
Dmanager.rs131 fn handle_open_channel(&mut self, pid: u64, tx: Sender<Result<i32, ErrorCode>>) { in handle_open_channel()
152 pid: u64, in handle_subscribe()
153 _uid: u64, in handle_subscribe()
154 _token_id: u64, in handle_subscribe()
190 fn handle_process_terminated(&mut self, pid: u64, tx: Sender<ErrorCode>) { in handle_process_terminated()
Dmod.rs68 pub(crate) fn subscribe(&self, tid: u32, pid: u64, uid: u64, token_id: u64) -> ErrorCode { in subscribe()
/base/update/updater/services/rust/hash_signed_data/src/
Dlib.rs155 -> *const ImgHashData<u64> in LoadImgHashDataNew()
228 pub unsafe extern fn CheckDataHashNew(img_hash_data: *const ImgHashData<u64>, in CheckDataHashNew()
229 img_name: *const c_char, start: u64, end: u64, hash_value: *const u8, len: usize) -> bool in CheckDataHashNew()
256 pub unsafe extern fn ReleaseImgHashDataNew(hash_data: *const ImgHashData<u64>) in ReleaseImgHashDataNew()
/base/request/request/services/src/manage/scheduler/queue/
Dmod.rs72 pub(crate) fn get_task(&self, uid: u64, task_id: u32) -> Option<&Arc<RequestTask>> { in get_task()
78 pub(crate) fn task_finish(&mut self, uid: u64, task_id: u32) { in task_finish()
82 pub(crate) fn try_restart(&mut self, uid: u64, task_id: u32) -> bool { in try_restart()
134 pub(crate) fn reschedule(&mut self, qos: QosChanges, qos_remove_queue: &mut Vec<(u64, u32)>) { in reschedule()
147 qos_remove_queue: &mut Vec<(u64, u32)>, in reschedule_inner()
/base/request/request/services/src/manage/scheduler/qos/
Dapps.rs33 pub(crate) fn sort(&mut self, top_uid: Option<u64>, top_user: u64) { in sort()
45 pub(crate) fn insert_task(&mut self, uid: u64, task: TaskQosInfo) { in insert_task()
64 pub(crate) fn remove_task(&mut self, uid: u64, task_id: u32) -> bool { in remove_task()
96 fn from_raw(uid: u64, tasks: Vec<Task>) -> Self { in from_raw()
140 pub(crate) fn uid(&self) -> u64 { in uid()
221 fn get_app_infos(&self) -> Vec<u64> { in get_app_infos()
Ddirection.rs35 pub(crate) fn uid(&self) -> u64 { in uid()
47 pub(crate) fn new(uid: u64, task_id: u32, direction: QosLevel) -> Self { in new()
Dmod.rs40 pub(crate) fn start_task(&mut self, uid: u64, task: TaskQosInfo) { in start_task()
45 pub(crate) fn remove_task(&mut self, uid: u64, task_id: u32) -> bool { in remove_task()
/base/request/request/services/src/task/
Dfiles.rs138 fn open_file_readwrite(uid: u64, bundle_name: &str, path: &str) -> io::Result<File> { in open_file_readwrite()
148 fn open_file_readonly(uid: u64, bundle_name: &str, path: &str) -> io::Result<File> { in open_file_readonly()
157 pub(crate) fn convert_path(uid: u64, bundle_name: &str, path: &str) -> String { in convert_path()
179 fn check_app_clone_bundle_name(uid: u64, bundle_name: &str) -> String { in check_app_clone_bundle_name()
/base/request/request/services/src/manage/events/
Dpause.rs18 pub(crate) fn pause(&mut self, uid: u64, task_id: u32) -> ErrorCode { in pause()
Dresume.rs18 pub(crate) fn resume(&mut self, uid: u64, task_id: u32) -> ErrorCode { in resume()
Dstart.rs18 pub(crate) fn start(&mut self, uid: u64, task_id: u32) -> ErrorCode { in start()
Dremove.rs20 pub(crate) fn remove(&mut self, uid: u64, task_id: u32) -> ErrorCode { in remove()
Dstop.rs20 pub(crate) fn stop(&mut self, uid: u64, task_id: u32) -> ErrorCode { in stop()
Dmod.rs59 pub(crate) fn pause(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in pause()
67 pub(crate) fn start(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in start()
75 pub(crate) fn stop(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in stop()
83 pub(crate) fn remove(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in remove()
91 pub(crate) fn resume(uid: u64, task_id: u32) -> (Self, Recv<ErrorCode>) { in resume()
/base/request/request/services/src/service/run_count/
Dmanager.rs52 pub(crate) fn subscribe_run_count(&self, pid: u64, obj: RemoteObj) -> ErrorCode { in subscribe_run_count()
115 fn subscribe_run_count(&mut self, pid: u64, obj: RemoteObj, tx: Sender<ErrorCode>) { in subscribe_run_count()
124 fn unsubscribe_run_count(&mut self, subscribe_pid: u64, tx: Sender<ErrorCode>) { in unsubscribe_run_count()
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/
Dlib.rs148 pub fn set_chain_id(&mut self, chain_id: u64) { in set_chain_id()
156 pub fn get_chain_id(&self) -> u64 { in get_chain_id()
164 pub fn set_span_id(&mut self, span_id: u64) { in set_span_id()
172 pub fn get_span_id(&self)-> u64 { in get_span_id()
180 pub fn set_parent_span_id(&mut self, parent_span_id: u64) { in set_parent_span_id()
188 pub fn get_parent_span_id(&self) -> u64 { in get_parent_span_id()
/base/request/request/services/src/manage/
Dtask_manager.rs371 pub(crate) fn notify_foreground_app_change(&self, uid: u64) { in notify_foreground_app_change()
375 pub(crate) fn notify_app_background(&self, uid: u64) { in notify_app_background()
379 pub(crate) fn trigger_background_timeout(&self, uid: u64) { in trigger_background_timeout()
383 pub(crate) fn notify_special_process_terminate(&self, uid: u64) { in notify_special_process_terminate()
387 pub(crate) fn show(&self, uid: u64, task_id: u32) -> Option<TaskInfo> { in show()
401 pub(crate) fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch()
Dquery.rs61 pub(crate) fn show(&self, uid: u64, task_id: u32) -> Option<TaskInfo> { in show()
75 pub(crate) fn touch(&self, uid: u64, task_id: u32, token: String) -> Option<TaskInfo> { in touch()
158 pub(crate) fn query_mime_type(uid: u64, task_id: u32) -> String { in query_mime_type()
/base/security/asset/services/common/src/
Dlib.rs63 fn GetUserIdByUid(uid: u64, userId: &mut u32) -> bool; in GetUserIdByUid()
/base/security/asset/services/crypto_manager/src/
Dcrypto_manager.rs84 pub fn max_crypto_expire_duration(&mut self) -> u64 { in max_crypto_expire_duration()

12