Home
last modified time | relevance | path

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

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DSoundTriggerHelper.java68 private SoundTriggerModule mModule; field in SoundTriggerHelper
102 mModule = null; in SoundTriggerHelper()
159 if (mModule == null) { in startRecognition()
160 mModule = SoundTrigger.attachModule(moduleProperties.id, this, null); in startRecognition()
161 if (mModule == null) { in startRecognition()
173 int status = mModule.unloadSoundModel(mCurrentSoundModelHandle); in startRecognition()
198 int status = mModule.loadSoundModel(soundModel, handle); in startRecognition()
249 if (moduleProperties == null || mModule == null) { in stopRecognition()
286 if (moduleProperties == null || mModule == null) { in stopAllRecognitions()
446 if (mModule != null) { in onServiceDiedLocked()
[all …]
/frameworks/compile/libbcc/lib/Core/
DSource.cpp56 if (!mNoDelete && (mModule != pModule)) delete mModule; in setModule()
57 mModule = pModule; in setModule()
134 : mContext(pContext), mModule(&pModule), mNoDelete(pNoDelete) { in Source()
141 delete mModule; in ~Source()
150 if (llvm::Linker::LinkModules(mModule, &pSource.getModule(), in merge()
186 return mModule->getModuleIdentifier(); in getIdentifier()
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp64 : mModule(NULL), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
78 : mModule(module), mBitcode(NULL), mBitcodeSize(0), mExportVarCount(0), in MetadataExtractor()
400 if (!(mBitcode && mBitcodeSize) && !mModule) { in extract()
407 if (!mModule) { in extract()
421 mModule = errval.get(); in extract()
425 mModule->getNamedMetadata(ExportVarMetadataName); in extract()
427 mModule->getNamedMetadata(ExportFuncMetadataName); in extract()
429 mModule->getNamedMetadata(ExportForEachNameMetadataName); in extract()
431 mModule->getNamedMetadata(ExportForEachMetadataName); in extract()
433 mModule->getNamedMetadata(PragmaMetadataName); in extract()
[all …]
/frameworks/compile/libbcc/include/bcc/
DSource.h33 llvm::Module *mModule; variable
70 { return *mModule; } in getModule()
72 { return *mModule; } in getModule()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp98 :mSoundRef(0), mModule(0) in CameraService()
117 (const hw_module_t **)&mModule) < 0) { in onFirstRef()
122 ALOGI("Loaded \"%s\" camera module", mModule->common.name); in onFirstRef()
123 mNumberOfCameras = mModule->get_number_of_cameras(); in onFirstRef()
133 if (mModule->common.module_api_version >= in onFirstRef()
135 mModule->set_callbacks(this); in onFirstRef()
140 if (mModule->common.module_api_version >= CAMERA_MODULE_API_VERSION_2_2) { in onFirstRef()
229 if (!mModule) { in getCameraInfo()
239 mModule->get_camera_info(cameraId, &info)); in getCameraInfo()
338 if (!mModule) { in getCameraCharacteristics()
[all …]
DCameraService.h388 camera_module_t *mModule; variable
/frameworks/av/include/soundtrigger/
DSoundTrigger.h75 const sound_trigger_module_handle_t mModule; variable
/frameworks/compile/libbcc/include/bcinfo/
DMetadataExtractor.h37 const llvm::Module *mModule;
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp263 mAvailableOutputDevices[index]->mModule = module; in setDeviceConnectionStateInt()
381 mAvailableInputDevices[index]->mModule = module; in setDeviceConnectionStateInt()
1109 status = mpClientInterface->openOutput(profile->mModule->mHandle, in getOutputForDevice()
1568 if (profile->mModule->mHandle == 0) { in getInputForAttr()
1569 ALOGE("getInputForAttr(): HW module %s not opened", profile->mModule->mName); in getInputForAttr()
1578 status_t status = mpClientInterface->openInput(profile->mModule->mHandle, in getInputForAttr()
2543 mOutputs.valueFor(mPrimaryOutput)->mProfile->mModule->mHandle; in availablePrimaryInputDevices()
2546 if (mAvailableInputDevices[i]->mModule->mHandle == primaryHandle) { in availablePrimaryInputDevices()
2751 if (srcDeviceDesc->mModule != sinkDeviceDesc->mModule) { in createAudioPatch()
3129 status_t status = mpClientInterface->openOutput(outProfile->mModule->mHandle, in AudioPolicyManager()
[all …]
DAudioPolicyManager.h301 sp<HwModule> mModule; // audio HW module exposing this I/O stream variable
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h97 wp<Module> mModule; variable
DSoundTriggerHwService.cpp394 module = event->mModule.promote(); in onCallbackEvent()
471 : mType(type), mMemory(memory), mModule(module) in CallbackEvent()
/frameworks/av/soundtrigger/
DSoundTrigger.cpp129 : mModule(module), mCallback(callback) in SoundTrigger()