Home
last modified time | relevance | path

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

12

/aosp12/hardware/interfaces/power/1.0/default/
H A DPower.cpp33 if (mModule) in Power()
34 mModule->init(mModule); in Power()
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), &param); 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()
80 number_platform_modes = mModule->get_number_of_platform_modes(mModule); in getPlatformLowPowerStats()
89 ret = mModule->get_voter_list(mModule, voters); in getPlatformLowPowerStats()
[all …]
/aosp12/hardware/google/pixel/bootctrl/
H A DLegacyBootControl.cpp36 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 …]
/aosp12/hardware/interfaces/boot/1.0/default/
H A 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()
/aosp12/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
H A DGralloc0Hal.h83 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()
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()
167 result = mModule->unlockAsync(mModule, bufferHandle, &fenceFd); in unlock()
169 result = mModule->unlock(mModule, bufferHandle); in unlock()
[all …]
/aosp12/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
H A DGralloc1On0Adapter.cpp52 mModule->perform(mModule, in Gralloc1On0Adapter()
266 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_SET_USAGES, in allocate()
356 int result = mModule->unregisterBuffer(mModule, handle); in release()
378 int result = mModule->registerBuffer(mModule, bufferHandle); in retain()
393 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_GET_STRIDE, in retain()
403 mModule->perform(mModule, GRALLOC1_ADAPTER_PERFORM_GET_FORMAT, in retain()
447 int result = mModule->lockAsync(mModule, buffer->getHandle(), in lock()
457 int result = mModule->lock(mModule, buffer->getHandle(), in lock()
480 int result = mModule->perform(mModule, in lockFlex()
496 int result = mModule->perform(mModule, in lockFlex()
[all …]
/aosp12/hardware/interfaces/thermal/1.0/default/
H A 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()
/aosp12/hardware/interfaces/camera/common/1.0/default/
H A DCameraModule.cpp233 mModule = module; in CameraModule()
260 mModule->init != NULL) { in init()
262 res = mModule->init(); in init()
387 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); in open()
396 return mModule->open_legacy != NULL; in isOpenLegacyDefined()
403 res = mModule->open_legacy(&mModule->common, id, halVersion, device); in openLegacy()
431 if (mModule->get_vendor_tag_ops) { in getVendorTagOps()
433 mModule->get_vendor_tag_ops(ops); in getVendorTagOps()
563 return mModule->common.name; in getModuleName()
571 return mModule->common.author; in getModuleAuthor()
[all …]
/aosp12/hardware/interfaces/memtrack/1.0/default/
H A DMemtrack.cpp32 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()
/aosp12/hardware/interfaces/camera/provider/2.4/default/
H A DLegacyCameraProviderImpl_2_4.cpp131 mModule->removeCamera(camera_id); in removeDeviceNames()
277 mModule = new CameraModule(rawModule); in initialize()
278 err = mModule->init(); in initialize()
281 mModule.clear(); in initialize()
293 err = mModule->setCallbacks(this); in initialize()
296 mModule.clear(); in initialize()
321 mModule.clear(); in initialize()
327 mModule.clear(); in initialize()
346 if (mModule == nullptr) { in checkCameraVersion()
397 if (!mModule->isVendorTagDefined()) { in setUpVendorTags()
[all …]
/aosp12/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
H A DGralloc0Hal.h44 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;
/aosp12/frameworks/compile/libbcc/bcinfo/
H A DMetadataExtractor.cpp198 : mModule(module), mBitcode(nullptr), mBitcodeSize(0), in MetadataExtractor()
603 if (!(mBitcode && mBitcodeSize) && !mModule) { in extract()
611 if (!mModule) { in extract()
626 mModule = errval.get().release(); in extract()
631 mModule->getNamedMetadata(ExportVarMetadataName); in extract()
633 mModule->getNamedMetadata(ExportFuncMetadataName); in extract()
641 mModule->getNamedMetadata(PragmaMetadataName); in extract()
647 mModule->getNamedMetadata(ChecksumMetadataName); in extract()
649 mModule->getNamedMetadata(DebugInfoMetadataName); in extract()
687 mModule = nullptr; in extract()
[all …]
/aosp12/frameworks/compile/libbcc/lib/
H A DSource.cpp99 if (!mNoDelete && (mModule != pModule)) delete mModule; in setModule()
100 mModule = pModule; in setModule()
200 : mName(name), mContext(pContext), mModule(&pModule), mMetadata(nullptr), in Source()
208 delete mModule; in ~Source()
214 …if (llvm::Linker::linkModules(*mModule, std::unique_ptr<llvm::Module>(&pSource.getModule())) != 0)… in merge()
226 return mModule->getModuleIdentifier(); in getIdentifier()
233 mModule->getOrInsertNamedMetadata("#rs_build_checksum"); in addBuildChecksumMetadata()
238 return mModule->getNamedMetadata("llvm.dbg.cu") != nullptr; in getDebugInfoEnabled()
242 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata()
/aosp12/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerHelper.java164 mModule = null; in SoundTriggerHelper()
296 if (mModule == null) { in prepareForRecognition()
298 if (mModule == null) { in prepareForRecognition()
705 if (mModule == null) { in setParameterLocked()
730 if (mModule == null) { in getParameterLocked()
762 if (mModule == null) { in queryParameterLocked()
1041 mModule = null; in onServiceDiedLocked()
1178 mModule = null; in detach()
1209 if (mModule == null) { in forceStopAndUnloadModelLocked()
1368 if (mModule == null) { in startRecognitionLocked()
[all …]
/aosp12/hardware/interfaces/camera/device/3.2/default/
H A 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()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DPolicyAudioPort.cpp35 mModule = module; in attach()
40 mModule = nullptr; in detach()
51 return mModule != 0 ? mModule->getHandle() : AUDIO_MODULE_HANDLE_NONE; in getModuleHandle()
56 return mModule != 0 ? mModule->getHalVersionMajor() : 0; in getModuleVersionMajor()
61 return mModule != 0 ? mModule->getName() : "invalid module"; in getModuleName()
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
H A DModuleLicensePreference.java35 private final ModuleInfo mModule; field in ModuleLicensePreference
39 mModule = module; in ModuleLicensePreference()
50 ModuleLicenseProvider.getUriForPackage(mModule.getPackageName()), in onClick()
52 .putExtra(Intent.EXTRA_TITLE, mModule.getName()) in onClick()
/aosp12/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DTunerSession.java45 private final RadioModule mModule; field in TunerSession
58 mModule = Objects.requireNonNull(module); in TunerSession()
87 mModule.onTunerSessionClosed(this); in close()
108 mModule.fanoutAidlCallback(cb -> cb.onConfigurationChanged(config)); in setConfiguration()
180 return mModule.getImage(id); in getImage()
186 mModule.fanoutAidlCallback(cb -> cb.onBackgroundScanComplete()); in startBackgroundScan()
204 mModule.onTunerSessionProgramListFilterChanged(this); in startProgramListUpdates()
256 mModule.onTunerSessionProgramListFilterChanged(this); in stopProgramListUpdates()
/aosp12/frameworks/compile/libbcc/include/bcc/
H A DSource.h38 llvm::Module *mModule; variable
90 { return *mModule; } in getModule()
92 { return *mModule; } in getModule()
/aosp12/hardware/interfaces/camera/device/3.5/default/
H A 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()
/aosp12/hardware/libhardware/modules/usbcamera/
H A DHotplugThread.cpp27 : mModule(hal) { in HotplugThread()
43 (void)mModule; // silence warning about unused member. in threadLoop()
H A DHotplugThread.h47 CameraHAL *mModule;
/aosp12/hardware/interfaces/broadcastradio/2.0/vts/functional/
H A DVtsHalBroadcastradioV2_0TargetTest.cpp112 sp<IBroadcastRadio> mModule; member in android::hardware::broadcastradio::V2_0::vts::BroadcastRadioHalTest
186 EXPECT_EQ(nullptr, mModule.get()) << "Module is already open"; in SetUp()
189 mModule = IBroadcastRadio::getService(GetParam()); in SetUp()
190 ASSERT_NE(nullptr, mModule.get()) << "Couldn't find broadcast radio HAL implementation"; in SetUp()
193 auto propResult = mModule->getProperties([&](const Properties& p) { mProperties = p; }); in SetUp()
203 mModule.clear(); in TearDown()
216 auto hidlResult = mModule->openSession(mCallback, openCb); in openSession()
232 auto hidlResult = mModule->getAmFmRegionConfig(full, cb); in getAmFmRegionConfig()
380 auto hidlResult = mModule->getDabRegionConfig(cb); in TEST_P()
711 auto result = mModule->getImage(0, [&](hidl_vec<uint8_t> rawImage) { len = rawImage.size(); }); in TEST_P()
[all …]
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DPolicyAudioPort.h67 bool isAttached() { return mModule != 0; } in isAttached()
106 sp<HwModule> getModule() const { return mModule; } in getModule()
133 sp<HwModule> mModule; // audio HW module exposing this I/O stream variable
/aosp12/hardware/interfaces/camera/device/1.0/default/
H A DCameraDevice.cpp93 mModule(module), in CameraDevice()
104 mDeviceVersion = mModule->getDeviceVersion(mCameraIdInt); 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()
661 rc = mModule->openLegacy(mCameraId.c_str(), in open()
[all …]
/aosp12/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
H A DRadioTunerTest.java73 private RadioManager.ModuleProperties mModule; field in RadioTunerTest
132 mModule = mModules.get(0); in openTuner()
134 for (RadioManager.BandDescriptor band : mModule.getBands()) { in openTuner()
149 mRadioTuner = mRadioManager.openTuner(mModule.getId(), in openTuner()
349 boolean isSupported = mModule.isBackgroundScanningSupported(); in testStartBackgroundScan()

12