Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetDisplayBrightnessTest.cpp39 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
56 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
74 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
100 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
DSurfaceFlinger_DisplayModeSwitching.cpp173 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
211 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
239 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
277 ftl::FakeGuard guard(kMainThreadContext); in TEST_F() local
DDisplayModeControllerTest.cpp77 ftl::FakeGuard guard(kMainThreadContext); in SetUp() local
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp297 ftl::FakeGuard guard(kMainThreadContext); in setupNewDisplayDeviceInternalTest() local
/frameworks/av/media/libaudiohal/
DHalDeathHandlerHidl.cpp40 std::lock_guard<std::mutex> guard(mHandlersLock); in registerAtExitHandler() local
45 std::lock_guard<std::mutex> guard(mHandlersLock); in unregisterAtExitHandler() local
52 std::lock_guard<std::mutex> guard(mHandlersLock); in serviceDied() local
/frameworks/av/media/module/libmediatranscoding/
DTranscodingResourcePolicy.cpp87 std::lock_guard<std::mutex> guard(sCookiesMutex); in BinderDiedCallback() local
113 std::lock_guard<std::mutex> guard(sCookiesMutex); in ~TranscodingResourcePolicy() local
120 std::lock_guard guard(mCookieKeysLock); in ~TranscodingResourcePolicy() local
170 std::lock_guard guard(mCookieKeysLock); in registerSelf() local
/frameworks/libs/binary_translation/runtime_primitives/
Dknown_guest_function_wrapper.cc36 std::lock_guard<std::mutex> guard(g_guard_mutex); in RegisterKnownGuestFunctionWrapper() local
41 std::lock_guard<std::mutex> guard(g_guard_mutex); in WrapKnownGuestFunction() local
/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp54 std::unique_lock<std::mutex> guard(sCookiesMutex); in OnBinderDied() local
75 std::lock_guard<std::mutex> guard(sCookiesMutex); in ~DeathRecipient() local
103 std::lock_guard<std::mutex> guard(sCookiesMutex); local
/frameworks/av/media/module/foundation/
DMetaDataBase.cpp108 std::lock_guard<std::mutex> guard(mInternalData->mLock); in clear() local
113 std::lock_guard<std::mutex> guard(mInternalData->mLock); in remove() local
260 std::lock_guard<std::mutex> guard(mInternalData->mLock); in setData() local
278 std::lock_guard<std::mutex> guard(mInternalData->mLock); in findData() local
293 std::lock_guard<std::mutex> guard(mInternalData->mLock); in hasData() local
440 std::lock_guard<std::mutex> guard(mInternalData->mLock); in toString() local
455 std::lock_guard<std::mutex> guard(mInternalData->mLock); in dumpToLog() local
468 std::lock_guard<std::mutex> guard(mInternalData->mLock); in writeToParcel() local
/frameworks/libs/binary_translation/guest_loader/
Dapp_process.cc36 std::lock_guard<std::mutex> guard(g_guest_loader_mtx); in AppProcessPostInit() local
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp523 ftl::FakeGuard guard(kMainThreadContext); in resyncAllToHardwareVsync() local
575 ftl::FakeGuard guard(kMainThreadContext); in setRenderRate() local
600 ftl::FakeGuard guard(kMainThreadContext); in getNextFrameInterval() local
738 ftl::FakeGuard guard(mDisplayLock); in setDisplayPowerMode() local
775 ftl::FakeGuard guard(kMainThreadContext); in getVsyncScheduleLocked() local
809 ftl::FakeGuard guard(kMainThreadContext); in kernelIdleTimerCallback() local
857 ftl::FakeGuard guard(kMainThreadContext); in dump() local
878 ftl::FakeGuard guard(kMainThreadContext); in dump() local
895 ftl::FakeGuard guard(kMainThreadContext); in dumpVsync() local
1113 ftl::FakeGuard guard(kMainThreadContext); in applyPolicy() local
DVsyncSchedule.cpp105 ftl::FakeGuard guard(kMainThreadContext); in dump() local
DRefreshRateSelector.cpp1092 ftl::FakeGuard guard(mLock); in onKernelTimerChanged() local
1366 ftl::FakeGuard guard(mLock); in setPolicy() local
1383 ftl::FakeGuard guard(mLock); in setPolicy() local
/frameworks/native/libs/ftl/
Dfake_guard_test.cpp33 ftl::FakeGuard guard(mutex); in TEST() local
/frameworks/base/services/core/java/com/android/server/
DLockGuard.java110 public static Object guard(Object lock) { in guard() method in LockGuard
149 public static void guard(int index) { in guard() method in LockGuard
/frameworks/base/tools/aapt2/format/
DContainer.cpp193 auto guard = ::android::base::make_scope_guard([&]() { coded_in.PopLimit(limit); }); in GetResTable() local
241 auto guard = ::android::base::make_scope_guard([&]() { coded_in.PopLimit(limit); }); in GetResFileOffsets() local
/frameworks/libs/binary_translation/proxy_loader/
Dproxy_loader.cc67 std::lock_guard<std::mutex> guard(g_guard_mutex); in InterceptGuestSymbol() local
/frameworks/libs/binary_translation/native_bridge/
Dnative_bridge.cc210 const std::lock_guard<std::mutex> guard(host_libraries_lock_); in AddHostLibrary() local
215 const std::lock_guard<std::mutex> guard(host_libraries_lock_); in IsHostHandle() local
272 const std::lock_guard<std::mutex> guard(namespaces_lock_); in GetExportedNamespace() local
307 const std::lock_guard<std::mutex> guard(namespaces_lock_); in CreateNativeBridgeNamespace() local
/frameworks/native/include/ftl/
Dfake_guard.h86 #define FTL_MAKE_FAKE_GUARD(arg1, arg2, guard, ...) guard argument
/frameworks/base/rs/java/android/renderscript/
DBaseObj.java80 final CloseGuard guard = CloseGuard.get(); field in BaseObj
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp395 std::lock_guard<std::mutex> guard(mLock); in getServiceAttributeMap() local
400 std::lock_guard<std::mutex> guard(mLock); in getCodecMap() local
408 std::lock_guard<std::mutex> guard(mLock); in getParsingStatus() local
447 std::lock_guard<std::mutex> guard(mLock); in parseXmlPath() local
1609 std::lock_guard<std::mutex> guard(mLock); in getRoleMap() local
1621 std::lock_guard<std::mutex> guard(mLock); in getCommonPrefix() local
/frameworks/base/media/native/midi/
Damidi.cpp155 std::lock_guard<std::mutex> guard(openMutex); in AMidiDevice_fromJava() local
204 std::lock_guard<std::mutex> guard(openMutex); in AMidiDevice_release() local
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp451 QueueGuard guard(mSync); in setParameters() local
762 QueueGuard guard(mSync); in queueInputBuffer() local
775 QueueGuard guard(mSync); in queueSecureInputBuffer() local
921 QueueGuard guard(mSync); in queueSecureInputBuffers() local
1052 QueueGuard guard(mSync); in feedInputBufferIfAvailable() local
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp95 std::lock_guard<std::mutex> guard(gInitializedMutex); in initGlobals() local
211 std::lock_guard<std::mutex> guard(gTrackingMutex); in startTrackingUidTimes() local
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp332 const string guard = makeGuardString(headerFileName); in writeHeaderFile() local

12