Searched refs:mModule (Results 1 - 21 of 21) sorted by relevance

/frameworks/compile/libbcc/include/bcc/
H A DSource.h38 llvm::Module *mModule; member in class:bcc::Source
42 // If true, destructor won't destroy the mModule.
45 // Keep track of whether mModule is destroyed (possibly as a consequence of
85 { return *mModule; }
87 { return *mModule; }
99 // Extract metadata from mModule using MetadataExtractor.
103 // Mark mModule was destroyed in the process of linking with a different
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp238 mModule = module;
257 mModule->init != NULL) {
259 res = mModule->init();
275 int apiVersion = mModule->common.module_api_version;
279 ret = mModule->get_camera_info(cameraId, info);
292 int ret = mModule->get_camera_info(cameraId, &rawInfo);
320 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device));
329 res = mModule->open_legacy(&mModule
[all...]
H A DCameraModule.h64 camera_module_t *mModule; member in class:android::CameraModule
/frameworks/native/libs/ui/
H A DGralloc1On0Adapter.cpp39 : mModule(reinterpret_cast<const gralloc_module_t*>(module)),
40 mMinorVersion(mModule->common.module_api_version & 0xFF),
46 int error = ::gralloc_open(&(mModule->common), &mDevice);
313 int result = mModule->unregisterBuffer(mModule, handle);
337 int result = mModule->registerBuffer(mModule, handle);
366 int result = mModule->lockAsync(mModule, buffer->getHandle(),
375 int result = mModule
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp60 if (!mNoDelete && (mModule != pModule)) delete mModule;
61 mModule = pModule;
146 : mName(name), mContext(pContext), mModule(&pModule), mMetadata(nullptr),
154 delete mModule;
160 if (llvm::Linker::linkModules(*mModule, std::unique_ptr<llvm::Module>(&pSource.getModule())) != 0) {
190 return mModule->getModuleIdentifier();
197 mModule->getOrInsertNamedMetadata("#rs_build_checksum");
202 return mModule->getNamedMetadata("llvm.dbg.cu") != nullptr;
206 mMetadata = new bcinfo::MetadataExtractor(mModule);
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DMetadataExtractor.cpp176 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize),
194 : mModule(module), mBitcode(nullptr), mBitcodeSize(0),
466 mModule->getFunction(llvm::StringRef(TmpNameList[i]));
534 mModule->getFunction(llvm::StringRef(TmpReduceList[i].mAccumulatorName));
590 if (!(mBitcode && mBitcodeSize) && !mModule) {
598 if (!mModule) {
613 mModule = errval.get().release();
618 mModule->getNamedMetadata(ExportVarMetadataName);
620 mModule->getNamedMetadata(ExportFuncMetadataName);
622 mModule
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerHelper.java80 private SoundTriggerModule mModule; field in class:SoundTriggerHelper
120 mModule = null;
243 if (mModule == null) {
244 mModule = SoundTrigger.attachModule(mModuleProperties.id, this, null);
245 if (mModule == null) {
303 int status = mModule.loadSoundModel(soundModel, handle);
411 if (mModuleProperties == null || mModule == null) {
473 status = mModule.unloadSoundModel(modelData.getHandle());
493 if (mModule == null || modelData == null || modelData.getHandle() == INVALID_VALUE ||
506 status = mModule
[all...]
/frameworks/av/include/soundtrigger/
H A DSoundTrigger.h75 const sound_trigger_module_handle_t mModule; member in class:android::SoundTrigger
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPort.cpp36 mModule = module;
47 if (mModule == 0) {
50 return mModule->mHandle;
55 if (mModule == 0) {
58 return mModule->getHalVersion();
63 if (mModule == 0) {
66 return mModule->getName();
H A DDeviceDescriptor.cpp250 // ALOG_ASSERT(mModule != NULL);
251 dstConfig->ext.device.hw_module = mModule != 0 ? mModule->mHandle : AUDIO_MODULE_HANDLE_NONE;
262 port->ext.device.hw_module = mModule->mHandle;
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp152 mSoundRef(0), mModule(nullptr) {
182 mModule = new CameraModule(rawModule);
183 err = mModule->init();
189 delete mModule;
190 mModule = nullptr;
193 ALOGI("Loaded \"%s\" camera module", mModule->getModuleName());
195 mNumberOfCameras = mModule->getNumberOfCameras();
201 if (mModule->getModuleApiVersion() >= CAMERA_MODULE_API_VERSION_2_2) {
205 mFlashlight = new CameraFlashlight(*mModule, *this);
220 status_t rc = mModule
[all...]
H A DCameraService.h658 CameraModule* mModule; member in class:android::CameraService
918 if ((err = client->initialize(mModule)) != OK) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPort.h67 bool isAttached() { return mModule != 0; }
143 sp<HwModule> mModule; // audio HW module exposing this I/O stream member in class:android::AudioPort
/frameworks/av/services/radio/
H A DRadioService.h167 wp<Module> module() const { return mModule; }
185 wp<Module> mModule; // The module this client is attached to member in class:android::RadioService::ModuleClient
H A DRadioService.cpp649 : mModule(module), mClient(client), mConfig(*config), mAudio(audio), mTuner(NULL)
685 sp<Module> module = mModule.promote();
771 module = mModule.promote();
786 module = mModule.promote();
/frameworks/compile/libbcc/include/bcinfo/
H A DMetadataExtractor.h86 const llvm::Module *mModule; member in class:bcinfo::MetadataExtractor
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h97 wp<Module> mModule; member in class:android::SoundTriggerHwService::CallbackEvent
H A DSoundTriggerHwService.cpp402 module = event->mModule.promote();
479 : mType(type), mMemory(memory), mModule(module)
/frameworks/av/soundtrigger/
H A DSoundTrigger.cpp129 : mModule(module), mCallback(callback)
/frameworks/native/include/ui/
H A DGralloc1On0Adapter.h463 const gralloc_module_t* mModule; member in class:android::Gralloc1On0Adapter
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp2658 (srcDeviceDesc->mModule->getHalVersion() < AUDIO_DEVICE_API_VERSION_3_0)) {
3018 if (srcDeviceDesc->getAudioPort()->mModule->getHandle() ==
3019 sinkDeviceDesc->getAudioPort()->mModule->getHandle() &&
3020 srcDeviceDesc->getAudioPort()->mModule->getHalVersion() >= AUDIO_DEVICE_API_VERSION_3_0 &&

Completed in 4401 milliseconds