Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/base/telephony/cellular_call/services/manager/src/
Dcellular_call_register.cpp45 std::lock_guard<std::mutex> lock(mutex_); in ReportCallsInfo() local
65 std::lock_guard<std::mutex> lock(mutex_); in RegisterCallManagerCallBack() local
75 std::lock_guard<std::mutex> lock(mutex_); in ReportSingleCallInfo() local
85 std::lock_guard<std::mutex> lock(mutex_); in UnRegisterCallManagerCallBack() local
93 std::lock_guard<std::mutex> lock(mutex_); in ReportEventResultInfo() local
105 std::lock_guard<std::mutex> lock(mutex_); in ReportGetWaitingResult() local
116 std::lock_guard<std::mutex> lock(mutex_); in ReportSetWaitingResult() local
128 std::lock_guard<std::mutex> lock(mutex_); in ReportGetRestrictionResult() local
139 std::lock_guard<std::mutex> lock(mutex_); in ReportSetRestrictionResult() local
153 std::lock_guard<std::mutex> lock(mutex_); in ReportGetTransferResult() local
[all …]
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_lock.c25 HksRwlock *lock; member
30 HksLock *lock = (HksLock *)HksMalloc(sizeof(HksLock)); in HksLockCreate() local
41 int32_t HksLockLockRead(HksLock *lock) in HksLockLockRead()
48 int32_t HksLockUnlockRead(HksLock *lock) in HksLockUnlockRead()
55 int32_t HksLockLockWrite(HksLock *lock) in HksLockLockWrite()
62 int32_t HksLockUnlockWrite(HksLock *lock) in HksLockUnlockWrite()
69 void HksLockClose(HksLock *lock) in HksLockClose()
Dhks_lock_lite.c23 HksMutex *lock; member
28 HksLock *lock = HksMalloc(sizeof(HksLock)); in HksLockCreate() local
39 int32_t HksLockLockRead(HksLock *lock) in HksLockLockRead()
46 int32_t HksLockUnlockRead(HksLock *lock) in HksLockUnlockRead()
53 int32_t HksLockLockWrite(HksLock *lock) in HksLockLockWrite()
60 int32_t HksLockUnlockWrite(HksLock *lock) in HksLockUnlockWrite()
67 void HksLockClose(HksLock *lock) in HksLockClose()
Dhks_storage_file_lock.c30 HksLock *lock; member
39 static void FreeFileLock(HksStorageFileLock *lock) in FreeFileLock()
91 HksStorageFileLock *lock = HksMalloc(sizeof(HksStorageFileLock)); in AllocFileLock() local
114 static void AddRef(HksStorageFileLock *lock) in AddRef()
123 static void AppendFileLock(HksStorageFileLock *lock) in AppendFileLock()
148 HksStorageFileLock *lock = FindFileLock(path); in HksStorageFileLockCreate() local
162 int32_t HksStorageFileLockRead(HksStorageFileLock *lock) in HksStorageFileLockRead()
169 int32_t HksStorageFileUnlockRead(HksStorageFileLock *lock) in HksStorageFileUnlockRead()
176 int32_t HksStorageFileLockWrite(HksStorageFileLock *lock) in HksStorageFileLockWrite()
183 int32_t HksStorageFileUnlockWrite(HksStorageFileLock *lock) in HksStorageFileUnlockWrite()
[all …]
/base/telephony/call_manager/services/call/src/
Dcall_base.cpp113 std::lock_guard<std::mutex> lock(mutex_); in GetCallAttributeBaseInfo() local
149 std::lock_guard<std::mutex> lock(mutex_); in GetCallID() local
160 std::lock_guard<std::mutex> lock(mutex_); in GetCallRunningState() local
167 std::lock_guard<std::mutex> lock(mutex_); in SetTelCallState() local
272 std::lock_guard<std::mutex> lock(mutex_); in GetTelCallState() local
278 std::lock_guard<std::mutex> lock(mutex_); in SetAutoAnswerState() local
285 std::lock_guard<std::mutex> lock(mutex_); in GetAutoAnswerState() local
291 std::lock_guard<std::mutex> lock(mutex_); in SetAnswerVideoState() local
298 std::lock_guard<std::mutex> lock(mutex_); in GetAnswerVideoState() local
304 std::lock_guard<std::mutex> lock(mutex_); in SetCanUnHoldState() local
[all …]
Dconference_base.cpp35 std::lock_guard<std::mutex> lock(conferenceMutex_); in ~ConferenceBase() local
41 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetMainCall() local
51 std::lock_guard<std::mutex> lock(conferenceMutex_); in SetMainCall() local
58 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetConferenceState() local
64 std::lock_guard<std::mutex> lock(conferenceMutex_); in SetConferenceState() local
70 std::lock_guard<std::mutex> lock(conferenceMutex_); in SetOldConferenceState() local
76 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetOldConferenceState() local
84 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetSubCallIdList() local
102 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetSubCallIdList() local
110 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetCallIdListForConference() local
Dcs_conference.cpp44 std::lock_guard<std::mutex> lock(conferenceMutex_); in JoinToConference() local
59 std::lock_guard<std::mutex> lock(conferenceMutex_); in LeaveFromConference() local
80 std::lock_guard<std::mutex> lock(conferenceMutex_); in HoldConference() local
103 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanCombineConference() local
113 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanSeparateConference() local
127 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanKickOutFromConference() local
Dott_conference.cpp42 std::lock_guard<std::mutex> lock(conferenceMutex_); in JoinToConference() local
59 std::lock_guard<std::mutex> lock(conferenceMutex_); in LeaveFromConference() local
80 std::lock_guard<std::mutex> lock(conferenceMutex_); in HoldConference() local
104 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanCombineConference() local
114 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanSeparateConference() local
128 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanKickOutFromConference() local
Dims_conference.cpp42 std::lock_guard<std::mutex> lock(conferenceMutex_); in JoinToConference() local
59 std::lock_guard<std::mutex> lock(conferenceMutex_); in LeaveFromConference() local
80 std::lock_guard<std::mutex> lock(conferenceMutex_); in HoldConference() local
103 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanCombineConference() local
113 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanSeparateConference() local
127 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanKickOutFromConference() local
Dcall_object_manager.cpp56 std::lock_guard<std::mutex> lock(listMutex_); in AddOneCallObject() local
88 std::lock_guard<std::mutex> lock(listMutex_); in DeleteOneCallObject() local
109 std::lock_guard<std::mutex> lock(listMutex_); in DeleteOneCallObject() local
120 std::lock_guard<std::mutex> lock(listMutex_); in GetOneCallObject() local
138 std::lock_guard<std::mutex> lock(listMutex_); in GetOneCallObject() local
154 std::lock_guard<std::mutex> lock(listMutex_); in HasNewCall() local
232 std::lock_guard<std::mutex> lock(listMutex_); in GetCarrierCallList() local
246 std::lock_guard<std::mutex> lock(listMutex_); in HasRingingMaximum() local
263 std::lock_guard<std::mutex> lock(listMutex_); in HasDialingMaximum() local
280 std::lock_guard<std::mutex> lock(listMutex_); in HasEmergencyCall() local
[all …]
Dcall_state_listener.cpp38 std::lock_guard<std::mutex> lock(mutex_); in AddOneObserver() local
52 std::lock_guard<std::mutex> lock(mutex_); in RemoveOneObserver() local
59 std::lock_guard<std::mutex> lock(mutex_); in RemoveAllObserver() local
70 std::lock_guard<std::mutex> lock(mutex_); in NewCallCreated() local
78 std::lock_guard<std::mutex> lock(mutex_); in CallDestroyed() local
91 std::lock_guard<std::mutex> lock(mutex_); in CallStateUpdated() local
103 std::lock_guard<std::mutex> lock(mutex_); in IncomingCallHungUp() local
115 std::lock_guard<std::mutex> lock(mutex_); in IncomingCallActivated() local
123 std::lock_guard<std::mutex> lock(mutex_); in CallEventUpdated() local
/base/telephony/call_manager/frameworks/native/src/
Dcall_ability_callback.cpp29 std::lock_guard<std::mutex> lock(mutex_); in SetProcessCallback() local
40 std::lock_guard<std::mutex> lock(mutex_); in OnCallDetailsChange() local
49 std::lock_guard<std::mutex> lock(mutex_); in OnCallEventChange() local
58 std::lock_guard<std::mutex> lock(mutex_); in OnCallDisconnectedCause() local
67 std::lock_guard<std::mutex> lock(mutex_); in OnReportAsyncResults() local
76 std::lock_guard<std::mutex> lock(mutex_); in OnReportMmiCodeResult() local
85 std::lock_guard<std::mutex> lock(mutex_); in OnOttCallRequest() local
94 std::lock_guard<std::mutex> lock(mutex_); in OnReportAudioDeviceChange() local
103 std::lock_guard<std::mutex> lock(mutex_); in OnReportPostDialDelay() local
112 std::lock_guard<std::mutex> lock(mutex_); in OnReportImsCallModeChange() local
[all …]
Dcall_manager_proxy.cpp63 std::lock_guard<std::mutex> lock(mutex_); in Init() local
130 std::lock_guard<std::mutex> lock(mutex_); in UnInit() local
140 std::lock_guard<std::mutex> lock(mutex_); in RegisterCallBack() local
177 std::lock_guard<std::mutex> lock(mutex_); in UnRegisterCallBack() local
274 std::lock_guard<std::mutex> lock(mutex_); in ReRegisterCallBack() local
345 std::lock_guard<std::mutex> lock(mutex_); in DialCall() local
360 std::lock_guard<std::mutex> lock(mutex_); in AnswerCall() local
375 std::lock_guard<std::mutex> lock(mutex_); in RejectCall() local
390 std::lock_guard<std::mutex> lock(mutex_); in HangUpCall() local
405 std::lock_guard<std::mutex> lock(mutex_); in GetCallState() local
[all …]
/base/telephony/core_service/services/network_search/src/
Dnetwork_search_state.cpp55 std::lock_guard<std::mutex> lock(mutex_); in SetOperatorInfo() local
67 std::lock_guard<std::mutex> lock(mutex_); in SetEmergency() local
75 std::lock_guard<std::mutex> lock(mutex_); in IsEmergency() local
84 std::lock_guard<std::mutex> lock(mutex_); in SetNetworkType() local
92 std::lock_guard<std::mutex> lock(mutex_); in SetNetworkState() local
100 std::lock_guard<std::mutex> lock(mutex_); in SetNetworkStateToRoaming() local
108 std::lock_guard<std::mutex> lock(imsMutex_); in GetImsStatus() local
134 std::lock_guard<std::mutex> lock(imsMutex_); in SetImsStatus() local
168 std::lock_guard<std::mutex> lock(imsMutex_); in SetImsServiceStatus() local
233 std::lock_guard<std::mutex> lock(mutex_); in GetNetworkStatus() local
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/posix/
Dhks_rwlock.c24 pthread_rwlock_t lock; member
40 int32_t HksRwlockLockRead(HksRwlock *lock) in HksRwlockLockRead()
47 int32_t HksRwlockUnlockRead(HksRwlock *lock) in HksRwlockUnlockRead()
54 int32_t HksRwlockLockWrite(HksRwlock *lock) in HksRwlockLockWrite()
61 int32_t HksRwlockUnlockWrite(HksRwlock *lock) in HksRwlockUnlockWrite()
68 void HksRwlockClose(HksRwlock *lock) in HksRwlockClose()
/base/hiviewdfx/hiview/base/
Dplugin_proxy.cpp25 std::lock_guard<std::mutex> lock(lock_); in OnEvent() local
36 std::lock_guard<std::mutex> lock(lock_); in CanProcessEvent() local
47 std::lock_guard<std::mutex> lock(lock_); in CanProcessMoreEvents() local
58 std::lock_guard<std::mutex> lock(lock_); in GetHandlerInfo() local
69 std::lock_guard<std::mutex> lock(lock_); in Dump() local
78 std::lock_guard<std::mutex> lock(lock_); in OnEventListeningCallback() local
108 std::lock_guard<std::mutex> lock(lock_); in DestroyInstanceIfNeed() local
/base/security/huks/test/unittest/huks_standard_test/storage_multithread_test/src/
Dhks_storage_file_lock_test.cpp34 HksStorageFileLock *lock = HksStorageFileLockCreate(&path[0]); variable
53 HksStorageFileLock *lock = HksStorageFileLockCreate(&path[0]); variable
59 for (auto lock : locks) { variable
69 HksStorageFileLock *lock = HksStorageFileLockCreate(&path[0]); variable
77 for (auto lock : locks) { variable
81 for (auto lock : locks) { variable
/base/telephony/call_manager/services/distributed_call/src/
Ddistributed_call_proxy.cpp82 std::lock_guard<std::mutex> lock(dcallClientMtx_); in Init() local
101 std::lock_guard<std::mutex> lock(dcallClientMtx_); in UnInit() local
111 std::lock_guard<std::mutex> lock(dcallClientMtx_); in SwitchDevice() local
121 std::lock_guard<std::mutex> lock(dcallClientMtx_); in GetOnlineDeviceList() local
132 std::lock_guard<std::mutex> lock(dcallClientMtx_); in RegisterDeviceCallback() local
142 std::lock_guard<std::mutex> lock(dcallClientMtx_); in UnRegisterDeviceCallback() local
153 std::lock_guard<std::mutex> lock(dcallClientMtx_); in GetDCallDeviceInfo() local
/base/telephony/call_manager/services/call_report/src/
Dcall_ability_report_proxy.cpp35 std::lock_guard<std::mutex> lock(mutex_); in ~CallAbilityReportProxy() local
54 std::lock_guard<std::mutex> lock(mutex_); in RegisterCallBack() local
78 std::lock_guard<std::mutex> lock(mutex_); in UnRegisterCallBack() local
125 std::lock_guard<std::mutex> lock(mutex_); in CallDestroyed() local
144 std::lock_guard<std::mutex> lock(mutex_); in ReportCallStateInfo() local
189 std::lock_guard<std::mutex> lock(mutex_); in ReportCallEvent() local
209 std::lock_guard<std::mutex> lock(mutex_); in ReportAsyncResults() local
228 std::lock_guard<std::mutex> lock(mutex_); in ReportMmiCodeResult() local
247 std::lock_guard<std::mutex> lock(mutex_); in OttCallRequest() local
267 std::lock_guard<std::mutex> lock(mutex_); in ReportAudioDeviceChange() local
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dans_dialog_host_client.cpp24 std::lock_guard<std::mutex> lock(AnsDialogHostClient::instanceMutex_); in CreateIfNullptr() local
35 std::lock_guard<std::mutex> lock(AnsDialogHostClient::instanceMutex_); in GetInstance() local
41 std::lock_guard<std::mutex> lock(AnsDialogHostClient::instanceMutex_); in Destroy() local
49 std::lock_guard<std::mutex> lock(AnsDialogHostClient::instanceMutex_); in SetDialogCallbackInterface() local
/base/powermgr/powermgr_lite/frameworks/src/
Drunning_lock.c34 static BOOL AddRunningLock(RunningLock *lock) in AddRunningLock()
52 static BOOL RemoveRunningLock(const RunningLock *lock) in RemoveRunningLock()
67 static BOOL IsRunningLockExisted(const RunningLock *lock) in IsRunningLockExisted()
122 BOOL AcquireRunningLock(const RunningLock *lock) in AcquireRunningLock()
137 BOOL ReleaseRunningLock(const RunningLock *lock) in ReleaseRunningLock()
152 void DestroyRunningLock(const RunningLock *lock) in DestroyRunningLock()
164 BOOL IsRunningLockHolding(const RunningLock *lock) in IsRunningLockHolding()
/base/inputmethod/imf/services/src/
Dinput_type_manager.cpp78 std::lock_guard<std::mutex> lock(typesLock_); in IsSupported() local
88 std::lock_guard<std::mutex> lock(listLock_); in IsInputType() local
98 std::lock_guard<std::mutex> lock(typesLock_); in GetImeByInputType() local
111 std::lock_guard<std::mutex> lock(stateLock_); in Set() local
118 std::lock_guard<std::mutex> lock(stateLock_); in IsStarted() local
124 std::lock_guard<std::mutex> lock(stateLock_); in IsCameraImeStarted() local
131 std::lock_guard<std::mutex> lock(stateLock_); in GetCurrentIme() local
152 std::lock_guard<std::mutex> lock(listLock_); in Init() local
/base/useriam/user_auth_framework/services/core/src/
Dresource_node_pool_impl.cpp54 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Insert() local
81 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Delete() local
99 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in DeleteAll() local
113 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Select() local
128 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Enumerate() local
136 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in GetPoolSize() local
146 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in RegisterResourceNodePoolListener() local
153 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in DeregisterResourceNodePoolListener() local
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp135 std::lock_guard<std::shared_mutex> lock(mutex_); in RegisterBatteryHdiCallback() local
255 std::lock_guard<std::shared_mutex> lock(mutex_); in RegisterHdiStatusListener() local
294 std::lock_guard<std::shared_mutex> lock(mutex_); in OnStop() local
380 std::shared_lock<std::shared_mutex> lock(mutex_); in GetCapacity() local
393 std::shared_lock<std::shared_mutex> lock(mutex_); in ChangePath() local
424 std::shared_lock<std::shared_mutex> lock(mutex_); in SetBatteryConfig() local
440 std::shared_lock<std::shared_mutex> lock(mutex_); in GetBatteryConfig() local
464 std::shared_lock<std::shared_mutex> lock(mutex_); in IsBatteryConfigSupported() local
485 std::shared_lock<std::shared_mutex> lock(mutex_); in GetChargingStatus() local
498 std::shared_lock<std::shared_mutex> lock(mutex_); in GetHealthStatus() local
[all …]
/base/useriam/user_auth_framework/services/context/src/
Dcontext_pool_impl.cpp56 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Insert() local
72 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Delete() local
91 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in CancelAll() local
105 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Select() local
116 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in Select() local
131 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in SelectScheduleNodeByScheduleId() local
150 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in RegisterContextPoolListener() local
157 std::lock_guard<std::recursive_mutex> lock(poolMutex_); in DeregisterContextPoolListener() local
170 std::lock_guard<std::mutex> lock(mutex); in GetNewContextId() local

12345678910>>...23