Lines Matching refs:FTL_FAKE_GUARD

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()
1685 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) -> status_t { in setBootDisplayMode()
1713 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) -> status_t { in clearBootDisplayMode()
1752 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) mutable -> status_t { in setHdrConversionStrategy()
1812 static_cast<void>(mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) { in setAutoLowLatencyMode()
1823 static_cast<void>(mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) { in setGameContentType()
1877 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) -> status_t { in setDisplayContentSamplingEnabled()
2023 return ftl::Future(mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) { in setDisplayBrightness()
2051 FTL_FAKE_GUARD(kMainThreadContext, in setDisplayBrightness()
2056 FTL_FAKE_GUARD(kMainThreadContext, in setDisplayBrightness()
2295 static_cast<void>(mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) FTL_FAKE_GUARD( in onRefreshRateChangedDebug()
2614 [this](const auto& pair) FTL_FAKE_GUARD(kMainThreadContext) { in commit()
2648 const auto activeDisplay = FTL_FAKE_GUARD(mStateLock, getDisplayDeviceLocked(mActiveDisplayId)); in commit()
2763 const auto& displays = FTL_FAKE_GUARD(mStateLock, mDisplays); in composite()
2848 for (const auto& [token, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in composite()
3127 const auto pacesetterDisplay = FTL_FAKE_GUARD(mStateLock, getDisplayDeviceLocked(pacesetterId)); in onCompositionPresented()
3266 snapshot) FTL_FAKE_GUARD(kMainThreadContext) { in onCompositionPresented()
3325 traverseLegacyLayers([&](Layer* layer) FTL_FAKE_GUARD(kMainThreadContext) { in onCompositionPresented()
3730 FTL_FAKE_GUARD(kMainThreadContext, in setupNewDisplayDeviceInternal()
4210 for (const auto& [_, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in persistDisplayBrightness()
4244 mDrawingState.traverseInReverseZOrder([&](Layer* layer) FTL_FAKE_GUARD(kMainThreadContext) { in buildWindowInfos()
4266 for (const auto& [_, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in updateCursorAsync()
4450 this]() FTL_FAKE_GUARD(kMainThreadContext) { in scheduleNotifyExpectedPresentHint()
4627 for (const auto& [token, displayDevice] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in invalidateLayerStack()
4975 [&](const ResolvedComposerState& resolvedState) FTL_FAKE_GUARD( in transactionReadyBufferCheck()
6151 for (const auto& [id, display] : FTL_FAKE_GUARD(mStateLock, mPhysicalDisplays)) { in initializeDisplays()
6335 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(mStateLock) FTL_FAKE_GUARD( in setPowerMode()
6412 ->schedule([&]() FTL_FAKE_GUARD(mStateLock) FTL_FAKE_GUARD(kMainThreadContext) { in doDump()
6713 for (const auto& [_, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in dumpDrawingStateProto()
6728 for (const auto& [_, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in dumpDisplayProto()
6778 ->schedule([=, this]() FTL_FAKE_GUARD(kMainThreadContext) { in dumpProtoFromMainThread()
6799 for (const auto& [token, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in dumpHwcLayersMinidumpLockedLegacy()
6819 for (const auto& [token, display] : FTL_FAKE_GUARD(mStateLock, mDisplays)) { in dumpHwcLayersMinidump()
6831 [&](const frontend::LayerSnapshot& snapshot) FTL_FAKE_GUARD(kMainThreadContext) { in dumpHwcLayersMinidump()
7445 ->schedule([this]() FTL_FAKE_GUARD(kMainThreadContext) { in onTransact()
7447 FTL_FAKE_GUARD(mStateLock, getDefaultDisplayDeviceLocked()); in onTransact()
7465 ->schedule([this]() FTL_FAKE_GUARD(kMainThreadContext) { in onTransact()
7467 FTL_FAKE_GUARD(mStateLock, getDefaultDisplayDeviceLocked()); in onTransact()
7573 [&]() FTL_FAKE_GUARD(mStateLock) FTL_FAKE_GUARD(kMainThreadContext) { in onTransact()
7675 [&, jankAmount]() FTL_FAKE_GUARD(kMainThreadContext) { in onTransact()
7698 const auto display = FTL_FAKE_GUARD(mStateLock, getDefaultDisplayDeviceLocked()); in kernelTimerChanged()
7723 const auto display = FTL_FAKE_GUARD(mStateLock, getDefaultDisplayDeviceLocked()); in vrrDisplayIdle()
8441 mScheduler->schedule(FTL_FAKE_GUARD(kMainThreadContext, std::move(takeScreenshotFn))); in captureScreenshotLegacy()
8812 auto future = mScheduler->schedule([=, this]() FTL_FAKE_GUARD(kMainThreadContext) -> status_t { in setDesiredDisplayModeSpecs()
8813 const auto display = FTL_FAKE_GUARD(mStateLock, getDisplayDeviceLocked(displayToken)); in setDesiredDisplayModeSpecs()
8970 const auto enableOverlay = [&](bool setByHwc) FTL_FAKE_GUARD(kMainThreadContext) { in enableRefreshRateOverlay()
9039 if (const auto display = FTL_FAKE_GUARD(mStateLock, getDefaultDisplayDeviceLocked())) { in getMaxAcquiredBufferCountForCurrentRefreshRate()
9206 if (const auto display = FTL_FAKE_GUARD(mStateLock, getDisplayDeviceLocked(displayId))) { in updateHdcpLevels()
9376 [&](std::unique_ptr<frontend::LayerSnapshot>& snapshot) FTL_FAKE_GUARD( in moveSnapshotsToCompositionArgs()
9438 return [&, layerStack, uid]() FTL_FAKE_GUARD(kMainThreadContext) { in getLayerSnapshotsForScreenshots()
9442 [&](std::unique_ptr<frontend::LayerSnapshot>& snapshot) FTL_FAKE_GUARD( in getLayerSnapshotsForScreenshots()
9479 excludeLayerIds = std::move(excludeLayerIds)]() FTL_FAKE_GUARD(kMainThreadContext) { in getLayerSnapshotsForScreenshots()
9521 parentCrop]() FTL_FAKE_GUARD(kMainThreadContext) { in getLayerSnapshotsForScreenshots()
9633 [&]() FTL_FAKE_GUARD(mStateLock) in sfdo_enableRefreshRateOverlay()
9634 FTL_FAKE_GUARD(kMainThreadContext) { enableRefreshRateOverlay(active); }); in sfdo_enableRefreshRateOverlay()