Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp181 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
198 : mModule(module), mBitcode(nullptr), mBitcodeSize(0), in MetadataExtractor()
474 mModule->getFunction(llvm::StringRef(TmpNameList[i])); in populateForEachMetadata()
547 mModule->getFunction(llvm::StringRef(TmpReduceList[i].mAccumulatorName)); in populateReduceMetadata()
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()
635 mModule->getNamedMetadata(ExportForEachNameMetadataName); in extract()
[all …]
/frameworks/compile/libbcc/lib/
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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
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()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java84 private SoundTriggerModule mModule; field in SoundTriggerHelper
124 mModule = null; in SoundTriggerHelper()
247 if (mModule == null) { in startRecognition()
248 mModule = SoundTrigger.attachModule(mModuleProperties.id, this, null); in startRecognition()
249 if (mModule == null) { in startRecognition()
306 int status = mModule.loadSoundModel(soundModel, handle); in startRecognition()
421 if (mModuleProperties == null || mModule == null) { in stopRecognition()
483 if (mModule == null) { in tryStopAndUnloadLocked()
486 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked()
506 if (mModule == null || modelData == null || modelData.getHandle() == INVALID_VALUE || in unloadKeyphraseSoundModel()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java44 private final RadioModule mModule; field in TunerSession
55 mModule = Objects.requireNonNull(module); in TunerSession()
83 mModule.onTunerSessionClosed(this); in close()
104 mModule.fanoutAidlCallback(cb -> cb.onConfigurationChanged(config)); in setConfiguration()
176 return mModule.getImage(id); in getImage()
182 mModule.fanoutAidlCallback(cb -> cb.onBackgroundScanComplete()); in startBackgroundScan()
/frameworks/compile/libbcc/include/bcc/
DSource.h38 llvm::Module *mModule; variable
90 { return *mModule; } in getModule()
92 { return *mModule; } in getModule()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h62 bool isAttached() { return mModule != 0; } in isAttached()
101 sp<HwModule> getModule() const { return mModule; } in getModule()
119 sp<HwModule> mModule; // audio HW module exposing this I/O stream variable
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
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()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h100 void setModule(wp<Module> module) { mModule = module; } in setModule()
105 wp<Module> mModule; variable
195 wp<Module> mModule; variable
DSoundTriggerHwService.cpp389 module = event->mModule.promote(); in onCallbackEvent()
961 : mModule(module), mClient(client), mOpPackageName(opPackageName) in ModuleClient()
999 sp<Module> module = mModule.promote(); in detach()
1019 sp<Module> module = mModule.promote(); in loadSoundModel()
1035 sp<Module> module = mModule.promote(); in unloadSoundModel()
1055 sp<Module> module = mModule.promote(); in startRecognition()
1071 sp<Module> module = mModule.promote(); in stopRecognition()
1087 sp<Module> module = mModule.promote(); in getModelState()
1100 sp<Module> module = mModule.promote(); in setCaptureState_l()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DMetadataExtractor.h86 const llvm::Module *mModule;
/frameworks/av/media/codec2/vndk/
DC2Store.cpp573 std::shared_ptr<ComponentModule> localModule = mModule.lock(); in fetchModule()
578 mModule = localModule; in fetchModule()
593 std::weak_ptr<ComponentModule> mModule; ///< weak reference to the loaded module member