• Home
  • Raw
  • Download

Lines Matching refs:error

444     if (auto error = hwcLayer->setDisplayFrame(displayFrame); error != hal::Error::NONE) {  in writeOutputDependentGeometryStateToHWC()  local
447 displayFrame.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
450 if (auto error = hwcLayer->setSourceCrop(sourceCrop); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
454 sourceCrop.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
457 if (auto error = hwcLayer->setZOrder(z); error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC() local
459 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
467 if (auto error = hwcLayer->setTransform(static_cast<hal::Transform>(bufferTransform)); in writeOutputDependentGeometryStateToHWC() local
468 error != hal::Error::NONE) { in writeOutputDependentGeometryStateToHWC()
470 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC()
471 static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC()
484 if (auto error = hwcLayer->setBlendMode(blendMode); error != hal::Error::NONE) { in writeOutputIndependentGeometryStateToHWC() local
486 toString(blendMode).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC()
494 if (auto error = hwcLayer->setPlaneAlpha(alpha); error != hal::Error::NONE) { in writeOutputIndependentGeometryStateToHWC() local
496 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC()
500 if (auto error = hwcLayer->setLayerGenericMetadata(name, entry.mandatory, entry.value); in writeOutputIndependentGeometryStateToHWC() local
501 error != hal::Error::NONE) { in writeOutputIndependentGeometryStateToHWC()
503 name.c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC()
516 if (auto error = hwcLayer->setVisibleRegion(visibleRegion); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC() local
518 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
522 if (auto error = in writeOutputDependentPerFrameStateToHWC() local
524 error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC()
526 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
534 if (auto error = hwcLayer->setDataspace(dataspace); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC() local
536 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
552 if (auto error = hwcLayer->setBrightness(dimmingRatio); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC() local
554 dimmingRatio, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
561 switch (auto error = hwcLayer->setColorTransform(outputIndependentState.colorTransform)) { in writeOutputIndependentPerFrameStateToHWC() local
569 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentPerFrameStateToHWC()
577 if (auto error = hwcLayer->setSurfaceDamage(surfaceDamage); error != hal::Error::NONE) { in writeOutputIndependentPerFrameStateToHWC() local
579 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentPerFrameStateToHWC()
611 if (auto error = hwcLayer->setColor(color); error != hal::Error::NONE) { in writeSolidColorStateToHWC() local
613 to_string(error).c_str(), static_cast<int32_t>(error)); in writeSolidColorStateToHWC()
619 if (auto error = hwcLayer->setSidebandStream(outputIndependentState.sidebandStream->handle()); in writeSidebandStateToHWC() local
620 error != hal::Error::NONE) { in writeSidebandStateToHWC()
622 outputIndependentState.sidebandStream->handle(), to_string(error).c_str(), in writeSidebandStateToHWC()
623 static_cast<int32_t>(error)); in writeSidebandStateToHWC()
653 hal::Error error = in uncacheBuffers() local
655 if (error != hal::Error::NONE) { in uncacheBuffers()
657 to_string(error).c_str(), static_cast<int32_t>(error)); in uncacheBuffers()
666 if (auto error = hwcLayer->setPerFrameMetadata(supportedPerFrameMetadata, in writeBufferStateToHWC() local
668 error != hal::Error::NONE && error != hal::Error::UNSUPPORTED) { in writeBufferStateToHWC()
670 to_string(error).c_str(), static_cast<int32_t>(error)); in writeBufferStateToHWC()
699 if (auto error = hwcLayer->setBuffer(hwcSlotAndBuffer.slot, hwcSlotAndBuffer.buffer, hwcFence); in writeBufferStateToHWC() local
700 error != hal::Error::NONE) { in writeBufferStateToHWC()
702 hwcSlotAndBuffer.buffer->handle, to_string(error).c_str(), in writeBufferStateToHWC()
703 static_cast<int32_t>(error)); in writeBufferStateToHWC()
724 if (auto error = hwcLayer->setCompositionType(requestedCompositionType); in writeCompositionTypeToHWC() local
725 error != hal::Error::NONE) { in writeCompositionTypeToHWC()
727 to_string(requestedCompositionType).c_str(), to_string(error).c_str(), in writeCompositionTypeToHWC()
728 static_cast<int32_t>(error)); in writeCompositionTypeToHWC()
751 if (auto error = hwcLayer->setCursorPosition(position.left, position.top); in writeCursorPositionToHWC() local
752 error != hal::Error::NONE) { in writeCursorPositionToHWC()
754 getLayerFE().getDebugName(), position.left, position.top, to_string(error).c_str(), in writeCursorPositionToHWC()
755 static_cast<int32_t>(error)); in writeCursorPositionToHWC()