Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 23 of 23) sorted by relevance

/base/security/device_security_level/baselib/utils/include/
Dutils_mutex.h40 typedef struct Mutex { struct
42 } Mutex; typedef
44 inline static void InitMutex(Mutex *mutex) in InitMutex()
49 inline static void InitRecursiveMutex(Mutex *mutex) in InitRecursiveMutex()
57 inline static void LockMutex(Mutex *mutex) in LockMutex()
65 inline static void UnlockMutex(Mutex *mutex) in UnlockMutex()
Dutils_state_machine.h46 Mutex mutex;
/base/powermgr/power_manager/utils/ffrt/src/
Dffrt_utils.cpp61 FFRTUtils::Mutex::Mutex() in Mutex() function in OHOS::PowerMgr::FFRTUtils::Mutex
66 FFRTUtils::Mutex::~Mutex() in ~Mutex()
75 void FFRTUtils::Mutex::Lock() in Lock()
83 bool FFRTUtils::Mutex::TryLock() in TryLock()
91 void FFRTUtils::Mutex::Unlock() in Unlock()
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
Dlib.rs21 use std::sync::Mutex;
23 static TRACE_MUTEX : Mutex<i32> = Mutex::new(0);
/base/powermgr/power_manager/utils/ffrt/include/
Dffrt_utils.h99 class Mutex {
101 Mutex();
102 ~Mutex();
/base/msdp/device_status/rust/services/sys/src/
Dservice.rs23 use std::sync::{ Mutex, Once };
64 service_impl: Mutex<FusionServiceImpl>,
/base/security/device_security_level/services/sa/lite/
Ddslm_ipc_process.h36 Mutex *mutex;
Ddslm_ipc_process.c40 static Mutex mutex = INITED_MUTEX; in GetRemoteStubList()
/base/security/device_security_level/interfaces/inner_api/src/lite/
Ddevice_security_info.c32 static inline Mutex *GetMutex(void) in GetMutex()
34 static Mutex mutex = INITED_MUTEX; in GetMutex()
/base/security/device_security_level/services/dslm/
Ddslm_device_list.c35 static inline Mutex *GetDeviceListMutex(void) in GetDeviceListMutex()
37 static Mutex mutex = INITED_MUTEX; in GetDeviceListMutex()
Ddslm_core_process.c246 static Mutex initMutex = INITED_MUTEX; in InitDslmProcess()
/base/msdp/device_status/rust/ipc/server/src/
Dfusion_ipc_delegator.rs21 use std::sync::Mutex;
37 plugin_mgr: Mutex<Cell<PluginManager>>,
43 plugin_mgr: Mutex::new(Cell::new(PluginManager::default())) in new()
/base/security/device_security_level/services/msg/
Ddslm_messenger_wrapper.c27 static Mutex g_mutex = INITED_MUTEX;
/base/request/request/services/service/rust/src/
Drequest_service_ability.rs36 sync::{Arc, Mutex, Once, atomic::Ordering},
49 pub reg_remote_obj: Mutex<HashMap<String, RemoteObj>>,
50 unregistered_notify: Mutex<HashMap<String, u32>>,
54 fn new(state: ServerRunState, obj: Mutex<HashMap<String, RemoteObj>>) -> Self { in new()
58 unregistered_notify: Mutex::new(HashMap::new()), in new()
282 Mutex::new(HashMap::new()), in get_ability_instance()
Drequest_task.rs26 use std::sync::{Arc, Mutex};
74 pub mime_type: Mutex<String>,
75 pub progress: Mutex<Progress>,
77 pub status: Mutex<TaskStatus>,
82 pub code: Mutex<Vec<Reason>>,
307 mime_type: Mutex::new(String::new()), in constructor()
308 progress: Mutex::new(Progress::new(sizes)), in constructor()
310 status: Mutex::new(TaskStatus::default()), in constructor()
315 code: Mutex::new(vec![Reason::Default; file_count]), in constructor()
Dtask_manager.rs25 use std::sync::{Arc, Mutex, MutexGuard, Once};
44 task_map: Arc<Mutex<HashMap<u64, AppTask>>>,
53 task_handles: Mutex<HashMap<u32, JoinHandle<()>>>,
103 task_map: Arc::new(Mutex::new(HashMap::<u64, AppTask>::new())), in new()
112 task_handles: Mutex::new(HashMap::<u32, JoinHandle<()>>::new()), in new()
Drequest_service.rs30 sync::{Arc, Mutex},
/base/powermgr/power_manager/test/apitest/inner_api/ffrt/src/
Dffrt_utils_test.cpp183 auto mutex = FFRTUtils::Mutex();
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest003/
Dappfreeze-com.example.jsinject-20010039-19700326211815282 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
290 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
298 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
306 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
314 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
332 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
340 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest011/
Dappfreeze-com.example.jsinject-20010039-19700326211815282 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
290 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
298 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
306 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
314 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
332 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
340 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest010/
Dappfreeze-com.example.jsinject-20010039-19700326211815282 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
290 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
298 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
306 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
314 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
332 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
340 …anda::os::unix::memory::futex::ConditionVariable::Wait(panda::os::unix::memory::futex::Mutex*)+700)
/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp37 FFRTUtils::Mutex g_monitorMutex;
/base/security/device_security_level/baselib/msglib/src/common/
Dmessenger_device_session_manager.c47 Mutex mutex;