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

1234

/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...]
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/base/services/core/jni/
H A Dcom_android_server_lights_LightsService.cpp51 static light_device_t* get_device(hw_module_t* module, char const* name) argument
55 err = module->methods->open(module, name, &device);
66 hw_module_t* module; local
71 err = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, (hw_module_t const**)&module);
74 = get_device(module, LIGHT_ID_BACKLIGHT);
76 = get_device(module, LIGHT_ID_KEYBOARD);
78 = get_device(module, LIGHT_ID_BUTTONS);
80 = get_device(module, LIGHT_ID_BATTERY);
82 = get_device(module, LIGHT_ID_NOTIFICATION
[all...]
H A Dcom_android_server_ConsumerIrService.cpp33 hw_module_t const* module; local
37 err = hw_get_module(CONSUMERIR_HARDWARE_MODULE_ID, &module);
43 err = module->methods->open(module, CONSUMERIR_TRANSMITTER,
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp37 // reduce the startup time. On success, return the LLVM module object created
73 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local
75 if (module == NULL) {
80 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false);
82 delete module;
100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local
102 if (module == NULL) {
107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false);
109 delete module;
120 ALOGE("Bitcode of RenderScript module doe
169 llvm::Module *module = local
[all...]
H A DCompiler.cpp58 return "Failed to materialize the module.";
248 llvm::Module &module = pScript.getSource().getModule(); local
255 const std::string &triple = module.getTargetTriple();
270 // Materialize the bitcode module.
271 if (module.getMaterializer() != NULL) {
272 // A module with non-null materializer means that it is a lazy-load module.
275 std::error_code ec = module.materializeAllPermanently();
277 ALOGE("Failed to materialize the module `%s'! (%s)",
278 module
288 *IRStream << module; local
[all...]
/frameworks/compile/mclinker/unittests/
H A DELFBinaryReaderTest.cpp48 Module module("test", script);
50 IRBuilder builder(module, config);
H A DLinkerTest.cpp56 Module module("test", script);
62 IRBuilder builder(module, config);
66 if (linker.link(module, builder))
67 linker.emit(module, "./test.so");
102 Module module("libplasma.so", script);
103 IRBuilder builder(module, config);
126 if (linker.link(module, builder)) {
127 linker.emit(module, "libplasma.so"); ///< -o libplasma.so
355 Module module(script);
356 IRBuilder builder(module, confi
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp128 llvm::Module *module = NULL; local
131 module = llvm_3_0::ParseBitcodeFile(MEM.get(), *mContext, &error);
133 module = llvm_2_7::ParseBitcodeFile(MEM.get(), *mContext, &error);
139 if (!module) {
149 llvm_3_2::WriteBitcodeToFile(module, OS);
/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp80 sp<ISoundTrigger>& module)
89 module = interface_cast<ISoundTrigger>(reply.readStrongBinder());
145 sp<ISoundTrigger> module; local
146 status_t status = attach(handle, client, module);
148 if (module != 0) {
150 reply->writeStrongBinder(module->asBinder());
78 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/mclinker/tools/mcld/
H A Dmain.cpp120 mcld::Module module(script);
121 mcld::IRBuilder builder(module, config);
124 if (!ConfigLinker(argc, argv, "MCLinker\n", module, script, config, builder,
145 if (!linker.link(module, builder)) {
151 if (!linker.emit(module, module.name())) {
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp114 const llvm::Module &module = pSource.getModule(); local
115 const char *module_name = module.getModuleIdentifier().c_str();
118 module.getNamedMetadata(pragma_metadata_name);
120 module.getNamedMetadata(export_var_metadata_name);
122 module.getNamedMetadata(export_func_metadata_name);
124 module.getNamedMetadata(export_foreach_name_metadata_name);
126 module.getNamedMetadata(export_foreach_metadata_name);
128 module.getNamedMetadata(object_slot_metadata_name);
321 module.getModuleIdentifier().c_str());
326 module
[all...]
H A DRSCompiler.cpp37 llvm::Module &module = script.getSource().getModule(); local
38 bcinfo::MetadataExtractor me(&module);
40 bccAssert(false && "Could not extract metadata for module!");
H A DRSEmbedInfo.cpp40 /* RSEmbedInfoPass - This pass operates on the entire module and embeds a
60 static std::string getRSInfoString(const llvm::Module *module) { argument
63 bcinfo::MetadataExtractor me(module);
65 bccAssert(false && "Could not extract RS metadata for module!");
/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,
H A DISoundTriggerHwService.h41 sp<ISoundTrigger>& module) = 0;
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp63 ALOGE("couldn't load sound trigger module %s.%s (%s)",
86 ALOGI("loaded default module %s, handle %d", descriptor.properties.description,
90 sp<Module> module = new Module(this, dev, descriptor, client); local
91 mModules.add(descriptor.handle, module);
129 ALOGV("attach module %d", handle);
143 sp<Module> module = mModules.valueAt(index); local
145 module->setClient(client);
146 client->asBinder()->linkToDeath(module);
147 moduleInterface = module;
149 module
166 detachModule(sp<Module> module) argument
218 Module *module = (Module *)cookie; local
266 sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module) argument
296 Module *module = (Module *)cookie; local
323 sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module) argument
361 sendServiceStateEvent_l(sound_trigger_service_state_t state, Module *module) argument
391 sp<Module> module; local
469 CallbackEvent(event_type type, sp<IMemory> memory, wp<Module> module) argument
[all...]
H A DSoundTriggerHwService.h54 sp<ISoundTrigger>& module);
91 CallbackEvent(event_type type, sp<IMemory> memory, wp<Module> module);
176 void detachModule(sp<Module> module);
180 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
184 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
187 void sendServiceStateEvent_l(sound_trigger_service_state_t state, Module *module);
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java29 * on a given sound trigger hardware module.
59 * Detach from this module. The {@link SoundTrigger.StatusListener} callback will not be called
189 SoundTriggerModule module = (SoundTriggerModule)((WeakReference)module_ref).get();
190 if (module == null) {
194 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate;
/frameworks/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp350 static sp<SoundTrigger> setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) argument
355 if (module.get()) {
356 module->incStrong((void*)setSoundTrigger);
361 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get());
409 ALOGV("listModules module %zu id %d description %s maxSoundModels %d",
452 sp<SoundTrigger> module = SoundTrigger::attach(handle, callback); local
453 if (module == 0) {
457 setSoundTrigger(env, thiz, module);
464 sp<SoundTrigger> module = setSoundTrigger(env, thiz, 0); local
465 ALOGV("detach module
476 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
500 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
652 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
667 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
760 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImplLegacy.cpp65 static audio_io_handle_t open_output(audio_module_handle_t module, argument
92 status_t status = af->openOutput(module, &output, &config, pDevices,
119 audio_module_handle_t module,
128 return open_output(module, pDevices, pSamplingRate, pFormat, pChannelMask,
176 static audio_io_handle_t open_input(audio_module_handle_t module, argument
196 status_t status = af->openInput(module, &input, &config, pDevices,
219 audio_module_handle_t module,
225 return open_input(module, pDevices, pSamplingRate, pFormat, pChannelMask);
118 aps_open_output_on_module(void *service __unused, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
218 aps_open_input_on_module(void *service __unused, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask) argument
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/native/libs/ui/
H A DGraphicBufferAllocator.cpp41 hw_module_t const* module; local
42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
45 gralloc_open(module, &mAllocDev);
H A DGraphicBufferMapper.cpp43 hw_module_t const* module; local
44 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
45 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
47 mAllocMod = (gralloc_module_t const *)module;

Completed in 525 milliseconds

1234