Home
last modified time | relevance | path

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

12

/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp278 std::lock_guard<std::mutex> guard(mutex_); in unregisterEventCallback() local
295 std::lock_guard<std::mutex> guard(mutex_); in destroyVirtualDisplay() local
307 std::lock_guard<std::mutex> guard(mutex_); in createLayer() local
318 std::lock_guard<std::mutex> guard(mutex_); in destroyLayer() local
328 std::lock_guard<std::mutex> guard(mutex_); in getActiveConfig() local
339 std::lock_guard<std::mutex> guard(mutex_); in getClientTargetSupport() local
356 std::lock_guard<std::mutex> guard(mutex_); in getDisplayAttribute() local
406 std::lock_guard<std::mutex> guard(mutex_); in getDisplayConfigs() local
421 std::lock_guard<std::mutex> guard(mutex_); in getDisplayType() local
438 std::lock_guard<std::mutex> guard(mutex_); in getDozeSupport() 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.java76 final CloseGuard guard = CloseGuard.get(); field in BaseObj
128 guard.close(); in helpDestroy()
144 if (guard != null) { in finalize()
145 guard.warnIfOpen(); in finalize()
DScriptGroup.java152 guard.open("destroy"); in Closure()
187 guard.open("destroy"); in Closure()
406 guard.open("destroy"); in ScriptGroup()
423 guard.open("destroy"); in ScriptGroup()
DFileA3D.java177 guard.open("destroy"); in FileA3D()
DFont.java154 guard.open("destroy"); in Font()
DProgram.java81 guard.open("destroy"); in Program()
DSampler.java54 guard.open("destroy"); in Sampler()
/frameworks/ml/nn/common/
DBufferTracker.cpp66 std::lock_guard<std::mutex> guard(mMutex); in validateRequest() local
165 std::lock_guard<std::mutex> guard(mMutex); in validateCopyTo() local
180 std::lock_guard<std::mutex> guard(mMutex); in updateDimensions() local
186 std::lock_guard<std::mutex> guard(mMutex); in setInitialized() local
194 std::lock_guard<std::mutex> guard(mMutex); in add() local
209 std::lock_guard<std::mutex> guard(mMutex); in get() local
218 std::lock_guard<std::mutex> guard(mMutex); in free() local
DExecutionBurstController.cpp394 std::lock_guard<std::mutex> guard(mMutex); in getMemories() local
416 std::lock_guard<std::mutex> guard(mMutex); in getSlots() local
429 std::lock_guard<std::mutex> guard(mMutex); in freeMemory() local
593 std::lock_guard<std::mutex> guard(mMutex); in compute() local
621 std::lock_guard<std::mutex> guard(mMutex); in freeMemory() local
/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()
927 guard.open("cancel or detach or getTransformation"); in getTransformation()
945 guard.close(); in getTransformation()
1145 if (guard != null) { in finalize()
1146 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.java111 public static Object guard(Object lock) { in guard() method in LockGuard
150 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/ml/
DCPPLINT.cfg20 # Use 'FRAMEWORKS_ML_' as the cpp header guard prefix (not currently enabled)
/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/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/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/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp394 QueueGuard guard(mSync); in setParameters() local
395 if (!guard.isRunning()) { in setParameters()
407 QueueGuard guard(mSync); in queueInputBuffer() local
408 if (!guard.isRunning()) { in queueInputBuffer()
420 QueueGuard guard(mSync); in queueSecureInputBuffer() local
421 if (!guard.isRunning()) { in queueSecureInputBuffer()
519 QueueGuard guard(mSync); in feedInputBufferIfAvailable() local
520 if (!guard.isRunning()) { in feedInputBufferIfAvailable()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp387 std::lock_guard<std::mutex> guard(mLock); in getServiceAttributeMap() local
392 std::lock_guard<std::mutex> guard(mLock); in getCodecMap() local
400 std::lock_guard<std::mutex> guard(mLock); in getParsingStatus() local
439 std::lock_guard<std::mutex> guard(mLock); in parseXmlPath() local
1437 std::lock_guard<std::mutex> guard(mLock); in getRoleMap() local
1449 std::lock_guard<std::mutex> guard(mLock); in getCommonPrefix() local
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp92 std::lock_guard<std::mutex> guard(gInitializedMutex); in initGlobals() local
172 std::lock_guard<std::mutex> guard(gTrackingMutex); in startTrackingUidTimes() local
/frameworks/ml/nn/runtime/
DMemory.cpp215 std::lock_guard<std::mutex> guard(mMutex); in getRunTimePoolInfo() local
228 std::lock_guard<std::mutex> guard(mMutex); in usedBy() local

12