Searched refs:module (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/rs/rsov/compiler/spirit/
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 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.h36 // Runs the pass on the input module and returns the result module.
39 virtual Module *run(Module *module, int *error);
41 // Runs the pass on the input module, serializes the result module, and
45 virtual std::vector<uint32_t> runAndSerialize(Module *module, int *error);
H A Dpass_queue.h20 #include "module.h"
47 Module *run(Module *module, int *error = nullptr);
64 std::vector<uint32_t> runAndSerialize(Module *module, int *error = nullptr);
H A Dtransformer.cpp19 #include "module.h"
24 Module *Transformer::run(Module *module, int *error) { argument
25 auto words = runAndSerialize(module, error);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_getbits.cpp74 ; Define module specific macros here
92 ; Variable declaration - defined here and used outside this module
97 ; Declare functions defined elsewhere and referenced in this module
102 ; Declare variables used in this module but defined elsewhere
129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE));
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE));
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE));
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE));
141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH);
170 Elem = *(ptBitStream->pBuffer + module(offse
[all...]
/frameworks/support/room/integration-tests/kotlintestapp/
H A Dbuild.gradle51 exclude module: 'support-annotations'
52 exclude module: 'hamcrest-core'
55 exclude group: 'com.android.support', module: 'support-annotations'
56 exclude module: "hamcrest-core"
/frameworks/compile/mclinker/unittests/
H A DELFBinaryReaderTest.cpp43 Module module("test", script);
45 IRBuilder builder(module, config);
H A DLinkerTest.cpp50 Module module("test", script);
56 IRBuilder builder(module, config);
60 if (linker.link(module, builder))
61 linker.emit(module, "./test.so");
95 Module module("libplasma.so", script);
96 IRBuilder builder(module, config);
119 if (linker.link(module, builder)) {
120 linker.emit(module, "libplasma.so"); ///< -o libplasma.so
350 Module module(script);
351 IRBuilder builder(module, confi
[all...]
/frameworks/base/tools/bit/
H A Dmake.cpp98 print_error("Unable to parse module info file (%s): %s", error, filename.c_str());
126 string filename(string(buildOut + "/target/product/") + device + "/module-info.json");
131 print_error("Unable to open module info file: %s", filename.c_str());
159 Module module; local
161 module.name = name;
162 get_values(value, "class", &module.classes);
163 get_values(value, "path", &module.paths);
164 get_values(value, "installed", &module.installed);
167 for (ssize_t i = module.classes.size() - 1; i >= 0; i--) {
168 string cl = module
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h111 sp<HwModule> module; local
116 module = new HwModule(AUDIO_HARDWARE_MODULE_ID_PRIMARY);
120 outProfile->attach(module);
125 module->addOutputProfile(outProfile);
129 inProfile->attach(module);
133 module->addInputProfile(inProfile);
135 mHwModules.add(module);
H A DConfigParsingUtils.h47 static status_t loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role);
54 static void loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module,
56 static status_t loadHwModule(cnode *root, sp<HwModule> &module, AudioPolicyConfig &config);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DBroadcastRadioService.java70 RadioModule module = RadioModule.tryLoadingModule(idx, serviceName);
71 if (module != null) {
72 Slog.i(TAG, "loaded broadcast radio module " + idx + ": " +
74 mModules.put(idx++, module);
78 return mModules.values().stream().map(module -> module.mProperties).
98 RadioModule module = mModules.get(moduleId);
99 if (module == null) {
100 throw new IllegalArgumentException("Invalid module ID");
103 TunerSession session = module
[all...]
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp73 ALOGI("loaded default module %s, handle %d", descriptor.properties.description,
76 sp<Module> module = new Module(this, halInterface, descriptor); local
77 mModules.add(descriptor.handle, module);
113 ALOGV("attach module %d", handle);
128 sp<Module> module = mModules.valueAt(index); local
130 sp<ModuleClient> moduleClient = module->addClient(client);
197 Module *module = (Module *)cookie; local
198 if (module == NULL) {
201 sp<SoundTriggerHwService> service = module->service().promote();
206 service->sendRecognitionEvent(event, module);
253 sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module) argument
274 Module *module = (Module *)cookie; local
302 sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module) argument
331 sendServiceStateEvent(sound_trigger_service_state_t state, Module *module) argument
365 sp<Module> module; local
915 ModuleClient(const sp<Module>& module, const sp<ISoundTriggerClient>& client) argument
954 sp<Module> module = mModule.promote(); local
970 sp<Module> module = mModule.promote(); local
985 sp<Module> module = mModule.promote(); local
1001 sp<Module> module = mModule.promote(); local
1016 sp<Module> module = mModule.promote(); local
1029 sp<Module> module = mModule.promote(); local
[all...]
H A DSoundTriggerHwService.h55 sp<ISoundTrigger>& module);
98 void setModule(wp<Module> module) { mModule = module; } argument
157 ModuleClient(const sp<Module>& module,
218 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
222 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
225 void sendServiceStateEvent(sound_trigger_service_state_t state, Module *module);
/frameworks/compile/libbcc/lib/
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.";
304 llvm::Module &module = script.getSource().getModule(); local
311 const std::string &triple = module.getTargetTriple();
327 if (!validateLayoutOfExportedTypes(module, module.getDataLayout(), dl))
340 // Sanitize module's target information.
341 module
362 *IRStream << module; local
371 llvm::Module &module = script.getSource().getModule(); local
490 llvm::Module &module = script.getSource().getModule(); local
[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/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
/frameworks/base/services/core/jni/BroadcastRadio/
H A DBroadcastRadioService.cpp161 factory->connectModule(clazz, [&](Result res, const sp<V1_0::IBroadcastRadio>& module) {
163 module10 = module;
164 module11 = V1_1::IBroadcastRadio::castFrom(module).withDefault(nullptr);
166 ALOGE("couldn't load %s:%s module",
175 ALOGI("loaded broadcast radio module %zu: %s:%s (HAL 1.%d)",
216 ALOGE("Invalid module ID: %d", moduleId);
221 auto module = ctx.mModules[moduleId]; local
229 if (module.bands.size() == 0) {
233 bandConfigHal = module.bands[0];
237 auto fmIt = std::find_if(module
[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...]
/frameworks/av/include/soundtrigger/
H A DSoundTrigger.h41 static sp<SoundTrigger> attach(const sound_trigger_module_handle_t module,
69 SoundTrigger(sound_trigger_module_handle_t module,
/frameworks/support/viewpager2/
H A Dbuild.gradle34 exclude group: 'androidx.viewpager2', module: 'viewpager2'
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java26 * on a given sound trigger hardware module.
56 * Detach from this module. The {@link SoundTrigger.StatusListener} callback will not be called
186 SoundTriggerModule module = (SoundTriggerModule)((WeakReference)module_ref).get();
187 if (module == null) {
191 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate;
/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/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp368 static sp<SoundTrigger> setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) argument
373 if (module.get()) {
374 module->incStrong((void*)setSoundTrigger);
379 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get());
427 ALOGV("listModules module %zu id %d description %s maxSoundModels %d",
470 sp<SoundTrigger> module = SoundTrigger::attach(handle, callback); local
471 if (module == 0) {
475 setSoundTrigger(env, thiz, module);
482 sp<SoundTrigger> module = setSoundTrigger(env, thiz, 0); local
483 ALOGV("detach module
494 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
518 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
675 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
690 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
783 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
[all...]

Completed in 1059 milliseconds

1234