Home
last modified time | relevance | path

Searched refs:mHal (Results 1 – 21 of 21) 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()
156 auto err = mHal->validateDisplay(mCurrentDisplay, &changedLayers, &compositionTypes, in executeValidateDisplayInternal()
200 auto err = mHal->setColorTransform(mCurrentDisplay, matrix, transform); in executeSetColorTransform()
227 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget()
258 err = mHal->setOutputBuffer(mCurrentDisplay, outputBuffer, fence); in executeSetOutputBuffer()
287 if (mHal->hasCapability(HWC2_CAPABILITY_SKIP_VALIDATE)) { in executePresentOrValidateDisplay()
293 : mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentOrValidateDisplay()
316 auto err = mHal->acceptDisplayChanges(mCurrentDisplay); in executeAcceptDisplayChanges()
332 auto err = mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentDisplay()
348 auto err = mHal->setLayerCursorPosition(mCurrentDisplay, mCurrentLayer, readSigned(), in executeSetLayerCursorPosition()
[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()
74 if (mHal->hasCapability(HWC2_CAPABILITY_SKIP_VALIDATE)) { in getCapabilities()
85 hidl_cb(mHal->dumpDebugInfo()); in dumpDebugInfo()
136 auto client = ComposerClient::create(mHal.get()); in createClient()
147 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()
67 auto err = mHal->setLayerColorTransform(mCurrentDisplay, mCurrentLayer, matrix); in executeSetLayerColorTransform()
103 auto err = mHal->setLayerPerFrameMetadataBlobs(mCurrentDisplay, mCurrentLayer, metadata); in executeSetLayerPerFrameMetadataBlobs()
122 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.4/utils/hal/include/composer-hal/2.4/
DComposerClient.h44 ~ComposerClientImpl() override { mHal->unregisterEventCallback_2_4(); } in ~ComposerClientImpl()
101 mHal->registerEventCallback_2_4(mHalEventCallback_2_4.get()); in registerCallback_2_4()
108 Error error = mHal->getDisplayCapabilities_2_4(display, &capabilities); in getDisplayCapabilities_2_4()
116 Error error = mHal->getDisplayConnectionType(display, &type); in getDisplayConnectionType()
125 Error error = mHal->getDisplayAttribute_2_4(display, config, attribute, &value); in getDisplayAttribute_2_4()
133 Error error = mHal->getDisplayVsyncPeriod(display, &vsyncPeriods); in getDisplayVsyncPeriod()
143 Error error = mHal->setActiveConfigWithConstraints(display, config, in setActiveConfigWithConstraints()
150 return mHal->setAutoLowLatencyMode(display, on); in setAutoLowLatencyMode()
156 Error error = mHal->getSupportedContentTypes(display, &supportedContentTypes); in getSupportedContentTypes()
164 return mHal->setContentType(display, contentType); in setContentType()
[all …]
DComposerCommandEngine.h39 : BaseType2_3(hal, resources), mHal(hal) {} in ComposerCommandEngine()
61 auto err = mHal->validateDisplay_2_4(mCurrentDisplay, &changedLayers, &compositionTypes, in executeValidateDisplayInternal()
103 auto error = mHal->setLayerGenericMetadata(mCurrentDisplay, mCurrentLayer, key, mandatory, in executeSetLayerGenericMetadata()
114 ComposerHal* mHal; variable
DComposer.h55 sp<ComposerClient> client = ComposerClient::create(mHal.get()).release(); in createClient_2_4()
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()
71 auto err = mHal->setLayerPerFrameMetadata(mCurrentDisplay, mCurrentLayer, metadata); in executeSetLayerPerFrameMetadata()
84 auto err = mHal->setLayerFloatColor(mCurrentDisplay, mCurrentLayer, readFloatColor()); in executeSetLayerFloatColor()
100 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 Error error = mHal->freeBuffer(bufferHandle); in freeBuffer()
111 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
133 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
146 Error error = mHal->unlock(bufferHandle, &fenceFd); in unlock()
206 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.cpp40 VehicleEmulator::VehicleEmulator(EmulatedVehicleHalIface* hal) : mHal{hal} { in VehicleEmulator()
41 mHal->registerEmulator(this);
80 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfig()
99 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfigAll()
129 auto val = mHal->get(request, &halStatus); in doGetProperty()
146 for (const auto& prop : mHal->getAllProperties()) { in doGetPropertyAll()
190 bool halRes = mHal->setPropertyFromVehicle(val); in doSetProperty()
DVehicleEmulator.h93 EmulatedVehicleHalIface* mHal;
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp104 auto value = mHal->get(requestedPropValue, &status); in get()
125 auto status = mHal->set(value); in set()
168 mHal->subscribe(opt.propId, opt.sampleRate); in subscribe()
191 bool shouldContinue = mHal->dump(fd, options); in debug()
441 mHal->init(&mValueObjectPool, in init()
447 auto supportedPropConfigs = mHal->listProperties(); in init()
582 mHal->unsubscribe(propertyId); in onAllClientsUnsubscribed()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHalManager.h52 : mHal(vehicleHal), in VehicleHalManager()
124 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