Home
last modified time | relevance | path

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

12345

/device/generic/goldfish/gnss/
DGnss.cpp61 std::lock_guard<std::mutex> lock(mMtx); in setCallback() local
70 std::lock_guard<std::mutex> lock(mMtx); in close() local
141 std::lock_guard<std::mutex> lock(mMtx); in start() local
153 std::lock_guard<std::mutex> lock(mMtx); in start() local
168 std::lock_guard<std::mutex> lock(mMtx); in stop() local
207 std::lock_guard<std::mutex> lock(mMtx); in setPositionMode() local
232 std::lock_guard<std::mutex> lock(mMtx); in startSvStatus() local
238 std::lock_guard<std::mutex> lock(mMtx); in stopSvStatus() local
244 std::lock_guard<std::mutex> lock(mMtx); in startNmea() local
250 std::lock_guard<std::mutex> lock(mMtx); in stopNmea() local
[all …]
DGnssBatching.cpp45 std::lock_guard<std::mutex> lock(mMtx); in init() local
67 std::lock_guard<std::mutex> lock(mMtx); in start() local
73 std::unique_lock<std::mutex> lock(mMtx); in start() local
89 std::lock_guard<std::mutex> lock(mMtx); in flush() local
105 std::lock_guard<std::mutex> lock(mMtx); in cleanup() local
112 std::lock_guard<std::mutex> lock(mMtx); in onGnssLocationCb() local
120 std::lock_guard<std::mutex> lock(mMtx); in stopImpl() local
/device/generic/goldfish/audio/
Dring_buffer.cpp36 std::unique_lock<std::mutex> lock(mMutex); in availableToConsume() local
41 std::unique_lock<std::mutex> lock(mMutex); in makeRoomForProduce() local
55 std::unique_lock<std::mutex> lock(mMutex); in waitForProduceAvailable() local
66 std::unique_lock<std::mutex> lock(mMutex); in getProduceChunk() local
80 std::unique_lock<std::mutex> lock(mMutex); in produce() local
92 std::unique_lock<std::mutex> lock(mMutex); in produce() local
116 std::unique_lock<std::mutex> lock(mMutex); in waitForConsumeAvailable() local
127 std::unique_lock<std::mutex> lock(mMutex); in getConsumeChunk() local
140 size_t RingBuffer::consume(const ContiniousLockedChunk &lock, size_t size) { in consume()
/device/generic/goldfish-opengl/system/hwc3/
DDisplay.cpp97 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in init() local
136 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in updateParameters() local
160 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in createLayer() local
177 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in destroyLayer() local
200 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getActiveConfig() local
216 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getDisplayAttribute() local
234 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getColorModes() local
255 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getDisplayConfigs() local
269 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getDisplayConfigurations() local
320 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getDisplayName() local
[all …]
DVsyncThread.cpp87 std::unique_lock<std::mutex> lock(mStateMutex); in setCallbacks() local
97 std::unique_lock<std::mutex> lock(mStateMutex); in setVsyncEnabled() local
113 std::unique_lock<std::mutex> lock(mStateMutex); in scheduleVsyncUpdate() local
148 std::unique_lock<std::mutex> lock(mStateMutex); in threadLoop() local
/device/generic/goldfish/fingerprint/
Dsession.cpp157 std::lock_guard<std::mutex> lock(mMutex); in generateChallenge() local
183 std::lock_guard<std::mutex> lock(mMutex); in enroll() local
217 std::lock_guard<std::mutex> lock(mMutex); in authenticate() local
247 std::lock_guard<std::mutex> lock(mMutex); in detectInteraction() local
274 std::lock_guard<std::mutex> lock(mMutex); in enumerateEnrollments() local
286 std::lock_guard<std::mutex> lock(mMutex); in removeEnrollments() local
299 std::lock_guard<std::mutex> lock(mMutex); in getAuthenticatorId() local
311 std::lock_guard<std::mutex> lock(mMutex); in invalidateAuthenticatorId() local
324 std::lock_guard<std::mutex> lock(mMutex); in resetLockout() local
364 std::lock_guard<std::mutex> lock(mMutex); in onSensorEventOn() local
[all …]
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Daudio_track_source_impl.cpp25 std::lock_guard<std::mutex> lock(observers_mutex_); in SetVolume() local
32 std::lock_guard<std::mutex> lock(observers_mutex_); in RegisterAudioObserver() local
36 std::lock_guard<std::mutex> lock(observers_mutex_); in UnregisterAudioObserver() local
41 std::lock_guard<std::mutex> lock(sinks_mutex_); in AddSink() local
46 std::lock_guard<std::mutex> lock(sinks_mutex_); in RemoveSink() local
56 std::lock_guard<std::mutex> lock(sinks_mutex_); in OnFrame() local
Drecording_manager.cpp49 std::lock_guard<std::mutex> lock(mutex_); in AddSource() local
65 std::lock_guard<std::mutex> lock(mutex_); in RemoveSource() local
78 std::lock_guard<std::mutex> lock(mutex_); in Start() local
91 std::lock_guard<std::mutex> lock(mutex_); in Stop() local
106 std::unique_lock<std::mutex> lock(mutex_); in WaitForSources() local
Dcamera_streamer.cpp36 std::lock_guard<std::mutex> lock(onframe_mutex_); in OnFrame() local
46 std::lock_guard<std::mutex> lock(settings_mutex_); in OnFrame() local
92 std::lock_guard<std::mutex> lock(settings_mutex_); in HandleMessage() local
101 std::lock_guard<std::mutex> lock(frame_mutex_); in HandleMessage() local
120 std::lock_guard<std::mutex> lock(frame_mutex_); in VsockSendYUVFrame() local
Dlights_observer.cpp95 std::lock_guard<std::mutex> lock(clients_lock_); in ReadServerMessages() local
110 std::lock_guard<std::mutex> lock(clients_lock_); in Subscribe() local
123 std::lock_guard<std::mutex> lock(clients_lock_); in Unsubscribe() local
/device/generic/goldfish/wifi/wifi_hal/
Dhalstate.cpp24 std::unique_lock<std::mutex> lock(mStateMutex); in init() local
51 std::unique_lock<std::mutex> lock(mStateMutex); in stop() local
81 std::unique_lock<std::mutex> lock(mStateMutex); in eventLoop() local
99 std::unique_lock<std::mutex> lock(mStateMutex); in onStop() local
Dnetlink.cpp91 std::unique_lock<std::mutex> lock(mStopHandlerMutex); in stop() local
138 std::unique_lock<std::mutex> lock(mStopHandlerMutex); in eventLoop() local
160 std::unique_lock<std::mutex> lock(mHandlersMutex); in sendMessage() local
253 std::unique_lock<std::mutex> lock(mHandlersMutex); in notifyHandler() local
/device/google/cuttlefish/host/libs/wayland/
Dwayland_surfaces.cpp28 std::unique_lock<std::mutex> lock(callback_mutex_); in SetFrameCallback() local
33 std::unique_lock<std::mutex> lock(callback_mutex_); in SetDisplayEventCallback() local
51 std::unique_lock<std::mutex> lock(callback_mutex_); in HandleSurfaceFrame() local
68 std::unique_lock<std::mutex> lock(callback_mutex_); in HandleSurfaceCreated() local
79 std::unique_lock<std::mutex> lock(callback_mutex_); in HandleSurfaceDestroyed() local
Dwayland_surface.cpp51 std::unique_lock<std::mutex> lock(state_mutex_); in SetRegion() local
56 std::unique_lock<std::mutex> lock(state_mutex_); in Attach() local
61 std::unique_lock<std::mutex> lock(state_mutex_); in Commit() local
108 std::unique_lock<std::mutex> lock(state_mutex_); in SetVirtioGpuScanoutId() local
/device/google/cuttlefish/guest/hals/camera/
Dstream_buffer_cache.cpp26 std::lock_guard<std::mutex> lock(mutex_); in get() local
36 std::lock_guard<std::mutex> lock(mutex_); in remove() local
45 std::lock_guard<std::mutex> lock(mutex_); in update() local
55 std::lock_guard<std::mutex> lock(mutex_); in clear() local
60 std::lock_guard<std::mutex> lock(mutex_); in removeStreamsExcept() local
Dvsock_frame_provider.cpp61 std::unique_lock<std::mutex> lock(frame_mutex_); in waitYUVFrame() local
77 std::lock_guard<std::mutex> lock(frame_mutex_); in copyYUVFrame() local
120 std::lock_guard<std::mutex> lock(jpeg_mutex_); in copyJpegData() local
159 std::lock_guard<std::mutex> lock(frame_mutex_); in VsockReadLoop() local
164 std::lock_guard<std::mutex> lock(jpeg_mutex_); in VsockReadLoop() local
/device/google/atv/audio_proxy/service/
DBusStreamProvider.cpp30 std::lock_guard<std::mutex> lock(mLock); in setStreamProvider() local
48 std::lock_guard<std::mutex> lock(mLock); in getStreamProvider() local
55 std::lock_guard<std::mutex> lock(mLock); in openOutputStream() local
61 std::lock_guard<std::mutex> lock(mLock); in onStreamOutCreated() local
101 std::lock_guard<std::mutex> lock(mLock); in cleanAndCountStreamOuts() local
DWriteThread.cpp52 std::scoped_lock<std::mutex> lock(mStreamLock); in updateOutputStream() local
57 std::scoped_lock<std::mutex> lock(mPositionLock); in updateOutputStream() local
62 std::scoped_lock<std::mutex> lock(mPositionLock); in getPresentationPosition() local
135 std::scoped_lock<std::mutex> lock(mStreamLock); in threadLoop() local
201 std::scoped_lock<std::mutex> lock(mPositionLock); in updatePresentationPosition() local
/device/google/cuttlefish/common/libs/utils/
Dvsock_connection.cpp91 std::lock_guard<std::recursive_mutex> lock(read_mutex_); in Read() local
101 std::lock_guard<std::recursive_mutex> lock(read_mutex_); in Read() local
109 std::lock_guard<std::recursive_mutex> lock(read_mutex_); in Read() local
124 std::lock_guard<std::recursive_mutex> lock(read_mutex_); in ReadMessage() local
134 std::lock_guard<std::recursive_mutex> lock(read_mutex_); in ReadMessage() local
165 std::lock_guard<std::recursive_mutex> lock(write_mutex_); in Write() local
174 std::lock_guard<std::recursive_mutex> lock(write_mutex_); in Write() local
192 std::lock_guard<std::recursive_mutex> lock(write_mutex_); in WriteMessage() local
/device/google/contexthub/firmware/os/core/
Dtrylock.c21 void trylockInit(struct TryLock *lock) in trylockInit()
26 void trylockRelease(struct TryLock *lock) in trylockRelease()
31 bool trylockTryTake(struct TryLock *lock) in trylockTryTake()
/device/generic/goldfish/sensors/
Dmultihal_sensors.cpp132 std::unique_lock<std::mutex> lock(m_mtx); in setOperationMode() local
148 std::unique_lock<std::mutex> lock(m_mtx); in activate() local
258 std::unique_lock<std::mutex> lock(m_mtx); in batch() local
293 std::unique_lock<std::mutex> lock(m_mtx); in flush() local
317 std::unique_lock<std::mutex> lock(m_mtx); in injectSensorData_2_1() local
332 std::unique_lock<std::mutex> lock(m_mtx); in initialize() local
432 std::unique_lock<std::mutex> lock(m_mtx); in qemuSensorListenerThread() local
439 std::unique_lock<std::mutex> lock(m_mtx); in qemuSensorListenerThread() local
451 std::unique_lock<std::mutex> lock(m_mtx); in batchThread() local
/device/google/cuttlefish/host/commands/gnss_grpc_proxy/
Dgnss_grpc_proxy.cpp123 std::lock_guard<std::mutex> lock(cached_fixed_location_mutex); in SendGps() local
142 std::lock_guard<std::mutex> lock(fixed_locations_queue_mutex_); in SendGpsVector() local
156 std::lock_guard<std::mutex> lock(cached_fixed_location_mutex); in sendToSerial() local
165 std::lock_guard<std::mutex> lock(cached_gnss_raw_mutex); in sendGnssRawToSerial() local
222 std::lock_guard<std::mutex> lock(cached_fixed_location_mutex); in ReadFixedLocationFromLocalFile() local
262 std::lock_guard<std::mutex> lock(cached_gnss_raw_mutex); in ReadGnssRawMeasurement() local
361 std::lock_guard<std::mutex> lock(cached_fixed_location_mutex); in WriteFixedLocationFromQueue() local
364 std::lock_guard<std::mutex> lock(fixed_locations_queue_mutex_); in WriteFixedLocationFromQueue() local
/device/google/cuttlefish/host/frontend/webrtc/
Dsensors_handler.cpp40 std::lock_guard<std::mutex> lock(subscribers_mtx_); in Subscribe() local
54 std::lock_guard<std::mutex> lock(subscribers_mtx_); in UnSubscribe() local
62 std::lock_guard<std::mutex> lock(subscribers_mtx_); in UpdateSensors() local
Dkernel_log_events_handler.cpp101 std::lock_guard<std::mutex> lock(subscribers_mtx_); in AddSubscriber() local
112 std::lock_guard<std::mutex> lock(subscribers_mtx_); in Unsubscribe() local
117 std::lock_guard<std::mutex> lock(subscribers_mtx_); in DeliverEvent() local
/device/google/cuttlefish/host/commands/secure_env/
Din_process_tpm.cpp64 std::lock_guard lock(impl->queue_mutex_); in Transmit() local
78 std::lock_guard lock(impl->queue_mutex_); in Receive() local
107 std::lock_guard<std::mutex> lock(global_mutex); in Impl() local
164 std::lock_guard<std::mutex> lock(global_mutex); in ~Impl() local

12345