Searched refs:FakeGuard (Results 1 – 15 of 15) sorted by relevance
60 struct [[clang::scoped_lockable]] FakeGuard final {61 explicit FakeGuard(const Mutex& mutex) FTL_ATTRIBUTE(acquire_capability(mutex)) {} in FakeGuard() function62 [[clang::release_capability()]] ~FakeGuard() {} in ~FakeGuard()64 FakeGuard(const FakeGuard&) = delete;65 FakeGuard& operator=(const FakeGuard&) = delete;82 const android::ftl::FakeGuard guard(mutex); \
69 ftl::FakeGuard guard1(kMainThreadContext); in doFrameSignal()70 ftl::FakeGuard guard2(mDisplayLock); in doFrameSignal()98 ftl::FakeGuard guard(kMainThreadContext); in registerDisplay()113 ftl::FakeGuard guard(kMainThreadContext); in setDisplayPowerMode()122 ftl::FakeGuard guard(kMainThreadContext); in setPacesetterDisplay()127 ftl::FakeGuard guard1(kMainThreadContext); in getDisplayPowerMode()128 ftl::FakeGuard guard2(mDisplayLock); in getDisplayPowerMode()
39 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()56 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()74 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()100 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()
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()
173 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()211 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()239 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()277 ftl::FakeGuard guard(kMainThreadContext); in TEST_F()350 ftl::FakeGuard guard(kMainThreadContext);
77 ftl::FakeGuard guard(kMainThreadContext); in SetUp()
297 ftl::FakeGuard guard(kMainThreadContext); in setupNewDisplayDeviceInternalTest()
64 ftl::FakeGuard guard(kMainThreadContext); in setActiveMode()133 ftl::FakeGuard guard(kMainThreadContext); in setPolicy()
26 TEST(FakeGuard, Example) { in TEST() argument33 ftl::FakeGuard guard(mutex); in TEST()
143 const bool isPrimary = (ftl::FakeGuard(mDisplayLock), !mPacesetterDisplayId); in registerDisplayInternal()523 ftl::FakeGuard guard(kMainThreadContext); in resyncAllToHardwareVsync()575 ftl::FakeGuard guard(kMainThreadContext); in setRenderRate()600 ftl::FakeGuard guard(kMainThreadContext); in getNextFrameInterval()644 (ftl::FakeGuard(mDisplayLock), mDisplays.get(id)).and_then([](const Display& display) { in addPresentFence()738 ftl::FakeGuard guard(mDisplayLock); in setDisplayPowerMode()775 ftl::FakeGuard guard(kMainThreadContext); in getVsyncScheduleLocked()809 ftl::FakeGuard guard(kMainThreadContext); in kernelIdleTimerCallback()857 ftl::FakeGuard guard(kMainThreadContext); in dump()878 ftl::FakeGuard guard(kMainThreadContext); in dump()[all …]
181 ftl::FakeGuard guard(kMainThreadContext); in modulateVsync()211 ftl::FakeGuard guard(kMainThreadContext); in EXCLUDES()542 ftl::FakeGuard guard(kMainThreadContext); in pacesetterDisplayLocked()
105 ftl::FakeGuard guard(kMainThreadContext); in dump()
1092 ftl::FakeGuard guard(mLock); in onKernelTimerChanged()1366 ftl::FakeGuard guard(mLock); in setPolicy()1383 ftl::FakeGuard guard(mLock); in setPolicy()
791 ftl::FakeGuard guard(mStateLock); in bootFinished()2735 ftl::FakeGuard guard(mStateLock); in commit()2768 ftl::FakeGuard guard(mStateLock); in composite()3119 ftl::FakeGuard guard(mStateLock); in onCompositionPresented()3297 ftl::FakeGuard guard(mStateLock); in onCompositionPresented()3355 ftl::FakeGuard guard(mStateLock); in getMaxDisplayBounds()3868 ftl::FakeGuard guard(kMainThreadContext); in processDisplayAdded()4951 ftl::FakeGuard guard(kMainThreadContext); in transactionReadyBufferCheckLegacy()5298 ftl::FakeGuard guard(kMainThreadContext); in setTransactionState()6126 ftl::FakeGuard guard(kMainThreadContext); in onHandleDestroyed()[all …]
2196 ftl::FakeGuard guard(mFlinger->mStateLock); // Called from the main thread. in writeCompositionStateToProto()2197 ftl::FakeGuard mainThreadGuard(kMainThreadContext); in writeCompositionStateToProto()