/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 41 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 mAllocMod = (gralloc_module_t const *)module;
|
H A D | GraphicBufferAllocator.cpp | 41 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 D | FramebufferNativeWindow.cpp | 77 hw_module_t const* module; local 78 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) == 0) { 82 err = framebuffer_open(module, &fbDev); 85 err = gralloc_open(module, &grDev); 143 ALOGE("Couldn't get gralloc module");
|
/frameworks/base/data/fonts/ |
H A D | Android.mk | 116 # It also serves as the module name and the dest file name. 117 define build-one-font-module 171 $(foreach f, $(font_src_files), $(call build-one-font-module, $(f))) 173 build-one-font-module :=
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
H A D | SourceInfo.cpp | 98 SourceInfo *SourceInfo::createFromModule(llvm::Module *module, argument 107 result->module = module; 125 if (module) 165 module = llvm::ParseBitcodeFile(mem.get(), *context, &errmsg); 166 if (module == NULL) { 172 return (module == NULL); 176 if (module != NULL) { 177 llvm::LLVMContext *context = &module->getContext(); 178 delete module; [all...] |
H A D | SourceInfo.h | 43 // Note: module should not be a part of union. Since, we are going to 44 // use module to store the pointer to parsed bitcode. 45 llvm::Module *module; member in class:bcc::SourceInfo 46 // If true, the LLVM context behind the module is shared with others. 47 // Therefore, don't try to destroy the context it when destroy the module. 67 SourceInfo() : module(NULL), shared_context(false) { } 78 static SourceInfo *createFromModule(llvm::Module *module, 82 return module; 86 return (module) ? &module [all...] |
H A D | Compiler.h | 122 int readModule(llvm::Module *module) { argument 123 mModule = module; 127 int linkModule(llvm::Module *module);
|
H A D | ScriptCompiled.h | 76 int readModule(llvm::Module *module) { argument 77 return mCompiler.readModule(module); 80 int linkModule(llvm::Module *module) { argument 81 return mCompiler.linkModule(module);
|
H A D | bcc.cpp | 89 LLVMModuleRef module, 92 return unwrap(script)->addSourceModule(0, unwrap(module), flags); 87 bccReadModule(BCCScriptRef script, char const *resName , LLVMModuleRef module, unsigned long flags) argument
|
H A D | Script.cpp | 116 llvm::Module *module, 124 if (!module) { 126 ALOGE("Invalid argument: module = NULL\n"); 130 mSourceList[idx] = SourceInfo::createFromModule(module, flags); 134 ALOGE("Out of memory when add source module\n"); 351 ALOGE("Unable to setup source module\n"); 358 ALOGE("Unable to setup library module\n"); 363 // Set the main source module 365 ALOGE("Unable to read source module\n"); 369 // Link the source module wit 115 addSourceModule(size_t idx, llvm::Module *module, unsigned long flags) argument [all...] |
/frameworks/compile/libbcc/bcinfo/ |
H A D | BitcodeTranslator.cpp | 124 llvm::Module *module = NULL; local 127 module = llvm_3_0::ParseBitcodeFile(MEM.get(), *mContext, &error); 129 module = llvm_2_7::ParseBitcodeFile(MEM.get(), *mContext, &error); 135 if (!module) { 144 llvm::WriteBitcodeToFile(module, OS);
|
H A D | MetadataExtractor.cpp | 75 MetadataExtractor::MetadataExtractor(const llvm::Module *module) argument 76 : mModule(module), mBitcode(NULL), mBitcodeSize(0), mExportVarCount(0), 382 ALOGE("Invalid/empty bitcode/module");
|
/frameworks/base/services/jni/ |
H A D | com_android_server_LightsService.cpp | 51 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 D | com_android_server_location_GpsLocationProvider.cpp | 238 hw_module_t* module; local 253 err = hw_get_module(GPS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); 256 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 54 ; 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/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 187 downmix_module_t *module; local 227 module = malloc(sizeof(downmix_module_t)); 229 module->itfe = &gDownmixInterface; 231 module->context.state = DOWNMIX_STATE_UNINITIALIZED; 233 ret = Downmix_Init(module); 236 free(module); 240 *pHandle = (effect_handle_t) module; 242 ALOGV("DownmixLib_Create() %p , size %d", module, sizeof(downmix_module_t)); 556 * pDwmModule pointer to downmix effect module 580 ALOGV("Downmix_Init module [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 120 reverb_module_t *module; local 143 module = malloc(sizeof(reverb_module_t)); 145 module->itfe = &gReverbInterface; 147 module->context.mState = REVERB_STATE_UNINITIALIZED; 155 ret = Reverb_Init(module, aux, preset); 158 free(module); 162 *pHandle = (effect_handle_t) module; 164 module->context.mState = REVERB_STATE_INITIALIZED; 166 ALOGV("EffectLibCreateEffect %p ,size %d", module, sizeof(reverb_module_t)); 459 * pRvbModule - pointer to reverb effect module [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 361 virtual audio_io_handle_t openOutput(audio_module_handle_t module, argument 377 data.writeInt32(module); 438 virtual audio_io_handle_t openInput(audio_module_handle_t module, argument 451 data.writeInt32(module); 855 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local 862 audio_io_handle_t output = openOutput(module, 902 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local 908 audio_io_handle_t input = openInput(module,
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraHardwareInterface.h | 97 status_t initialize(hw_module_t *module) argument 100 int rc = module->methods->open(module, mName.string(),
|
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 135 gralloc_module_t const* module = local 139 int err = module->lock(module, native_buffer->handle, 163 gralloc_module_t const* module = local 166 module->unlock(module, native_buffer->handle);
|
H A D | egl.cpp | 243 gralloc_module_t const* module; member in struct:android::egl_window_surface_v2_t 343 nativeWindow(window), buffer(0), previousBuffer(0), module(0), 348 module = reinterpret_cast<gralloc_module_t const*>(pModule); 431 err = module->lock(module, buf->handle, 442 err = module->unlock(module, buf->handle);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 62 const struct hw_module_t *module; local 74 rc = hw_get_module(AUDIO_POLICY_HARDWARE_MODULE_ID, &module); 78 rc = audio_policy_dev_open(module, &mpAudioPolicyDev); 98 ALOGI("Loaded audio policy from %s (%s)", module->name, module->id); 1365 audio_module_handle_t module, 1378 return af->openOutput(module, pDevices, pSamplingRate, pFormat, pChannelMask, 1443 audio_module_handle_t module, 1455 return af->openInput(module, pDevices, pSamplingRate, pFormat, pChannelMask); 1364 aps_open_output_on_module(void *service, 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) argument 1442 aps_open_input_on_module(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask) argument
|
H A D | AudioFlinger.cpp | 191 ALOGE_IF(rc, "%s couldn't load audio hw module %s.%s (%s)", __func__, 281 audio_hw_device_t* AudioFlinger::findSuitableHwDev_l(audio_module_handle_t module, uint32_t devices) argument 283 // if module is 0, the request comes from an old policy manager and we should load 285 if (module == 0) { 291 // check a match for the requested module handle 292 AudioHwDevice *audioHwdevice = mAudioHwDevs.valueFor(module); 297 // then try to find a module supporting the requested device. 6712 ALOGW("loadHwModule() module %s already loaded", name); 6721 ALOGI("loadHwModule() error %d loading module %s ", rc, name); 6729 ALOGI("loadHwModule() init check error %d for module 6751 openOutput(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) argument 6968 openInput(audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, uint32_t *pChannelMask) argument [all...] |