Home
last modified time | relevance | path

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

12

/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp279 std::lock_guard<std::mutex> guard(mutex_); in unregisterEventCallback() local
287 std::lock_guard<std::mutex> guard(mutex_); in destroyVirtualDisplay() local
299 std::lock_guard<std::mutex> guard(mutex_); in createLayer() local
310 std::lock_guard<std::mutex> guard(mutex_); in destroyLayer() local
320 std::lock_guard<std::mutex> guard(mutex_); in getActiveConfig() local
330 std::lock_guard<std::mutex> guard(mutex_); in getDisplayAttribute() local
380 std::lock_guard<std::mutex> guard(mutex_); in getDisplayConfigs() local
395 std::lock_guard<std::mutex> guard(mutex_); in getDisplayType() local
412 std::lock_guard<std::mutex> guard(mutex_); in getDozeSupport() local
419 std::lock_guard<std::mutex> guard(mutex_); in setActiveConfig() local
[all …]
/frameworks/native/services/vr/hardware_composer/
Dvr_composer.cpp36 std::lock_guard<std::mutex> guard(mutex_); in registerObserver() local
58 std::lock_guard<std::mutex> guard(mutex_); in clearObserver() local
64 std::lock_guard<std::mutex> guard(mutex_); in OnNewFrame() local
79 std::lock_guard<std::mutex> guard(mutex_); in binderDied() 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/base/rs/java/android/renderscript/
DBaseObj.java80 final CloseGuard guard = CloseGuard.get(); field in BaseObj
132 guard.close(); in helpDestroy()
148 if (guard != null) { in finalize()
149 guard.warnIfOpen(); in finalize()
DFileA3D.java178 guard.open("destroy"); in FileA3D()
DScriptGroup.java157 guard.open("destroy"); in Closure()
192 guard.open("destroy"); in Closure()
411 guard.open("destroy"); in ScriptGroup()
428 guard.open("destroy"); in ScriptGroup()
DFont.java156 guard.open("destroy"); in Font()
DProgram.java85 guard.open("destroy"); in Program()
DSampler.java59 guard.open("destroy"); in Sampler()
DScript.java349 guard.open("destroy"); in Script()
DMesh.java100 guard.open("destroy"); in Mesh()
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java61 private final CloseGuard guard = CloseGuard.get(); field in StrictJarFile
141 guard.open("close"); in StrictJarFile()
224 if (guard != null) { in close()
225 guard.close(); in close()
237 if (guard != null) { in finalize()
238 guard.warnIfOpen(); in finalize()
/frameworks/base/core/java/android/view/animation/
DAnimation.java224 private final CloseGuard guard = CloseGuard.get(); field in Animation
322 guard.close(); in cancel()
336 guard.close(); in detach()
935 guard.open("cancel or detach or getTransformation"); in getTransformation()
953 guard.close(); in getTransformation()
1153 if (guard != null) { in finalize()
1154 guard.warnIfOpen(); in finalize()
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp332 const string guard = makeGuardString(headerFileName); in writeHeaderFile() local
333 file << "#ifndef " << guard << "\n"; in writeHeaderFile()
334 file << "#define " << guard << "\n\n"; in writeHeaderFile()
380 file << "#endif // " << guard << "\n"; in writeHeaderFile()
/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
DThreadPriorityBooster.java56 LockGuard.guard(mLockGuardIndex); in boost()
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
Dreduce_general_duplicate_array.rscript7 // so Java reflection must guard against this to avoid creating two
/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/base/media/native/midi/
Damidi.cpp154 std::lock_guard<std::mutex> guard(openMutex); in AMidiDevice_fromJava() local
203 std::lock_guard<std::mutex> guard(openMutex); in AMidiDevice_release() local
/frameworks/native/libs/vr/libdvr/
Ddvr_hardware_composer_client.cpp55 std::lock_guard<std::mutex> guard(mutex_); in Shutdown() local
62 std::lock_guard<std::mutex> guard(mutex_); in onNewFrame() local
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp392 std::lock_guard<std::mutex> guard(mLock); in getServiceAttributeMap() local
397 std::lock_guard<std::mutex> guard(mLock); in getCodecMap() local
405 std::lock_guard<std::mutex> guard(mLock); in getParsingStatus() local
444 std::lock_guard<std::mutex> guard(mLock); in parseXmlPath() local
1542 std::lock_guard<std::mutex> guard(mLock); in getRoleMap() local
1554 std::lock_guard<std::mutex> guard(mLock); in getCommonPrefix() local
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp356 QueueGuard guard(mSync); in setParameters() local
357 if (!guard.isRunning()) { in setParameters()
536 QueueGuard guard(mSync); in queueInputBuffer() local
537 if (!guard.isRunning()) { in queueInputBuffer()
549 QueueGuard guard(mSync); in queueSecureInputBuffer() local
550 if (!guard.isRunning()) { in queueSecureInputBuffer()
690 QueueGuard guard(mSync); in feedInputBufferIfAvailable() local
691 if (!guard.isRunning()) { in feedInputBufferIfAvailable()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp94 std::lock_guard<std::mutex> guard(gInitializedMutex); in initGlobals() local
199 std::lock_guard<std::mutex> guard(gTrackingMutex); in startTrackingUidTimes() local
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce.rscript274 // so Java reflection must guard against this to avoid creating two
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce.rscript276 // so Java reflection must guard against this to avoid creating two

12