/hardware/interfaces/graphics/composer/2.1/default/ |
D | ComposerBase.h | 44 virtual Error createVirtualDisplay(uint32_t width, uint32_t height, 46 virtual Error destroyVirtualDisplay(Display display) = 0; 47 virtual Error createLayer(Display display, Layer* outLayer) = 0; 48 virtual Error destroyLayer(Display display, Layer layer) = 0; 50 virtual Error getActiveConfig(Display display, Config* outConfig) = 0; 51 virtual Error getClientTargetSupport(Display display, 54 virtual Error getColorModes(Display display, 56 virtual Error getDisplayAttribute(Display display, Config config, 58 virtual Error getDisplayConfigs(Display display, 60 virtual Error getDisplayName(Display display, hidl_string* outName) = 0; [all …]
|
D | Hwc.cpp | 217 Error err = Error::NONE; in createClient() 229 err = Error::NO_RESOURCES; in createClient() 305 Error HwcHal::createVirtualDisplay(uint32_t width, uint32_t height, in createVirtualDisplay() 313 return static_cast<Error>(err); in createVirtualDisplay() 316 Error HwcHal::destroyVirtualDisplay(Display display) in destroyVirtualDisplay() 319 return static_cast<Error>(err); in destroyVirtualDisplay() 322 Error HwcHal::createLayer(Display display, Layer* outLayer) in createLayer() 325 return static_cast<Error>(err); in createLayer() 328 Error HwcHal::destroyLayer(Display display, Layer layer) in destroyLayer() 331 return static_cast<Error>(err); in destroyLayer() [all …]
|
D | Hwc.h | 69 Error createVirtualDisplay(uint32_t width, uint32_t height, 71 Error destroyVirtualDisplay(Display display) override; 73 Error createLayer(Display display, Layer* outLayer) override; 74 Error destroyLayer(Display display, Layer layer) override; 76 Error getActiveConfig(Display display, Config* outConfig) override; 77 Error getClientTargetSupport(Display display, 80 Error getColorModes(Display display, 82 Error getDisplayAttribute(Display display, Config config, 84 Error getDisplayConfigs(Display display, 86 Error getDisplayName(Display display, hidl_string* outName) override; [all …]
|
D | ComposerClient.cpp | 35 using MapperError = android::hardware::graphics::mapper::V2_0::Error; 270 Error err = mHal.createVirtualDisplay(width, height, in createVirtualDisplay() 272 if (err == Error::NONE) { in createVirtualDisplay() 283 Return<Error> ComposerClient::destroyVirtualDisplay(Display display) in destroyVirtualDisplay() 285 Error err = mHal.destroyVirtualDisplay(display); in destroyVirtualDisplay() 286 if (err == Error::NONE) { in destroyVirtualDisplay() 299 Error err = mHal.createLayer(display, &layer); in createLayer() 300 if (err == Error::NONE) { in createLayer() 312 Return<Error> ComposerClient::destroyLayer(Display display, Layer layer) in destroyLayer() 314 Error err = mHal.destroyLayer(display, layer); in destroyLayer() [all …]
|
D | ComposerClient.h | 72 Return<Error> destroyVirtualDisplay(Display display) override; 75 Return<Error> destroyLayer(Display display, Layer layer) override; 78 Return<Error> getClientTargetSupport(Display display, 96 Return<Error> setActiveConfig(Display display, Config config) override; 97 Return<Error> setColorMode(Display display, ColorMode mode) override; 98 Return<Error> setPowerMode(Display display, PowerMode mode) override; 99 Return<Error> setVsyncEnabled(Display display, Vsync enabled) override; 100 Return<Error> setClientTargetSlotCount(Display display, 102 Return<Error> setInputCommandQueue( 132 Error parse(); [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display.h | 56 HWC2::Error Init(); 57 HWC2::Error DeInit(); 59 HWC2::Error GetColorModes(uint32_t *out_num_modes, android_color_mode_t *out_modes); 60 HWC2::Error SetColorMode(android_color_mode_t mode); 61 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 66 HWC2::Error HandleColorModeTransform(android_color_mode_t mode, 147 virtual HWC2::Error AcceptDisplayChanges(void); 148 virtual HWC2::Error GetActiveConfig(hwc2_config_t *out_config); 149 virtual HWC2::Error SetActiveConfig(hwc2_config_t config); 150 virtual HWC2::Error SetClientTarget(buffer_handle_t target, int32_t acquire_fence, [all …]
|
D | hwc_display.cpp | 65 HWC2::Error HWCColorMode::Init() { in Init() 70 HWC2::Error HWCColorMode::DeInit() { in DeInit() 72 return HWC2::Error::None; in DeInit() 82 HWC2::Error HWCColorMode::GetColorModes(uint32_t *out_num_modes, in GetColorModes() 90 return HWC2::Error::None; in GetColorModes() 93 HWC2::Error HWCColorMode::SetColorMode(android_color_mode_t mode) { in SetColorMode() 96 if (status != HWC2::Error::None) { in SetColorMode() 103 HWC2::Error HWCColorMode::SetColorTransform(const float *matrix, android_color_transform_t hint) { in SetColorTransform() 105 return HWC2::Error::BadParameter; in SetColorTransform() 112 if (status != HWC2::Error::None) { in SetColorTransform() [all …]
|
D | hwc_layers.h | 65 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode); 66 HWC2::Error SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence); 67 HWC2::Error SetLayerColor(hwc_color_t color); 68 HWC2::Error SetLayerCompositionType(HWC2::Composition type); 69 HWC2::Error SetLayerDataspace(int32_t dataspace); 70 HWC2::Error SetLayerDisplayFrame(hwc_rect_t frame); 71 HWC2::Error SetLayerPlaneAlpha(float alpha); 72 HWC2::Error SetLayerSourceCrop(hwc_frect_t crop); 73 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage); 74 HWC2::Error SetLayerTransform(HWC2::Transform transform); [all …]
|
D | hwc_layers.cpp | 92 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer() 95 return HWC2::Error::BadParameter; in SetLayerBuffer() 100 return HWC2::Error::BadParameter; in SetLayerBuffer() 108 return HWC2::Error::BadParameter; in SetLayerBuffer() 129 return HWC2::Error::BadLayer; in SetLayerBuffer() 159 return HWC2::Error::None; in SetLayerBuffer() 162 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerBuffer() 169 return HWC2::Error::None; in SetLayerBuffer() 172 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBuffer() 185 return HWC2::Error::BadParameter; in SetLayerBuffer() [all …]
|
D | hwc_display_virtual.cpp | 113 HWC2::Error HWCDisplayVirtual::Validate(uint32_t *out_num_types, uint32_t *out_num_requests) { in Validate() 114 auto status = HWC2::Error::None; in Validate() 127 HWC2::Error HWCDisplayVirtual::Present(int32_t *out_retire_fence) { in Present() 128 auto status = HWC2::Error::None; in Present() 136 if (status == HWC2::Error::None) { in Present() 169 HWC2::Error HWCDisplayVirtual::SetOutputBuffer(buffer_handle_t buf, int32_t release_fence) { in SetOutputBuffer() 171 return HWC2::Error::BadParameter; in SetOutputBuffer() 190 return HWC2::Error::BadParameter; in SetOutputBuffer() 209 return HWC2::Error::BadParameter; in SetOutputBuffer() 223 return HWC2::Error::None; in SetOutputBuffer()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.h | 56 HWC2::Error Init(); 57 HWC2::Error DeInit(); 59 HWC2::Error GetColorModes(uint32_t *out_num_modes, android_color_mode_t *out_modes); 60 HWC2::Error SetColorMode(android_color_mode_t mode); 61 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint); 66 HWC2::Error HandleColorModeTransform(android_color_mode_t mode, 143 virtual HWC2::Error AcceptDisplayChanges(void); 144 virtual HWC2::Error GetActiveConfig(hwc2_config_t *out_config); 145 virtual HWC2::Error SetActiveConfig(hwc2_config_t config); 146 virtual HWC2::Error SetClientTarget(buffer_handle_t target, int32_t acquire_fence, [all …]
|
D | hwc_display.cpp | 64 HWC2::Error HWCColorMode::Init() { in Init() 69 HWC2::Error HWCColorMode::DeInit() { in DeInit() 71 return HWC2::Error::None; in DeInit() 81 HWC2::Error HWCColorMode::GetColorModes(uint32_t *out_num_modes, in GetColorModes() 89 return HWC2::Error::None; in GetColorModes() 92 HWC2::Error HWCColorMode::SetColorMode(android_color_mode_t mode) { in SetColorMode() 95 if (status != HWC2::Error::None) { in SetColorMode() 102 HWC2::Error HWCColorMode::SetColorTransform(const float *matrix, android_color_transform_t hint) { in SetColorTransform() 104 return HWC2::Error::BadParameter; in SetColorTransform() 111 if (status != HWC2::Error::None) { in SetColorTransform() [all …]
|
D | hwc_layers.h | 63 HWC2::Error SetLayerBlendMode(HWC2::BlendMode mode); 64 HWC2::Error SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence); 65 HWC2::Error SetLayerColor(hwc_color_t color); 66 HWC2::Error SetLayerCompositionType(HWC2::Composition type); 67 HWC2::Error SetLayerDataspace(int32_t dataspace); 68 HWC2::Error SetLayerDisplayFrame(hwc_rect_t frame); 69 HWC2::Error SetLayerPlaneAlpha(float alpha); 70 HWC2::Error SetLayerSourceCrop(hwc_frect_t crop); 71 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage); 72 HWC2::Error SetLayerTransform(HWC2::Transform transform); [all …]
|
D | hwc_layers.cpp | 61 HWC2::Error HWCLayer::SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence) { in SetLayerBuffer() 64 return HWC2::Error::BadParameter; in SetLayerBuffer() 69 return HWC2::Error::BadParameter; in SetLayerBuffer() 77 return HWC2::Error::BadParameter; in SetLayerBuffer() 93 return HWC2::Error::BadLayer; in SetLayerBuffer() 109 return HWC2::Error::None; in SetLayerBuffer() 112 HWC2::Error HWCLayer::SetLayerSurfaceDamage(hwc_region_t damage) { in SetLayerSurfaceDamage() 133 return HWC2::Error::None; in SetLayerSurfaceDamage() 136 HWC2::Error HWCLayer::SetLayerBlendMode(HWC2::BlendMode mode) { in SetLayerBlendMode() 149 return HWC2::Error::BadParameter; in SetLayerBlendMode() [all …]
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerTestUtils.cpp | 63 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 79 EXPECT_EQ(Error::NONE, mClient->destroyLayer(display, layer)) in ~ComposerClient() 84 EXPECT_EQ(Error::NONE, mClient->destroyVirtualDisplay(display)) in ~ComposerClient() 109 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay() 122 Error error = mClient->destroyVirtualDisplay(display); in destroyVirtualDisplay() 123 ASSERT_EQ(Error::NONE, error) in destroyVirtualDisplay() 134 ASSERT_EQ(Error::NONE, tmpError) << "failed to create layer"; in createLayer() 151 Error error = mClient->destroyLayer(display, layer); in destroyLayer() 152 ASSERT_EQ(Error::NONE, error) << "failed to destroy layer " << layer; in destroyLayer() 163 ASSERT_EQ(Error::NONE, tmpError) << "failed to get active config"; in getActiveConfig() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/default/ |
D | Gralloc0Mapper.cpp | 37 Error Gralloc0Mapper::registerBuffer(buffer_handle_t bufferHandle) { in registerBuffer() 39 return result ? Error::BAD_BUFFER : Error::NONE; in registerBuffer() 46 Error Gralloc0Mapper::lockBuffer(buffer_handle_t bufferHandle, in lockBuffer() 58 return Error::NO_RESOURCES; in lockBuffer() 75 return Error::BAD_VALUE; in lockBuffer() 78 return Error::NONE; in lockBuffer() 82 Error Gralloc0Mapper::lockBuffer(buffer_handle_t bufferHandle, in lockBuffer() 94 return Error::NO_RESOURCES; in lockBuffer() 116 return Error::BAD_VALUE; in lockBuffer() 124 return Error::NONE; in lockBuffer() [all …]
|
D | GrallocMapper.cpp | 118 hidl_cb(Error::NONE, grallocEncodeBufferDescriptor(descriptorInfo)); in createDescriptor() 120 hidl_cb(Error::BAD_VALUE, BufferDescriptor()); in createDescriptor() 132 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer() 139 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 143 Error error = registerBuffer(bufferHandle); in importBuffer() 144 if (error != Error::NONE) { in importBuffer() 164 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer() 168 hidl_cb(Error::NONE, bufferHandle); in importBuffer() 172 Return<Error> GrallocMapper::freeBuffer(void* buffer) { in freeBuffer() 175 return Error::BAD_BUFFER; in freeBuffer() [all …]
|
D | Gralloc1Mapper.cpp | 94 Error Gralloc1Mapper::toError(int32_t error) { in toError() 97 return Error::NONE; in toError() 99 return Error::BAD_DESCRIPTOR; in toError() 101 return Error::BAD_BUFFER; in toError() 103 return Error::BAD_VALUE; in toError() 105 return Error::NONE; // this is fine in toError() 107 return Error::NO_RESOURCES; in toError() 111 return Error::UNSUPPORTED; in toError() 174 Error Gralloc1Mapper::registerBuffer(buffer_handle_t bufferHandle) { in registerBuffer() 182 Error Gralloc1Mapper::lockBuffer(buffer_handle_t bufferHandle, in lockBuffer() [all …]
|
D | Gralloc1Mapper.h | 42 static Error toError(int32_t error); 47 Error registerBuffer(buffer_handle_t bufferHandle) override; 49 Error lockBuffer(buffer_handle_t bufferHandle, uint64_t cpuUsage, 52 Error lockBuffer(buffer_handle_t bufferHandle, uint64_t cpuUsage, 55 Error unlockBuffer(buffer_handle_t bufferHandle, int* outFenceFd) override;
|
D | Gralloc0Mapper.h | 35 Error registerBuffer(buffer_handle_t bufferHandle) override; 37 Error lockBuffer(buffer_handle_t bufferHandle, uint64_t cpuUsage, 40 Error lockBuffer(buffer_handle_t bufferHandle, uint64_t cpuUsage, 43 Error unlockBuffer(buffer_handle_t bufferHandle, int* outFenceFd) override;
|
/hardware/interfaces/graphics/allocator/2.0/default/ |
D | Gralloc0Allocator.cpp | 66 hidl_cb(Error::BAD_DESCRIPTOR, 0, hidl_vec<hidl_handle>()); in allocate() 70 Error error = Error::NONE; in allocate() 80 if (error != Error::NONE) { in allocate() 90 error = Error::UNSUPPORTED; in allocate() 99 if (error == Error::NONE) { in allocate() 112 Error Gralloc0Allocator::allocateOne(const IMapper::BufferDescriptorInfo& info, in allocateOne() 116 return Error::BAD_VALUE; in allocateOne() 127 return Error::BAD_VALUE; in allocateOne() 129 return Error::NO_RESOURCES; in allocateOne() 136 return Error::NONE; in allocateOne()
|
D | Gralloc1Allocator.cpp | 123 hidl_cb(Error::BAD_DESCRIPTOR, 0, hidl_vec<hidl_handle>()); in allocate() 128 Error error = createDescriptor(descriptorInfo, &desc); in allocate() 129 if (error != Error::NONE) { in allocate() 143 if (error != Error::NONE) { in allocate() 153 error = Error::UNSUPPORTED; in allocate() 164 if (error == Error::NONE) { in allocate() 177 Error Gralloc1Allocator::toError(int32_t error) { in toError() 180 return Error::NONE; in toError() 182 return Error::BAD_DESCRIPTOR; in toError() 184 return Error::BAD_BUFFER; in toError() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.h | 77 HWC2::Error createVirtualDisplay(uint32_t width, uint32_t height, 89 HWC2::Error destroyVirtualDisplay(hwc2_display_t display); 108 HWC2::Error registerCallback(HWC2::Callback descriptor, 189 HWC2::Error acceptChanges(); 190 HWC2::Error createLayer(hwc2_layer_t* outLayerId); 191 HWC2::Error destroyLayer(hwc2_layer_t layerId); 192 HWC2::Error getActiveConfig(hwc2_config_t* outConfigId); 193 HWC2::Error getAttribute(hwc2_config_t configId, 195 HWC2::Error getChangedCompositionTypes(uint32_t* outNumElements, 197 HWC2::Error getColorModes(uint32_t* outNumModes, int32_t* outModes); [all …]
|
D | HWC2On1Adapter.cpp | 349 Error HWC2On1Adapter::createVirtualDisplay(uint32_t width, in createVirtualDisplay() 357 return Error::NoResources; in createVirtualDisplay() 366 return Error::NoResources; in createVirtualDisplay() 378 return Error::None; in createVirtualDisplay() 381 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) in destroyVirtualDisplay() 386 return Error::BadDisplay; in destroyVirtualDisplay() 393 return Error::None; in destroyVirtualDisplay() 464 Error HWC2On1Adapter::registerCallback(Callback descriptor, in registerCallback() 468 return Error::BadParameter; in registerCallback() 543 return Error::None; in registerCallback() [all …]
|
/hardware/ril/librilutils/proto/ |
D | sap-api.proto | 23 required Error error = 4; 38 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_CONNECT, Error: RIL_E_UNUSED, 40 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_CONNECT, Error:Valid errors, 46 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_DISCONNECT, Error: RIL_E_UNUSED, 48 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error:Valid errors, 50 // For MsgType: UNSOL_RESPONSE, MsgId: RIL_SIM_SAP_DISCONNECT, Error: RIL_E_UNUSED, 56 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_APDU, Error: RIL_E_UNUSED, 58 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_APDU, Error:Valid errors, 64 // For MsgType: REQUEST ,MsgId: RIL_SIM_SAP_TRANSFER_ATR, Error: RIL_E_UNUSED, 66 // For MsgType: RESPONSE, MsgId: RIL_SIM_SAP_TRANSFER_ATR, Error:Valid errors, [all …]
|