/frameworks/compile/libbcc/lib/ |
D | Source.cpp | 99 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/compile/libbcc/bcinfo/ |
D | MetadataExtractor.cpp | 181 : 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/av/media/libaudiohal/impl/ |
D | DeviceHalAidl.cpp | 107 mInstance(instance), mModule(module), mVendorExt(vext), in DeviceHalAidl() 129 if (mModule == nullptr) return NO_INIT; in getSupportedModes() 151 if (mModule == nullptr) return NO_INIT; in initCheck() 159 if (mModule == nullptr) return NO_INIT; in setVoiceVolume() 173 if (mModule == nullptr) return NO_INIT; in setMasterVolume() 174 return statusTFromBinderStatus(mModule->setMasterVolume(volume)); in setMasterVolume() 180 if (mModule == nullptr) return NO_INIT; in getMasterVolume() 184 return statusTFromBinderStatus(mModule->getMasterVolume(volume)); in getMasterVolume() 190 if (mModule == nullptr) return NO_INIT; in setMode() 195 return statusTFromBinderStatus(mModule->updateAudioMode(audioMode)); in setMode() [all …]
|
D | Hal2AidlMapper.cpp | 102 : mInstance(instance), mModule(module) { in Hal2AidlMapper() 204 mModule->setAudioPatch(patch, &patch))); in createOrUpdatePatch() 227 mModule->setAudioPatch(patch, &patch))); in createOrUpdatePatch() 244 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->setAudioPortConfig( in createOrUpdatePortConfig() 317 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->setAudioPatch( in findOrCreatePatch() 653 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->getAudioPorts(&ports))); in initialize() 698 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->connectExternalDevice( in initialize() 715 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->connectExternalDevice( in initialize() 717 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->disconnectExternalDevice( in initialize() 730 statusTFromBinderStatus(mModule->getAudioPortConfigs(&portConfigs))); // OK if empty in initialize() [all …]
|
D | DeviceHalAidl.h | 237 const std::shared_ptr<::aidl::android::hardware::audio::core::IModule> mModule; variable
|
D | Hal2AidlMapper.h | 139 const std::shared_ptr<::aidl::android::hardware::audio::core::IModule> mModule; variable
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 93 private SoundTriggerModule mModule; field in SoundTriggerHelper 135 mModule = null; in SoundTriggerHelper() 137 mModule = mModuleProvider.apply(this); in SoundTriggerHelper() 238 if (mModule == null) { in prepareForRecognition() 250 int status = mModule.loadSoundModel(modelData.getSoundModel(), handle); in prepareForRecognition() 440 if (mModule == null) { in stopRecognition() 496 if (mModule == null) { in tryStopAndUnloadLocked() 499 status = mModule.unloadSoundModel(modelData.getHandle()); in tryStopAndUnloadLocked() 530 if (mModule == null || modelData == null || !modelData.isModelLoaded() in unloadKeyphraseSoundModel() 544 status = mModule.unloadSoundModel(modelData.getHandle()); in unloadKeyphraseSoundModel() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | PolicyAudioPort.cpp | 33 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/av/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 711 mModule = ndk::SharedRefBase::make<ModuleMock>(); in SetUp() 712 mDevice = sp<DeviceHalAidl>::make("test", mModule, nullptr /*vext*/); in SetUp() 716 mModule.reset(); in TearDown() 720 std::shared_ptr<ModuleMock> mModule; member in DeviceHalAidlTest 725 EXPECT_FALSE(mModule->isScreenTurnedOn()); in TEST_F() 728 EXPECT_TRUE(mModule->isScreenTurnedOn()); in TEST_F() 731 EXPECT_FALSE(mModule->isScreenTurnedOn()); in TEST_F() 735 EXPECT_FALSE(mModule->isScreenTurnedOn()); in TEST_F() 740 EXPECT_EQ(ScreenRotation::DEG_0, mModule->getScreenRotation()); in TEST_F() 743 EXPECT_EQ(ScreenRotation::DEG_90, mModule->getScreenRotation()); in TEST_F() [all …]
|
/frameworks/compile/libbcc/include/bcc/ |
D | Source.h | 38 llvm::Module *mModule; variable 90 { return *mModule; } in getModule() 92 { return *mModule; } in getModule()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | TunerSession.java | 50 private final RadioModule mModule; field in TunerSession 69 mModule = Objects.requireNonNull(radioModule, "radioModule cannot be null"); in TunerSession() 110 mModule.onTunerSessionClosed(this); in close() 138 mModule.fanoutAidlCallback((cb, mUid) -> cb.onConfigurationChanged(config)); in setConfiguration() 252 return mModule.getImage(id); in getImage() 262 mModule.fanoutAidlCallback((cb, mUid) -> { in startBackgroundScan() 289 mModule.onTunerSessionProgramListFilterChanged(this); in startProgramListUpdates() 358 mModule.onTunerSessionProgramListFilterChanged(this); in stopProgramListUpdates()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | TunerSession.java | 54 private final RadioModule mModule; field in TunerSession 71 mModule = Objects.requireNonNull(module); in TunerSession() 104 mModule.onTunerSessionClosed(this); in close() 132 mModule.fanoutAidlCallback(cb -> cb.onConfigurationChanged(config)); in setConfiguration() 227 return mModule.getImage(id); in getImage() 238 mModule.fanoutAidlCallback(cb -> cb.onBackgroundScanComplete()); in startBackgroundScan() 262 mModule.onTunerSessionProgramListFilterChanged(this); in startProgramListUpdates() 320 mModule.onTunerSessionProgramListFilterChanged(this); in stopProgramListUpdates()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | PolicyAudioPort.h | 54 bool isAttached() { return mModule != 0; } in isAttached() 98 sp<HwModule> getModule() const { return mModule; } in getModule() 114 sp<HwModule> mModule; // audio HW module exposing this I/O stream variable
|
/frameworks/base/core/java/android/os/ |
D | IpcDataCache.java | 418 private final String mModule; field in IpcDataCache.Config 441 mModule = module; in Config() 487 return mModule; in module() 518 IpcDataCache.invalidateCache(mModule, mApi); in invalidateCache()
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/ |
D | MetadataExtractor.h | 86 const llvm::Module *mModule;
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 893 std::shared_ptr<ComponentModule> localModule = mModule.lock(); in fetchModule() 904 mModule = localModule; in fetchModule() 927 std::weak_ptr<ComponentModule> mModule; ///< weak reference to the loaded module member
|