Home
last modified time | relevance | path

Searched refs:mModule (Results 1 – 25 of 31) sorted by relevance

12

/hardware/interfaces/power/1.0/default/
DPower.cpp32 Power::Power(power_module_t *module) : mModule(module) { in Power()
33 if (mModule) in Power()
34 mModule->init(mModule); in Power()
38 delete(mModule); in ~Power()
43 if (mModule->setInteractive) in setInteractive()
44 mModule->setInteractive(mModule, interactive ? 1 : 0); in setInteractive()
50 if (mModule->powerHint) { in powerHint()
52 mModule->powerHint(mModule, static_cast<power_hint_t>(hint), &param); in powerHint()
54 mModule->powerHint(mModule, static_cast<power_hint_t>(hint), NULL); in powerHint()
60 if (mModule->setFeature) in setFeature()
[all …]
DPower.h50 power_module_t* mModule;
/hardware/interfaces/boot/1.0/default/
DBootControl.cpp34 BootControl::BootControl(boot_control_module_t *module) : mModule(module){ in BootControl()
39 return mModule->getNumberSlots(mModule); in getNumberSlots()
43 return mModule->getCurrentSlot(mModule); in getCurrentSlot()
47 int ret = mModule->markBootSuccessful(mModule); in markBootSuccessful()
56 int ret = mModule->setActiveBootSlot(mModule, slot); in setActiveBootSlot()
65 int ret = mModule->setSlotAsUnbootable(mModule, slot); in setSlotAsUnbootable()
74 int32_t ret = mModule->isSlotBootable(mModule, slot); in isSlotBootable()
82 int32_t ret = mModule->isSlotMarkedSuccessful(mModule, slot); in isSlotMarkedSuccessful()
91 const char *suffix = mModule->getSuffix(mModule, slot); in getSuffix()
DBootControl.h50 boot_control_module_t* mModule;
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h46 mModule = reinterpret_cast<const gralloc_module_t*>(module); in initWithModule()
83 if (mModule->registerBuffer(mModule, bufferHandle)) { in importBuffer()
95 if (mModule->unregisterBuffer(mModule, bufferHandle)) { in freeBuffer()
109 if (mMinor >= 3 && mModule->lockAsync) { in lock()
110 result = mModule->lockAsync(mModule, bufferHandle, cpuUsage, accessRegion.left, in lock()
117 mModule->lock(mModule, bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, in lock()
134 if (mMinor >= 3 && mModule->lockAsync_ycbcr) { in lockYCbCr()
135 result = mModule->lockAsync_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
141 if (mModule->lock_ycbcr) { in lockYCbCr()
142 result = mModule->lock_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp46 mModule(reinterpret_cast<const gralloc_module_t*>(module)), in Gralloc1On0Adapter()
52 mModule->perform(mModule, in Gralloc1On0Adapter()
64 int error = ::gralloc_open(&(mModule->common), &mDevice); in Gralloc1On0Adapter()
266 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_SET_USAGES, in allocate()
272 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_GET_BACKING_STORE, in allocate()
275 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_GET_NUM_FLEX_PLANES, in allocate()
356 int result = mModule->unregisterBuffer(mModule, handle); in release()
378 int result = mModule->registerBuffer(mModule, bufferHandle); in retain()
385 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_GET_BACKING_STORE, in retain()
389 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_GET_NUM_FLEX_PLANES, in retain()
[all …]
/hardware/interfaces/memtrack/1.0/default/
DMemtrack.cpp32 Memtrack::Memtrack(const memtrack_module_t *module) : mModule(module) { in Memtrack()
33 if (mModule) in Memtrack()
34 mModule->init(mModule); in Memtrack()
38 delete(mModule); in ~Memtrack()
48 if (mModule->getMemory == nullptr) in getMemory()
53 ret = mModule->getMemory(mModule, pid, static_cast<memtrack_type>(type), in getMemory()
58 ret = mModule->getMemory(mModule, pid, in getMemory()
DMemtrack.h46 const memtrack_module_t* mModule;
/hardware/interfaces/thermal/1.0/default/
DThermal.cpp45 Thermal::Thermal(thermal_module_t* module) : mModule(module) {} in Thermal()
53 if (!mModule || !mModule->getTemperatures) { in getTemperatures()
59 ssize_t size = mModule->getTemperatures(mModule, nullptr, 0); in getTemperatures()
63 size = mModule->getTemperatures(mModule, list.data(), list.size()); in getTemperatures()
109 if (!mModule || !mModule->getCpuUsages) { in getCpuUsages()
115 ssize_t size = mModule->getCpuUsages(mModule, nullptr); in getCpuUsages()
119 size = mModule->getCpuUsages(mModule, list.data()); in getCpuUsages()
147 if (!mModule || !mModule->getCoolingDevices) { in getCoolingDevices()
153 ssize_t size = mModule->getCoolingDevices(mModule, nullptr, 0); in getCoolingDevices()
157 size = mModule->getCoolingDevices(mModule, list.data(), list.size()); in getCoolingDevices()
DThermal.h49 thermal_module_t* mModule;
/hardware/interfaces/camera/common/1.0/default/
DCameraModule.cpp243 mModule = module; in CameraModule()
270 mModule->init != NULL) { in init()
272 res = mModule->init(); in init()
289 int apiVersion = mModule->common.module_api_version; in getCameraInfo()
293 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo()
306 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo()
340 int apiVersion = mModule->common.module_api_version; in getPhysicalCameraInfo()
346 if (mModule->get_physical_camera_info == nullptr) { in getPhysicalCameraInfo()
356 int ret = mModule->get_physical_camera_info(physicalCameraId, &info); in getPhysicalCameraInfo()
397 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); in open()
[all …]
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h40 if (!mModule->validateBufferSize) { in validateBufferSize()
44 int32_t ret = mModule->validateBufferSize( in validateBufferSize()
45 mModule, bufferHandle, descriptorInfo.width, descriptorInfo.height, in validateBufferSize()
52 if (!mModule->getTransportSize) { in getTransportSize()
58 int32_t ret = mModule->getTransportSize(mModule, bufferHandle, outNumFds, outNumInts); in getTransportSize()
78 using BaseType2_0::mModule;
/hardware/interfaces/camera/provider/2.4/default/
DLegacyCameraProviderImpl_2_4.cpp80 int deviceVersion = mModule->getDeviceVersion(camera_id); in addDeviceNames()
88 mModule->isOpenLegacyDefined()) { in addDeviceNames()
91 int ret = mModule->openLegacy(cameraId, CAMERA_DEVICE_API_VERSION_1_0, &halDev); in addDeviceNames()
116 int deviceVersion = mModule->getDeviceVersion(camera_id); in removeDeviceNames()
122 mModule->isOpenLegacyDefined() && mOpenLegacySupported[cameraIdStr]) { in removeDeviceNames()
131 mModule->removeCamera(camera_id); in removeDeviceNames()
246 if (mModule->getModuleApiVersion() == CAMERA_MODULE_API_VERSION_2_5) { in getHidlDeviceName()
277 mModule = new CameraModule(rawModule); in initialize()
278 err = mModule->init(); in initialize()
281 mModule.clear(); in initialize()
[all …]
DLegacyCameraProviderImpl_2_4.h82 sp<CameraModule> mModule; member
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp37 mModule(module), in CameraDevice()
46 } else if (mCameraIdInt >= mModule->getNumberOfCameras()) { in CameraDevice()
50 mDeviceVersion = mModule->getDeviceVersion(mCameraIdInt); in CameraDevice()
113 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_4) { in getResourceCost()
114 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getResourceCost()
151 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getCameraCharacteristics()
164 if (!mModule->isSetTorchModeSupported()) { in setTorchMode()
171 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable)); in setTorchMode()
212 res = mModule->open(mCameraId.c_str(), in open()
237 res = mModule->getCameraInfo(mCameraIdInt, &info); in open()
/hardware/libhardware/modules/usbcamera/
DHotplugThread.cpp27 : mModule(hal) { in HotplugThread()
43 (void)mModule; // silence warning about unused member. in threadLoop()
DHotplugThread.h47 CameraHAL *mModule;
/hardware/interfaces/camera/device/3.5/default/
DCameraDevice.cpp64 if (mModule->getModuleApiVersion() < CAMERA_MODULE_API_VERSION_2_5) { in getPhysicalCameraCharacteristics()
79 int ret = mModule->getPhysicalCameraInfo((int)id, &physicalInfo); in getPhysicalCameraCharacteristics()
104 if (mModule->getModuleApiVersion() < CAMERA_MODULE_API_VERSION_2_5) { in isStreamCombinationSupported()
126 auto res = mModule->isStreamCombinationSupported(mCameraIdInt, &streamComb); in isStreamCombinationSupported()
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp114 sp<IBroadcastRadio> mModule; member in android::hardware::broadcastradio::V2_0::vts::BroadcastRadioHalTest
185 EXPECT_EQ(nullptr, mModule.get()) << "Module is already open"; in SetUp()
188 mModule = getService<IBroadcastRadio>(gEnv->getServiceName<IBroadcastRadio>()); in SetUp()
189 ASSERT_NE(nullptr, mModule.get()) << "Couldn't find broadcast radio HAL implementation"; in SetUp()
192 auto propResult = mModule->getProperties([&](const Properties& p) { mProperties = p; }); in SetUp()
202 mModule.clear(); in TearDown()
215 auto hidlResult = mModule->openSession(mCallback, openCb); in openSession()
231 auto hidlResult = mModule->getAmFmRegionConfig(full, cb); in getAmFmRegionConfig()
379 auto hidlResult = mModule->getDabRegionConfig(cb); in TEST_F()
653 auto result = mModule->getImage(0, [&](hidl_vec<uint8_t> rawImage) { len = rawImage.size(); }); in TEST_F()
[all …]
/hardware/interfaces/camera/provider/2.5/default/
DLegacyCameraProviderImpl_2_5.cpp44 mModule->notifyDeviceStateChange(state); in notifyDeviceStateChange()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp90 mModule(module), in CameraDevice()
101 mDeviceVersion = mModule->getDeviceVersion(mCameraIdInt); in CameraDevice()
102 if (mDeviceVersion != CAMERA_DEVICE_API_VERSION_1_0 && !mModule->isOpenLegacyDefined()) { in CameraDevice()
553 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_4) { in getResourceCost()
554 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getResourceCost()
589 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getCameraInfo()
608 if (!mModule->isSetTorchModeSupported()) { in setTorchMode()
615 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable)); in setTorchMode()
646 status_t res = mModule->getCameraInfo(mCameraIdInt, &info); in open()
653 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_3 && in open()
[all …]
/hardware/interfaces/camera/common/1.0/default/include/
DCameraModule.h86 camera_module_t *mModule; variable
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.h62 std::reference_wrapper<BroadcastRadio> mModule; member
DTunerSession.cpp50 : mCallback(callback), mModule(module) { in TunerSession()
85 return mModule.get(); in module()
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.h61 const sp<BroadcastRadio> mModule; member

12