Home
last modified time | relevance | path

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

12

/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()
92 : mHal(hal), mCallback(callback), mResources(resources) {} in HalEventCallback()
101 cleanDisplayResources(display, mResources, mHal); in onHotplug()
125 Hal* const mHal;
132 mHalEventCallback = std::make_unique<HalEventCallback>(mHal, callback, mResources.get()); in registerCallback()
133 mHal->registerEventCallback(mHalEventCallback.get()); in registerCallback()
138 return mHal->getMaxVirtualDisplayCount(); in getMaxVirtualDisplayCount()
145 Error err = mHal->createVirtualDisplay(width, height, &formatHint, &display); in createVirtualDisplay()
155 Error err = mHal->destroyVirtualDisplay(display); in destroyVirtualDisplay()
[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.4/utils/hal/include/composer-hal/2.4/
DComposerClient.h44 ~ComposerClientImpl() override { mHal->unregisterEventCallback_2_4(); } in ~ComposerClientImpl()
50 : mHal(hal), mCallback(callback), mResources(resources) {} in HalEventCallback()
60 display, mResources, mHal); in onHotplug()
103 Hal* const mHal;
111 std::make_unique<HalEventCallback>(mHal, callback, mResources.get()); in registerCallback_2_4()
112 mHal->registerEventCallback_2_4(mHalEventCallback_2_4.get()); in registerCallback_2_4()
119 Error error = mHal->getDisplayCapabilities_2_4(display, &capabilities); in getDisplayCapabilities_2_4()
127 Error error = mHal->getDisplayConnectionType(display, &type); in getDisplayConnectionType()
136 Error error = mHal->getDisplayAttribute_2_4(display, config, attribute, &value); in getDisplayAttribute_2_4()
144 Error error = mHal->getDisplayVsyncPeriod(display, &vsyncPeriods); in getDisplayVsyncPeriod()
[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.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.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()
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()
160 return mHal->freeBuffer(bufferHandle); in freeImportedBuffer()
202 std::unique_ptr<Hal> mHal; variable
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.h87 mHal.reset(new MockedVehicleHal); in VehicleHalManagerFuzzer()
88 mManager.reset(new VehicleHalManager(mHal.get())); in VehicleHalManagerFuzzer()
89 mObjectPool = mHal->getValuePool(); in VehicleHalManagerFuzzer()
93 mHal.reset(nullptr); in ~VehicleHalManagerFuzzer()
107 std::unique_ptr<MockedVehicleHal> mHal; variable
DVehicleManager_fuzzer.cpp204 mHal->sendPropEvent(std::move(unsubscribedValue)); in invokeSubscribe()
214 mHal->sendPropEvent(std::move(subscribedValue)); in invokeSubscribe()
228 mHal->sendHalError(StatusCode::TRY_AGAIN, in invokeSubscribe()
417 auto service = new VehicleHalManager(mHal.get()); in invokeWatchDogClient()
/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/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h49 return this->mHal->validateBufferSize(bufferHandle, descriptorInfo, stride); in validateBufferSize()
61 Error error = this->mHal->getTransportSize(bufferHandle, &numFds, &numInts); in getTransportSize()
69 Error error = this->mHal->createDescriptor_2_1(descriptorInfo, &descriptor); in createDescriptor_2_1()
/hardware/interfaces/biometrics/fingerprint/aidl/vts/
DVtsHalBiometricsFingerprintTargetTest.cpp158 mHal = IFingerprint::fromBinder(ndk::SpAIBinder(binder)); in SetUp()
161 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
177 std::shared_ptr<IFingerprint> mHal; member in aidl::android::hardware::biometrics::fingerprint::__anon93029d5e0111::Fingerprint
186 ASSERT_TRUE(mHal->getSensorProps(&sensorProps).isOk()); in TEST_P()
/hardware/interfaces/biometrics/face/aidl/vts/
DVtsHalBiometricsFaceTargetTest.cpp177 mHal = IFace::fromBinder(ndk::SpAIBinder(binder)); in SetUp()
180 isOk = mHal->createSession(kSensorId, kUserId, mCb, &mSession).isOk(); in SetUp()
196 std::shared_ptr<IFace> mHal; member in aidl::android::hardware::biometrics::face::__anon6530394c0111::Face
205 ASSERT_TRUE(mHal->getSensorProps(&sensorProps).isOk()); in TEST_P()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHalManager.h52 : mHal(vehicleHal), in VehicleHalManager()
144 VehicleHal* mHal;
/hardware/nxp/nfc/snxxx/halimpl/src/include/
DEseAdaptation.h93 mHal; variable
/hardware/nxp/nfc/pn8x/halimpl/src/include/
DEseAdaptation.h93 mHal; variable
/hardware/nxp/nfc/snxxx/halimpl/src/adaptation/
DEseAdaptation.cc48 sp<ISecureElement> EseAdaptation::mHal; member in EseAdaptation

12