/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_getbits.cpp | 74 ; 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 D | com_android_server_lights_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_ConsumerIrService.cpp | 33 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 D | ELFBinaryReaderTest.cpp | 43 Module module("test", script); 45 IRBuilder builder(module, config);
|
H A D | LinkerTest.cpp | 50 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/compile/libbcc/lib/Core/ |
H A D | Source.cpp | 37 // 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 == nullptr) { 79 Source *result = CreateFromModule(pContext, pName, *module, /* pNoDelete */false); 81 delete module; 99 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, local 101 if (module == nullptr) { 105 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, /* pNoDelete */false); 107 delete module; 118 ALOGE("Bitcode of RenderScript module doe 156 llvm::Module *module = local [all...] |
H A D | Compiler.cpp | 64 return "Failed to materialize the module."; 216 llvm::Module &module = pScript.getSource().getModule(); local 223 const std::string &triple = module.getTargetTriple(); 238 // Materialize the bitcode module. 239 if (module.getMaterializer() != nullptr) { 240 // A module with non-null materializer means that it is a lazy-load module. 243 std::error_code ec = module.materializeAllPermanently(); 245 ALOGE("Failed to materialize the module `%s'! (%s)", 246 module 256 *IRStream << module; local 289 llvm::Module &module = script.getSource().getModule(); local 421 llvm::Module &module = pScript.getSource().getModule(); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_Radio.cpp | 145 static sp<Radio> setRadio(JNIEnv* env, jobject thiz, const sp<Radio>& module) argument 149 if (module.get()) { 150 module->incStrong((void*)setRadio); 155 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); 400 ALOGV("%s module %zu id %d implementor %s product %s", 562 sp<Radio> module = Radio::attach(handle, configPtr, (bool)withAudio, callback); local 563 if (module == 0) { 567 setRadio(env, thiz, module); 574 sp<Radio> module = setRadio(env, thiz, 0); local 575 ALOGV("detach module 586 sp<Radio> module = getRadio(env, thiz); local 597 sp<Radio> module = getRadio(env, thiz); local 621 sp<Radio> module = getRadio(env, thiz); local 649 sp<Radio> module = getRadio(env, thiz); local 661 sp<Radio> module = getRadio(env, thiz); local 677 sp<Radio> module = getRadio(env, thiz); local 689 sp<Radio> module = getRadio(env, thiz); local 701 sp<Radio> module = getRadio(env, thiz); local 713 sp<Radio> module = getRadio(env, thiz); local 725 sp<Radio> module = getRadio(env, thiz); local 760 sp<Radio> module = getRadio(env, thiz); local 780 sp<Radio> module = getRadio(env, thiz); local [all...] |
H A D | android_hardware_SoundTrigger.cpp | 353 static sp<SoundTrigger> setSoundTrigger(JNIEnv* env, jobject thiz, const sp<SoundTrigger>& module) argument 358 if (module.get()) { 359 module->incStrong((void*)setSoundTrigger); 364 env->SetLongField(thiz, gModuleFields.mNativeContext, (jlong)module.get()); 412 ALOGV("listModules module %zu id %d description %s maxSoundModels %d", 455 sp<SoundTrigger> module = SoundTrigger::attach(handle, callback); local 456 if (module == 0) { 460 setSoundTrigger(env, thiz, module); 467 sp<SoundTrigger> module = setSoundTrigger(env, thiz, 0); local 468 ALOGV("detach module 479 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local 503 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local 655 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local 670 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local 763 sp<SoundTrigger> module = getSoundTrigger(env, thiz); local [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 134 sp<HwModule> module = new HwModule(root->name); local 141 status_t tmpStatus = module->loadDevice(node); 153 status_t tmpStatus = module->loadOutput(node); 165 status_t tmpStatus = module->loadInput(node); 172 loadGlobalConfig(root, module, availableInputDevices, availableOutputDevices, 176 hwModules.add(module); 194 ALOGV("loadHwModules() loading module %s", node->name); 202 void ConfigParsingUtils::loadGlobalConfig(cnode *root, const sp<HwModule>& module, argument 214 if (module != NULL) { 215 declaredDevices = module [all...] |
/frameworks/av/soundtrigger/ |
H A D | ISoundTriggerHwService.cpp | 82 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 D | SoundTrigger.cpp | 94 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/include/soundtrigger/ |
H A D | SoundTrigger.h | 41 static sp<SoundTrigger> attach(const sound_trigger_module_handle_t module, 69 SoundTrigger(sound_trigger_module_handle_t module,
|
H A D | ISoundTriggerHwService.h | 41 sp<ISoundTrigger>& module) = 0;
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 63 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 IInterface::asBinder(client)->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 D | SoundTriggerHwService.h | 54 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 D | SoundTriggerModule.java | 26 * 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/camera/libcameraservice/common/ |
H A D | CameraModule.h | 27 * A wrapper class for HAL camera module. 35 CameraModule(camera_module_t *module);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImplLegacy.cpp | 65 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
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioModule.java | 203 RadioModule module = (RadioModule)((WeakReference)module_ref).get(); 204 if (module == null) { 208 NativeEventHandlerDelegate delegate = module.mEventHandlerDelegate;
|
/frameworks/native/libs/ui/ |
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); 107 // Filter out any usage bits that should not be passed to the gralloc module
|
/frameworks/native/services/inputflinger/host/ |
H A D | InputDriver.cpp | 58 const hw_module_t* module; local 59 int err = input_open(&module, name); 60 LOG_ALWAYS_FATAL_IF(err != 0, "Input module %s not found", name); 61 mHal = reinterpret_cast<const input_module_t*>(module);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSCompilerDriver.cpp | 99 assert("Could not extract RS pragma metadata for module!"); 289 // Link all input modules into a single module 293 llvm::Module module("Merged Script Group", context); 295 llvm::Linker linker(&module); 298 ALOGE("Linking for module in source failed."); 318 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) { 334 if (!renameInvoke(Context, source, slot, newName, &module)) { 340 // Compile the new module with fused kernels 344 Source::CreateFromModule(Context, pOutputFilepath, module, true)); 359 bcinfo::MetadataExtractor me(&module); [all...] |
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 62 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); 422 // There is a limited amount of tuners and a limited amount of radio audio sources per module. 424 // The numbers of tuners and sources are indicated in the module properties. 644 RadioService::ModuleClient::ModuleClient(const sp<Module>& module, argument 684 sp<Module> module = mModule.promote(); local 763 sp<Module> module; local 781 sp<Module> module; local [all...] |
/frameworks/base/data/fonts/ |
H A D | Android.mk | 103 # It also serves as the module name and the dest file name. 104 define build-one-font-module 120 $(foreach f, $(font_src_files), $(call build-one-font-module, $(f))) 122 build-one-font-module :=
|