Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/common/
DCameraModule.cpp238 mModule = module; in CameraModule()
257 mModule->init != NULL) { in init()
259 res = mModule->init(); in init()
275 int apiVersion = mModule->common.module_api_version; in getCameraInfo()
279 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo()
292 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo()
320 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); in open()
329 res = mModule->open_legacy(&mModule->common, id, halVersion, device); in openLegacy()
337 numCameras = mModule->get_number_of_cameras(); in getNumberOfCameras()
345 res = mModule->set_callbacks(callbacks); in setCallbacks()
[all …]
DCameraModule.h64 camera_module_t *mModule; variable
/frameworks/compile/libbcc/lib/Core/
DSource.cpp60 if (!mNoDelete && (mModule != pModule)) delete mModule; in setModule()
61 mModule = pModule; in setModule()
146 : mName(name), mContext(pContext), mModule(&pModule), mMetadata(nullptr), in Source()
154 delete mModule; in ~Source()
160 …if (llvm::Linker::linkModules(*mModule, std::unique_ptr<llvm::Module>(&pSource.getModule())) != 0)… in merge()
190 return mModule->getModuleIdentifier(); in getIdentifier()
197 mModule->getOrInsertNamedMetadata("#rs_build_checksum"); in addBuildChecksumMetadata()
202 return mModule->getNamedMetadata("llvm.dbg.cu") != nullptr; in getDebugInfoEnabled()
206 mMetadata = new bcinfo::MetadataExtractor(mModule); in extractMetadata()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp176 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
194 : mModule(module), mBitcode(nullptr), mBitcodeSize(0), in MetadataExtractor()
466 mModule->getFunction(llvm::StringRef(TmpNameList[i])); in populateForEachMetadata()
534 mModule->getFunction(llvm::StringRef(TmpReduceList[i].mAccumulatorName)); in populateReduceMetadata()
590 if (!(mBitcode && mBitcodeSize) && !mModule) { in extract()
598 if (!mModule) { in extract()
613 mModule = errval.get().release(); in extract()
618 mModule->getNamedMetadata(ExportVarMetadataName); in extract()
620 mModule->getNamedMetadata(ExportFuncMetadataName); in extract()
622 mModule->getNamedMetadata(ExportForEachNameMetadataName); in extract()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java80 private SoundTriggerModule mModule; field in SoundTriggerHelper
120 mModule = null; in SoundTriggerHelper()
243 if (mModule == null) { in startRecognition()
244 mModule = SoundTrigger.attachModule(mModuleProperties.id, this, null); in startRecognition()
245 if (mModule == null) { in startRecognition()
303 int status = mModule.loadSoundModel(soundModel, handle); in startRecognition()
411 if (mModuleProperties == null || mModule == null) { in stopRecognition()
473 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked()
493 if (mModule == null || modelData == null || modelData.getHandle() == INVALID_VALUE || in unloadKeyphraseSoundModel()
506 status = mModule.unloadSoundModel(modelData.getHandle()); in unloadKeyphraseSoundModel()
[all …]
/frameworks/compile/libbcc/include/bcc/
DSource.h38 llvm::Module *mModule; variable
85 { return *mModule; } in getModule()
87 { return *mModule; } in getModule()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp152 mSoundRef(0), mModule(nullptr) { in CameraService()
182 mModule = new CameraModule(rawModule); in onFirstRef()
183 err = mModule->init(); in onFirstRef()
189 delete mModule; in onFirstRef()
190 mModule = nullptr; in onFirstRef()
193 ALOGI("Loaded \"%s\" camera module", mModule->getModuleName()); in onFirstRef()
195 mNumberOfCameras = mModule->getNumberOfCameras(); in onFirstRef()
201 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_2) { in onFirstRef()
205 mFlashlight = new CameraFlashlight(*mModule, *this); in onFirstRef()
220 status_t rc = mModule->getCameraInfo(i, &info); in onFirstRef()
[all …]
DCameraService.h658 CameraModule* mModule; variable
918 if ((err = client->initialize(mModule)) != OK) { in connectHelper()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp36 mModule = module; in attach()
47 if (mModule == 0) { in getModuleHandle()
50 return mModule->mHandle; in getModuleHandle()
55 if (mModule == 0) { in getModuleVersion()
58 return mModule->getHalVersion(); in getModuleVersion()
63 if (mModule == 0) { in getModuleName()
66 return mModule->getName(); in getModuleName()
DDeviceDescriptor.cpp252 dstConfig->ext.device.hw_module = mModule != 0 ? mModule->mHandle : AUDIO_MODULE_HANDLE_NONE; in toAudioPortConfig()
263 port->ext.device.hw_module = mModule->mHandle; in toAudioPort()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h67 bool isAttached() { return mModule != 0; } in isAttached()
143 sp<HwModule> mModule; // audio HW module exposing this I/O stream variable
/frameworks/av/services/radio/
DRadioService.h167 wp<Module> module() const { return mModule; } in module()
185 wp<Module> mModule; // The module this client is attached to variable
DRadioService.cpp649 : mModule(module), mClient(client), mConfig(*config), mAudio(audio), mTuner(NULL) in ModuleClient()
685 sp<Module> module = mModule.promote(); in detach()
771 module = mModule.promote(); in setMute()
786 module = mModule.promote(); in getMute()
/frameworks/av/include/soundtrigger/
DSoundTrigger.h75 const sound_trigger_module_handle_t mModule; variable
/frameworks/compile/libbcc/include/bcinfo/
DMetadataExtractor.h86 const llvm::Module *mModule;
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h97 wp<Module> mModule; variable
DSoundTriggerHwService.cpp402 module = event->mModule.promote(); in onCallbackEvent()
479 : mType(type), mMemory(memory), mModule(module) in CallbackEvent()
/frameworks/av/soundtrigger/
DSoundTrigger.cpp129 : mModule(module), mCallback(callback) in SoundTrigger()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2606 (srcDeviceDesc->mModule->getHalVersion() < AUDIO_DEVICE_API_VERSION_3_0)) { in createAudioPatch()
2967 if (srcDeviceDesc->getAudioPort()->mModule->getHandle() == in connectAudioSource()
2968 sinkDeviceDesc->getAudioPort()->mModule->getHandle() && in connectAudioSource()
2969 … srcDeviceDesc->getAudioPort()->mModule->getHalVersion() >= AUDIO_DEVICE_API_VERSION_3_0 && in connectAudioSource()