Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/jni/
Dcom_android_server_LightsService.cpp51 static light_device_t* get_device(hw_module_t* module, char const* name) in get_device() argument
55 err = module->methods->open(module, name, &device); in get_device()
66 hw_module_t* module; in init_native() local
71 err = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); in init_native()
74 = get_device(module, LIGHT_ID_BACKLIGHT); in init_native()
76 = get_device(module, LIGHT_ID_KEYBOARD); in init_native()
78 = get_device(module, LIGHT_ID_BUTTONS); in init_native()
80 = get_device(module, LIGHT_ID_BATTERY); in init_native()
82 = get_device(module, LIGHT_ID_NOTIFICATIONS); in init_native()
84 = get_device(module, LIGHT_ID_ATTENTION); in init_native()
[all …]
Dcom_android_server_location_GpsLocationProvider.cpp238 hw_module_t* module; in android_location_GpsLocationProvider_class_init_native() local
253 err = hw_get_module(GPS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); in android_location_GpsLocationProvider_class_init_native()
256 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device); in android_location_GpsLocationProvider_class_init_native()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_getbits.cpp129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getNbits()
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getNbits()
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); in getNbits()
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); in getNbits()
141 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getNbits()
170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo9bits()
171 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo9bits()
178 bitIndex = module(ptBitStream->usedBits, INBUF_BIT_WIDTH); in getUpTo9bits()
207 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); in getUpTo17bits()
208 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); in getUpTo17bits()
[all …]
Dpvmp3_framedecoder.cpp562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; in fillDataBuf()
607 pVars->mainDataStream.offset = module(pVars->mainDataStream.offset, BUFSIZE); in fillMainDataBuf()
614 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
615 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset++ , BUFSIZE))); in fillMainDataBuf()
619 … fillDataBuf(&pVars->mainDataStream, *(pVars->inputStream.pBuffer + module(offset , BUFSIZE))); in fillMainDataBuf()
Dpvmp3_dec_defs.h56 #define module(x, POW2) ((x)&(POW2-1)) macro
/frameworks/compile/libbcc/lib/ExecutionEngine/
DSourceInfo.cpp98 SourceInfo *SourceInfo::createFromModule(llvm::Module *module, in createFromModule() argument
107 result->module = module; in createFromModule()
125 if (module) in prepareModule()
165 module = llvm::ParseBitcodeFile(mem.get(), *context, &errmsg); in prepareModule()
166 if (module == NULL) { in prepareModule()
172 return (module == NULL); in prepareModule()
176 if (module != NULL) { in ~SourceInfo()
177 llvm::LLVMContext *context = &module->getContext(); in ~SourceInfo()
178 delete module; in ~SourceInfo()
DSourceInfo.h45 llvm::Module *module; variable
67 SourceInfo() : module(NULL), shared_context(false) { } in SourceInfo()
78 static SourceInfo *createFromModule(llvm::Module *module,
82 return module; in getModule()
86 return (module) ? &module->getContext() : NULL; in getContext()
DScriptCompiled.h76 int readModule(llvm::Module *module) { in readModule() argument
77 return mCompiler.readModule(module); in readModule()
80 int linkModule(llvm::Module *module) { in linkModule() argument
81 return mCompiler.linkModule(module); in linkModule()
DCompiler.h122 int readModule(llvm::Module *module) { in readModule() argument
123 mModule = module; in readModule()
127 int linkModule(llvm::Module *module);
Dbcc.cpp89 LLVMModuleRef module, in bccReadModule() argument
92 return unwrap(script)->addSourceModule(0, unwrap(module), flags); in bccReadModule()
DScript.cpp116 llvm::Module *module, in addSourceModule() argument
124 if (!module) { in addSourceModule()
130 mSourceList[idx] = SourceInfo::createFromModule(module, flags); in addSourceModule()
/frameworks/compile/libbcc/bcinfo/
DBitcodeTranslator.cpp124 llvm::Module *module = NULL; in translate() local
127 module = llvm_3_0::ParseBitcodeFile(MEM.get(), *mContext, &error); in translate()
129 module = llvm_2_7::ParseBitcodeFile(MEM.get(), *mContext, &error); in translate()
135 if (!module) { in translate()
144 llvm::WriteBitcodeToFile(module, OS); in translate()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp41 hw_module_t const* module; in ANDROID_SINGLETON_STATIC_INSTANCE() local
42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in ANDROID_SINGLETON_STATIC_INSTANCE()
45 mAllocMod = (gralloc_module_t const *)module; in ANDROID_SINGLETON_STATIC_INSTANCE()
DGraphicBufferAllocator.cpp41 hw_module_t const* module; in GraphicBufferAllocator() local
42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in GraphicBufferAllocator()
45 gralloc_open(module, &mAllocDev); in GraphicBufferAllocator()
DFramebufferNativeWindow.cpp77 hw_module_t const* module; in FramebufferNativeWindow() local
78 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) == 0) { in FramebufferNativeWindow()
82 err = framebuffer_open(module, &fbDev); in FramebufferNativeWindow()
85 err = gralloc_open(module, &grDev); in FramebufferNativeWindow()
/frameworks/base/data/fonts/
DAndroid.mk117 define build-one-font-module
171 $(foreach f, $(font_src_files), $(call build-one-font-module, $(f)))
173 build-one-font-module :=
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c187 downmix_module_t *module; in DownmixLib_Create() local
227 module = malloc(sizeof(downmix_module_t)); in DownmixLib_Create()
229 module->itfe = &gDownmixInterface; in DownmixLib_Create()
231 module->context.state = DOWNMIX_STATE_UNINITIALIZED; in DownmixLib_Create()
233 ret = Downmix_Init(module); in DownmixLib_Create()
236 free(module); in DownmixLib_Create()
240 *pHandle = (effect_handle_t) module; in DownmixLib_Create()
242 ALOGV("DownmixLib_Create() %p , size %d", module, sizeof(downmix_module_t)); in DownmixLib_Create()
/frameworks/compile/slang/tests/F_struct_ptr/
Dstderr.txt.expect1 struct_ptr.rs:4:8: error: struct is not defined in this module
/frameworks/av/include/media/
DIAudioFlinger.h131 virtual audio_io_handle_t openOutput(audio_module_handle_t module,
144 virtual audio_io_handle_t openInput(audio_module_handle_t module,
/frameworks/base/packages/WAPPushManager/
Dproguard.flags12 #CTS module method
/frameworks/compile/libbcc/include/bcc/
Dbcc.h93 LLVMModuleRef module,
/frameworks/av/services/audioflinger/
DAudioPolicyService.cpp62 const struct hw_module_t *module; in AudioPolicyService() local
74 rc = hw_get_module(AUDIO_POLICY_HARDWARE_MODULE_ID, &module); in AudioPolicyService()
78 rc = audio_policy_dev_open(module, &mpAudioPolicyDev); in AudioPolicyService()
98 ALOGI("Loaded audio policy from %s (%s)", module->name, module->id); in AudioPolicyService()
1365 audio_module_handle_t module, in aps_open_output_on_module() argument
1378 return af->openOutput(module, pDevices, pSamplingRate, pFormat, pChannelMask, in aps_open_output_on_module()
1443 audio_module_handle_t module, in aps_open_input_on_module() argument
1455 return af->openInput(module, pDevices, pSamplingRate, pFormat, pChannelMask); in aps_open_input_on_module()
/frameworks/compile/libbcc/include/bcinfo/
DMetadataExtractor.h84 MetadataExtractor(const llvm::Module *module);
/frameworks/base/docs/html/tools/help/
Dmonkeyrunner_concepts.jd163 In a Python program, you access each class as a Python module. The monkeyrunner tool
164 does not import these modules automatically. To import a module, use the
168 from com.android.monkeyrunner import <module>
171 where <code>&lt;module&gt;</code> is the class name you want to import. You can import more
172 than one module in the same <code>from</code> statement by separating the module names with
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp361 virtual audio_io_handle_t openOutput(audio_module_handle_t module, in openOutput() argument
377 data.writeInt32(module); in openOutput()
438 virtual audio_io_handle_t openInput(audio_module_handle_t module, in openInput() argument
451 data.writeInt32(module); in openInput()
855 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); in onTransact() local
862 audio_io_handle_t output = openOutput(module, in onTransact()
902 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); in onTransact() local
908 audio_io_handle_t input = openInput(module, in onTransact()

12