Searched refs:FTL_FAKE_GUARD (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/ftl/ |
D | fake_guard_test.cpp | 37 return FTL_FAKE_GUARD(mutex, x + 1); in TEST() 41 return [this]() FTL_FAKE_GUARD(mutex) { return x; }; in TEST()
|
/frameworks/native/include/ftl/ |
D | fake_guard.h | 88 #define FTL_FAKE_GUARD(...) \ macro
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_InitializeDisplaysTest.cpp | 38 FTL_FAKE_GUARD(kMainThreadContext, mFlinger.initializeDisplays()); in TEST_F()
|
D | TestableSurfaceFlinger.h | 394 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()
|
D | SchedulerTest.cpp | 131 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()
|
D | VsyncScheduleTest.cpp | 244 TEST_F(VsyncScheduleTest, PendingState) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
|
D | DisplayModeControllerTest.cpp | 201 TEST_F(DisplayModeControllerTest, initiateDisplayModeSwitch) FTL_FAKE_GUARD(kMainThreadContext) { in TEST_F()
|
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 266 FTL_FAKE_GUARD(kMainThreadContext, in setupNewDisplayDeviceInternalTest()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 560 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 …]
|
D | SurfaceFlinger.h | 519 [&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/ |
D | Scheduler.cpp | 559 schedule([=, this]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) { in onHardwareVsyncRequest() 983 FTL_FAKE_GUARD(mDisplayLock, pacesetterSelectorPtrLocked())) { in demotePacesetterDisplay()
|
D | RefreshRateSelector.cpp | 1265 FTL_FAKE_GUARD(kMainThreadContext, updateDisplayModes(std::move(modes), activeModeId)); in RefreshRateSelector()
|