Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 67) sorted by relevance

123

/device/generic/goldfish-opengl/system/hwc3/
DDisplay.cpp95 HWC3::Error Display::init(const std::vector<DisplayConfig>& configs, int32_t activeConfigId, in init()
117 return HWC3::Error::NoResources; in init()
126 return HWC3::Error::None; in init()
129 HWC3::Error Display::updateParameters(uint32_t width, uint32_t height, uint32_t dpiX, uint32_t dpiY, in updateParameters()
141 return HWC3::Error::NoResources; in updateParameters()
154 return HWC3::Error::None; in updateParameters()
157 HWC3::Error Display::createLayer(int64_t* outLayerId) { in createLayer()
171 return HWC3::Error::None; in createLayer()
174 HWC3::Error Display::destroyLayer(int64_t layerId) { in destroyLayer()
182 return HWC3::Error::BadLayer; in destroyLayer()
[all …]
DDisplay.h70 HWC3::Error init(const std::vector<DisplayConfig>& configs, int32_t activeConfigId,
73 HWC3::Error updateParameters(uint32_t width, uint32_t height, uint32_t dpiX, uint32_t dpiY,
78 HWC3::Error createLayer(int64_t* outLayerId);
79 HWC3::Error destroyLayer(int64_t layerId);
80 HWC3::Error getActiveConfig(int32_t* outConfigId);
81 HWC3::Error getDisplayAttribute(int32_t configId, DisplayAttribute attribute,
83 HWC3::Error getColorModes(std::vector<ColorMode>* outColorModes);
84 HWC3::Error getDisplayCapabilities(std::vector<DisplayCapability>* caps);
85 HWC3::Error getDisplayConfigs(std::vector<int32_t>* configs);
86 HWC3::Error getDisplayConfigurations(std::vector<DisplayConfiguration>* outConfigs);
[all …]
DLayer.cpp34 HWC3::Error Layer::setCursorPosition(const common::Point& position) { in setCursorPosition()
39 return HWC3::Error::BadLayer; in setCursorPosition()
43 return HWC3::Error::None; in setCursorPosition()
52 HWC3::Error Layer::setBuffer(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence) { in setBuffer()
57 return HWC3::Error::BadParameter; in setBuffer()
61 return HWC3::Error::None; in setBuffer()
84 HWC3::Error Layer::setSurfaceDamage(const std::vector<std::optional<common::Rect>>& /*damage*/) { in setSurfaceDamage()
87 return HWC3::Error::None; in setSurfaceDamage()
90 HWC3::Error Layer::setBlendMode(common::BlendMode blendMode) { in setBlendMode()
95 return HWC3::Error::None; in setBlendMode()
[all …]
DComposerClient.cpp34 return ToBinderStatus(HWC3::Error::BadDisplay); \
48 void addError(HWC3::Error error) { in addError()
114 HWC3::Error ComposerClient::init() { in init()
117 HWC3::Error error = HWC3::Error::None; in init()
124 return HWC3::Error::NoResources; in init()
128 if (error != HWC3::Error::None) { in init()
134 if (error != HWC3::Error::None) { in init()
149 if (error != HWC3::Error::None) { in init()
155 if (error != HWC3::Error::None) { in init()
161 return HWC3::Error::None; in init()
[all …]
DDevice.cpp40 HWC3::Error loadPersistentKeyValues(Json::Value* dictionary) { in loadPersistentKeyValues()
46 return HWC3::Error::NoResources; in loadPersistentKeyValues()
52 return HWC3::Error::NoResources; in loadPersistentKeyValues()
56 return HWC3::Error::None; in loadPersistentKeyValues()
64 return HWC3::Error::NoResources; in loadPersistentKeyValues()
67 return HWC3::Error::None; in loadPersistentKeyValues()
70 HWC3::Error savePersistentKeyValues(const Json::Value& dictionary) { in savePersistentKeyValues()
74 return HWC3::Error::NoResources; in savePersistentKeyValues()
80 return HWC3::Error::NoResources; in savePersistentKeyValues()
83 return HWC3::Error::None; in savePersistentKeyValues()
[all …]
DClientFrameComposer.cpp36 HWC3::Error ClientFrameComposer::init() { in init()
39 HWC3::Error error = mDrmClient.init(); in init()
40 if (error != HWC3::Error::None) { in init()
45 return HWC3::Error::None; in init()
48 HWC3::Error ClientFrameComposer::registerOnHotplugCallback(const HotplugCallback& cb) { in registerOnHotplugCallback()
50 return HWC3::Error::None; in registerOnHotplugCallback()
53 HWC3::Error ClientFrameComposer::unregisterOnHotplugCallback() { in unregisterOnHotplugCallback()
57 HWC3::Error ClientFrameComposer::onDisplayCreate(Display* display) { in onDisplayCreate()
64 return HWC3::Error::None; in onDisplayCreate()
67 HWC3::Error ClientFrameComposer::onDisplayDestroy(Display* display) { in onDisplayDestroy()
[all …]
DComposerResources.cpp24 HWC3::Error toHwc3Error(::android::hardware::graphics::composer::V2_1::Error error) { in toHwc3Error()
26 case ::android::hardware::graphics::composer::V2_1::Error::NONE: in toHwc3Error()
27 return HWC3::Error::None; in toHwc3Error()
28 case ::android::hardware::graphics::composer::V2_1::Error::BAD_CONFIG: in toHwc3Error()
29 return HWC3::Error::BadConfig; in toHwc3Error()
30 case ::android::hardware::graphics::composer::V2_1::Error::BAD_DISPLAY: in toHwc3Error()
31 return HWC3::Error::BadDisplay; in toHwc3Error()
32 case ::android::hardware::graphics::composer::V2_1::Error::BAD_LAYER: in toHwc3Error()
33 return HWC3::Error::BadLayer; in toHwc3Error()
34 case ::android::hardware::graphics::composer::V2_1::Error::BAD_PARAMETER: in toHwc3Error()
[all …]
DHostFrameComposer.cpp164 HWC3::Error HostFrameComposer::init() { in init()
170 HWC3::Error error = mDrmClient->init(); in init()
171 if (error != HWC3::Error::None) { in init()
179 return HWC3::Error::None; in init()
182 HWC3::Error HostFrameComposer::registerOnHotplugCallback(const HotplugCallback& cb) { in registerOnHotplugCallback()
186 return HWC3::Error::None; in registerOnHotplugCallback()
189 HWC3::Error HostFrameComposer::unregisterOnHotplugCallback() { in unregisterOnHotplugCallback()
193 return HWC3::Error::None; in unregisterOnHotplugCallback()
196 HWC3::Error HostFrameComposer::createHostComposerDisplayInfo(Display* display, in createHostComposerDisplayInfo()
198 HWC3::Error error = HWC3::Error::None; in createHostComposerDisplayInfo()
[all …]
DNoOpFrameComposer.cpp25 HWC3::Error NoOpFrameComposer::init() { in init()
28 return HWC3::Error::None; in init()
31 HWC3::Error NoOpFrameComposer::registerOnHotplugCallback(const HotplugCallback&) { in registerOnHotplugCallback()
34 return HWC3::Error::None; in registerOnHotplugCallback()
37 HWC3::Error NoOpFrameComposer::unregisterOnHotplugCallback() { in unregisterOnHotplugCallback()
40 return HWC3::Error::None; in unregisterOnHotplugCallback()
43 HWC3::Error NoOpFrameComposer::onDisplayCreate(Display*) { in onDisplayCreate()
46 return HWC3::Error::None; in onDisplayCreate()
49 HWC3::Error NoOpFrameComposer::onDisplayDestroy(Display*) { in onDisplayDestroy()
52 return HWC3::Error::None; in onDisplayDestroy()
[all …]
DGuestFrameComposer.cpp431 HWC3::Error GuestFrameComposer::init() { in init()
434 HWC3::Error error = mDrmClient.init(); in init()
435 if (error != HWC3::Error::None) { in init()
440 return HWC3::Error::None; in init()
443 HWC3::Error GuestFrameComposer::registerOnHotplugCallback(const HotplugCallback& cb) { in registerOnHotplugCallback()
445 return HWC3::Error::None; in registerOnHotplugCallback()
448 HWC3::Error GuestFrameComposer::unregisterOnHotplugCallback() { in unregisterOnHotplugCallback()
452 HWC3::Error GuestFrameComposer::onDisplayCreate(Display* display) { in onDisplayCreate()
458 HWC3::Error error = display->getActiveConfig(&displayConfigId); in onDisplayCreate()
459 if (error != HWC3::Error::None) { in onDisplayCreate()
[all …]
DDisplayFinder.cpp46 HWC3::Error findGoldfishPrimaryDisplay(std::vector<DisplayMultiConfigs>* outDisplays) { in findGoldfishPrimaryDisplay()
58 return HWC3::Error::NoResources; in findGoldfishPrimaryDisplay()
85 return HWC3::Error::None; in findGoldfishPrimaryDisplay()
126 HWC3::Error findGoldfishSecondaryDisplays(std::vector<DisplayMultiConfigs>* outDisplays) { in findGoldfishSecondaryDisplays()
151 return HWC3::Error::None; in findGoldfishSecondaryDisplays()
154 HWC3::Error findGoldfishDisplays(std::vector<DisplayMultiConfigs>* outDisplays) { in findGoldfishDisplays()
155 HWC3::Error error = findGoldfishPrimaryDisplay(outDisplays); in findGoldfishDisplays()
156 if (error != HWC3::Error::None) { in findGoldfishDisplays()
162 if (error != HWC3::Error::None) { in findGoldfishDisplays()
171 HWC3::Error findNoOpDisplays(std::vector<DisplayMultiConfigs>* outDisplays) { in findNoOpDisplays()
[all …]
DLayer.h40 HWC3::Error setCursorPosition(const common::Point& cursorPosition);
43 HWC3::Error setBuffer(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence);
47 HWC3::Error setSurfaceDamage(const std::vector<std::optional<common::Rect>>& damage);
49 HWC3::Error setBlendMode(common::BlendMode mode);
52 HWC3::Error setColor(Color color);
55 HWC3::Error setCompositionType(Composition composition);
58 HWC3::Error setDataspace(common::Dataspace dataspace);
61 HWC3::Error setDisplayFrame(common::Rect frame);
64 HWC3::Error setPlaneAlpha(float alpha);
67 HWC3::Error setSidebandStream(buffer_handle_t stream);
[all …]
DDrmClient.cpp63 HWC3::Error DrmClient::init() { in init()
69 return HWC3::Error::NoResources; in init()
75 return HWC3::Error::NoResources; in init()
81 return HWC3::Error::NoResources; in init()
88 return HWC3::Error::NoResources; in init()
98 return HWC3::Error::NoResources; in init()
110 return HWC3::Error::None; in init()
113 HWC3::Error DrmClient::getDisplayConfigs(std::vector<DisplayConfig>* configs) const { in getDisplayConfigs()
135 return HWC3::Error::None; in getDisplayConfigs()
138 HWC3::Error DrmClient::registerOnHotplugCallback(const HotplugCallback& cb) { in registerOnHotplugCallback()
[all …]
DComposerResources.h53 HWC3::Error init();
62 HWC3::Error addPhysicalDisplay(int64_t display);
64 HWC3::Error addVirtualDisplay(int64_t displayId, uint32_t outputBufferCacheSize);
66 HWC3::Error removeDisplay(int64_t display);
68 HWC3::Error setDisplayClientTargetCacheSize(int64_t displayId, uint32_t clientTargetCacheSize);
70 HWC3::Error getDisplayClientTargetCacheSize(int64_t displayId, size_t* outCacheSize);
72 HWC3::Error getDisplayOutputBufferCacheSize(int64_t displayId, size_t* outCacheSize);
74 HWC3::Error addLayer(int64_t displayId, int64_t layerId, uint32_t bufferCacheSize);
76 HWC3::Error removeLayer(int64_t displayId, int64_t layer);
82 HWC3::Error getDisplayReadbackBuffer(
[all …]
DGuestFrameComposer.h41 HWC3::Error init() override;
43 HWC3::Error registerOnHotplugCallback(const HotplugCallback& cb) override;
45 HWC3::Error unregisterOnHotplugCallback() override;
47 HWC3::Error onDisplayCreate(Display*) override;
49 HWC3::Error onDisplayDestroy(Display*) override;
51 HWC3::Error onDisplayClientTargetSet(Display*) override;
55 HWC3::Error validateDisplay(Display* display, DisplayChanges* outChanges) override;
59 HWC3::Error presentDisplay(
63 HWC3::Error onActiveConfigChange(Display* /*display*/) override;
76 HWC3::Error getDisplayConfigsFromSystemProp(std::vector<DisplayConfig>* configs);
[all …]
DCommon.cpp72 std::string toString(HWC3::Error error) { in toString()
74 case HWC3::Error::None: in toString()
76 case HWC3::Error::BadConfig: in toString()
78 case HWC3::Error::BadDisplay: in toString()
80 case HWC3::Error::BadLayer: in toString()
82 case HWC3::Error::BadParameter: in toString()
84 case HWC3::Error::NoResources: in toString()
86 case HWC3::Error::NotValidated: in toString()
88 case HWC3::Error::Unsupported: in toString()
90 case HWC3::Error::SeamlessNotAllowed: in toString()
DHostFrameComposer.h43 HWC3::Error init() override;
45 HWC3::Error registerOnHotplugCallback(const HotplugCallback& cb) override;
47 HWC3::Error unregisterOnHotplugCallback() override;
49 HWC3::Error onDisplayCreate(Display* display) override;
51 HWC3::Error onDisplayDestroy(Display* display) override;
53 HWC3::Error onDisplayClientTargetSet(Display* display) override;
57 HWC3::Error validateDisplay(Display* display, DisplayChanges* outChanges) override;
61 HWC3::Error presentDisplay(
65 HWC3::Error onActiveConfigChange(Display* display) override;
75 HWC3::Error createHostComposerDisplayInfo(Display* display, uint32_t hostDisplayId);
DFrameComposer.h39 virtual HWC3::Error init() = 0;
49 virtual HWC3::Error registerOnHotplugCallback(const HotplugCallback& cb) = 0;
51 virtual HWC3::Error unregisterOnHotplugCallback() = 0;
53 virtual HWC3::Error onDisplayCreate(Display* display) = 0;
55 virtual HWC3::Error onDisplayDestroy(Display* display) = 0;
57 virtual HWC3::Error onDisplayClientTargetSet(Display* display) = 0;
61 virtual HWC3::Error validateDisplay(Display* display, DisplayChanges* outChanges) = 0;
65 virtual HWC3::Error presentDisplay(
69 virtual HWC3::Error onActiveConfigChange(Display* display) = 0;
DNoOpFrameComposer.h39 HWC3::Error init() override;
41 HWC3::Error registerOnHotplugCallback(const HotplugCallback& cb) override;
43 HWC3::Error unregisterOnHotplugCallback() override;
45 HWC3::Error onDisplayCreate(Display*) override;
47 HWC3::Error onDisplayDestroy(Display*) override;
49 HWC3::Error onDisplayClientTargetSet(Display*) override;
53 HWC3::Error validateDisplay(Display* display, DisplayChanges* outChanges) override;
57 HWC3::Error presentDisplay(
61 HWC3::Error onActiveConfigChange(Display* /*display*/) override;
DClientFrameComposer.h41 HWC3::Error init() override;
43 HWC3::Error registerOnHotplugCallback(const HotplugCallback& cb) override;
45 HWC3::Error unregisterOnHotplugCallback() override;
47 HWC3::Error onDisplayCreate(Display* display) override;
49 HWC3::Error onDisplayDestroy(Display* display) override;
51 HWC3::Error onDisplayClientTargetSet(Display* display) override;
53 HWC3::Error onActiveConfigChange(Display* display) override;
57 HWC3::Error validateDisplay(Display* display, DisplayChanges* outChanges) override;
61 HWC3::Error presentDisplay(
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Derror.rs9 pub struct Error { struct
13 impl error::Error for Error { implementation
18 fn cause(&self) -> Option<&error::Error> { in cause() argument
28 impl fmt::Display for Error { implementation
29 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() argument
41 Io(io::Error),
47 pub fn from_io(e: io::Error) -> Error { in from_io() argument
48 Error { in from_io()
53 pub fn from_num(e: num::ParseIntError) -> Error { in from_num() argument
54 Error { in from_num()
[all …]
/device/generic/goldfish/radio/librilutils/proto/
Dsap-api.proto25 required Error error = 4;
40 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_CONNECT, Error: RIL_E_UNUSED,
42 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_CONNECT, Error:Valid errors,
48 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_DISCONNECT, Error: RIL_E_UNUSED,
50 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error:Valid errors,
52 // For MsgType: UNSOL_RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error: RIL_E_UNUSED,
58 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_APDU, Error: RIL_E_UNUSED,
60 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_APDU, Error:Valid errors,
66 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_TRANSFER_ATR, Error: RIL_E_UNUSED,
68 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_TRANSFER_ATR, Error:Valid errors,
[all …]
/device/common/
Dgenerate-packages.sh32 cd ../$MANUFACTURER/$ROOTDEVICE/self-extractors || echo Error change dir
79 unzip -j -o $ZIP $ONE_FILE -d $FILEDIR_NEW> /dev/null || echo \ \ \ \ Error extracting $ONE_FILE
82 chmod a+x $FILEDIR_NEW/$(basename $ONE_FILE) || echo \ \ \ \ Error chmoding $ONE_FILE
99 cp $COMPANY/COPYRIGHT ${MAKEFILEDIR} || echo \ \ \ \ Error copying COPYRIGHT
100 cp $COMPANY/LICENSE ${MAKEFILEDIR} || echo \ \ \ \ Error copying LICENSE
102 cp -R $COMPANY/staging/* $MAKEFILEDIR || echo \ \ \ \ Error copying makefiles
104 …unzip -j -o $ZIP OTA/android-info.txt -d root > /dev/null || echo \ \ \ \ Error extracting OTA/and…
105 cp -R root/* ${FILEDIR_ROOT} || echo \ \ \ \ Error copying makefiles
175 cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script
176 cat $COMPANY/COPYRIGHT >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs114 pub enum Error { enum
130 Command { command: String, cause: io::Error },
151 impl error::Error for Error {} implementation
153 impl fmt::Debug for Error { implementation
154 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() argument
156 <Error as fmt::Display>::fmt(self, f) in fmt()
160 impl fmt::Display for Error { implementation
161 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() argument
163 Error::EnvNoPkgConfig(ref name) => write!(f, "Aborted because {} is set", name), in fmt()
164 Error::CrossCompilation => f.write_str( in fmt()
[all …]
/device/generic/trusty/secure_dpu/
DEmulatorDPUHandler.cpp49 return base::Error() << "Failed to create buffer allocator"; in Init()
55 return base::Error() << "Failed to connect to: " << device_name; in Init()
67 return base::Error() << "Failed to write command"; in HandleStartSecureDisplay()
79 return base::Error() << "Failed to write command"; in HandleStopSecureDisplay()
89 return base::Error() << "Failed to allocate buffer." in AllocateBuffer()
136 return base::Error() << "Failed to do tipc_send: " << rc; in HandleAllocateBuffer()
143 return base::Error() << "Invalid payload"; in HandleCmd()
155 return base::Error() << "Invalid payload"; in HandleCmd()
164 return base::Error() << "Unknown command"; in HandleCmd()
174 return base::Error() << "Failed to read command"; in Handle()
[all …]

123