Home
last modified time | relevance | path

Searched refs:mHal (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerClient.h51 ComposerClientImpl(Hal* hal) : mHal(hal) {} in ComposerClientImpl()
61 mHal->unregisterEventCallback(); in ~ComposerClientImpl()
123 mHal->registerEventCallback(mHalEventCallback.get()); in registerCallback()
128 return mHal->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCount()
135 Error err = mHal->createVirtualDisplay(width, height, &formatHint, &display); in createVirtualDisplay()
145 Error err = mHal->destroyVirtualDisplay(display); in destroyVirtualDisplay()
156 Error err = mHal->createLayer(display, &layer); in createLayer()
173 Error err = mHal->destroyLayer(display, layer); in destroyLayer()
184 Error err = mHal->getActiveConfig(display, &config); in getActiveConfig()
191 Error err = mHal->getClientTargetSupport(display, width, height, format, dataspace); in getClientTargetSupport()
[all …]
DComposerCommandEngine.h43 : mHal(hal), mResources(resources) {} in ComposerCommandEngine()
175 auto err = mHal->setColorTransform(mCurrentDisplay, matrix, transform); in executeSetColorTransform()
202 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget()
233 err = mHal->setOutputBuffer(mCurrentDisplay, outputBuffer, fence); in executeSetOutputBuffer()
259 auto err = mHal->validateDisplay(mCurrentDisplay, &changedLayers, &compositionTypes, in executeValidateDisplay()
278 if (mHal->hasCapability(HWC2_CAPABILITY_SKIP_VALIDATE)) { in executePresentOrValidateDisplay()
284 : mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentOrValidateDisplay()
300 auto err = mHal->validateDisplay(mCurrentDisplay, &changedLayers, &compositionTypes, in executePresentOrValidateDisplay()
319 auto err = mHal->acceptDisplayChanges(mCurrentDisplay); in executeAcceptDisplayChanges()
335 auto err = mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentDisplay()
[all …]
DComposer.h52 ComposerImpl(std::unique_ptr<Hal> hal) : mHal(std::move(hal)) {} in ComposerImpl()
65 if (mHal->hasCapability(static_cast<hwc2_capability_t>(cap))) { in getCapabilities()
77 hidl_cb(mHal->dumpDebugInfo()); in dumpDebugInfo()
129 auto client = ComposerClient::create(mHal.get()); in createClient()
140 const std::unique_ptr<Hal> mHal; variable
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerClient.h44 Error error = mHal->getPerFrameMetadataKeys_2_3(display, &keys); in getPerFrameMetadataKeys_2_3()
50 return mHal->setColorMode_2_3(display, mode, intent); in setColorMode_2_3()
56 Error err = mHal->getRenderIntents_2_3(display, mode, &intents); in getRenderIntents_2_3()
64 Error err = mHal->getColorModes_2_3(display, &modes); in getColorModes_2_3()
73 Error error = mHal->getReadbackBufferAttributes_2_3(display, &format, &dataspace); in getReadbackBufferAttributes_2_3()
85 mHal->getHdrCapabilities_2_3(display, &types, &max_lumi, &max_avg_lumi, &min_lumi); in getHdrCapabilities_2_3()
92 Error err = mHal->getClientTargetSupport_2_3(display, width, height, format, dataspace); in getClientTargetSupport_2_3()
99 Error error = mHal->getDisplayCapabilities(display, &capabilities); in getDisplayCapabilities()
117 Error error = mHal->getDisplayIdentificationData(display, &port, &data); in getDisplayIdentificationData()
129 mHal->getDisplayedContentSamplingAttributes(display, format, dataspace, componentMask); in getDisplayedContentSamplingAttributes()
[all …]
DComposerCommandEngine.h39 : BaseType2_2(hal, resources), mHal(hal) {} in ComposerCommandEngine()
62 auto err = mHal->setLayerColorTransform(mCurrentDisplay, mCurrentLayer, matrix); in executeSetLayerColorTransform()
98 auto err = mHal->setLayerPerFrameMetadataBlobs(mCurrentDisplay, mCurrentLayer, metadata); in executeSetLayerPerFrameMetadataBlobs()
117 ComposerHal* mHal; variable
DComposer.h55 sp<ComposerClient> client = ComposerClient::create(mHal.get()).release(); in createClient_2_3()
75 using BaseType2_1::mHal;
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h54 Error error = mHal->getPerFrameMetadataKeys(display, &keys); in getPerFrameMetadataKeys()
63 Error error = mHal->getReadbackBufferAttributes(display, &format, &dataspace); in getReadbackBufferAttributes()
71 Error error = mHal->getReadbackBufferFence(display, &fenceFd); in getReadbackBufferFence()
99 return mHal->setReadbackBuffer(display, readbackBuffer, std::move(fenceFd)); in setReadbackBuffer()
106 Error err = mHal->createVirtualDisplay_2_2(width, height, &formatHint, &display); in createVirtualDisplay_2_2()
117 Error err = mHal->getClientTargetSupport_2_2(display, width, height, format, dataspace); in getClientTargetSupport_2_2()
122 return mHal->setPowerMode_2_2(display, mode); in setPowerMode_2_2()
128 Error err = mHal->getColorModes_2_2(display, &modes); in getColorModes_2_2()
136 Error err = mHal->getRenderIntents(display, mode, &intents); in getRenderIntents()
142 return mHal->setColorMode_2_2(display, mode, intent); in setColorMode_2_2()
[all …]
DComposerCommandEngine.h38 : BaseType2_1(hal, resources), mHal(hal) {} in ComposerCommandEngine()
66 auto err = mHal->setLayerPerFrameMetadata(mCurrentDisplay, mCurrentLayer, metadata); in executeSetLayerPerFrameMetadata()
79 auto err = mHal->setLayerFloatColor(mCurrentDisplay, mCurrentLayer, readFloatColor()); in executeSetLayerFloatColor()
95 ComposerHal* mHal; variable
DComposer.h48 auto client = ComposerClient::create(mHal.get()); in createClient()
61 using BaseType2_1::mHal;
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/
DAllocator.h47 mHal = std::move(hal); in init()
53 hidl_cb(mHal->dumpDebugInfo()); in dumpDebugInfo()
61 Error error = mHal->allocateBuffers(descriptor, count, &stride, &buffers); in allocate()
71 mHal->freeBuffers(buffers); in allocate()
77 std::unique_ptr<Hal> mHal;
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h43 mHal = std::move(hal); in init()
52 Error error = mHal->createDescriptor(descriptorInfo, &descriptor); in createDescriptor()
65 Error error = mHal->importBuffer(rawHandle.getNativeHandle(), &bufferHandle); in importBuffer()
73 mHal->freeBuffer(bufferHandle); in importBuffer()
88 return mHal->freeBuffer(bufferHandle); in freeBuffer()
107 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
129 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
142 Error error = mHal->unlock(bufferHandle, &fenceFd); in unlock()
198 std::unique_ptr<Hal> mHal; variable
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h49 return mHal->validateBufferSize(bufferHandle, descriptorInfo, stride); in validateBufferSize()
61 Error error = mHal->getTransportSize(bufferHandle, &numFds, &numInts); in getTransportSize()
69 Error error = mHal->createDescriptor_2_1(descriptorInfo, &descriptor); in createDescriptor_2_1()
77 using BaseType2_0::mHal;
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.cpp39 VehicleEmulator::VehicleEmulator(EmulatedVehicleHalIface* hal) : mHal{hal} { in VehicleEmulator()
40 mHal->registerEmulator(this);
79 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfig()
98 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfigAll()
125 auto val = mHal->get(request, &halStatus); in doGetProperty()
142 for (const auto& prop : mHal->getAllProperties()) { in doGetPropertyAll()
186 bool halRes = mHal->setPropertyFromVehicle(val); in doSetProperty()
DVehicleEmulator.h93 EmulatedVehicleHalIface* mHal;
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp94 auto value = mHal->get(requestedPropValue, &status); in get()
115 auto status = mHal->set(value); in set()
158 mHal->subscribe(opt.propId, opt.sampleRate); in subscribe()
186 mHal->init(&mValueObjectPool, in init()
192 auto supportedPropConfigs = mHal->listProperties(); in init()
327 mHal->unsubscribe(propertyId); in onAllClientsUnsubscribed()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHalManager.h52 : mHal(vehicleHal), in VehicleHalManager()
106 VehicleHal* mHal;
/hardware/nxp/nfc/halimpl/src/include/
DEseAdaptation.h93 mHal; variable
/hardware/nxp/nfc/halimpl/src/adaptation/
DEseAdaptation.cpp48 sp<ISecureElement> EseAdaptation::mHal; member in EseAdaptation