Searched defs:device (Results 26 - 50 of 97) sorted by relevance

1234

/hardware/libhardware/modules/gralloc/
H A Dframebuffer.cpp55 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/tests/camera2/
H A DCameraStreamFixture.h39 // Format specifier for picking the best format for CPU reading the given device
96 sp<CameraDeviceBase> device = mDevice; local
102 const CameraMetadata& staticInfo = device->info();
161 sp<CameraDeviceBase> device = mDevice; local
173 device->createStream(mNativeWindow,
/hardware/libhardware_legacy/audio/
H A DAudioHardwareGeneric.cpp275 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/qcom/audio/legacy/alsa_sound/
H A DALSAMixer.cpp54 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/msm8960/libcopybit/
H A Dcopybit.cpp57 /** State information for each device instance */
59 struct copybit_device_t device; member in struct:copybit_context_t
71 struct hw_device_t** device);
514 /** Close the copybit device */
525 /** Open a new instance of a copybit device using name */
527 struct hw_device_t** device)
534 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
535 ctx->device.common.version = 1;
536 ctx->device.common.module = const_cast<hw_module_t*>(module);
537 ctx->device
[all...]
H A Dcopybit.h38 * Name of the graphics device to open
171 * Every device data structure must begin with hw_device_t
259 /** convenience API for opening and closing a device */
262 struct copybit_device_t** device) {
264 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
267 static inline int copybit_close(struct copybit_device_t* device) { argument
268 return device->common.close(&device->common);
261 copybit_open(const struct hw_module_t* module, struct copybit_device_t** device) argument
/hardware/qcom/display/msm8960/libgralloc/
H A Dframebuffer.cpp60 framebuffer_device_t device; member in struct:fb_context_t
357 hw_device_t** device)
371 dev->device.common.tag = HARDWARE_DEVICE_TAG;
372 dev->device.common.version = 0;
373 dev->device.common.module = const_cast<hw_module_t*>(module);
374 dev->device.common.close = fb_close;
375 dev->device.setSwapInterval = fb_setSwapInterval;
376 dev->device.post = fb_post;
377 dev->device.setUpdateRect = 0;
378 dev->device
356 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc.cpp45 struct hw_device_t** device);
592 ALOGE("%s: NULL device pointer", __FUNCTION__);
602 struct hw_device_t** device)
615 dev->device.common.tag = HARDWARE_DEVICE_TAG;
616 dev->device.common.version = HWC_DEVICE_API_VERSION_1_2;
617 dev->device.common.module = const_cast<hw_module_t*>(module);
618 dev->device.common.close = hwc_device_close;
619 dev->device.prepare = hwc_prepare;
620 dev->device.set = hwc_set;
621 dev->device
601 hwc_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8960/liblight/
H A Dlights.c60 = "/sys/class/leds/%s/device/grpfreq";
63 = "/sys/class/leds/%s/device/grppwm";
66 = "/sys/class/leds/%s/device/blink";
69 = "/sys/class/leds/%s/device/lock";
72 * device methods
266 /** Close the lights device */
283 /** Open a new instance of a lights device using name */
285 struct hw_device_t** device)
310 *device = (struct hw_device_t*)dev;
284 open_lights(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/display/msm8974/libcopybit/
H A Dcopybit.cpp55 /** State information for each device instance */
57 struct copybit_device_t device; member in struct:copybit_context_t
73 struct hw_device_t** device);
558 /** Close the copybit device */
587 /** Open a new instance of a copybit device using name */
589 struct hw_device_t** device)
596 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
597 ctx->device.common.version = 1;
598 ctx->device.common.module = const_cast<hw_module_t*>(module);
599 ctx->device
[all...]
H A Dcopybit.h38 * Name of the graphics device to open
172 * Every device data structure must begin with hw_device_t
272 /** convenience API for opening and closing a device */
275 struct copybit_device_t** device) {
277 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
280 static inline int copybit_close(struct copybit_device_t* device) { argument
281 return device->common.close(&device->common);
274 copybit_open(const struct hw_module_t* module, struct copybit_device_t** device) argument
/hardware/qcom/display/msm8974/libgralloc/
H A Dframebuffer.cpp60 framebuffer_device_t device; member in struct:fb_context_t
363 hw_device_t** device)
377 dev->device.common.tag = HARDWARE_DEVICE_TAG;
378 dev->device.common.version = 0;
379 dev->device.common.module = const_cast<hw_module_t*>(module);
380 dev->device.common.close = fb_close;
381 dev->device.setSwapInterval = fb_setSwapInterval;
382 dev->device.post = fb_post;
383 dev->device.setUpdateRect = 0;
384 dev->device
362 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8974/liblight/
H A Dlights.c60 = "/sys/class/leds/%s/device/grpfreq";
63 = "/sys/class/leds/%s/device/grppwm";
66 = "/sys/class/leds/%s/device/blink";
69 = "/sys/class/leds/%s/device/lock";
72 * device methods
266 /** Close the lights device */
283 /** Open a new instance of a lights device using name */
285 struct hw_device_t** device)
310 *device = (struct hw_device_t*)dev;
284 open_lights(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/display/msm8x26/libcopybit/
H A Dcopybit.cpp57 /** State information for each device instance */
59 struct copybit_device_t device; member in struct:copybit_context_t
71 struct hw_device_t** device);
514 /** Close the copybit device */
525 /** Open a new instance of a copybit device using name */
527 struct hw_device_t** device)
534 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
535 ctx->device.common.version = 1;
536 ctx->device.common.module = const_cast<hw_module_t*>(module);
537 ctx->device
[all...]
H A Dcopybit.h38 * Name of the graphics device to open
171 * Every device data structure must begin with hw_device_t
259 /** convenience API for opening and closing a device */
262 struct copybit_device_t** device) {
264 COPYBIT_HARDWARE_COPYBIT0, (struct hw_device_t**)device);
267 static inline int copybit_close(struct copybit_device_t* device) { argument
268 return device->common.close(&device->common);
261 copybit_open(const struct hw_module_t* module, struct copybit_device_t** device) argument
/hardware/qcom/display/msm8x26/libgralloc/
H A Dframebuffer.cpp60 framebuffer_device_t device; member in struct:fb_context_t
357 hw_device_t** device)
371 dev->device.common.tag = HARDWARE_DEVICE_TAG;
372 dev->device.common.version = 0;
373 dev->device.common.module = const_cast<hw_module_t*>(module);
374 dev->device.common.close = fb_close;
375 dev->device.setSwapInterval = fb_setSwapInterval;
376 dev->device.post = fb_post;
377 dev->device.setUpdateRect = 0;
378 dev->device
356 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8x26/libhwcomposer/
H A Dhwc.cpp45 struct hw_device_t** device);
593 ALOGE("%s: NULL device pointer", __FUNCTION__);
603 struct hw_device_t** device)
616 dev->device.common.tag = HARDWARE_DEVICE_TAG;
617 dev->device.common.version = HWC_DEVICE_API_VERSION_1_2;
618 dev->device.common.module = const_cast<hw_module_t*>(module);
619 dev->device.common.close = hwc_device_close;
620 dev->device.prepare = hwc_prepare;
621 dev->device.set = hwc_set;
622 dev->device
602 hwc_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8x26/liblight/
H A Dlights.c60 = "/sys/class/leds/%s/device/grpfreq";
63 = "/sys/class/leds/%s/device/grppwm";
66 = "/sys/class/leds/%s/device/blink";
69 = "/sys/class/leds/%s/device/lock";
72 * device methods
266 /** Close the lights device */
283 /** Open a new instance of a lights device using name */
285 struct hw_device_t** device)
310 *device = (struct hw_device_t*)dev;
284 open_lights(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp59 framebuffer_device_t device; member in struct:fb_context_t
210 hw_device_t** device)
224 ALOGE("Fail to Open gralloc device");
270 *device = &dev->common;
209 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
H A Dgralloc.cpp60 alloc_device_t device; member in struct:gralloc_context_t
70 hw_device_t** device);
73 hw_device_t** device);
417 hw_device_t** device)
428 dev->device.common.tag = HARDWARE_DEVICE_TAG;
429 dev->device.common.version = 0;
430 dev->device.common.module = const_cast<hw_module_t*>(module);
431 dev->device.common.close = gralloc_close;
433 dev->device.alloc = gralloc_alloc;
434 dev->device
416 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Dmedia.h82 __u32 device; member in struct:media_entity_desc::__anon1466::__anon1469
/hardware/samsung_slsi/exynos5/libkeymaster/
H A Dkeymaster_mobicore.cpp427 * Generic device handling
430 hw_device_t** device) {
456 *device = reinterpret_cast<hw_device_t*>(dev.release());
429 exynos_km_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_mc.c205 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 DClientLib.cpp77 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 Dmedia.h2 * Multimedia device API
86 __u32 device; member in struct:media_entity_desc::__anon1882::__anon1885
91 /* Sub-device specifications */

Completed in 3045 milliseconds

1234