Home
last modified time | relevance | path

Searched refs:mModule (Results 1 – 25 of 29) 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.cpp30 BootControl::BootControl(boot_control_module_t *module) : mModule(module){ in BootControl()
35 return mModule->getNumberSlots(mModule); in getNumberSlots()
39 return mModule->getCurrentSlot(mModule); in getCurrentSlot()
43 int ret = mModule->markBootSuccessful(mModule); in markBootSuccessful()
52 int ret = mModule->setActiveBootSlot(mModule, slot); in setActiveBootSlot()
61 int ret = mModule->setSlotAsUnbootable(mModule, slot); in setSlotAsUnbootable()
70 int32_t ret = mModule->isSlotBootable(mModule, slot); in isSlotBootable()
78 int32_t ret = mModule->isSlotMarkedSuccessful(mModule, slot); in isSlotMarkedSuccessful()
87 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/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/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/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()
262 mModule->init != NULL) { in init()
264 res = mModule->init(); in init()
280 int apiVersion = mModule->common.module_api_version; in getCameraInfo()
284 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo()
297 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo()
342 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); in open()
351 return mModule->open_legacy != NULL; in isOpenLegacyDefined()
358 res = mModule->open_legacy(&mModule->common, id, halVersion, device); in openLegacy()
366 numCameras = mModule->get_number_of_cameras(); in getNumberOfCameras()
[all …]
/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.cpp81 int deviceVersion = mModule->getDeviceVersion(camera_id); in addDeviceNames()
89 mModule->isOpenLegacyDefined()) { in addDeviceNames()
92 int ret = mModule->openLegacy(cameraId, CAMERA_DEVICE_API_VERSION_1_0, &halDev); in addDeviceNames()
117 int deviceVersion = mModule->getDeviceVersion(camera_id); in removeDeviceNames()
123 mModule->isOpenLegacyDefined() && mOpenLegacySupported[cameraIdStr]) { in removeDeviceNames()
132 mModule->removeCamera(camera_id); in removeDeviceNames()
278 mModule = new CameraModule(rawModule); in initialize()
279 err = mModule->init(); in initialize()
282 mModule.clear(); in initialize()
285 ALOGI("Loaded \"%s\" camera module", mModule->getModuleName()); in initialize()
[all …]
DCameraProvider.h76 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()
150 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getCameraCharacteristics()
163 if (!mModule->isSetTorchModeSupported()) { in setTorchMode()
170 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable)); in setTorchMode()
210 res = mModule->open(mCameraId.c_str(), in open()
235 res = mModule->getCameraInfo(mCameraIdInt, &info); in open()
DCameraDevice_3_2.h90 const sp<CameraModule> mModule; member
/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/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp116 sp<IBroadcastRadio> mModule; member in android::hardware::broadcastradio::V2_0::vts::BroadcastRadioHalTest
187 EXPECT_EQ(nullptr, mModule.get()) << "Module is already open"; in SetUp()
190 mModule = getService<IBroadcastRadio>(gEnv->getServiceName<IBroadcastRadio>()); in SetUp()
191 ASSERT_NE(nullptr, mModule.get()) << "Couldn't find broadcast radio HAL implementation"; in SetUp()
194 auto propResult = mModule->getProperties([&](const Properties& p) { mProperties = p; }); in SetUp()
204 mModule.clear(); in TearDown()
217 auto hidlResult = mModule->openSession(mCallback, openCb); in openSession()
233 auto hidlResult = mModule->getAmFmRegionConfig(full, cb); in getAmFmRegionConfig()
381 auto hidlResult = mModule->getDabRegionConfig(cb); in TEST_F()
655 auto result = mModule->getImage(0, [&](hidl_vec<uint8_t> rawImage) { len = rawImage.size(); }); in TEST_F()
[all …]
/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.h76 camera_module_t *mModule; variable
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.h62 std::reference_wrapper<BroadcastRadio> mModule; member
DTunerSession.cpp53 : mCallback(callback), mModule(module) { in TunerSession()
88 return mModule.get(); in module()
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.h61 const sp<BroadcastRadio> mModule; member
DTuner.cpp63 : mModule(module), in Tuner()
93 for (auto&& config : mModule->getAmFmBands()) { in autoConfigureLocked()
/hardware/google/av/media/v4l2store/
DC2VDAComponentStore.cpp129 std::weak_ptr<ComponentModule> mModule; ///< weak reference to the loaded module member in android::C2VDAComponentStore::ComponentLoader
265 std::shared_ptr<ComponentModule> localModule = mModule.lock(); in fetchModule()
270 mModule = localModule; in fetchModule()

12