/frameworks/av/media/libaudiohal/ |
D | HalDeathHandlerHidl.cpp | 40 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/native/include/ftl/ |
D | fake_guard.h | 82 const android::ftl::FakeGuard guard(mutex); \ 86 #define FTL_MAKE_FAKE_GUARD(arg1, arg2, guard, ...) guard argument
|
/frameworks/base/rs/java/android/renderscript/ |
D | BaseObj.java | 80 final CloseGuard guard = CloseGuard.get(); field in BaseObj 132 guard.close(); in helpDestroy() 148 if (guard != null) { in finalize() 149 guard.warnIfOpen(); in finalize()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_SetDisplayBrightnessTest.cpp | 39 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
|
D | TestableScheduler.h | 98 ftl::FakeGuard guard(kMainThreadContext); in registerDisplay() 113 ftl::FakeGuard guard(kMainThreadContext); in setDisplayPowerMode() 122 ftl::FakeGuard guard(kMainThreadContext); in setPacesetterDisplay()
|
D | TestableSurfaceFlinger.h | 363 ftl::FakeGuard guard(kMainThreadContext); in configure() 374 ftl::FakeGuard guard(kMainThreadContext); 461 ftl::FakeGuard guard(kMainThreadContext); in commitTransactionsLocked() 496 ftl::FakeGuard guard(kMainThreadContext); in renderScreenImpl() 521 ftl::FakeGuard guard(kMainThreadContext); in getPendingTransactionQueue() 525 ftl::FakeGuard guard(kMainThreadContext); in getPendingTransactionCount() 572 ftl::FakeGuard guard(kMainThreadContext); in onActiveDisplayChanged() 658 ftl::FakeGuard guard(kMainThreadContext); in updateLayerSnapshots() 724 ftl::FakeGuard guard(kMainThreadContext); in sendNotifyExpectedPresentHint()
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathNotifier.cpp | 54 std::unique_lock<std::mutex> guard(sCookiesMutex); in OnBinderDied() local 58 guard.unlock(); in OnBinderDied() 75 std::lock_guard<std::mutex> guard(sCookiesMutex); in ~DeathRecipient() local 103 std::lock_guard<std::mutex> guard(sCookiesMutex); local
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | known_guest_function_wrapper.cc | 36 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/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 61 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/av/media/module/libmediatranscoding/ |
D | TranscodingResourcePolicy.cpp | 87 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/av/media/module/foundation/ |
D | MetaDataBase.cpp | 108 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/base/core/java/android/view/animation/ |
D | Animation.java | 231 private final CloseGuard guard = CloseGuard.get(); field in Animation 331 guard.close(); in cancel() 345 guard.close(); in detach() 1035 guard.open("cancel or detach or getTransformation"); in getTransformation() 1052 guard.close(); in getTransformation() 1252 if (guard != null) { in finalize() 1253 guard.warnIfOpen(); in finalize()
|
/frameworks/base/packages/SettingsLib/tests/unit/ |
D | OWNERS | 1 # We do not guard tests - everyone is welcomed to contribute to tests.
|
/frameworks/base/packages/SettingsLib/tests/robotests/ |
D | OWNERS | 1 # We do not guard tests - everyone is welcomed to contribute to tests.
|
/frameworks/rs/script_api/ |
D | GenerateHeaderFiles.cpp | 332 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/libs/binary_translation/guest_loader/ |
D | app_process.cc | 36 std::lock_guard<std::mutex> guard(g_guest_loader_mtx); in AppProcessPostInit() local
|
/frameworks/native/libs/ftl/ |
D | fake_guard_test.cpp | 33 ftl::FakeGuard guard(mutex); in TEST() local
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 112 LIBBINDER_EXPORTED const SpGuard* pushGetCallingSpGuard(const SpGuard* guard); 113 LIBBINDER_EXPORTED void restoreGetCallingSpGuard(const SpGuard* guard);
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 112 LIBBINDER_EXPORTED const SpGuard* pushGetCallingSpGuard(const SpGuard* guard); 113 LIBBINDER_EXPORTED void restoreGetCallingSpGuard(const SpGuard* guard);
|
/frameworks/libs/binary_translation/native_bridge/ |
D | native_bridge.cc | 210 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/base/services/core/java/com/android/server/ |
D | LockGuard.java | 110 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/services/ |
D | proguard_permission.flags | 7 # CoverageService guards optional jacoco class references with a runtime guard, so we can safely
|
/frameworks/base/services/core/java/com/android/server/flags/ |
D | services.aconfig | 7 …description: "Enable guard based on system feature to prevent OnDevicePersonalization service from…
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 523 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
|
/frameworks/libs/binary_translation/proxy_loader/ |
D | proxy_loader.cc | 67 std::lock_guard<std::mutex> guard(g_guard_mutex); in InterceptGuestSymbol() local
|