/device/generic/goldfish/gnss/ |
D | Gnss.cpp | 61 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 …]
|
D | GnssBatching.cpp | 45 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/ |
D | ring_buffer.cpp | 36 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/ |
D | Display.cpp | 97 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 …]
|
D | VsyncThread.cpp | 87 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/ |
D | session.cpp | 157 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/ |
D | audio_track_source_impl.cpp | 25 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
|
D | recording_manager.cpp | 49 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
|
D | camera_streamer.cpp | 36 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
|
D | lights_observer.cpp | 95 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/ |
D | halstate.cpp | 24 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
|
D | netlink.cpp | 91 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/ |
D | wayland_surfaces.cpp | 28 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
|
D | wayland_surface.cpp | 51 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/ |
D | stream_buffer_cache.cpp | 26 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
|
D | vsock_frame_provider.cpp | 61 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/ |
D | BusStreamProvider.cpp | 30 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
|
D | WriteThread.cpp | 52 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/ |
D | vsock_connection.cpp | 91 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/ |
D | trylock.c | 21 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/ |
D | multihal_sensors.cpp | 132 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/ |
D | gnss_grpc_proxy.cpp | 123 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/ |
D | sensors_handler.cpp | 40 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
|
D | kernel_log_events_handler.cpp | 101 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/ |
D | in_process_tpm.cpp | 64 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
|