Home
last modified time | relevance | path

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

/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp121 void DispatchPendingPrompt() REQUIRES(mutex_) { in DispatchPendingPrompt()
143 void UpdateFrameworkWritable() REQUIRES(mutex_) { in UpdateFrameworkWritable()
159 void ReplaceFrameworkFd(unique_fd new_fd) REQUIRES(mutex_) { in ReplaceFrameworkFd()
184 void HandlePacket(std::string_view packet) EXCLUDES(mutex_) { in HandlePacket()
189 std::lock_guard<std::mutex> lock(mutex_); in HandlePacket()
203 std::lock_guard<std::mutex> lock(mutex_); in HandlePacket()
208 void AllowUsbDevice(std::string_view buf) EXCLUDES(mutex_) { in AllowUsbDevice()
209 std::lock_guard<std::mutex> lock(mutex_); in AllowUsbDevice()
229 void DenyUsbDevice(std::string_view buf) EXCLUDES(mutex_) { in DenyUsbDevice()
230 std::lock_guard<std::mutex> lock(mutex_); in DenyUsbDevice()
[all …]
/frameworks/native/include/ftl/
Dshared_mutex.h30 mutex_.lock(); in lock()
33 mutex_.unlock(); in unlock()
37 mutex_.lock_shared(); in lock_shared()
40 mutex_.unlock_shared(); in unlock_shared()
44 std::shared_mutex mutex_;
/frameworks/hardware/interfaces/sensorservice/utils/
Ddirect_channel_buffer_reader_test.cc40 std::unique_lock lk(mutex_); in ReadOneSample()
46 std::unique_lock lk(mutex_); in ReadOneSample()
58 std::unique_lock lk(mutex_); in BlockReads()
66 std::unique_lock lk(mutex_); in UnblockReads()
74 std::unique_lock lk(mutex_); in UnblockAndWaitForReads()
81 std::unique_lock lk(mutex_); in UnblockAndWaitForReads()
90 std::mutex mutex_; member in __anonb64ca7aa0111::TestableDirectChannelBufferReader
92 bool should_block_reads_ GUARDED_BY(mutex_) = false;
93 bool reader_waiting_ GUARDED_BY(mutex_) = false;
94 int num_reads_unblocked_ GUARDED_BY(mutex_) = 0;
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread_map.cc28 std::lock_guard<std::mutex> lock(mutex_); in ResetThreadTable()
34 std::lock_guard<std::mutex> lock(mutex_); in InsertThread()
40 std::lock_guard<std::mutex> lock(mutex_); in RemoveThread()
49 std::lock_guard<std::mutex> lock(mutex_); in FindThread()
Dguest_thread_map.h38 std::lock_guard<std::mutex> lock(mutex_); in ForEachThread()
46 std::mutex mutex_; variable
Dguest_map_shadow.cc190 std::lock_guard<std::mutex> lock(mutex_); in AddProtectedMapping()
195 std::lock_guard<std::mutex> lock(mutex_); in IntersectsWithProtectedMapping()
/frameworks/libs/binary_translation/runtime_primitives/
Dtranslation_cache.cc39 std::lock_guard<std::mutex> lock(mutex_); in AddAndLockForTranslation()
67 std::lock_guard<std::mutex> lock(mutex_); in LockForGearUpTranslation()
103 std::lock_guard<std::mutex> lock(mutex_); in SetTranslatedAndUnlock()
137 std::lock_guard<std::mutex> lock(mutex_); in AddAndLockForWrapping()
154 std::lock_guard<std::mutex> lock(mutex_); in SetWrappedAndUnlock()
181 std::lock_guard<std::mutex> lock(mutex_); in IsHostFunctionWrapped()
206 std::lock_guard<std::mutex> lock(mutex_); in ProfilerLookupGuestCodeEntryByGuestPC()
211 std::lock_guard<std::mutex> lock(mutex_); in GetInvocationCounter()
233 std::lock_guard<std::mutex> lock(mutex_); in SlowLookupGuestCodeEntryPCByHostPC()
259 std::lock_guard<std::mutex> lock(mutex_); in InvalidateGuestRange()
Dguest_function_wrapper_impl.cc64 std::lock_guard<std::mutex> lock(mutex_); in Find()
75 std::lock_guard<std::mutex> lock(mutex_); in Insert()
85 std::lock_guard<std::mutex> lock(mutex_); in SlowFindGuestAddrByWrapperAddr()
102 mutable std::mutex mutex_; member in berberis::__anon5559b05a0111::WrapperCache
Dcode_pool.cc34 std::lock_guard<std::mutex> lock(mutex_); in AddRaw()
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dcode_pool.h49 std::lock_guard<std::mutex> lock(mutex_); in Add()
70 std::lock_guard<std::mutex> lock(mutex_); in FindRecoveryCode()
89 mutable std::mutex mutex_; variable
109 std::mutex mutex_; variable
Dtable_of_tables.h125 std::lock_guard<std::mutex> lock(mutex_); in AllocateIfNecessary()
158 std::mutex mutex_; variable
Dtranslation_cache.h203 mutable std::mutex mutex_; variable
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_manager.cpp15 std::lock_guard<std::mutex> autolock(mutex_); in CloseHandle()
28 std::lock_guard<std::mutex> autolock(mutex_); in CreateHandle()
45 std::lock_guard<std::mutex> autolock(mutex_); in GetChannelData()
/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp56 std::lock_guard<std::mutex> autolock(mutex_); in ThreadEnter()
66 std::lock_guard<std::mutex> autolock(mutex_); in ThreadExit()
72 std::lock_guard<std::mutex> autolock(mutex_); in AddService()
89 std::lock_guard<std::mutex> autolock(mutex_); in RemoveService()
176 std::unique_lock<std::mutex> lock(mutex_); in SetCanceled()
/frameworks/base/services/core/jni/
Dcom_android_server_adb_AdbDebuggingManager.cpp42 std::mutex mutex_; member
50 std::unique_lock<std::mutex> lock(p->mutex_); in ResultCallback()
96 std::unique_lock<std::mutex> lock(sWaiter->mutex_); in native_pairing_wait()
/frameworks/libs/binary_translation/kernel_api/
Dopen_emulation.cc57 std::lock_guard lock(mutex_); in Add()
66 std::lock_guard lock(mutex_); in Contains()
71 std::lock_guard lock(mutex_); in Remove()
79 std::mutex mutex_; member in berberis::__anonb505d9860111::EmulatedFileDescriptors
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_manager.h30 std::mutex mutex_; variable
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp40 std::unique_lock<decltype(mutex_)> lk(mutex_); in notify()
60 std::unique_lock<decltype(mutex_)> lk(mutex_); in wait_vsync_notify()
69 std::mutex mutable mutex_; member
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice_dispatcher.h90 std::mutex mutex_; variable
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_map_shadow.h67 std::mutex mutex_; variable
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp122 std::mutex mutex_; member in vulkan::api::__anon240457cc0111::LayerLibrary
130 std::lock_guard<std::mutex> lock(mutex_); in Open()
166 std::lock_guard<std::mutex> lock(mutex_); in Close()
/frameworks/native/cmds/dumpstate/
Ddumpstate.h608 std::recursive_mutex mutex_; variable
Ddumpstate.cpp4590 std::lock_guard<std::recursive_mutex> lock(mutex_); in UpdateProgress()