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

12

/frameworks/base/data/fonts/
H A DAndroid.mk102 # It also serves as the module name and the dest file name.
103 define build-one-font-module
157 $(foreach f, $(font_src_files), $(call build-one-font-module, $(f)))
159 build-one-font-module :=
/frameworks/compile/libbcc/lib/Renderscript/
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!");
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...]
/frameworks/native/libs/ui/
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;
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 DFramebufferNativeWindow.cpp78 hw_module_t const* module; local
79 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) == 0) {
83 err = framebuffer_open(module, &fbDev);
86 err = gralloc_open(module, &grDev);
149 ALOGE("Couldn't get gralloc module");
/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/base/services/core/jni/
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,
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...]
/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);
H A DMetadataExtractor.cpp77 MetadataExtractor::MetadataExtractor(const llvm::Module *module) argument
78 : mModule(module), mBitcode(NULL), mBitcodeSize(0), mExportVarCount(0),
401 ALOGE("Invalid/empty bitcode/module");
/frameworks/compile/libbcc/lib/Core/
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...]
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...]
/frameworks/base/core/jni/
H A Dandroid_server_FingerprintManager.cpp56 fingerprint_module_t const* module; member in struct:android::__anon843
139 ALOGE("No valid fingerprint module");
143 gContext.module = reinterpret_cast<const fingerprint_module_t*>(hw_module);
145 if (gContext.module->common.methods->open == NULL) {
152 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) {
/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.cpp158 // limit number of sources to 1 for now or 2 sources for special cross hw module case.
184 ALOGW("createAudioPatch() bad src hw module %d", srcModule);
215 // limit to device to device connection if not on same hw module
217 ALOGW("createAudioPatch() invalid sink type for cross hw module");
339 ALOGW("createAudioPatch() bad src hw module %d", srcModule);
351 // limit to connections between sinks and sources on same HW module
576 ALOGW("releaseAudioPatch() bad src hw module %d", srcModule);
623 ALOGW("releaseAudioPatch() bad src hw module %d", srcModule);
673 audio_module_handle_t module; local
675 module
[all...]
/frameworks/av/services/audiopolicy/
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);
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
203 status_t status = af->openInput(module, &input, &config, pDevices,
226 audio_module_handle_t module,
232 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
225 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 DAudioPolicyService.cpp69 const struct hw_module_t *module; local
87 rc = hw_get_module(AUDIO_POLICY_HARDWARE_MODULE_ID, &module);
91 rc = audio_policy_dev_open(module, &mpAudioPolicyDev);
109 ALOGI("Loaded audio policy from %s (%s)", module->name, module->id);
1000 audio_module_handle_t module,
1021 audio_module_handle_t module,
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.cpp53 status_t ProCamera2Client::initialize(camera_module_t *module) argument
58 res = Camera2ClientBase::initialize(module);
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp81 status_t Camera2ClientBase<TClientBase>::initialize(camera_module_t *module) { argument
99 res = mDevice->initialize(module);
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp318 std::unique_ptr<llvm::Module> module; local
322 module.reset(moduleOrError.get());
323 ec = module->materializeAllPermanently();
328 module.reset();
341 module->print(tof->os(), ann.get());
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c157 downmix_module_t *module; local
197 module = malloc(sizeof(downmix_module_t));
199 module->itfe = &gDownmixInterface;
201 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
203 ret = Downmix_Init(module);
206 free(module);
210 *pHandle = (effect_handle_t) module;
212 ALOGV("DownmixLib_Create() %p , size %zu", module, sizeof(downmix_module_t));
523 * pDwmModule pointer to downmix effect module
547 ALOGV("Downmix_Init module
[all...]

Completed in 5455 milliseconds

12