Lines Matching refs:Error

95 constexpr Error kDefaultError = Error::NO_RESOURCES;
104 Error unwrapRet(Return<Error>& ret) in unwrapRet()
176 if (tmpError == Error::NONE) { in Composer()
184 if (tmpError != Error::NONE) { in Composer()
248 Error Composer::executeCommands() { in executeCommands()
258 Error Composer::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay()
262 Error error = kDefaultError; in createVirtualDisplay()
270 if (error != Error::NONE) { in createVirtualDisplay()
284 if (error != Error::NONE) { in createVirtualDisplay()
296 Error Composer::destroyVirtualDisplay(Display display) in destroyVirtualDisplay()
302 Error Composer::acceptDisplayChanges(Display display) in acceptDisplayChanges()
306 return Error::NONE; in acceptDisplayChanges()
309 Error Composer::createLayer(Display display, Layer* outLayer) in createLayer()
311 Error error = kDefaultError; in createLayer()
315 if (error != Error::NONE) { in createLayer()
325 Error Composer::destroyLayer(Display display, Layer layer) in destroyLayer()
331 Error Composer::getActiveConfig(Display display, Config* outConfig) in getActiveConfig()
333 Error error = kDefaultError; in getActiveConfig()
337 if (error != Error::NONE) { in getActiveConfig()
347 Error Composer::getChangedCompositionTypes(Display display, in getChangedCompositionTypes()
352 return Error::NONE; in getChangedCompositionTypes()
355 Error Composer::getColorModes(Display display, in getColorModes()
358 Error error = kDefaultError; in getColorModes()
363 if (error != Error::NONE) { in getColorModes()
372 if (error != Error::NONE) { in getColorModes()
384 if (error != Error::NONE) { in getColorModes()
396 Error Composer::getDisplayAttribute(Display display, Config config, in getDisplayAttribute()
399 Error error = kDefaultError; in getDisplayAttribute()
403 if (error != Error::NONE) { in getDisplayAttribute()
413 Error Composer::getDisplayConfigs(Display display, in getDisplayConfigs()
416 Error error = kDefaultError; in getDisplayConfigs()
420 if (error != Error::NONE) { in getDisplayConfigs()
430 Error Composer::getDisplayName(Display display, std::string* outName) in getDisplayName()
432 Error error = kDefaultError; in getDisplayName()
436 if (error != Error::NONE) { in getDisplayName()
446 Error Composer::getDisplayRequests(Display display, in getDisplayRequests()
452 return Error::NONE; in getDisplayRequests()
455 Error Composer::getDisplayType(Display display, in getDisplayType()
458 Error error = kDefaultError; in getDisplayType()
462 if (error != Error::NONE) { in getDisplayType()
472 Error Composer::getDozeSupport(Display display, bool* outSupport) in getDozeSupport()
474 Error error = kDefaultError; in getDozeSupport()
478 if (error != Error::NONE) { in getDozeSupport()
488 Error Composer::getHdrCapabilities(Display display, in getHdrCapabilities()
492 Error error = kDefaultError; in getHdrCapabilities()
500 if (error != Error::NONE) { in getHdrCapabilities()
516 if (error != Error::NONE) { in getHdrCapabilities()
534 Error Composer::getReleaseFences(Display display, in getReleaseFences()
538 return Error::NONE; in getReleaseFences()
541 Error Composer::presentDisplay(Display display, int* outPresentFence) in presentDisplay()
546 Error error = execute(); in presentDisplay()
547 if (error != Error::NONE) { in presentDisplay()
553 return Error::NONE; in presentDisplay()
556 Error Composer::setActiveConfig(Display display, Config config) in setActiveConfig()
562 Error Composer::setClientTarget(Display display, uint32_t slot, in setClientTarget()
586 return Error::NONE; in setClientTarget()
589 Error Composer::setColorMode(Display display, ColorMode mode, in setColorMode()
592 hardware::Return<Error> ret(kDefaultError); in setColorMode()
605 Error Composer::setColorTransform(Display display, const float* matrix, in setColorTransform()
610 return Error::NONE; in setColorTransform()
613 Error Composer::setOutputBuffer(Display display, const native_handle_t* buffer, in setOutputBuffer()
618 return Error::NONE; in setOutputBuffer()
621 Error Composer::setPowerMode(Display display, IComposerClient::PowerMode mode) { in setPowerMode()
622 Return<Error> ret(Error::UNSUPPORTED); in setPowerMode()
632 Error Composer::setVsyncEnabled(Display display, IComposerClient::Vsync enabled) in setVsyncEnabled()
638 Error Composer::setClientTargetSlotCount(Display display) in setClientTargetSlotCount()
645 Error Composer::validateDisplay(Display display, uint32_t* outNumTypes, in validateDisplay()
651 Error error = execute(); in validateDisplay()
652 if (error != Error::NONE) { in validateDisplay()
658 return Error::NONE; in validateDisplay()
661 Error Composer::presentOrValidateDisplay(Display display, uint32_t* outNumTypes, in presentOrValidateDisplay()
666 Error error = execute(); in presentOrValidateDisplay()
667 if (error != Error::NONE) { in presentOrValidateDisplay()
681 return Error::NONE; in presentOrValidateDisplay()
684 Error Composer::setCursorPosition(Display display, Layer layer, in setCursorPosition()
690 return Error::NONE; in setCursorPosition()
693 Error Composer::setLayerBuffer(Display display, Layer layer, in setLayerBuffer()
716 return Error::NONE; in setLayerBuffer()
719 Error Composer::setLayerSurfaceDamage(Display display, Layer layer, in setLayerSurfaceDamage()
725 return Error::NONE; in setLayerSurfaceDamage()
728 Error Composer::setLayerBlendMode(Display display, Layer layer, in setLayerBlendMode()
734 return Error::NONE; in setLayerBlendMode()
737 Error Composer::setLayerColor(Display display, Layer layer, in setLayerColor()
743 return Error::NONE; in setLayerColor()
746 Error Composer::setLayerCompositionType(Display display, Layer layer, in setLayerCompositionType()
752 return Error::NONE; in setLayerCompositionType()
755 Error Composer::setLayerDataspace(Display display, Layer layer, in setLayerDataspace()
761 return Error::NONE; in setLayerDataspace()
764 Error Composer::setLayerDisplayFrame(Display display, Layer layer, in setLayerDisplayFrame()
770 return Error::NONE; in setLayerDisplayFrame()
773 Error Composer::setLayerPlaneAlpha(Display display, Layer layer, in setLayerPlaneAlpha()
779 return Error::NONE; in setLayerPlaneAlpha()
782 Error Composer::setLayerSidebandStream(Display display, Layer layer, in setLayerSidebandStream()
788 return Error::NONE; in setLayerSidebandStream()
791 Error Composer::setLayerSourceCrop(Display display, Layer layer, in setLayerSourceCrop()
797 return Error::NONE; in setLayerSourceCrop()
800 Error Composer::setLayerTransform(Display display, Layer layer, in setLayerTransform()
806 return Error::NONE; in setLayerTransform()
809 Error Composer::setLayerVisibleRegion(Display display, Layer layer, in setLayerVisibleRegion()
815 return Error::NONE; in setLayerVisibleRegion()
818 Error Composer::setLayerZOrder(Display display, Layer layer, uint32_t z) in setLayerZOrder()
823 return Error::NONE; in setLayerZOrder()
826 Error Composer::setLayerInfo(Display display, Layer layer, uint32_t type, in setLayerInfo()
834 return Error::NONE; in setLayerInfo()
837 Error Composer::execute() in execute()
845 return Error::NO_RESOURCES; in execute()
852 if (error != Error::NONE) { in execute()
860 return Error::NONE; in execute()
863 Error error = kDefaultError; in execute()
871 if (error == Error::NONE && tmpOutChanged) { in execute()
878 if (error != Error::NONE) { in execute()
886 if (error != Error::NONE) { in execute()
894 error = Error::NO_RESOURCES; in execute()
908 if (error == Error::NONE) { in execute()
934 Error Composer::setLayerPerFrameMetadata(Display display, Layer layer, in setLayerPerFrameMetadata()
937 return Error::UNSUPPORTED; in setLayerPerFrameMetadata()
943 return Error::NONE; in setLayerPerFrameMetadata()
953 Error error = kDefaultError; in getPerFrameMetadataKeys()
958 if (error != Error::NONE) { in getPerFrameMetadataKeys()
970 if (error != Error::NONE) { in getPerFrameMetadataKeys()
985 Error Composer::getRenderIntents(Display display, ColorMode colorMode, in getRenderIntents()
989 return Error::NONE; in getRenderIntents()
992 Error error = kDefaultError; in getRenderIntents()
996 if (error != Error::NONE) { in getRenderIntents()
1013 Error Composer::getDataspaceSaturationMatrix(Dataspace dataspace, mat4* outMatrix) in getDataspaceSaturationMatrix()
1017 return Error::NONE; in getDataspaceSaturationMatrix()
1020 Error error = kDefaultError; in getDataspaceSaturationMatrix()
1024 if (error != Error::NONE) { in getDataspaceSaturationMatrix()
1035 Error Composer::getDisplayIdentificationData(Display display, uint8_t* outPort, in getDisplayIdentificationData()
1038 return Error::UNSUPPORTED; in getDisplayIdentificationData()
1041 Error error = kDefaultError; in getDisplayIdentificationData()
1046 if (error != Error::NONE) { in getDisplayIdentificationData()
1057 Error Composer::setLayerColorTransform(Display display, Layer layer, const float* matrix) in setLayerColorTransform()
1060 return Error::UNSUPPORTED; in setLayerColorTransform()
1066 return Error::NONE; in setLayerColorTransform()
1069 Error Composer::getDisplayedContentSamplingAttributes(Display display, PixelFormat* outFormat, in getDisplayedContentSamplingAttributes()
1073 return Error::BAD_PARAMETER; in getDisplayedContentSamplingAttributes()
1076 return Error::UNSUPPORTED; in getDisplayedContentSamplingAttributes()
1078 Error error = kDefaultError; in getDisplayedContentSamplingAttributes()
1085 if (error == Error::NONE) { in getDisplayedContentSamplingAttributes()
1096 Error Composer::getDisplayCapabilities(Display display, in getDisplayCapabilities()
1099 return Error::UNSUPPORTED; in getDisplayCapabilities()
1101 Error error = kDefaultError; in getDisplayCapabilities()
1105 if (error != Error::NONE) { in getDisplayCapabilities()
1113 Error Composer::setDisplayContentSamplingEnabled(Display display, bool enabled, in setDisplayContentSamplingEnabled()
1116 return Error::UNSUPPORTED; in setDisplayContentSamplingEnabled()
1125 Error Composer::getDisplayedContentSample(Display display, uint64_t maxFrames, uint64_t timestamp, in getDisplayedContentSample()
1128 return Error::BAD_PARAMETER; in getDisplayedContentSample()
1131 return Error::UNSUPPORTED; in getDisplayedContentSample()
1133 Error error = kDefaultError; in getDisplayedContentSample()
1139 if (error == Error::NONE) { in getDisplayedContentSample()
1150 Error Composer::setLayerPerFrameMetadataBlobs( in setLayerPerFrameMetadataBlobs()
1154 return Error::UNSUPPORTED; in setLayerPerFrameMetadataBlobs()
1160 return Error::NONE; in setLayerPerFrameMetadataBlobs()
1163 Error Composer::setDisplayBrightness(Display display, float brightness) { in setDisplayBrightness()
1165 return Error::UNSUPPORTED; in setDisplayBrightness()
1175 Error CommandReader::parse() in parse()
1225 return isEmpty() ? Error::NONE : Error::NO_RESOURCES; in parse()
1246 auto error = static_cast<Error>(readSigned()); in parseSetError()