Home
last modified time | relevance | path

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

12345678910>>...19

/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/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
216 std::lock_guard<std::mutex> lock(mutex_); in GetNetworkStatus() local
[all …]
/base/telephony/call_manager/services/call/src/
Dcall_base.cpp85 std::lock_guard<std::mutex> lock(mutex_); in GetCallAttributeBaseInfo() local
119 std::lock_guard<std::mutex> lock(mutex_); in GetCallID() local
130 std::lock_guard<std::mutex> lock(mutex_); in GetCallRunningState() local
137 std::lock_guard<std::mutex> lock(mutex_); in SetTelCallState() local
242 std::lock_guard<std::mutex> lock(mutex_); in GetTelCallState() local
248 std::lock_guard<std::mutex> lock(mutex_); in SetTelConferenceState() local
255 std::lock_guard<std::mutex> lock(mutex_); in GetTelConferenceState() local
261 std::lock_guard<std::mutex> lock(mutex_); in GetVideoStateType() local
267 std::lock_guard<std::mutex> lock(mutex_); in SetVideoStateType() local
273 std::lock_guard<std::mutex> lock(mutex_); in SetPolicyFlag() local
[all …]
Dcall_object_manager.cpp50 std::lock_guard<std::mutex> lock(listMutex_); in AddOneCallObject() local
76 std::lock_guard<std::mutex> lock(listMutex_); in DeleteOneCallObject() local
97 std::lock_guard<std::mutex> lock(listMutex_); in DeleteOneCallObject() local
108 std::lock_guard<std::mutex> lock(listMutex_); in GetOneCallObject() local
126 std::lock_guard<std::mutex> lock(listMutex_); in GetOneCallObject() local
142 std::lock_guard<std::mutex> lock(listMutex_); in HasNewCall() local
159 std::lock_guard<std::mutex> lock(listMutex_); in IsNewCallAllowedCreate() local
178 std::lock_guard<std::mutex> lock(listMutex_); in GetCarrierCallList() local
191 std::lock_guard<std::mutex> lock(listMutex_); in HasRingingMaximum() local
208 std::lock_guard<std::mutex> lock(listMutex_); in HasDialingMaximum() local
[all …]
Dcs_conference.cpp44 std::lock_guard<std::mutex> lock(conferenceMutex_); in JoinToConference() local
62 std::lock_guard<std::mutex> lock(conferenceMutex_); in LeaveFromConference() local
82 std::lock_guard<std::mutex> lock(conferenceMutex_); in HoldConference() local
102 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanCombineConference() local
112 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanSeparateConference() local
122 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanKickOutFromConference() local
Dott_conference.cpp42 std::lock_guard<std::mutex> lock(conferenceMutex_); in JoinToConference() local
62 std::lock_guard<std::mutex> lock(conferenceMutex_); in LeaveFromConference() local
82 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
123 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanKickOutFromConference() local
Dims_conference.cpp42 std::lock_guard<std::mutex> lock(conferenceMutex_); in JoinToConference() local
62 std::lock_guard<std::mutex> lock(conferenceMutex_); in LeaveFromConference() local
82 std::lock_guard<std::mutex> lock(conferenceMutex_); in HoldConference() local
102 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanCombineConference() local
112 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanSeparateConference() local
122 std::lock_guard<std::mutex> lock(conferenceMutex_); in CanKickOutFromConference() local
Dconference_base.cpp34 std::lock_guard<std::mutex> lock(conferenceMutex_); in ~ConferenceBase() local
40 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetMainCall() local
55 std::lock_guard<std::mutex> lock(conferenceMutex_); in SetMainCall() local
63 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetConferenceState() local
69 std::lock_guard<std::mutex> lock(conferenceMutex_); in SetConferenceState() local
77 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetSubCallIdList() local
97 std::lock_guard<std::mutex> lock(conferenceMutex_); in GetCallIdListForConference() local
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_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
303 std::lock_guard<std::mutex> lock(mutex_); in DialCall() local
318 std::lock_guard<std::mutex> lock(mutex_); in AnswerCall() local
333 std::lock_guard<std::mutex> lock(mutex_); in RejectCall() local
348 std::lock_guard<std::mutex> lock(mutex_); in HangUpCall() local
363 std::lock_guard<std::mutex> lock(mutex_); in GetCallState() local
[all …]
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
/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/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/telephony/call_manager/services/call_report/src/
Dcall_ability_report_proxy.cpp36 std::lock_guard<std::mutex> lock(mutex_); in ~CallAbilityReportProxy() local
55 std::lock_guard<std::mutex> lock(mutex_); in RegisterCallBack() local
76 std::lock_guard<std::mutex> lock(mutex_); in UnRegisterCallBack() local
109 std::lock_guard<std::mutex> lock(mutex_); in CallDestroyed() local
128 std::lock_guard<std::mutex> lock(mutex_); in ReportCallStateInfo() local
150 std::lock_guard<std::mutex> lock(mutex_); in ReportCallEvent() local
170 std::lock_guard<std::mutex> lock(mutex_); in ReportAsyncResults() local
189 std::lock_guard<std::mutex> lock(mutex_); in ReportMmiCodeResult() local
208 std::lock_guard<std::mutex> lock(mutex_); in OttCallRequest() local
228 std::lock_guard<std::mutex> lock(mutex_); in ReportAudioDeviceChange() local
[all …]
/base/notification/common_event_service/services/src/
Dbundle_manager_helper.cpp43 std::lock_guard<std::mutex> lock(mutex_); in GetBundleName() local
61 std::lock_guard<std::mutex> lock(mutex_); in QueryExtensionInfos() local
76 std::lock_guard<std::mutex> lock(mutex_); in QueryExtensionInfos() local
104 std::lock_guard<std::mutex> lock(mutex_); in GetResConfigFile() local
119 std::lock_guard<std::mutex> lock(mutex_); in CheckIsSystemAppByUid() local
137 std::lock_guard<std::mutex> lock(mutex_); in CheckIsSystemAppByBundleName() local
198 std::lock_guard<std::mutex> lock(mutex_); in ClearBundleManagerHelper() local
211 std::lock_guard<std::mutex> lock(mutex_); in GetApplicationInfos() 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/power_manager/services/native/src/
Dpower_mgr_service.cpp362 std::lock_guard lock(lockMutex_); in OnRemoveSystemAbility() local
402 std::lock_guard lock(shutdownMutex_); in RebootDeviceForDeprecated() local
434 std::lock_guard lock(shutdownMutex_); in ShutDownDevice() local
451 std::lock_guard lock(suspendMutex_); in SuspendDevice() local
468 std::lock_guard lock(wakeupMutex_); in WakeupDevice() local
483 std::lock_guard lock(screenMutex_); in RefreshActivity() local
499 std::lock_guard lock(screenMutex_); in OverrideScreenOffTime() local
509 std::lock_guard lock(screenMutex_); in RestoreScreenOffTime() local
519 std::lock_guard lock(stateMutex_); in GetState() local
527 std::lock_guard lock(stateMutex_); in IsScreenOn() local
[all …]
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dapp_state_observer.cpp56 std::lock_guard<std::mutex> lock(sandboxInfoLock_); in UninstallAllDlpSandboxForUser() local
77 std::lock_guard<std::mutex> lock(userIdListLock_); in UninstallAllDlpSandbox() local
86 std::lock_guard<std::mutex> lock(userIdListLock_); in ExitSaAfterAllDlpManagerDie() local
106 std::lock_guard<std::mutex> lock(userIdListLock_); in EraseUserId() local
116 std::lock_guard<std::mutex> lock(userIdListLock_); in AddUserId() local
126 std::lock_guard<std::mutex> lock(sandboxInfoLock_); in GetSandboxInfo() local
137 std::lock_guard<std::mutex> lock(sandboxInfoLock_); in CheckSandboxInfo() local
148 std::lock_guard<std::mutex> lock(sandboxInfoLock_); in EraseSandboxInfo() local
161 std::lock_guard<std::mutex> lock(sandboxInfoLock_); in AddSandboxInfo() local
238 std::lock_guard<std::mutex> lock(tokenIdToUidMapLock_); in EraseUidTokenIdMap() local
[all …]
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_callback_holer.cpp31 std::unique_lock<std::mutex> lock(mutex_); in AddCallback() local
62 std::unique_lock<std::mutex> lock(mutex_); in GetHighPriorityCallbacks() local
68 std::unique_lock<std::mutex> lock(mutex_); in GetDefaultPriorityCallbacks() local
74 std::unique_lock<std::mutex> lock(mutex_); in GetLowPriorityCallbacks() local
80 std::unique_lock<std::mutex> lock(mutex_); in RemoveCallback() local
/base/location/services/location_locator/locator/source/
Dwork_record.cpp55 std::unique_lock<std::mutex> lock(workRecordMutex_); in Marshalling() local
70 std::unique_lock<std::mutex> lock(workRecordMutex_); in MarshallingWorkRecord() local
88 std::unique_lock<std::mutex> lock(workRecordMutex_); in ToString() local
110 std::unique_lock<std::mutex> lock(workRecordMutex_); in GetName() local
119 std::unique_lock<std::mutex> lock(workRecordMutex_); in GetUid() local
128 std::unique_lock<std::mutex> lock(workRecordMutex_); in GetPid() local
137 std::unique_lock<std::mutex> lock(workRecordMutex_); in GetTimeInterval() local
146 std::unique_lock<std::mutex> lock(workRecordMutex_); in GetUuid() local
178 std::unique_lock<std::mutex> lock(workRecordMutex_); in Add() local
190 std::unique_lock<std::mutex> lock(workRecordMutex_); in Remove() local
[all …]

12345678910>>...19