Searched defs:module (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/rs/rsov/compiler/spirit/
H A Dpass.cpp19 #include "module.h"
24 Module *Pass::run(Module *module, int *error) { argument
26 auto words = runAndSerialize(module, &intermediateError);
36 std::vector<uint32_t> Pass::runAndSerialize(Module *module, int *error) { argument
38 auto m1 = run(module, &intermediateError);
H A Dpass_queue.cpp19 #include "module.h"
30 Module *PassQueue::run(Module *module, int *error) { argument
32 return module;
40 Module* newModule = pass->run(module, &intermediateError);
41 // Some passes modify the input module in place, while others create a new
42 // module. Release memory only when it is necessary.
43 if (newModule != module) {
46 module = newModule;
53 if (!module || !module
74 Module *module = Deserialize<Module>(spirvWords); local
82 runAndSerialize(Module *module, int *error) argument
[all...]
H A Dtransformer.cpp19 #include "module.h"
24 Module *Transformer::run(Module *module, int *error) { argument
25 auto words = runAndSerialize(module, error);
/frameworks/base/data/fonts/
H A DAndroid.mk65 # It also serves as the module name and the dest file name.
66 define build-one-font-module
79 $(foreach f, $(font_src_files), $(call build-one-font-module, $(f)))
81 build-one-font-module :=
/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp82 sp<ISoundTrigger>& module)
94 module = interface_cast<ISoundTrigger>(reply.readStrongBinder());
158 sp<ISoundTrigger> module; local
159 status_t status = attach(handle, client, module);
161 if (module != 0) {
163 reply->writeStrongBinder(IInterface::asBinder(module));
80 attach(const sound_trigger_module_handle_t handle, const sp<ISoundTriggerClient>& client, sp<ISoundTrigger>& module) argument
H A DSoundTrigger.cpp94 sp<SoundTrigger> SoundTrigger::attach(const sound_trigger_module_handle_t module, argument
103 soundTrigger = new SoundTrigger(module, callback);
104 status_t status = service->attach(module, soundTrigger, soundTrigger->mISoundTrigger);
127 SoundTrigger::SoundTrigger(sound_trigger_module_handle_t module, argument
129 : mModule(module), mCallback(callback)
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp153 llvm::Module *module = MOrErr.get(); local
155 stripUnknownAttributes(module);
161 llvm_3_2::WriteBitcodeToFile(module, OS);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h110 sp<HwModule> module; local
115 module = new HwModule("primary");
119 outProfile->attach(module);
124 module->mOutputProfiles.add(outProfile);
128 inProfile->attach(module);
132 module->mInputProfiles.add(inProfile);
134 mHwModules.add(module);
/frameworks/av/services/radio/
H A DRadioService.h99 const struct radio_properties mProperties; // cached hardware module properties
126 wp<ModuleClient> mModuleClient; // client module the thread belongs to
138 ModuleClient(const sp<Module>& module,
171 wp<Module> module() const { return mModule; } function in class:android::RadioService::ModuleClient
192 wp<Module> mModule; // The module this client is attached to
212 volatile int32_t mNextUniqueId; // for module ID allocation
H A DRadioHalHidl.cpp46 sp<IBroadcastRadio> module = getService(); local
47 if (module == 0) {
53 module->getProperties([&](Result result, const Properties& properties) {
71 sp<IBroadcastRadio> module = getService(); local
72 if (module == 0) {
83 module->openTuner(halConfig, audio, tunerImpl,
129 ALOGV("%s OUT module %p", __FUNCTION__, mHalModule.get());
135 ALOGV("%s IN module %p", __FUNCTION__, mHalModule.get());
330 RadioHalHidl::Tuner::Tuner(sp<TunerCallbackInterface> callback, sp<RadioHalHidl> module) argument
331 : TunerInterface(), mHalTuner(NULL), mCallback(callback), mParentModule(module)
[all...]
/frameworks/base/tools/bit/
H A Dmake.cpp113 print_error("Unable to parse module info file (%s): %s", error, filename.c_str());
141 string filename(string(buildOut + "/target/product/") + device + "/module-info.json");
146 print_error("Unable to open module info file: %s", filename.c_str());
174 Module module; local
176 module.name = name;
177 get_values(value, "class", &module.classes);
178 get_values(value, "path", &module.paths);
179 get_values(value, "installed", &module.installed);
182 for (ssize_t i = module.classes.size() - 1; i >= 0; i--) {
183 string cl = module
[all...]
/frameworks/compile/libbcc/lib/
H A DRSEmbedInfo.cpp44 /* RSEmbedInfoPass - This pass operates on the entire module and embeds a
68 static std::string getRSInfoString(const llvm::Module *module) { argument
71 bcinfo::MetadataExtractor me(module);
73 bccAssert(false && "Could not extract RS metadata for module!");
167 if (auto nmd = module->getNamedMetadata("slang.llvm.version")) {
180 "The debug info in module '%s' has a different version than "
183 module->getModuleIdentifier().c_str(), slangVersion.str().c_str(),
H A DCompiler.cpp58 bool validateLayoutOfExportedTypes(const llvm::Module &module, argument
65 module.getNamedMetadata(ExportedTypeMetadataName);
79 llvm::StructType *const exportedType = module.getTypeByName(exportedTypeName);
133 return "Failed to materialize the module.";
303 llvm::Module &module = script.getSource().getModule(); local
310 const std::string &triple = module.getTargetTriple();
326 if (!validateLayoutOfExportedTypes(module, module.getDataLayout(), dl))
339 // Sanitize module's target information.
340 module
361 *IRStream << module; local
370 llvm::Module &module = script.getSource().getModule(); local
489 llvm::Module &module = script.getSource().getModule(); local
[all...]
H A DRSScriptGroupFusion.cpp58 ALOGE("Kernel fusion (module %s slot %d): failed to find kernel function",
64 ALOGE("Kernel fusion (module %s function %s): cannot handle multiple inputs",
103 ALOGE("Kernel fusion (module %s slot %d): cannot handle multiple inputs",
110 ALOGE("Kernel fusion (module %s slot %d): Unexpected signature %x",
240 ALOGE("Kernel fusion (module %s function %s): not a kernel",
249 ALOGE("Kernel fusion (module %s function %s): expected input, but got null",
264 ALOGE("Kernel fusion (module %s function %s): %s", source->getName().c_str(),
273 ALOGE("Kernel fusion (module %s function %s): function not first in batch takes no input",
320 const std::string& newName, Module* module) {
321 const llvm::Function* F = getInvokeFunction(*source, slot, module);
319 renameInvoke(BCCContext& Context, const Source* source, const int slot, const std::string& newName, Module* module) argument
[all...]
H A DSource.cpp43 // reduce the startup time. On success, return the LLVM module object created
65 static void helper_set_module_metadata_from_bitcode_wrapper(llvm::Module &module, argument
68 llvm::LLVMContext &llvmContext = module.getContext();
71 module.getOrInsertNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName);
120 llvm::Module *module = managedModule.release(); local
121 if (module == nullptr) {
128 Source *result = CreateFromModule(pContext, pName, *module,
132 delete module;
160 llvm::Module *module = managedModule.release(); local
161 if (module
[all...]
/frameworks/opt/net/wifi/libwifi_hal/
H A Dwifi_hal_common.cpp54 void *module; local
58 module = load_file(filename, &size);
59 if (!module) return -1;
61 ret = init_module(module, size, args);
63 free(module);
81 PLOG(DEBUG) << "Unable to unload driver module '" << modname << "'";
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dec_defs.h54 ; Define module specific macros here
56 #define module(x, POW2) ((x)&((POW2)-1)) macro
98 ; Declare variables used in this module but defined elsewhere
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp159 // limit number of sources to 1 for now or 2 sources for special cross hw module case.
182 // by call to create_audio_patch() below which will happen on a different HW module
225 ALOGW("createAudioPatch() bad src hw module %d", srcModule);
249 // - source HW module != destination HW module OR
361 ALOGW("createAudioPatch() bad src hw module %d", srcModule);
374 // limit to connections between sinks and sources on same HW module
602 ALOGW("releaseAudioPatch() bad src hw module %d", srcModule);
636 ALOGW("releaseAudioPatch() bad src hw module %d", srcModule);
681 audio_module_handle_t module; local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp150 status_t ConfigParsingUtils::loadHwModuleProfile(cnode *root, sp<HwModule> &module, argument
178 loadDevicesFromTag(node->value, devices, module->getDeclaredDevices());
215 return module->addProfile(profile);
221 status_t ConfigParsingUtils::loadHwModule(cnode *root, sp<HwModule> &module, argument
237 module->setDeclaredDevices(devices);
244 status_t tmpStatus = loadHwModuleProfile(node, module, AUDIO_PORT_ROLE_SOURCE);
256 status_t tmpStatus = loadHwModuleProfile(node, module, AUDIO_PORT_ROLE_SINK);
263 loadModuleGlobalConfig(root, module, config);
278 ALOGV("loadHwModules() loading module %s", node->name);
279 sp<HwModule> module local
320 loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module, AudioPolicyConfig &config) argument
[all...]
H A DDeviceDescriptor.cpp43 void DeviceDescriptor::attach(const sp<HwModule>& module) argument
45 AudioPort::attach(module);
H A DHwModule.cpp255 sp <HwModule> module; local
263 return module;
269 sp <HwModule> module; local
290 return module;
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp39 status_t AudioPolicyService::AudioPolicyClient::openOutput(audio_module_handle_t module, argument
52 return af->openOutput(module, output, config, devices, address, latencyMs, flags);
99 status_t AudioPolicyService::AudioPolicyClient::openInput(audio_module_handle_t module, argument
113 return af->openInput(module, input, config, device, address, source, flags);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h55 sp<ISoundTrigger>& module);
98 void setModule(wp<Module> module) { mModule = module; } argument
159 ModuleClient(const sp<Module>& module,
220 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
224 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
227 void sendServiceStateEvent_l(sound_trigger_service_state_t state, Module *module);
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp50 fingerprint_module_t const* module; member in struct:android::__anon1306
208 ALOGE("No valid fingerprint module");
212 gContext.module = reinterpret_cast<const fingerprint_module_t*>(hw_module);
214 if (gContext.module->common.methods->open == NULL) {
221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) {
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp354 std::unique_ptr<llvm::Module> module; local
359 module = std::move(moduleOrError.get());
360 ec = module->materializeAll();
365 module.reset();
378 module->print(tof->os(), ann.get());

Completed in 260 milliseconds

12