Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DMockVehicleHardware.cpp47 std::scoped_lock<std::mutex> lockGuard(mLock); in getAllPropertyConfigs() local
53 std::scoped_lock<std::mutex> lockGuard(mLock); in setValues() local
72 std::scoped_lock<std::mutex> lockGuard(mLock); in getValues() local
94 std::scoped_lock<std::mutex> lockGuard(mLock); in subscribe() local
107 std::scoped_lock<std::mutex> lockGuard(mLock); in getSubscribeOptions() local
112 std::scoped_lock<std::mutex> lockGuard(mLock); in clearSubscribeOptions() local
120 std::scoped_lock<std::mutex> lockGuard(mLock); in subscribePropIdAreaId() local
129 std::scoped_lock<std::mutex> lockGuard(mLock); in subscribePropIdAreaId() local
159 std::scoped_lock<std::mutex> lockGuard(mLock); in unsubscribe() local
175 std::scoped_lock<std::mutex> lockGuard(mLock); in getSubscribedOnChangePropIdAreaIds() local
[all …]
DMockVehicleCallback.cpp55 std::scoped_lock<std::mutex> lockGuard(mLock); in onGetValues() local
65 std::scoped_lock<std::mutex> lockGuard(mLock); in onSetValues() local
76 std::scoped_lock<std::mutex> lockGuard(mLock); in onPropertyEvent() local
87 std::scoped_lock<std::mutex> lockGuard(mLock); in onPropertySetError() local
95 std::scoped_lock<std::mutex> lockGuard(mLock); in nextGetValueResults() local
100 std::scoped_lock<std::mutex> lockGuard(mLock); in nextSetValueResults() local
105 std::scoped_lock<std::mutex> lockGuard(mLock); in nextOnPropertyEventResults() local
110 std::scoped_lock<std::mutex> lockGuard(mLock); in countOnPropertyEventResults() local
115 std::scoped_lock<std::mutex> lockGuard(mLock); in nextOnPropertySetErrorResults() local
120 std::scoped_lock<std::mutex> lockGuard(mLock); in countOnPropertySetErrorResults() local
DSubscriptionManagerTest.cpp62 std::scoped_lock<std::mutex> lockGuard(mLock); in onPropertyEvent() local
75 std::scoped_lock<std::mutex> lockGuard(mLock); in getEvents() local
80 std::scoped_lock<std::mutex> lockGuard(mLock); in clearEvents() local
DDefaultVehicleHalTest.cpp441 std::scoped_lock<std::mutex> lockGuard(mVhal->mLock); in countClients() local
453 std::scoped_lock<std::mutex> lockGuard(mVhal->mLock); in getOnBinderDiedContexts() local
458 std::scoped_lock<std::mutex> lockGuard(mVhal->mLock); in countOnBinderDiedContexts() local
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DConcurrentQueue.h37 std::unique_lock<std::mutex> lockGuard(mLock); in waitForItems()
40 mCond.wait(lockGuard); in waitForItems()
48 std::scoped_lock<std::mutex> lockGuard(mLock); in flush()
63 std::scoped_lock<std::mutex> lockGuard(mLock); in push()
74 std::scoped_lock<std::mutex> lockGuard(mLock); in push()
89 std::scoped_lock<std::mutex> lockGuard(mLock); in deactivate()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DPendingRequestPool.cpp70 std::scoped_lock<std::mutex> lockGuard(mLock); in ~PendingRequestPool() local
84 std::scoped_lock<std::mutex> lockGuard(mLock); in addRequests() local
121 std::scoped_lock<std::mutex> lockGuard(mLock); in isRequestPending() local
127 std::scoped_lock<std::mutex> lockGuard(mLock); in countPendingRequests() local
139 std::scoped_lock<std::mutex> lockGuard(mLock); in countPendingRequests() local
171 std::scoped_lock<std::mutex> lockGuard(mLock); in checkTimeout() local
205 std::scoped_lock<std::mutex> lockGuard(mLock); in tryFinishRequests() local
DRecurrentTimer.cpp71 std::scoped_lock<std::mutex> lockGuard(mLock); in registerTimerCallback() local
100 std::scoped_lock<std::mutex> lockGuard(mLock); in unregisterTimerCallback() local
118 std::scoped_lock<std::mutex> lockGuard(mLock); in handleMessage() local
DVehiclePropertyStore.cpp59 std::scoped_lock<std::mutex> lockGuard(mLock); in ~VehiclePropertyStore() local
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DRecurrentTimerTest.cpp38 std::scoped_lock<std::mutex> lockGuard(mLock); in getCallback() local
54 std::scoped_lock<std::mutex> lockGuard(mLock); in getCalledCallbacks() local
59 std::scoped_lock<std::mutex> lockGuard(mLock); in clearCalledCallbacks() local
64 std::scoped_lock<std::mutex> lockGuard(timer->mLock); in countCallbackInfoById() local
69 std::scoped_lock<std::mutex> lockGuard(timer->mLock); in countIdByCallback() local
224 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
228 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
DPendingRequestPoolTest.cpp76 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
109 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
149 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
169 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
192 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
212 std::scoped_lock<std::mutex> lockGuard(lock); in TEST_F() local
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/src/
DTestWakeupClientServiceImpl.cpp74 std::lock_guard<std::mutex> lockGuard(mLock); in maybePopOne() local
85 std::lock_guard<std::mutex> lockGuard(mLock); in add() local
115 std::lock_guard<std::mutex> lockGuard(mLock); in stopWait() local
121 std::lock_guard<std::mutex> lockGuard(mLock); in isEmpty() local
129 std::lock_guard<std::mutex> lockGuard(mLock); in handleTaskTimeout() local
196 std::lock_guard<std::mutex> lockGuard(mLock); in startGeneratingFakeTask() local
208 std::lock_guard<std::mutex> lockGuard(mLock); in stopGeneratingFakeTask() local
314 std::lock_guard<std::mutex> lockGuard(mLock); in ScheduleTask() local
373 std::lock_guard<std::mutex> lockGuard(mLock); in handleAddTask() local
421 std::lock_guard<std::mutex> lockGuard(mLock); in UnscheduleTask() local
[all …]
/hardware/interfaces/automotive/remoteaccess/hal/default/src/
DRemoteAccessService.cpp149 std::lock_guard<std::mutex> lockGuard(mStartStopTaskLoopLock); in maybeStartTaskLoop() local
160 std::lock_guard<std::mutex> lockGuard(mStartStopTaskLoopLock); in maybeStopTaskLoop() local
166 std::lock_guard<std::mutex> lockGuard(mLock); in maybeStopTaskLoop() local
185 std::lock_guard<std::mutex> lockGuard(mLock); in updateGrpcReadChannelOpen() local
193 std::lock_guard<std::mutex> lockGuard(mLock); in deliverRemoteTaskThroughCallback() local
216 std::lock_guard<std::mutex> lockGuard(mLock); in runTaskLoop() local
293 std::lock_guard<std::mutex> lockGuard(mLock); in setRemoteTaskCallback() local
299 std::lock_guard<std::mutex> lockGuard(mLock); in clearRemoteTaskCallback() local
614 std::lock_guard<std::mutex> lockGuard(mLock); in printCurrentStatus() local
676 std::lock_guard<std::mutex> lockGuard(mLock); in onRemoteTaskRequested() local
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/
DFakeUserHal.cpp129 std::scoped_lock<std::mutex> lockGuard(mLock); in onGetUserIdentificationAssociation() local
150 std::scoped_lock<std::mutex> lockGuard(mLock); in onSetInitialUserInfoResponse() local
184 std::scoped_lock<std::mutex> lockGuard(mLock); in onSetSwitchUserResponse() local
239 std::scoped_lock<std::mutex> lockGuard(mLock); in onSetCreateUserResponse() local
273 std::scoped_lock<std::mutex> lockGuard(mLock); in onSetUserIdentificationAssociation() local
343 std::scoped_lock<std::mutex> lockGuard(mLock); in dump() local
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DSubscriptionManager.cpp64 std::scoped_lock<std::mutex> lockGuard(mLock); in ~SubscriptionManager() local
261 std::scoped_lock<std::mutex> lockGuard(mLock); in subscribe() local
345 std::scoped_lock<std::mutex> lockGuard(mLock); in unsubscribe() local
378 std::scoped_lock<std::mutex> lockGuard(mLock); in unsubscribe() local
424 std::scoped_lock<std::mutex> lockGuard(mLock); in getSubscribedClients() local
463 std::scoped_lock<std::mutex> lockGuard(mLock); in getSubscribedClientsForErrorEvents() local
487 std::scoped_lock<std::mutex> lockGuard(mLock); in isEmpty() local
492 std::scoped_lock<std::mutex> lockGuard(mLock); in countClients() local
DDefaultVehicleHal.cpp274 std::scoped_lock<std::mutex> lockGuard(mLock); in onBinderDiedWithContext() local
291 std::scoped_lock<std::mutex> lockGuard(mLock); in onBinderUnlinkedWithContext() local
378 std::scoped_lock lockGuard(mConfigInitLock); in getConfigFile() local
389 std::scoped_lock lockGuard(mConfigInitLock); in getConfigsByPropId() local
495 std::scoped_lock lockGuard(mLock); in getValues() local
592 std::scoped_lock lockGuard(mLock); in setValues() local
837 std::scoped_lock lockGuard(mLock); in subscribe() local
969 std::scoped_lock lockGuard(mConfigInitLock); in dump() local
979 std::scoped_lock<std::mutex> lockGuard(mLock); in dump() local
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/
DGeneratorHub.cpp52 std::scoped_lock<std::mutex> lockGuard(mGeneratorsLock); in registerGenerator() local
71 std::scoped_lock<std::mutex> lockGuard(mGeneratorsLock); in unregisterGenerator() local
/hardware/interfaces/automotive/remoteaccess/vts/src/
DVtsHalAutomotiveRemoteAccess_TargetTest.cpp94 std::unique_lock<std::mutex> lockGuard(mLock); in onRemoteTaskRequested() local
103 std::lock_guard<std::mutex> lockGuard(mLock); in getCalledClientIds() local
108 std::lock_guard<std::mutex> lockGuard(mLock); in getCalledDataList() local
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/test/
DFakeVehicleHalValueGeneratorsTest.cpp56 std::scoped_lock<std::mutex> lockGuard(mEventsLock); in getEvents() local
61 std::scoped_lock<std::mutex> lockGuard(mEventsLock); in clearEvents() local
89 std::scoped_lock<std::mutex> lockGuard(mEventsLock); in onHalEvent() local
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp656 std::lock_guard<std::recursive_mutex> lockGuard(mWakelockMutex); in resetSharedWakelock() local
695 std::lock_guard<std::recursive_mutex> lockGuard(mWakelockMutex); in incrementRefCountAndMaybeAcquireWakelock() local
711 std::lock_guard<std::recursive_mutex> lockGuard(mWakelockMutex); in decrementRefCountAndMaybeReleaseWakelock() local
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp165 std::scoped_lock<std::mutex> lockGuard(mLock); in setValues() local
189 std::scoped_lock<std::mutex> lockGuard(mLock); in getValues() local
269 std::scoped_lock<std::mutex> lockGuard(mLock); in onSetValues() local
278 std::scoped_lock<std::mutex> lockGuard(mLock); in getSetValueResults() local
283 std::scoped_lock<std::mutex> lockGuard(mLock); in onGetValues() local
292 std::scoped_lock<std::mutex> lockGuard(mLock); in getGetValueResults() local
297 std::scoped_lock<std::mutex> lockGuard(mLock); in onPropertyChangeEvent() local
310 std::scoped_lock<std::mutex> lockGuard(mLock); in getChangedProperties() local
336 std::scoped_lock<std::mutex> lockGuard(mLock); in clearChangedProperties() local
346 std::scoped_lock<std::mutex> lockGuard(mLock); in getEventCount() local
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp2137 std::scoped_lock<std::mutex> lockGuard(mLock); in dumpSaveProperty() local
2163 std::scoped_lock<std::mutex> lockGuard(mLock); in dumpRestoreProperty() local
2240 std::scoped_lock<std::mutex> lockGuard(mLock); in subscribe() local
2272 std::scoped_lock<std::mutex> lockGuard(mLock); in refreshTimestampForInterval() local
2375 std::scoped_lock<std::mutex> lockGuard(mLock); in unsubscribe() local
2397 std::scoped_lock<std::mutex> lockGuard(mLock); in onValuesChangeCallback() local
/hardware/interfaces/automotive/vehicle/vts/src/
DVtsHalAutomotiveVehicle_TargetTest.cpp95 std::lock_guard<std::mutex> lockGuard(mLock); in onPropertyEvent() local
119 std::lock_guard<std::mutex> lockGuard(mLock); in getEvents() local
131 std::lock_guard<std::mutex> lockGuard(mLock); in getEventTimestamps() local
143 std::lock_guard<std::mutex> lockGuard(mLock); in reset() local
/hardware/interfaces/automotive/remoteaccess/hal/default/test/
DRemoteAccessServiceUnitTest.cpp214 std::lock_guard<std::mutex> lockGuard(mLock); in onRemoteTaskRequested() local