Home
last modified time | relevance | path

Searched refs:FTL_FAKE_GUARD (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/libs/ftl/
Dfake_guard_test.cpp37 return FTL_FAKE_GUARD(mutex, x + 1); in TEST()
41 return [this]() FTL_FAKE_GUARD(mutex) { return x; }; in TEST()
/frameworks/native/include/ftl/
Dfake_guard.h88 #define FTL_FAKE_GUARD(...) \ macro
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_InitializeDisplaysTest.cpp38 FTL_FAKE_GUARD(kMainThreadContext, mFlinger.initializeDisplays()); in TEST_F()
DTestableSurfaceFlinger.h394 FTL_FAKE_GUARD(mFlinger->mStateLock, mFlinger->mPhysicalDisplays)) {
475 void initializeDisplays() FTL_FAKE_GUARD(kMainThreadContext) { mFlinger->initializeDisplays(); } in initializeDisplays()
544 return FTL_FAKE_GUARD(kMainThreadContext, in setTransactionStateInternal()
550 return FTL_FAKE_GUARD(kMainThreadContext, mFlinger->flushTransactionQueues(kVsyncId)); in flushTransactionQueues()
638 FTL_FAKE_GUARD(kMainThreadContext, in injectLegacyLayer()
643 FTL_FAKE_GUARD(kMainThreadContext, mFlinger->mLegacyLayers.erase(sequence)); in releaseLegacyLayer()
650 return FTL_FAKE_GUARD(kMainThreadContext, mFlinger->updateLayerHistory(now)); in updateLayerHistory()
DSchedulerTest.cpp131 TEST_F(SchedulerTest, registerDisplay) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
169 FTL_FAKE_GUARD(kMainThreadContext, mScheduler->setDisplayPowerMode(kDisplayId1, kPowerModeOn)); in TEST_F()
233 FTL_FAKE_GUARD(kMainThreadContext, mScheduler->setDisplayPowerMode(kDisplayId1, kPowerModeOn)); in TEST_F()
627 TEST_F(SchedulerTest, resyncAllToHardwareVsync) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
647 TEST_F(SchedulerTest, resyncAllDoNotAllow) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
661 TEST_F(SchedulerTest, resyncAllSkipsOffDisplays) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
684 TEST_F(SchedulerTest, resyncAllLegacyAppliesToOffDisplays) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
DVsyncScheduleTest.cpp244 TEST_F(VsyncScheduleTest, PendingState) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
DDisplayModeControllerTest.cpp201 TEST_F(DisplayModeControllerTest, initiateDisplayModeSwitch) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp266 FTL_FAKE_GUARD(kMainThreadContext, in setupNewDisplayDeviceInternalTest()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp560 static_cast<void>(mScheduler->schedule([this]() FTL_FAKE_GUARD(kMainThreadContext) { in binderDied()
760 static_cast<void>(mScheduler->schedule([=, this]() FTL_FAKE_GUARD(kMainThreadContext) { in bootFinished()
862 void SurfaceFlinger::init() FTL_FAKE_GUARD(kMainThreadContext) { in init()
945 this]() FTL_FAKE_GUARD(mStateLock) { in init()
955 ->schedule([&]() FTL_FAKE_GUARD(mStateLock) FTL_FAKE_GUARD(kMainThreadContext) { in init()
972 [this]() FTL_FAKE_GUARD(kMainThreadContext) { initializeDisplays(); })); in init()
1375 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(kMainThreadContext) -> status_t { in setActiveModeFromBackdoor()
1377 FTL_FAKE_GUARD(mStateLock, in setActiveModeFromBackdoor()
1562 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) { in disableExpensiveRendering()
1604 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) -> status_t { in setActiveColorMode()
[all …]
DSurfaceFlinger.h519 [&args, asProto, &result, dumper]() FTL_FAKE_GUARD(kMainThreadContext) in mainThreadDumperImpl()
520 FTL_FAKE_GUARD(mStateLock) { dumper(args, asProto, result); }) in mainThreadDumperImpl()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp559 schedule([=, this]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) { in onHardwareVsyncRequest()
983 FTL_FAKE_GUARD(mDisplayLock, pacesetterSelectorPtrLocked())) { in demotePacesetterDisplay()
DRefreshRateSelector.cpp1265 FTL_FAKE_GUARD(kMainThreadContext, updateDisplayModes(std::move(modes), activeModeId)); in RefreshRateSelector()