/hardware/interfaces/power/1.0/default/ |
D | Power.cpp | 32 Power::Power(power_module_t *module) : mModule(module) { in Power() 33 if (mModule) in Power() 34 mModule->init(mModule); in Power() 42 if (mModule->setInteractive) in setInteractive() 43 mModule->setInteractive(mModule, interactive ? 1 : 0); in setInteractive() 49 if (mModule->powerHint) { in powerHint() 51 mModule->powerHint(mModule, static_cast<power_hint_t>(hint), ¶m); in powerHint() 53 mModule->powerHint(mModule, static_cast<power_hint_t>(hint), NULL); in powerHint() 59 if (mModule->setFeature) in setFeature() 60 mModule->setFeature(mModule, static_cast<feature_t>(feature), in setFeature() [all …]
|
D | Power.h | 50 power_module_t* mModule;
|
/hardware/google/pixel/bootctrl/ |
D | LegacyBootControl.cpp | 36 BootControl::BootControl(boot_control_module_t *module) : mModule(module) {} in BootControl() 40 return mModule->getNumberSlots(mModule); in getNumberSlots() 44 return mModule->getCurrentSlot(mModule); in getCurrentSlot() 48 int ret = mModule->markBootSuccessful(mModule); in markBootSuccessful() 57 int ret = mModule->setActiveBootSlot(mModule, slot); in setActiveBootSlot() 66 int ret = mModule->setSlotAsUnbootable(mModule, slot); in setSlotAsUnbootable() 75 int32_t ret = mModule->isSlotBootable(mModule, slot); in isSlotBootable() 83 int32_t ret = mModule->isSlotMarkedSuccessful(mModule, slot); in isSlotMarkedSuccessful() 92 const char *suffix = mModule->getSuffix(mModule, slot); in getSuffix() 102 auto get_active_slot = mModule->getActiveBootSlot; in getActiveBootSlot() [all …]
|
D | LegacyBootControl.h | 50 boot_control_module_t *mModule;
|
/hardware/interfaces/boot/1.0/default/ |
D | BootControl.cpp | 34 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()
|
D | BootControl.h | 50 boot_control_module_t* mModule;
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | Gralloc0Hal.h | 46 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/ |
D | Gralloc1On0Adapter.cpp | 46 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/ |
D | Thermal.cpp | 45 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()
|
D | Thermal.h | 49 thermal_module_t* mModule;
|
/hardware/interfaces/memtrack/1.0/default/ |
D | Memtrack.cpp | 32 Memtrack::Memtrack(const memtrack_module_t *module) : mModule(module) { in Memtrack() 33 if (mModule) in Memtrack() 34 mModule->init(mModule); in Memtrack() 46 if (mModule->getMemory == nullptr) in getMemory() 51 ret = mModule->getMemory(mModule, pid, static_cast<memtrack_type>(type), in getMemory() 56 ret = mModule->getMemory(mModule, pid, in getMemory()
|
D | Memtrack.h | 46 const memtrack_module_t* mModule;
|
/hardware/interfaces/camera/common/default/ |
D | CameraModule.cpp | 224 mModule = module; in CameraModule() 249 if (getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_4 && mModule->init != NULL) { in init() 251 res = mModule->init(); in init() 268 int apiVersion = mModule->common.module_api_version; in getCameraInfo() 272 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo() 285 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo() 319 int apiVersion = mModule->common.module_api_version; in getPhysicalCameraInfo() 325 if (mModule->get_physical_camera_info == nullptr) { in getPhysicalCameraInfo() 335 int ret = mModule->get_physical_camera_info(physicalCameraId, &info); in getPhysicalCameraInfo() 376 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/ |
D | Gralloc0Hal.h | 44 if (!mModule->validateBufferSize) { in validateBufferSize() 48 int32_t ret = mModule->validateBufferSize( in validateBufferSize() 49 mModule, bufferHandle, descriptorInfo.width, descriptorInfo.height, in validateBufferSize() 61 if (!mModule->getTransportSize) { in getTransportSize() 67 int32_t ret = mModule->getTransportSize(mModule, bufferHandle, outNumFds, outNumInts); in getTransportSize() 87 using BaseType2_0::mModule;
|
/hardware/interfaces/broadcastradio/aidl/vts/src/ |
D | VtsHalBroadcastradioAidlTargetTest.cpp | 188 std::shared_ptr<IBroadcastRadio> mModule; member in aidl::android::hardware::broadcastradio::vts::BroadcastRadioHalTest 333 EXPECT_EQ(mModule.get(), nullptr) << "Module is already open"; in SetUp() 338 mModule = IBroadcastRadio::fromBinder(ndk::SpAIBinder(binder)); in SetUp() 339 ASSERT_NE(mModule, nullptr) << "Couldn't find broadcast radio HAL implementation"; in SetUp() 342 auto propResult = mModule->getProperties(&mProperties); in SetUp() 350 ASSERT_TRUE(mModule->getInterfaceVersion(&mAidlVersion).isOk()); in SetUp() 356 EXPECT_TRUE(mModule->setTunerCallback(mCallback).isOk()); in SetUp() 360 if (mModule) { in TearDown() 361 ASSERT_TRUE(mModule->unsetTunerCallback().isOk()); in TearDown() 371 auto halResult = mModule->getAmFmRegionConfig(full, config); in getAmFmRegionConfig() [all …]
|
/hardware/interfaces/camera/provider/2.4/default/ |
D | LegacyCameraProviderImpl_2_4.cpp | 80 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 …]
|
/hardware/interfaces/camera/device/3.2/default/ |
D | CameraDevice.cpp | 37 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/ |
D | HotplugThread.cpp | 27 : mModule(hal) { in HotplugThread() 43 (void)mModule; // silence warning about unused member. in threadLoop()
|
D | HotplugThread.h | 47 CameraHAL *mModule;
|
/hardware/interfaces/camera/device/3.5/default/ |
D | CameraDevice.cpp | 64 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/ |
D | VtsHalBroadcastradioV2_0TargetTest.cpp | 113 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 = IBroadcastRadio::getService(GetParam()); 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() 387 auto hidlResult = mModule->getDabRegionConfig(cb); in TEST_P() 512 auto hidlResult = mModule->getDabRegionConfig(cb); in TEST_P() [all …]
|
/hardware/interfaces/camera/provider/2.5/default/ |
D | LegacyCameraProviderImpl_2_5.cpp | 44 mModule->notifyDeviceStateChange(state); in notifyDeviceStateChange()
|
/hardware/interfaces/camera/device/1.0/default/ |
D | CameraDevice.cpp | 93 mModule(module), in CameraDevice() 104 mDeviceVersion = mModule->getDeviceVersion(mCameraIdInt); in CameraDevice() 105 if (mDeviceVersion != CAMERA_DEVICE_API_VERSION_1_0 && !mModule->isOpenLegacyDefined()) { in CameraDevice() 558 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_4) { in getResourceCost() 559 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getResourceCost() 594 int ret = mModule->getCameraInfo(mCameraIdInt, &info); in getCameraInfo() 613 if (!mModule->isSetTorchModeSupported()) { in setTorchMode() 620 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable)); in setTorchMode() 651 status_t res = mModule->getCameraInfo(mCameraIdInt, &info); in open() 658 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_3 && in open() [all …]
|
/hardware/interfaces/broadcastradio/2.0/default/ |
D | TunerSession.h | 62 std::reference_wrapper<BroadcastRadio> mModule; member
|
/hardware/interfaces/camera/common/default/include/ |
D | CameraModule.h | 84 camera_module_t* mModule; variable
|