Lines Matching refs:error

447     if (auto error = hwcLayer->setDisplayFrame(displayFrame); error != hal::Error::NONE) {  in writeOutputDependentGeometryStateToHWC()  local
450 displayFrame.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
453 if (auto error = hwcLayer->setSourceCrop(sourceCrop); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
457 sourceCrop.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
460 if (auto error = hwcLayer->setZOrder(z); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
462 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
470 if (auto error = hwcLayer->setTransform(static_cast<hal::Transform>(bufferTransform)); in writeOutputDependentGeometryStateToHWC() local
471 error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC()
473 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC()
474 static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
487 if (auto error = hwcLayer->setBlendMode(blendMode); error != hal::Error::NONE) { in writeOutputIndependentGeometryStateToHWC() local
489 toString(blendMode).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC()
497 if (auto error = hwcLayer->setPlaneAlpha(alpha); error != hal::Error::NONE) { in writeOutputIndependentGeometryStateToHWC() local
499 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC()
503 if (auto error = hwcLayer->setLayerGenericMetadata(name, entry.mandatory, entry.value); in writeOutputIndependentGeometryStateToHWC() local
504 error != hal::Error::NONE) { in writeOutputIndependentGeometryStateToHWC()
506 name.c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC()
519 if (auto error = hwcLayer->setVisibleRegion(visibleRegion); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC() local
521 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
525 if (auto error = in writeOutputDependentPerFrameStateToHWC() local
527 error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC()
529 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
537 if (auto error = hwcLayer->setDataspace(dataspace); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC() local
539 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
555 if (auto error = hwcLayer->setBrightness(dimmingRatio); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC() local
557 dimmingRatio, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
564 switch (auto error = hwcLayer->setColorTransform(outputIndependentState.colorTransform)) { in writeOutputIndependentPerFrameStateToHWC() local
572 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentPerFrameStateToHWC()
580 if (auto error = hwcLayer->setSurfaceDamage(surfaceDamage); error != hal::Error::NONE) { in writeOutputIndependentPerFrameStateToHWC() local
582 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentPerFrameStateToHWC()
614 if (auto error = hwcLayer->setColor(color); error != hal::Error::NONE) { in writeSolidColorStateToHWC() local
616 to_string(error).c_str(), static_cast<int32_t>(error)); in writeSolidColorStateToHWC()
622 if (auto error = hwcLayer->setSidebandStream(outputIndependentState.sidebandStream->handle()); in writeSidebandStateToHWC() local
623 error != hal::Error::NONE) { in writeSidebandStateToHWC()
625 outputIndependentState.sidebandStream->handle(), to_string(error).c_str(), in writeSidebandStateToHWC()
626 static_cast<int32_t>(error)); in writeSidebandStateToHWC()
656 hal::Error error = in uncacheBuffers() local
658 if (error != hal::Error::NONE) { in uncacheBuffers()
660 to_string(error).c_str(), static_cast<int32_t>(error)); in uncacheBuffers()
672 if (auto error = hwcLayer->setPerFrameMetadata(supportedPerFrameMetadata, in writeBufferStateToHWC() local
674 error != hal::Error::NONE && error != hal::Error::UNSUPPORTED) { in writeBufferStateToHWC()
676 to_string(error).c_str(), static_cast<int32_t>(error)); in writeBufferStateToHWC()
705 if (auto error = hwcLayer->setBuffer(hwcSlotAndBuffer.slot, hwcSlotAndBuffer.buffer, hwcFence); in writeBufferStateToHWC() local
706 error != hal::Error::NONE) { in writeBufferStateToHWC()
708 hwcSlotAndBuffer.buffer->handle, to_string(error).c_str(), in writeBufferStateToHWC()
709 static_cast<int32_t>(error)); in writeBufferStateToHWC()
730 if (auto error = hwcLayer->setCompositionType(requestedCompositionType); in writeCompositionTypeToHWC() local
731 error != hal::Error::NONE) { in writeCompositionTypeToHWC()
733 to_string(requestedCompositionType).c_str(), to_string(error).c_str(), in writeCompositionTypeToHWC()
734 static_cast<int32_t>(error)); in writeCompositionTypeToHWC()
757 if (auto error = hwcLayer->setCursorPosition(position.left, position.top); in writeCursorPositionToHWC() local
758 error != hal::Error::NONE) { in writeCursorPositionToHWC()
760 getLayerFE().getDebugName(), position.left, position.top, to_string(error).c_str(), in writeCursorPositionToHWC()
761 static_cast<int32_t>(error)); in writeCursorPositionToHWC()