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

12

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp62 status_t CameraClient::initialize(camera_module_t *module) { argument
78 res = mHardware->initialize(&module->common);
H A DCamera2Client.cpp70 status_t Camera2Client::initialize(camera_module_t *module) argument
76 res = Camera2ClientBase::initialize(module);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp68 status_t CameraDeviceClient::initialize(camera_module_t *module) argument
73 res = Camera2ClientBase::initialize(module);
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp63 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 client->asBinder()->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...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp292 hw_module_t* module; local
294 const_cast<const hw_module_t **>(&module));
296 ALOGE("Error acquiring hardware module: %d", err);
301 err = module->methods->open(module, HDMI_CEC_HARDWARE_INTERFACE, &device);
303 ALOGE("Error opening hardware module: %d", err);
H A Dcom_android_server_tv_TvInputHal.cpp312 tv_input_module_t* module = NULL; local
314 (hw_module_t const**)&module);
316 ALOGE("Couldn't load %s module (%s)",
322 err = module->common.methods->open(
323 (hw_module_t*)module,
H A Dcom_android_server_location_FlpHardwareProvider.cpp144 * the HW module and obtaining the proper interfaces.
174 // open the hardware module
175 const hw_module_t* module = NULL; local
176 int err = hw_get_module(FUSED_LOCATION_HARDWARE_MODULE_ID, &module);
182 err = module->methods->open(
183 module,
H A Dcom_android_server_location_GpsLocationProvider.cpp444 hw_module_t* module; local
479 err = hw_get_module(GPS_HARDWARE_MODULE_ID, (hw_module_t const**)&module);
482 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp211 // Load and prepare the hardware composer module. Sets mHwc.
214 hw_module_t const* module; local
216 if (hw_get_module(HWC_HARDWARE_MODULE_ID, &module) != 0) {
217 ALOGE("%s module not found", HWC_HARDWARE_MODULE_ID);
221 int err = hwc_open_1(module, &mHwc);
239 // Load and prepare the FB HAL, which uses the gralloc module. Sets mFbDev.
242 hw_module_t const* module; local
244 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
246 ALOGE("%s module not found", GRALLOC_HARDWARE_MODULE_ID);
250 return framebuffer_open(module,
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c103 reverb_module_t *module; local
126 module = malloc(sizeof(reverb_module_t));
128 module->itfe = &gReverbInterface;
130 module->context.mState = REVERB_STATE_UNINITIALIZED;
138 ret = Reverb_Init(module, aux, preset);
141 free(module);
145 *pHandle = (effect_handle_t) module;
147 module->context.mState = REVERB_STATE_INITIALIZED;
149 ALOGV("EffectLibCreateEffect %p ,size %d", module, sizeof(reverb_module_t));
442 * pRvbModule - pointer to reverb effect module
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h92 status_t initialize(hw_module_t *module) argument
95 camera_module_t *cameraModule = reinterpret_cast<camera_module_t *>(module);
101 if (module->module_api_version >= CAMERA_MODULE_API_VERSION_2_3 &&
104 rc = cameraModule->open_legacy(module, mName.string(),
108 rc = CameraService::filterOpenErrorCode(module->methods->open(
109 module, mName.string(), (hw_device_t **)&mDevice));
/frameworks/native/opengl/libagl/
H A Dtexture.cpp135 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 Degl.cpp245 gralloc_module_t const* module; member in struct:android::egl_window_surface_v2_t
345 nativeWindow(window), buffer(0), previousBuffer(0), module(0),
350 module = reinterpret_cast<gralloc_module_t const*>(pModule);
439 err = module->lock(module, buf->handle,
450 err = module->unlock(module, buf->handle);
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp438 virtual status_t openOutput(audio_module_handle_t module, argument
451 data.writeInt32(module);
512 virtual status_t openInput(audio_module_handle_t module, argument
525 data.writeInt32(module);
1090 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local
1098 status_t status = openOutput(module, &output, &config,
1134 audio_module_handle_t module = (audio_module_handle_t)data.readInt32(); local
1143 status_t status = openInput(module, &input, &config,
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp56 status_t Camera2Device::initialize(camera_module_t *module) argument
71 res = CameraService::filterOpenErrorCode(module->common.methods->open(
72 &module->common, name, reinterpret_cast<hw_device_t**>(&device)));
90 res = module->get_camera_info(mId, &info);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp89 status_t Camera3Device::initialize(camera_module_t *module) argument
109 res = CameraService::filterOpenErrorCode(module->common.methods->open(
110 &module->common, deviceName.string(),
130 res = CameraService::filterGetInfoErrorCode(module->get_camera_info(
/frameworks/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp353 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/audioflinger/
H A DAudioFlinger.cpp144 ALOGE_IF(rc, "%s couldn't load audio hw module %s.%s (%s)", __func__,
275 audio_module_handle_t module,
278 // if module is 0, the request comes from an old policy manager and we should load
280 if (module == 0) {
285 // then try to find a module supporting the requested device.
294 // check a match for the requested module handle
295 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueFor(module);
1513 ALOGW("loadHwModule() module %s already loaded", name);
1522 ALOGI("loadHwModule() error %d loading module %s ", rc, name);
1530 ALOGI("loadHwModule() init check error %d for module
274 findSuitableHwDev_l( audio_module_handle_t module, audio_devices_t devices) argument
1690 openOutput_l(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t devices, const String8& address, audio_output_flags_t flags) argument
1772 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
1947 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
1971 openInput_l(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp255 sp<HwModule> module = getModuleForDevice(device); local
256 if (module == 0) {
257 ALOGD("setDeviceConnectionState() could not find HW module for device %08x",
263 mAvailableOutputDevices[index]->mModule = module;
368 sp<HwModule> module = getModuleForDevice(device); local
369 if (module == NULL) {
370 ALOGW("setDeviceConnectionState(): could not find HW module for device %08x",
381 mAvailableInputDevices[index]->mModule = module;
509 // If the RX device is on the primary HW module, then use legacy routing method for voice calls
514 // If the TX device is also on the primary HW module, setOutputDevic
2142 sp<HwModule> module; local
2192 sp<HwModule> module; local
2495 sp <HwModule> module; local
2522 sp <HwModule> module; local
6506 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role, const sp<HwModule>& module) argument
7358 IOProfile(const String8& name, audio_port_role_t role, const sp<HwModule>& module) argument
7847 sp<HwModule> module = new HwModule(root->name); local
7907 loadGlobalConfig(cnode *root, const sp<HwModule>& module) argument
7980 sp<HwModule> module; local
[all...]

Completed in 465 milliseconds

12