Lines Matching refs:Error

63         return Error::NoResources; \
68 return Error::NoResources; \
87 Error EmuHWC2::initDisplayParameters() { in initDisplayParameters()
98 return HWC2::Error::None; in initDisplayParameters()
326 Error EmuHWC2::createVirtualDisplay(uint32_t /*width*/, uint32_t /*height*/, in createVirtualDisplay()
330 return Error::None; in createVirtualDisplay()
333 Error EmuHWC2::destroyVirtualDisplay(hwc2_display_t /*displayId*/) { in destroyVirtualDisplay()
336 return Error::None; in destroyVirtualDisplay()
360 Error EmuHWC2::registerCallback(Callback descriptor, in registerCallback()
366 return Error::BadParameter; in registerCallback()
379 return Error::None; in registerCallback()
391 return Error::None; in registerCallback()
468 Error EmuHWC2::Display::acceptChanges() { in acceptChanges()
475 return Error::NotValidated; in acceptChanges()
493 return Error::None; in acceptChanges()
496 Error EmuHWC2::Display::createLayer(hwc2_layer_t* outLayerId) { in createLayer()
505 return Error::None; in createLayer()
508 Error EmuHWC2::Display::destroyLayer(hwc2_layer_t layerId) { in destroyLayer()
516 return Error::BadLayer; in destroyLayer()
529 return Error::None; in destroyLayer()
532 Error EmuHWC2::Display::getActiveConfig(hwc2_config_t* outConfig) { in getActiveConfig()
538 to_string(Error::BadConfig).c_str()); in getActiveConfig()
539 return Error::BadConfig; in getActiveConfig()
545 return Error::None; in getActiveConfig()
548 Error EmuHWC2::Display::getDisplayAttribute(hwc2_config_t configId, in getDisplayAttribute()
555 return Error::BadConfig; in getDisplayAttribute()
561 return Error::None; in getDisplayAttribute()
564 Error EmuHWC2::Display::getChangedCompositionTypes( in getChangedCompositionTypes()
572 return Error::NotValidated; in getChangedCompositionTypes()
577 return Error::None; in getChangedCompositionTypes()
594 return Error::None; in getChangedCompositionTypes()
597 Error EmuHWC2::Display::getColorModes(uint32_t* outNumModes, in getColorModes()
604 return Error::None; in getColorModes()
612 return Error::None; in getColorModes()
615 Error EmuHWC2::Display::getConfigs(uint32_t* outNumConfigs, in getConfigs()
622 return Error::None; in getConfigs()
633 return Error::None; in getConfigs()
636 Error EmuHWC2::Display::getDozeSupport(int32_t* outSupport) { in getDozeSupport()
640 return Error::None; in getDozeSupport()
643 Error EmuHWC2::Display::getHdrCapabilities(uint32_t* outNumTypes, in getHdrCapabilities()
649 return Error::None; in getHdrCapabilities()
652 Error EmuHWC2::Display::getName(uint32_t* outSize, char* outName) { in getName()
658 return Error::None; in getName()
662 return Error::None; in getName()
665 Error EmuHWC2::Display::getReleaseFences(uint32_t* outNumElements, in getReleaseFences()
685 return Error::None; in getReleaseFences()
688 Error EmuHWC2::Display::getRequests(int32_t* outDisplayRequests, in getRequests()
695 return Error::NotValidated; in getRequests()
700 return Error::None; in getRequests()
717 return Error::None; in getRequests()
720 Error EmuHWC2::Display::getType(int32_t* outType) { in getType()
725 return Error::None; in getType()
728 Error EmuHWC2::Display::present(int32_t* outRetireFence) { in present()
738 return Error::NotValidated; in present()
774 return Error::None; in present()
910 return Error::None; in present()
913 Error EmuHWC2::Display::setActiveConfig(hwc2_config_t configId) { in setActiveConfig()
920 return Error::BadConfig; in setActiveConfig()
924 return Error::None; in setActiveConfig()
928 return Error::None; in setActiveConfig()
931 Error EmuHWC2::Display::setClientTarget(buffer_handle_t target, in setClientTarget()
938 return Error::None; in setClientTarget()
941 Error EmuHWC2::Display::setColorMode(int32_t intMode) { in setColorMode()
948 return Error::None; in setColorMode()
953 return Error::Unsupported; in setColorMode()
956 return Error::None; in setColorMode()
959 Error EmuHWC2::Display::setColorTransform(const float* /*matrix*/, in setColorTransform()
970 return Error::None; in setColorTransform()
973 Error EmuHWC2::Display::setOutputBuffer(buffer_handle_t /*buffer*/, in setOutputBuffer()
977 return Error::None; in setOutputBuffer()
990 Error EmuHWC2::Display::setPowerMode(int32_t intMode) { in setPowerMode()
995 return Error::BadParameter; in setPowerMode()
998 return Error::None; in setPowerMode()
1005 return Error::None; in setPowerMode()
1016 Error EmuHWC2::Display::setVsyncEnabled(int32_t intEnable) { in setVsyncEnabled()
1020 return Error::BadParameter; in setVsyncEnabled()
1023 return Error::None; in setVsyncEnabled()
1029 return Error::None; in setVsyncEnabled()
1032 Error EmuHWC2::Display::validate(uint32_t* outNumTypes, in validate()
1098 return *outNumTypes > 0 ? Error::HasChanges : Error::None; in validate()
1101 Error EmuHWC2::Display::updateLayerZ(hwc2_layer_t layerId, uint32_t z) { in updateLayerZ()
1108 return Error::BadLayer; in updateLayerZ()
1118 return Error::None; in updateLayerZ()
1129 return Error::BadLayer; in updateLayerZ()
1134 return Error::None; in updateLayerZ()
1137 Error EmuHWC2::Display::getClientTargetSupport(uint32_t width, uint32_t height, in getClientTargetSupport()
1143 return Error::Unsupported; in getClientTargetSupport()
1150 return Error::None; in getClientTargetSupport()
1153 return Error::None; in getClientTargetSupport()
1201 Error EmuHWC2::Display::getDisplayIdentificationData(uint8_t* outPort, in getDisplayIdentificationData()
1205 return Error::BadParameter; in getDisplayIdentificationData()
1251 return Error::None; in getDisplayIdentificationData()
1254 Error EmuHWC2::Display::getDisplayCapabilities(uint32_t* outNumCapabilities, in getDisplayCapabilities()
1257 return Error::None; in getDisplayCapabilities()
1276 return Error::None; in getDisplayCapabilities()
1279 Error EmuHWC2::Display::getDisplayBrightnessSupport(bool *out_support) { in getDisplayBrightnessSupport()
1281 return Error::None; in getDisplayBrightnessSupport()
1284 Error EmuHWC2::Display::setDisplayBrightness(float brightness) { in setDisplayBrightness()
1286 return Error::None; in setDisplayBrightness()
1327 HWC2::Error EmuHWC2::Display::populateSecondaryConfigs(uint32_t width, uint32_t height, in populateSecondaryConfigs()
1367 return HWC2::Error::None; in populateSecondaryConfigs()
1513 Error EmuHWC2::Layer::setBuffer(buffer_handle_t buffer, in setBuffer()
1519 return Error::None; in setBuffer()
1522 Error EmuHWC2::Layer::setCursorPosition(int32_t /*x*/, in setCursorPosition()
1527 return Error::BadLayer; in setCursorPosition()
1530 return Error::None; in setCursorPosition()
1533 Error EmuHWC2::Layer::setSurfaceDamage(hwc_region_t /*damage*/) { in setSurfaceDamage()
1536 return Error::None; in setSurfaceDamage()
1541 Error EmuHWC2::Layer::setBlendMode(int32_t mode) { in setBlendMode()
1544 return Error::None; in setBlendMode()
1547 Error EmuHWC2::Layer::setColor(hwc_color_t color) { in setColor()
1550 return Error::None; in setColor()
1553 Error EmuHWC2::Layer::setCompositionType(int32_t type) { in setCompositionType()
1556 return Error::None; in setCompositionType()
1559 Error EmuHWC2::Layer::setDataspace(int32_t) { in setDataspace()
1561 return Error::None; in setDataspace()
1564 Error EmuHWC2::Layer::setDisplayFrame(hwc_rect_t frame) { in setDisplayFrame()
1567 return Error::None; in setDisplayFrame()
1570 Error EmuHWC2::Layer::setPlaneAlpha(float alpha) { in setPlaneAlpha()
1573 return Error::None; in setPlaneAlpha()
1576 Error EmuHWC2::Layer::setSidebandStream(const native_handle_t* stream) { in setSidebandStream()
1579 return Error::None; in setSidebandStream()
1582 Error EmuHWC2::Layer::setSourceCrop(hwc_frect_t crop) { in setSourceCrop()
1585 return Error::None; in setSourceCrop()
1588 Error EmuHWC2::Layer::setTransform(int32_t transform) { in setTransform()
1591 return Error::None; in setTransform()
1601 Error EmuHWC2::Layer::setVisibleRegion(hwc_region_t visible) { in setVisibleRegion()
1609 return Error::None; in setVisibleRegion()
1612 Error EmuHWC2::Layer::setZ(uint32_t z) { in setZ()
1615 return Error::None; in setZ()
1696 Error ret = Error::None; in populateSecondaryDisplays()
1699 if (ret != Error::None) { in populateSecondaryDisplays()
1716 std::tuple<EmuHWC2::Layer*, Error> EmuHWC2::getLayer( in getLayer()
1721 return std::make_tuple(static_cast<Layer*>(nullptr), Error::BadDisplay); in getLayer()
1727 return std::make_tuple(static_cast<Layer*>(nullptr), Error::BadLayer); in getLayer()
1734 return std::make_tuple(static_cast<Layer*>(nullptr), Error::BadLayer); in getLayer()
1736 return std::make_tuple(layer.get(), Error::None); in getLayer()