/hardware/libhardware/include/hardware/ |
H A D | audio_policy.h | 56 * - keep track of current system state (removable device connections, phone 76 * route (destination device). It also make sure that streams are not 88 /* indicate a change in device connection status */ 90 audio_devices_t device, 94 /* retrieve a device connection status */ 97 audio_devices_t device, 108 /* force using a specific device category for the specified usage */ 113 /* retrieve current device category forced for a given usage */ 155 /* request an input appropriate for record from the supplied device with 195 * index for the specified device 430 audio_policy_dev_open(const hw_module_t* module, struct audio_policy_device** device) argument 437 audio_policy_dev_close(struct audio_policy_device* device) argument [all...] |
H A D | gralloc.h | 43 * Name of the graphics device to open 75 /* buffer will be used with the framebuffer device */ 211 * Every device data structure must begin with hw_device_t 255 /** convenience API for opening and closing a supported device */ 258 struct alloc_device_t** device) { 260 GRALLOC_HARDWARE_GPU0, (struct hw_device_t**)device); 263 static inline int gralloc_close(struct alloc_device_t* device) { argument 264 return device->common.close(&device->common); 257 gralloc_open(const struct hw_module_t* module, struct alloc_device_t** device) argument
|
H A D | hwcomposer.h | 58 * Name of the sensors device to open 467 * later use. It will be called immediately after the composer device is 535 /** convenience API for opening and closing a device */ 538 hwc_composer_device_1_t** device) { 540 HWC_HARDWARE_COMPOSER, (struct hw_device_t**)device); 543 static inline int hwc_close_1(hwc_composer_device_1_t* device) { argument 544 return device->common.close(&device->common); 537 hwc_open_1(const struct hw_module_t* module, hwc_composer_device_1_t** device) argument
|
H A D | sensors.h | 35 * Name of the sensors device to open 95 * This API is relative to the screen of the device in its default orientation, 96 * that is, if the device can be used in portrait or landscape, this API 98 * the axis are not swapped when the device's screen orientation changes. 162 * device minus the force of gravity. 172 * When the device lies flat on a table and is pushed on its left side 175 * When the device lies flat on a table, the acceleration value is +9.81, 176 * which correspond to the acceleration of the device (0 m/s^2) minus the 179 * When the device lies flat on a table and is pushed toward the sky, the 181 * acceleration of the device ( 473 sensors_open(const struct hw_module_t* module, struct sensors_poll_device_t** device) argument 479 sensors_close(struct sensors_poll_device_t* device) argument [all...] |
/hardware/libhardware/modules/gralloc/ |
H A D | framebuffer.cpp | 55 framebuffer_device_t device; member in struct:fb_context_t 311 hw_device_t** device) 320 dev->device.common.tag = HARDWARE_DEVICE_TAG; 321 dev->device.common.version = 0; 322 dev->device.common.module = const_cast<hw_module_t*>(module); 323 dev->device.common.close = fb_close; 324 dev->device.setSwapInterval = fb_setSwapInterval; 325 dev->device.post = fb_post; 326 dev->device.setUpdateRect = 0; 335 const_cast<uint32_t&>(dev->device 310 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareGeneric.cpp | 275 int device; local 278 if (param.getInt(key, device) == NO_ERROR) { 279 mDevice = device; 347 ALOGE("Attempt to read from unopened device"); 383 int device; local 386 if (param.getInt(key, device) == NO_ERROR) { 387 mDevice = device;
|
/hardware/msm7k/libaudio-qdsp5v2/ |
H A D | msm_audio.h | 73 uint32_t device; member in struct:msm_snd_device_config 83 uint32_t device; member in struct:msm_snd_volume_config
|
/hardware/msm7k/libaudio-qsd8k/ |
H A D | msm_audio.h | 73 uint32_t device; member in struct:msm_snd_device_config 83 uint32_t device; member in struct:msm_snd_volume_config
|
/hardware/msm7k/libcopybit/ |
H A D | copybit.cpp | 55 /** State information for each device instance */ 57 struct copybit_device_t device; member in struct:copybit_context_t 68 struct hw_device_t** device); 425 /** Close the copybit device */ 436 /** Open a new instance of a copybit device using name */ 438 struct hw_device_t** device) 445 ctx->device.common.tag = HARDWARE_DEVICE_TAG; 446 ctx->device.common.version = 1; 447 ctx->device.common.module = const_cast<hw_module_t*>(module); 448 ctx->device [all...] |
/hardware/msm7k/libgralloc/ |
H A D | framebuffer.cpp | 54 framebuffer_device_t device; member in struct:fb_context_t 330 hw_device_t** device) 344 dev->device.common.tag = HARDWARE_DEVICE_TAG; 345 dev->device.common.version = 0; 346 dev->device.common.module = const_cast<hw_module_t*>(module); 347 dev->device.common.close = fb_close; 348 dev->device.setSwapInterval = fb_setSwapInterval; 349 dev->device.post = fb_post; 350 dev->device.setUpdateRect = 0; 356 const_cast<uint32_t&>(dev->device 329 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
H A D | gralloc.cpp | 57 alloc_device_t device; member in struct:gralloc_context_t 67 hw_device_t** device); 70 hw_device_t** device); 577 hw_device_t** device) 588 dev->device.common.tag = HARDWARE_DEVICE_TAG; 589 dev->device.common.version = 0; 590 dev->device.common.module = const_cast<hw_module_t*>(module); 591 dev->device.common.close = gralloc_close; 593 dev->device.alloc = gralloc_alloc; 594 dev->device 576 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/msm7k/libgralloc-qsd8k/ |
H A D | framebuffer.cpp | 57 framebuffer_device_t device; member in struct:fb_context_t 365 hw_device_t** device) 379 dev->device.common.tag = HARDWARE_DEVICE_TAG; 380 dev->device.common.version = 0; 381 dev->device.common.module = const_cast<hw_module_t*>(module); 382 dev->device.common.close = fb_close; 383 dev->device.setSwapInterval = fb_setSwapInterval; 384 dev->device.post = fb_post; 385 dev->device.setUpdateRect = 0; 386 dev->device 364 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/qcom/audio/alsa_sound/ |
H A D | ALSAMixer.cpp | 54 const AudioSystem::audio_devices device; member in struct:android::alsa_properties_t 108 ALOGW("Unable to attach mixer to device %s: %s", 112 ALOGE("Unable to attach mixer to device default: %s", 209 for (int j = 0; mixerProp[j][i].device; j++) { 257 for (int j = 0; mixerProp[j][i].device; j++) { 305 status_t ALSAMixer::setVolume(uint32_t device, float left, float right) argument 307 for (int j = 0; mixerProp[j][SND_PCM_STREAM_PLAYBACK].device; j++) 308 if (mixerProp[j][SND_PCM_STREAM_PLAYBACK].device & device) { 328 status_t ALSAMixer::setGain(uint32_t device, floa argument 351 setCaptureMuteState(uint32_t device, bool state) argument 375 getCaptureMuteState(uint32_t device, bool *state) argument 392 setPlaybackMuteState(uint32_t device, bool state) argument 416 getPlaybackMuteState(uint32_t device, bool *state) argument [all...] |
/hardware/qcom/display/libcopybit/ |
H A D | copybit.cpp | 57 /** State information for each device instance */ 59 struct copybit_device_t device; member in struct:copybit_context_t 71 struct hw_device_t** device); 509 /** Close the copybit device */ 520 /** Open a new instance of a copybit device using name */ 522 struct hw_device_t** device) 529 ctx->device.common.tag = HARDWARE_DEVICE_TAG; 530 ctx->device.common.version = 1; 531 ctx->device.common.module = const_cast<hw_module_t*>(module); 532 ctx->device [all...] |
H A D | copybit.h | 34 * Name of the graphics device to open 156 * Every device data structure must begin with hw_device_t 219 /** convenience API for opening and closing a device */ 222 struct copybit_device_t** device) { 224 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device); 227 static inline int copybit_close(struct copybit_device_t* device) { argument 228 return device->common.close(&device->common); 221 copybit_open(const struct hw_module_t* module, struct copybit_device_t** device) argument
|
/hardware/qcom/display/libgralloc/ |
H A D | framebuffer.cpp | 62 framebuffer_device_t device; member in struct:fb_context_t 373 hw_device_t** device) 387 dev->device.common.tag = HARDWARE_DEVICE_TAG; 388 dev->device.common.version = 0; 389 dev->device.common.module = const_cast<hw_module_t*>(module); 390 dev->device.common.close = fb_close; 391 dev->device.setSwapInterval = fb_setSwapInterval; 392 dev->device.post = fb_post; 393 dev->device.setUpdateRect = 0; 394 dev->device 372 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/qcom/display/libhwcomposer/ |
H A D | hwc.cpp | 39 struct hw_device_t** device); 432 ALOGE("%s: NULL device pointer", __FUNCTION__); 442 struct hw_device_t** device) 455 dev->device.common.tag = HARDWARE_DEVICE_TAG; 456 dev->device.common.version = HWC_DEVICE_API_VERSION_1_1; 457 dev->device.common.module = const_cast<hw_module_t*>(module); 458 dev->device.common.close = hwc_device_close; 459 dev->device.prepare = hwc_prepare; 460 dev->device.set = hwc_set; 461 dev->device 441 hwc_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument [all...] |
/hardware/qcom/display/liblight/ |
H A D | lights.c | 56 = "/sys/class/leds/red/device/grpfreq"; 59 = "/sys/class/leds/red/device/grppwm"; 62 = "/sys/class/leds/red/device/blink"; 65 = "/sys/class/leds/red/device/lock"; 68 * device methods 234 /** Close the lights device */ 251 /** Open a new instance of a lights device using name */ 253 struct hw_device_t** device) 278 *device = (struct hw_device_t*)dev; 252 open_lights(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
|
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | gralloc.cpp | 57 alloc_device_t device; member in struct:gralloc_context_t 67 hw_device_t** device); 70 hw_device_t** device); 391 hw_device_t** device) 402 dev->device.common.tag = HARDWARE_DEVICE_TAG; 403 dev->device.common.version = 0; 404 dev->device.common.module = const_cast<hw_module_t*>(module); 405 dev->device.common.close = gralloc_close; 407 dev->device.alloc = gralloc_alloc; 408 dev->device 390 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/samsung_slsi/exynos5/include/ |
H A D | media.h | 82 __u32 device; member in struct:media_entity_desc::__anon1431::__anon1434
|
/hardware/samsung_slsi/exynos5/libkeymaster/ |
H A D | keymaster_mobicore.cpp | 419 * Generic device handling 422 hw_device_t** device) { 448 *device = reinterpret_cast<hw_device_t*>(dev.release()); 421 exynos_km_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
/hardware/samsung_slsi/exynos5/libv4l2/ |
H A D | exynos_mc.c | 205 ALOGE("Open sysfs media device failed, media->fd: %d", media->fd); 255 /* Find the corresponding device name. */ 260 /* Fall back to get the device name via sysfs */ 286 ALOGD("%s: Opening media device %s", __func__, filename); 300 ALOGE("Unable to enumerate entities for device %s (%s)", filename, strerror(-ret)); 310 ALOGE("Unable to enumerate pads and links for device %s", filename); 319 * @brief Open a media device. 320 * @param filename - name (including path) of the device node. 322 * Open the media device referenced by @a filename and enumerate entities, pads and 327 * exynos_media_close when the device is 561 struct udev_device *device; local [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
H A D | ClientLib.cpp | 77 Device *device = (*iterator); local 79 if (device->deviceId == deviceId) { 80 return device; 88 void addDevice(Device *device) argument 90 devices.push_back(device); 100 Device *device = (*iterator); local 102 if (device->deviceId == deviceId) { 104 delete device; 116 #define CHECK_DEVICE(device) \ 117 if (NULL == device) \ 184 Device *device = resolveDeviceId(deviceId); local 266 Device *device = resolveDeviceId(deviceId); local 322 Device *device = resolveDeviceId(session->deviceId); local 469 Device *device = resolveDeviceId(session->deviceId); local 518 Device *device = resolveDeviceId(session->deviceId); local 555 Device *device = resolveDeviceId(session->deviceId); local 637 Device *device = resolveDeviceId(deviceId); local 667 Device *device; local 723 Device *device = resolveDeviceId(sessionHandle->deviceId); local 809 Device *device = resolveDeviceId(sessionHandle->deviceId); local 881 Device *device = resolveDeviceId(session->deviceId); local 920 Device *device = resolveDeviceId(deviceId); local [all...] |
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
H A D | media.h | 2 * Multimedia device API 86 __u32 device; member in struct:media_entity_desc::__anon1846::__anon1849 91 /* Sub-device specifications */
|
/hardware/libhardware/modules/audio/ |
H A D | audio_policy.c | 35 struct audio_policy_device device; member in struct:default_ap_device 46 audio_devices_t device, 55 audio_devices_t device, 77 /* retreive current device category forced for a given usage */ 170 audio_devices_t device) 178 audio_devices_t device) 232 static int create_default_ap(const struct audio_policy_device *device, argument 295 static int default_ap_dev_close(hw_device_t* device) argument 297 free(device); 302 hw_device_t** device) 45 ap_set_device_connection_state(struct audio_policy *pol, audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument 53 ap_get_device_connection_state( const struct audio_policy *pol, audio_devices_t device, const char *device_address) argument 167 ap_set_stream_volume_index_for_device(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device) argument 175 ap_get_stream_volume_index_for_device(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t device) argument 301 default_ap_dev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument [all...] |