Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 17 of 17) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/src/
Dasync_manager.cc101 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
119 std::unique_lock<std::mutex> guard(internal_mutex_); in StopWatchingFileDescriptor() local
143 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
197 std::unique_lock<std::mutex> guard(internal_mutex_); in setUpFileDescriptorSet() local
225 std::unique_lock<std::mutex> guard(internal_mutex_); in runAppropriateCallbacks() local
293 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTask() local
308 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
377 std::unique_lock<std::mutex> guard(internal_mutex_); in scheduleTask() local
408 std::unique_lock<std::mutex> guard(internal_mutex_); in tryStartThread() local
428 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
[all …]
/system/nfc/halimpl/bcm2079x/adaptation/
DHalAdaptation.cpp232 SyncEventGuard guard(gOpenCompletedEvent); in HaiOpen() local
246 SyncEventGuard guard(gOpenCompletedEvent); in BroadcomHalCallback() local
253 SyncEventGuard guard(gPostInitCompletedEvent); in BroadcomHalCallback() local
260 SyncEventGuard guard(gCloseCompletedEvent); in BroadcomHalCallback() local
268 SyncEventGuard guard(gOpenCompletedEvent); in BroadcomHalCallback() local
272 SyncEventGuard guard(gPostInitCompletedEvent); in BroadcomHalCallback() local
276 SyncEventGuard guard(gCloseCompletedEvent); in BroadcomHalCallback() local
295 SyncEventGuard guard(gCloseCompletedEvent); in HaiClose() local
308 SyncEventGuard guard(gPostInitCompletedEvent); in HaiCoreInitialized() local
/system/tools/hidl/
DgenerateCpp.cpp80 std::string guard; in makeHeaderGuard() local
83 guard += "HIDL_GENERATED_"; in makeHeaderGuard()
86 guard += StringHelper::Uppercase(mPackage.tokenName()); in makeHeaderGuard()
87 guard += "_"; in makeHeaderGuard()
88 guard += StringHelper::Uppercase(baseName); in makeHeaderGuard()
89 guard += "_H"; in makeHeaderGuard()
91 return guard; in makeHeaderGuard()
418 const std::string guard = makeHeaderGuard(ifaceName); in generateInterfaceHeader() local
420 out << "#ifndef " << guard << "\n"; in generateInterfaceHeader()
421 out << "#define " << guard << "\n\n"; in generateInterfaceHeader()
[all …]
DgenerateCppImpl.cpp106 const std::string guard = makeHeaderGuard(baseName, false /* indicateGenerated */); in generateStubImplHeader() local
108 out << "#ifndef " << guard << "\n"; in generateStubImplHeader()
109 out << "#define " << guard << "\n\n"; in generateStubImplHeader()
197 out << "\n#endif // " << guard << "\n"; in generateStubImplHeader()
Dmain.cpp1100 std::string guard; in generateExportHeaderForPackage() local
1106 guard = "HIDL_GENERATED_"; in generateExportHeaderForPackage()
1107 guard += StringHelper::Uppercase(packageFQName.tokenName()); in generateExportHeaderForPackage()
1108 guard += "_"; in generateExportHeaderForPackage()
1109 guard += "EXPORTED_CONSTANTS_H_"; in generateExportHeaderForPackage()
1112 << guard in generateExportHeaderForPackage()
1114 << guard in generateExportHeaderForPackage()
1127 << guard in generateExportHeaderForPackage()
/system/media/audio_utils/include/audio_utils/
DSimpleLog.h136 std::lock_guard<std::mutex> guard(mLock); in logs()
162 std::lock_guard<std::mutex> guard(mLock);
DErrorLog.h71 std::lock_guard<std::mutex> guard(mLock); in log()
100 std::lock_guard<std::mutex> guard(mLock);
/system/core/libnativeloader/
Dnative_loader.cpp417 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in InitializeNativeLoader() local
424 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in ResetNativeLoader() local
436 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in CreateClassLoaderNamespace() local
472 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in OpenNativeLibrary() local
539 std::lock_guard<std::mutex> guard(g_namespaces_mutex); in FindNamespaceByClassLoader() local
/system/media/audio_utils/
DPowerLog.cpp63 std::lock_guard<std::mutex> guard(mLock); in log() local
109 std::lock_guard<std::mutex> guard(mLock); in dumpToString() local
/system/nfc/src/adaptation/
DNfcAdaptation.cpp221 AutoThreadMutex guard(mCondVar); in Initialize() local
301 AutoThreadMutex guard(CondVar); in Thread() local
/system/extras/simpleperf/
Dgtest_main.cpp70 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in ExtractTestDataFromElfSection() local
/system/bt/udrv/ulinux/
Duipc.cc338 std::lock_guard<std::recursive_mutex> guard(uipc_main.mutex); in uipc_setup_server_locked() local
484 std::lock_guard<std::recursive_mutex> guard(uipc_main.mutex); in uipc_read_task() local
/system/core/logcat/
Devent.logtags112 # 0 for screen off, 1 for screen on, 2 for key-guard done
/system/bt/doc/
Dstyle_guide.md255 ### Include guard
256 After the license header, each header file must contain the include guard:
/system/core/libbacktrace/testdata/aarch64/
Doffline_testdata87 …602b000 end: 701602c000 offset: 0 load_base: 0 flags: 0 name: [anon:thread signal stack guard page]
/system/core/libbacktrace/testdata/arm/
Doffline_testdata85 … e87ac000 end: e87ad000 offset: 0 load_base: 0 flags: 0 name: [anon:thread signal stack guard page]
/system/tools/hidl/test/
Dhidl_test_client.cpp1343 EXPECT_EQ(myHandle.guard, 666); in TEST_F()