Lines Matching refs:device
41 struct audio_policy_device device;
65 audio_devices_t device,
71 (AudioSystem::audio_devices)device,
78 audio_devices_t device,
83 (AudioSystem::audio_devices)device,
101 /* force using a specific device category for the specified usage */
111 /* retreive current device category forced for a given usage */
237 audio_devices_t device)
242 device);
248 audio_devices_t device)
253 device);
333 static int create_legacy_ap(const struct audio_policy_device *device,
424 static int legacy_ap_dev_close(hw_device_t* device)
426 if (device)
427 free(device);
432 hw_device_t** device)
443 dev->device.common.tag = HARDWARE_DEVICE_TAG;
444 dev->device.common.version = 0;
445 dev->device.common.module = const_cast<hw_module_t*>(module);
446 dev->device.common.close = legacy_ap_dev_close;
447 dev->device.create_audio_policy = create_legacy_ap;
448 dev->device
450 *device = &dev->device.common;