Searched refs:device (Results 76 - 100 of 110) sorted by relevance

12345

/hardware/qcom/camera/
H A DQualcommCamera2.h43 struct hw_device_t** device);
/hardware/libhardware_legacy/audio/
H A DA2dpAudioInterface.cpp67 ALOGV("A2dpAudioInterface::openOutputStream() open HW device: %x", devices);
236 uint32_t device, int *pFormat, uint32_t *pChannels, uint32_t *pRate)
242 ALOGD("A2dpAudioStreamOut::set %x, %d, %d, %d\n", device, lFormat, lChannels, lRate);
263 mDevice = device;
380 int device; local
400 if (param.getInt(key, device) == NO_ERROR) {
401 if (audio_is_a2dp_device(device)) {
402 mDevice = device;
235 set( uint32_t device, int *pFormat, uint32_t *pChannels, uint32_t *pRate) argument
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;
H A DAudioDumpInterface.h0 /* //device/servers/AudioFlinger/AudioDumpInterface.h
58 uint32_t device() { return mDevice; } function in class:android::AudioStreamOutDump
69 uint32_t mDevice; // current device this output is routed to
101 uint32_t device() { return mDevice; } function in class:android::AudioStreamInDump
109 uint32_t mDevice; // current device this output is routed to
H A DA2dpAudioInterface.h81 status_t set(uint32_t device,
/hardware/qcom/display/liblight/
H A Dlights.c56 = "/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/include/
H A Dmedia.h82 __u32 device; member in struct:media_entity_desc::__anon1431::__anon1434
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dmedia.h2 * Multimedia device API
86 __u32 device; member in struct:media_entity_desc::__anon1846::__anon1849
91 /* Sub-device specifications */
/hardware/ti/omap3/dspbridge/inc/
H A Dhost_os.h55 #include <linux/device.h>
/hardware/ti/omap3/dspbridge/libbridge/inc/
H A Dhost_os.h55 #include <linux/device.h>
/hardware/samsung_slsi/exynos5/gralloc/
H A Dframebuffer.cpp59 framebuffer_device_t device; member in struct:fb_context_t
172 hw_device_t** device)
186 ALOGE("Fail to Open gralloc device");
232 *device = &dev->common;
171 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
/hardware/qcom/audio/libalsa-intf/
H A Dalsa_pcm.c312 ALOGV("device = %d\n", info->device);
667 ALOGE("cannot open timer device 'timer'");
680 sel.id.device = pcm->device_no;
690 ALOGD("sel.id.device = %d\n", sel.id.device);
756 struct pcm *pcm_open(unsigned flags, char *device) argument
769 ALOGV("device %s\n",device);
776 tmp = device
[all...]
H A Dalsa_ucm.c340 ALOGE("No valid device/modifier found with given identifier: %s",
358 ALOGE("No valid device name exists for given identifier: %s",
369 ALOGE("No valid control device found");
400 ALOGE("No valid device/modifier found with given identifier: %s",
435 ALOGE("No valid device/modifier found with given identifier: %s",
458 * identifier - _devstatus/<device>,
652 ALOGE("No valid device found: %s",ident_value);
788 ALOGE("Control device not initialized");
998 ALOGV("Applying mixer controls for device: %s",
1032 ALOGE("use case %s not valid without device combinatio
1051 set_controls_of_usecase_for_device(snd_use_case_mgr_t *uc_mgr, const char *ident, const char *device, int enable, int ctrl_list_type) argument
1111 set_controls_of_device_for_all_usecases(snd_use_case_mgr_t *uc_mgr, const char *device, int enable) argument
1308 set_controls_of_device_for_usecase(snd_use_case_mgr_t *uc_mgr, const char *device, const char *usecase, int enable) argument
[all...]
H A Dalsa_audio.h112 /** Hardware dependent device */
137 struct pcm *pcm_open(unsigned flags, char *device);
175 struct mixer *mixer_open(const char *device);
/hardware/qcom/display/libcopybit/
H A Dcopybit_c2d.cpp115 /** State information for each device instance */
117 struct copybit_device_t device; member in struct:copybit_context_t
155 struct hw_device_t** device);
1287 /** Close the copybit device */
1310 /** Open a new instance of a copybit device using name */
1312 struct hw_device_t** device)
1364 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
1365 ctx->device.common.version = 1;
1366 ctx->device.common.module = (hw_module_t*)(module);
1367 ctx->device
1311 open_copybit(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]
/hardware/libhardware/modules/audio/
H A DAndroid.mk18 # device specific modules are present. The exact load order can be seen in
/hardware/libhardware/modules/local_time/
H A DAndroid.mk22 # if no other device specific modules are present. The exact load order can be
/hardware/msm7k/libcamera/
H A Dcamera_ifc.h202 camera_device_type device; member in struct:__anon290
213 camera_device_type device; member in union:__anon291
/hardware/msm7k/liblights/
H A Dlights.c67 = "/sys/class/leds/red/device/grpfreq";
70 = "/sys/class/leds/red/device/grppwm";
73 = "/sys/class/leds/red/device/blink";
85 * device methods
344 /** Close the lights device */
361 /** Open a new instance of a lights device using name */
363 struct hw_device_t** device)
401 *device = (struct hw_device_t*)dev;
362 open_lights(const struct hw_module_t* module, char const* name, struct 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/libhardware/tests/camera2/
H A Dcamera2.cpp72 std::cout << " Camera device count: " << sNumCameras << std::endl;
83 std::cout << " Camera device: " << std::dec
124 hw_device_t *device = NULL;
137 &device);
138 if (res != NO_ERROR || device == NULL) {
142 reinterpret_cast<camera2_device_t*>(device);
193 ASSERT_TRUE(NULL != mDevice) << "Failed to open camera device";
205 ASSERT_EQ(OK, res) << "Failure to configure camera device";
326 ASSERT_TRUE(NULL != d) << "Failed to open camera device";
329 ASSERT_EQ(NO_ERROR, res) << "Failed to close camera device";
[all...]
/hardware/qcom/display/libhwcomposer/
H A Dhwc_utils.h176 hwc_composer_device_1_t device; member in struct:hwc_context_t
181 //Framebuffer device
/hardware/msm7k/libaudio-qsd8k/
H A DAudioHardware.h41 /* Special loopback pseudo device to be paired with an RX device */
216 status_t doAudioRouteOrMute(uint32_t device);
231 uint32_t getACDB(int mode, int device);
/hardware/samsung_slsi/exynos5/libkeymaster/
H A Dkeymaster_mobicore.cpp419 * 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/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp59 const char *device = DEVICE; member in namespace:android
81 if ((mCameraHandle = open(device, O_RDWR)) == -1)
102 CAMHAL_LOGEA("Error while adapter initialization: Capture device does not support streaming i/o");

Completed in 288 milliseconds

12345