Home
last modified time | relevance | path

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

123

/base/request/request/services/src/service/notification_bar/
Dtask_handle.rs59 fn notification_check(&self, db: &NotificationDb) -> bool; in notification_check()
63 fn notification_check(&self, db: &NotificationDb) -> bool { in notification_check()
75 fn notification_check(&self, db: &NotificationDb) -> bool { in notification_check()
88 gauge: bool, in notification_check_common()
90 background: bool, in notification_check_common()
91 completed_notify: bool, in notification_check_common()
92 ) -> bool { in notification_check_common()
106 pub(crate) fn pause_task(&self, task_id: u32) -> bool { in pause_task()
110 pub(crate) fn resume_task(&self, task_id: u32) -> bool { in resume_task()
114 pub(crate) fn stop_task(&self, task_id: u32) -> bool { in stop_task()
[all …]
Dmod.rs47 fn pause_task(self: &TaskManagerWrapper, task_id: u32) -> bool; in pause_task()
48 fn resume_task(self: &TaskManagerWrapper, task_id: u32) -> bool; in resume_task()
49 fn stop_task(self: &TaskManagerWrapper, task_id: u32) -> bool; in stop_task()
Ddatabase.rs137 pub(crate) fn check_task_notification_available(&self, task_id: &u32) -> bool { in check_task_notification_available()
246 pub(crate) fn update_group_config(&self, group_id: u32, gauge: bool, ctime: u64) { in update_group_config()
275 pub(crate) fn contains_group(&self, group_id: u32) -> bool { in contains_group()
286 pub(crate) fn attach_able(&self, group_id: u32) -> bool { in attach_able()
306 pub(crate) fn is_gauge(&self, group_id: u32) -> bool { in is_gauge()
Dpublish.rs173 pub(crate) fn attach_group(&self, task_ids: Vec<u32>, group_id: u32, uid: u64) -> bool { in attach_group()
191 pub(crate) fn delete_group(&self, group_id: u32, uid: u64) -> bool { in delete_group()
204 gauge: bool, in create_group()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
Dffi.rs124 …safe extern "C" fn StreamBufferWrite(object: *mut StreamBuffer, buf: *const StreamBuffer) -> bool { in StreamBufferWrite()
143 …nsafe extern "C" fn StreamBufferRead(object: *const StreamBuffer, buf: *mut StreamBuffer) -> bool { in StreamBufferRead()
162 pub unsafe extern "C" fn StreamBufferChkRWError(object: *const StreamBuffer) -> bool { in StreamBufferChkRWError()
191 … "C" fn StreamBufferWriteChar(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in StreamBufferWriteChar()
206 pub unsafe extern "C" fn StreamBufferCheckWrite(object: *mut StreamBuffer, size: usize) -> bool { in StreamBufferCheckWrite()
237 …n "C" fn StreamBufferReadChar(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in StreamBufferReadChar()
252 …C" fn CircleStreamBufferWrite(object: *mut StreamBuffer, buf: *const c_char, size: usize) -> bool { in CircleStreamBufferWrite()
/base/security/asset/services/crypto_manager/src/
Dsecret_key.rs43 fn GenerateKey(keyId: *const KeyId, need_auth: bool, require_password_set: bool) -> i32; in GenerateKey()
69 require_password_set: bool, in calculate_key_alias()
70 standard: bool, in calculate_key_alias()
88 require_password_set: bool, in get_existing_key_alias()
136 require_password_set: bool, in huks_rename_key_alias()
159 require_password_set: bool, in rename_key_alias()
160 ) -> bool { in rename_key_alias()
193 require_password_set: bool, in new_with_alias()
204 require_password_set: bool, in new_without_alias()
219 pub fn exists(&self) -> Result<bool> { in exists()
[all …]
/base/security/asset/services/common/src/
Dlib.rs63 fn GetUserIdByUid(uid: u64, userId: &mut u32) -> bool; in GetUserIdByUid()
64 fn IsUserIdExist(userId: i32, exist: &mut bool) -> bool; in IsUserIdExist()
80 pub fn is_user_id_exist(user_id: i32) -> Result<bool> { in is_user_id_exist()
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
Dlib.rs27 fn PrintTrace(fd : c_int) -> bool; in PrintTrace()
32 pub fn print_trace(fd : i32) -> bool { in print_trace()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_buffer.rs122 fn seek_read_pos(&mut self, n: usize) -> bool { in seek_read_pos()
140 fn is_empty(&self) -> bool { in is_empty()
143 fn write_streambuffer(&mut self, buf: &Self) -> bool { in write_streambuffer()
146 fn read_streambuffer(&self, buf: &mut Self) -> bool { in read_streambuffer()
155 pub(crate) fn chk_rwerror(&self) -> bool { in chk_rwerror()
176 fn write_char_usize(&mut self, buf: *const c_char, size: usize) -> bool { in write_char_usize()
211 fn check_write(&mut self, size: usize) -> bool { in check_write()
231 fn read_char_usize(&mut self, buf: *const c_char, size: usize) -> bool { in read_char_usize()
263 fn circle_write(&mut self, buf: *const c_char, size: usize) -> bool { in circle_write()
/base/update/updater/test/unittest/factory_reset_test/
Dfactory_reset_unittest.cpp67 CommonResetPostFunc_ = [](bool) { return 0; }; in __anonc3a500bb0302() argument
82 CommonResetPostFunc_ = [](bool) { return 0; }; in __anonc3a500bb0602() argument
97 CommonResetPostFunc_ = [](bool) { return 0; }; in __anonc3a500bb0902() argument
/base/request/request/services/src/utils/
Dmod.rs116 pub(crate) fn check_permission(permission: &str) -> bool { in check_permission()
127 fn PublishStateChangeEvent(bundleName: &str, taskId: u32, state: i32, uid: i32) -> bool; in PublishStateChangeEvent()
130 fn IsSystemAPI(token_id: u64) -> bool; in IsSystemAPI()
131 fn CheckPermission(token_id: u64, permission: &str) -> bool; in CheckPermission()
Durl_policy.rs16 pub(crate) fn check_url_domain(app_id: &str, domain_type: &str, url: &str) -> Option<bool> { in check_url_domain()
/base/msdp/device_status/rust/subsystem/distributed_hardware/sys/src/
Ddm_binding.rs143 pub fn CInitDeviceManager(pkg_name: *const c_char, on_device_init: OnDeviceInit) -> bool; in CInitDeviceManager()
148 ) -> bool; in CRegisterDevState()
149 pub fn CUnRegisterDevState(pkg_name: *const c_char, extra: *const c_char) -> bool; in CUnRegisterDevState()
/base/security/asset/services/db_operator/src/
Dtable.rs92 fn build_sql_where(conditions: &DbMap, filter: bool, sql: &mut String) { in build_sql_where()
205 pub(crate) fn exist(&self) -> Result<bool> { in exist()
323 is_filter_sync: bool, in delete_row()
369 …pub(crate) fn update_row(&self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<… in update_row()
403 is_filter_sync: bool, in query_row()
469 pub(crate) fn is_data_exists(&self, cond: &DbMap, is_filter_sync: bool) -> Result<bool> { in is_data_exists()
515 …pub(crate) fn replace_row(&self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result… in replace_row()
Ddatabase.rs359 fn upgrade_key_alias(&mut self, user_id: i32) -> Result<bool> { in upgrade_key_alias()
520 is_filter_sync: bool, in delete_datas()
556 …pub fn update_datas(&mut self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<i… in update_datas()
579 pub fn is_data_exists(&mut self, condition: &DbMap, is_filter_sync: bool) -> Result<bool> { in is_data_exists()
608 is_filter_sync: bool, in query_datas()
637 is_filter_sync: bool, in query_data_without_lock()
651 …pub fn replace_datas(&mut self, condition: &DbMap, is_filter_sync: bool, datas: &DbMap) -> Result<… in replace_datas()
/base/update/updater/services/rust/hash_signed_data/src/
Dimg_hash_check.rs88 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool; in read_from_le_bytes()
96 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
117 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
136 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
154 fn read_from_le_bytes(&mut self, buffer: &[u8]) -> bool { in read_from_le_bytes()
Dlib.rs217 img_name: *const c_char, start: u32, end: u32, hash_value: *const u8, len: usize) -> bool in check_data_hash()
229 img_name: *const c_char, start: u64, end: u64, hash_value: *const u8, len: usize) -> bool in CheckDataHashNew()
/base/security/asset/services/core_service/src/operations/common/
Dpermission_check.rs26 fn CheckPermission(permission: *const c_char) -> bool; in CheckPermission()
/base/security/asset/frameworks/os_dependency/file/src/
Dde_operator.rs28 fn is_user_de_dir_exist(user_id: i32) -> Result<bool> { in is_user_de_dir_exist()
Dcommon.rs46 pub fn is_file_exist(path_str: &str) -> Result<bool> { in is_file_exist()
Dce_operator.rs32 pub fn is_db_key_cipher_file_exist(user_id: i32) -> Result<bool> { in is_db_key_cipher_file_exist()
/base/notification/distributed_notification_service/frameworks/core/src/
Dswing_callback_stub.cpp28 SwingCallBackStub::SwingCallBackStub(std::function<void(bool, int)> swingCallback) : swingCallback_… in SwingCallBackStub()
/base/request/request/services/src/manage/scheduler/qos/
Dapps.rs68 pub(crate) fn remove_task(&mut self, uid: u64, task_id: u32) -> bool { in remove_task()
104 pub(crate) fn is_empty(&self) -> bool { in is_empty()
112 fn remove(&mut self, task_id: u32) -> bool { in remove()
168 fn eq(&self, other: &Self) -> bool { in eq()
/base/hiviewdfx/hitrace/interfaces/rust/innerkits/hitracechain/src/
Dlib.rs108 pub fn is_valid(&self) -> bool { in is_valid()
116 pub fn is_flag_enabled(&self, flag: HiTraceFlag) -> bool { in is_flag_enabled()
307 fn HiTraceChainIsValidWrapper(p_id: *const HiTraceId) -> bool; in HiTraceChainIsValidWrapper()
310 fn HiTraceChainIsFlagEnabledWrapper(p_id: *const HiTraceId, flag: c_int) -> bool; in HiTraceChainIsFlagEnabledWrapper()
/base/security/asset/services/core_service/src/common_event/
Dlistener.rs79 ) -> Result<bool> { in delete_in_de_db_on_package_removed()
97 ) -> Result<bool> { in delete_in_ce_db_on_package_removed()
110 fn delete_on_package_removed(owner: Vec<u8>, calling_info: &CallingInfo) -> Result<bool> { in delete_on_package_removed()
411 fn SubscribeSystemEvent(eventCallBack: EventCallBack) -> bool; in SubscribeSystemEvent()

123