Searched refs:module (Results 1 - 25 of 99) 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...]
/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/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/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);
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/compile/libbcc/lib/Core/
H A DSource.cpp40 // reduce the startup time. On success, return the LLVM module object created
82 llvm::Module *module = managedModule.release(); local
83 if (module == nullptr) {
87 Source *result = CreateFromModule(pContext, pName, *module, /* pNoDelete */false);
89 delete module;
112 llvm::Module *module = managedModule.release(); local
113 if (module == nullptr) {
117 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, /* pNoDelete */false);
119 delete module;
131 ALOGE("Bitcode of RenderScript module doe
173 llvm::Module *module = local
[all...]
H A DCompiler.cpp66 return "Failed to materialize the module.";
236 llvm::Module &module = pScript.getSource().getModule(); local
243 const std::string &triple = module.getTargetTriple();
267 // Sanitize module's target information.
268 module.setTargetTriple(getTargetMachine().getTargetTriple().str());
269 module.setDataLayout(getTargetMachine().createDataLayout());
271 // Materialize the bitcode module.
272 if (module.getMaterializer() != nullptr) {
273 // A module with non-null materializer means that it is a lazy-load module
289 *IRStream << module; local
322 llvm::Module &module = script.getSource().getModule(); local
446 llvm::Module &module = pScript.getSource().getModule(); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp147 static sp<Radio> setRadio(JNIEnv* env, jobject thiz, const sp<Radio>& module) argument
151 if (module.get()) {
152 module->incStrong((void*)setRadio);
157 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get());
417 ALOGV("%s module %zu id %d implementor %s product %s",
580 sp<Radio> module = Radio::attach(handle, configPtr, (bool)withAudio, callback); local
581 if (module == 0) {
585 setRadio(env, thiz, module);
592 sp<Radio> module = setRadio(env, thiz, 0); local
593 ALOGV("detach module
604 sp<Radio> module = getRadio(env, thiz); local
615 sp<Radio> module = getRadio(env, thiz); local
639 sp<Radio> module = getRadio(env, thiz); local
667 sp<Radio> module = getRadio(env, thiz); local
679 sp<Radio> module = getRadio(env, thiz); local
695 sp<Radio> module = getRadio(env, thiz); local
707 sp<Radio> module = getRadio(env, thiz); local
719 sp<Radio> module = getRadio(env, thiz); local
731 sp<Radio> module = getRadio(env, thiz); local
743 sp<Radio> module = getRadio(env, thiz); local
778 sp<Radio> module = getRadio(env, thiz); local
798 sp<Radio> module = getRadio(env, thiz); local
[all...]
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...]
/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/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,
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)",
87 ALOGI("loaded default module %s, handle %d", descriptor.properties.description,
91 sp<Module> module = new Module(this, dev, descriptor, client); local
92 mModules.add(descriptor.handle, module);
130 ALOGV("attach module %d", handle);
144 sp<Module> module = mModules.valueAt(index); local
146 module->setClient(client);
147 IInterface::asBinder(client)->linkToDeath(module);
148 moduleInterface = module;
150 module
167 detachModule(sp<Module> module) argument
219 Module *module = (Module *)cookie; local
274 sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module) argument
304 Module *module = (Module *)cookie; local
331 sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module) argument
369 sendServiceStateEvent_l(sound_trigger_service_state_t state, Module *module) argument
399 sp<Module> module; local
477 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);
179 void detachModule(sp<Module> module);
183 void sendRecognitionEvent(struct sound_trigger_recognition_event *event, Module *module);
187 void sendSoundModelEvent(struct sound_trigger_model_event *event, Module *module);
190 void sendServiceStateEvent_l(sound_trigger_service_state_t state, Module *module);
/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/av/services/audiopolicy/service/
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
204 status_t status = af->openInput(module, &input, &config, pDevices,
227 audio_module_handle_t module,
233 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
226 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
/frameworks/support/buildSrc/
H A DstudioCompat.gradle83 * Adds a link to the previous ApiModule for each module. This information is later used when
98 * For each APIModule in the given projectConfig, creates a gradle module. These modules use the
103 projectConfig.apiTargets.each { ApiModule module ->
104 logger.info "creating ${module.moduleName}"
105 module.setParentModuleDependencies(projectConfig.dependencies)
106 include "${module.moduleName}"
107 def folder = new File(rootDir, "${projectConfig.folder}/${module.folderName}")
108 project("${module.moduleName}").projectDir = folder
109 project("${module.moduleName}").buildFileName = Paths.get(folder.toURI()).relativize(buildFile)
110 gradle.ext.folderToApiModuleMapping[folder.canonicalPath] = module
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java208 RadioModule module = (RadioModule)((WeakReference)module_ref).get();
209 if (module == null) {
213 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate;
/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);
107 // Filter out any usage bits that should not be passed to the gralloc module
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp101 bccAssert("Could not extract RS pragma metadata for module!");
322 ALOGE("Cannot extract metadata from module");
328 // Link all input modules into a single module
332 llvm::Module module("Merged Script Group", context);
334 llvm::Linker linker(module);
338 ALOGE("Linking for module in source failed.");
360 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) {
376 if (!renameInvoke(Context, source, slot, newName, &module)) {
382 // Compile the new module with fused kernels
386 Source::CreateFromModule(Context, pOutputFilepath, module, tru
[all...]
/frameworks/av/services/radio/
H A DRadioService.cpp62 ALOGE("couldn't load radio module %s.%s (%s)",
88 ALOGI("loaded default module %s, handle %d", properties.product, properties.handle);
91 sp<Module> module = new Module(dev, properties); local
92 mModules.add(properties.handle, module);
136 sp<Module> module = mModules.valueAt(index); local
139 config = module->getDefaultConfig();
146 radio = module->addClient(client, config, withAudio);
423 // There is a limited amount of tuners and a limited amount of radio audio sources per module.
425 // The numbers of tuners and sources are indicated in the module properties.
645 RadioService::ModuleClient::ModuleClient(const sp<Module>& module, argument
685 sp<Module> module = mModule.promote(); local
764 sp<Module> module; local
782 sp<Module> module; local
[all...]

Completed in 1503 milliseconds

1234