Lines Matching refs:getHwComposer

643         generator.emplace(getHwComposer().getMaxVirtualDisplayCount());  in enableHalVirtualDisplays()
654 if (getHwComposer().allocateVirtualDisplay(*id, resolution, &format)) { in acquireVirtualDisplay()
711 HWComposer& SurfaceFlinger::getHwComposer() const { in getHwComposer() function in android::SurfaceFlinger
712 return mCompositionEngine->getHwComposer(); in getHwComposer()
896 auto& composer = mCompositionEngine->getHwComposer(); in init()
903 !getHwComposer().hasCapability(Capability::PRESENT_FENCE_IS_NOT_RELIABLE); in init()
930 LOG_ALWAYS_FATAL_IF(!getHwComposer().isConnected(display->getPhysicalId()), in init()
1219 getHwComposer().hasDisplayCapability(displayId, in getDynamicDisplayInfoInternal()
1222 getHwComposer().supportsContentType(displayId, hal::ContentType::GAME); in getDynamicDisplayInfoInternal()
1226 if (getHwComposer().hasCapability(Capability::BOOT_DISPLAY_CONFIG)) { in getDynamicDisplayInfoInternal()
1227 if (const auto hwcId = getHwComposer().getPreferredBootDisplayMode(displayId)) { in getDynamicDisplayInfoInternal()
1640 [this] { return getHwComposer().hasCapability(Capability::BOOT_DISPLAY_CONFIG); }); in getBootDisplayModeSupport()
1647 const auto& aidlProperties = getHwComposer().getOverlaySupport(); in getOverlaySupport()
1706 return getHwComposer().setBootDisplayMode(snapshot.displayId(), *hwcIdOpt); in setBootDisplayMode()
1715 return getHwComposer().clearBootDisplayMode(*displayId); in clearBootDisplayMode()
1732 const auto aidlConversionCapability = getHwComposer().getHdrConversionCapabilities(); in getHdrConversionCapabilities()
1763 status = getHwComposer().setHdrConversionStrategy(aidlConversionStrategy, in setHdrConversionStrategy()
1779 status = getHwComposer().setHdrConversionStrategy(aidlConversionStrategy, in setHdrConversionStrategy()
1791 status = getHwComposer().setHdrConversionStrategy(aidlConversionStrategy, in setHdrConversionStrategy()
1803 return getHwComposer().hasCapability(Capability::HDR_OUTPUT_CONVERSION_CONFIG); in getHdrOutputConversionSupport()
1814 getHwComposer().setAutoLowLatencyMode(*displayId, on); in setAutoLowLatencyMode()
1826 getHwComposer().setContentType(*displayId, type); in setGameContentType()
1869 return getHwComposer().getDisplayedContentSamplingAttributes(*displayId, outFormat, in getDisplayedContentSamplingAttributes()
1879 return getHwComposer().setDisplayContentSamplingEnabled(*displayId, enable, in setDisplayContentSamplingEnabled()
1900 return getHwComposer().getDisplayedContentSample(*displayId, maxFrames, timestamp, outStats); in getDisplayedContentSample()
2012 *outSupport = getHwComposer().hasDisplayCapability(*displayId, DisplayCapability::BRIGHTNESS); in getDisplayBrightnessSupport()
2027 getHwComposer().getComposer()->isSupported( in setDisplayBrightness()
2067 return getHwComposer() in setDisplayBrightness()
2151 getHwComposer().getDisplayDecorationSupport(*displayId, outSupport); in getDisplayDecorationSupport()
2233 if (const auto displayIdOpt = getHwComposer().onVsync(hwcDisplayId, timestamp)) { in onComposerHalVsync()
2297 if (const auto displayIdOpt = getHwComposer().toPhysicalDisplayId(data.display)) { in onRefreshRateChangedDebug()
2300 getHwComposer().getComposer()->isVrrSupported() ? data.refreshPeriodNanos in onRefreshRateChangedDebug()
2488 getHwComposer().getSupportedLayerGenericMetadata(), in updateLayerSnapshots()
3069 getHwComposer().getComposer()->isSupported( in getPhysicalDisplayOrientation()
3071 switch (getHwComposer().getPhysicalDisplayOrientation(*id)) { in getPhysicalDisplayOrientation()
3108 auto presentFence = getHwComposer().getPresentFence(id); in onCompositionPresented()
3184 auto fence = getHwComposer().getPresentFence(optDisplay->get()->getPhysicalId()); in onCompositionPresented()
3307 pacesetterDisplay && getHwComposer().isConnected(pacesetterId); in onCompositionPresented()
3424 getHwComposer().getDisplayConnectionType(displayId) == in loadDisplayModes()
3430 hwcModes = getHwComposer().getModes(displayId, in loadDisplayModes()
3433 const auto activeModeHwcIdExp = getHwComposer().getActiveMode(displayId); in loadDisplayModes()
3580 if (auto info = getHwComposer().onHotplug(hwcDisplayId, connection)) { in configureLocked()
3594 getHwComposer().disconnectDisplay(displayId); in configureLocked()
3639 ui::ColorModes colorModes = getHwComposer().getColorModes(displayId); in processHotplugConnect()
3646 if (getHwComposer().updatesDeviceProductInfoOnHotplugReconnect()) { in processHotplugConnect()
3666 getHwComposer().getDisplayConnectionType(displayId); in processHotplugConnect()
3716 DisplayDeviceCreationArgs creationArgs(sp<SurfaceFlinger>::fromExisting(this), getHwComposer(), in setupNewDisplayDeviceInternal()
3739 .emplace(mode, getHwComposer().getRenderIntents(physicalId, mode)); in setupNewDisplayDeviceInternal()
3745 getHwComposer().getHdrCapabilities(*id, &creationArgs.hdrCapabilities); in setupNewDisplayDeviceInternal()
3746 creationArgs.supportedPerFrameMetadata = getHwComposer().getSupportedPerFrameMetadata(*id); in setupNewDisplayDeviceInternal()
3844 auto surface = sp<VirtualDisplaySurface>::make(getHwComposer(), *displayId, state.surface, in processDisplayAdded()
3856 sp<FramebufferSurface>::make(getHwComposer(), *displayId, bqConsumer, in processDisplayAdded()
3952 getHwComposer().allocatePhysicalDisplay(physical->hwcDisplayId, physical->id); in processDisplayChanged()
3964 if (currentState.physical->hwcDisplayId == getHwComposer().getPrimaryHwcDisplayId()) { in processDisplayChanged()
4204 const bool supportsDisplayBrightnessCommand = getHwComposer().getComposer()->isSupported( in persistDisplayBrightness()
4214 getHwComposer() in persistDisplayBrightness()
4279 getHwComposer().setVsyncEnabled(displayId, enable ? hal::Vsync::ENABLE : hal::Vsync::DISABLE); in requestHardwareVsync()
4440 const auto status = getHwComposer().notifyExpectedPresent(displayId, expectedPresentTime, in scheduleNotifyExpectedPresentHint()
4513 if (getHwComposer().getComposer()->isSupported( in initScheduler()
6239 getHwComposer().setPowerMode(displayId, mode); in setPowerModeInternal()
6291 getHwComposer().setPowerMode(displayId, mode); in setPowerModeInternal()
6297 getHwComposer().setPowerMode(displayId, mode); in setPowerModeInternal()
6318 getHwComposer().setPowerMode(displayId, mode); in setPowerModeInternal()
6321 getHwComposer().setPowerMode(displayId, mode); in setPowerModeInternal()
6477 getHwComposer().getMaxVirtualDisplayDimension()); in appendSfConfigString()
6550 const auto hwcDisplayId = getHwComposer().fromPhysicalDisplayId(*displayId); in dumpDisplayIdentificationData()
6560 if (!getHwComposer().getDisplayIdentificationData(*hwcDisplayId, &port, &data)) { in dumpDisplayIdentificationData()
6594 getHwComposer().getDisplayIdentificationData(hwcDisplayId, &port, &data)) { in dumpRawDisplayIdentificationData()
6753 getHwComposer().dump(result); in dumpHwc()
7479 (Mutex::Autolock(mStateLock), getHwComposer().getPrimaryHwcDisplayId()); in onTransact()
7737 const bool isKernelIdleTimerHwcSupported = getHwComposer().getComposer()->isSupported( in getKernelIdleTimerProperties()
7741 if (getHwComposer().hasDisplayIdleTimerCapability(displayId)) { in getKernelIdleTimerProperties()
7765 getHwComposer().setIdleTimerEnabled(displayId, timeout); in updateKernelIdleTimer()
8965 bool setByHwc = getHwComposer().hasCapability(Capability::REFRESH_RATE_CHANGED_CALLBACK_DEBUG); in enableRefreshRateOverlay()
8984 getHwComposer().setRefreshRateChangedCallbackDebugEnabled(displayId, in enableRefreshRateOverlay()
9023 if (!getHwComposer().isHeadless()) { in getMaxAcquiredBufferCount()
9038 } else if (!getHwComposer().isHeadless()) { in getMaxAcquiredBufferCountForCurrentRefreshRate()
9188 const auto idOpt = getHwComposer().toPhysicalDisplayId(hwcDisplayId); in updateHdcpLevels()
9498 getHwComposer().getSupportedLayerGenericMetadata(), in getLayerSnapshotsForScreenshots()
9535 getHwComposer().getSupportedLayerGenericMetadata(), in getLayerSnapshotsForScreenshots()