/hardware/libhardware/modules/nfc/ |
H A D | nfc_pn544_example.c | 22 /* Close an opened pn544 device instance */ 29 * Generic device handling 32 hw_device_t** device) { 49 *device = (hw_device_t*) dev; 31 nfc_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
/hardware/qcom/display/libgralloc/ |
H A D | gralloc.cpp | 37 hw_device_t** device); 40 hw_device_t** device); 94 // Open Gralloc device 96 hw_device_t** device) 105 *device = &dev->common; 108 status = fb_device_open(module, name, device); 95 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
/hardware/qcom/gps/loc_api/libloc_api/ |
H A D | gps.c | 42 struct hw_device_t** device) 52 *device = (struct hw_device_t*)dev; 41 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | gps.c | 42 struct hw_device_t** device) 52 *device = (struct hw_device_t*)dev; 41 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
|
/hardware/ril/mock-ril/ |
H A D | Makefile | 22 device=$(ANDROID_DEVICE) macro 25 src_generated=$(top)out/target/product/$(device)/obj/SHARED_LIBRARIES/libmock_ril_intermediates/proto/hardware/ril/mock-ril/src/proto 46 adb install -r $(top)out/target/product/$(device)/data/app/FrameworksTelephonyTests.apk 116 # change to root and remount device 145 adb push $(top)out/target/product/$(device)/system/lib/libmock_ril.so /data/lib/ 149 adb install -r $(top)out/target/product/$(device)/data/app/FrameworksTelephonyTests.apk
|
/hardware/libhardware/modules/local_time/ |
H A D | local_time_hw.c | 31 struct local_time_hw_device device; member in struct:stub_local_time_device 60 static int ltdev_close(hw_device_t *device) argument 62 free(device); 67 hw_device_t** device) 80 ltdev->device.common.tag = HARDWARE_DEVICE_TAG; 81 ltdev->device.common.version = 0; 82 ltdev->device.common.module = (struct hw_module_t *) module; 83 ltdev->device.common.close = ltdev_close; 85 ltdev->device.get_local_time = ltdev_get_local_time; 86 ltdev->device 66 ltdev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/libhardware/tests/nusensors/ |
H A D | nusensors.cpp | 63 struct sensors_poll_device_t* device; local 72 err = sensors_open(&module->common, &device); 104 err = device->activate(device, list[i].handle, 0); 113 err = device->activate(device, list[i].handle, 1); 119 device->setDelay(device, list[i].handle, ms2ns(10)); 123 int n = device->poll(device, buffe [all...] |
/hardware/libhardware_legacy/ |
H A D | qemu.h | 41 char device[32]; member in struct:__anon281
|
/hardware/qcom/audio/alsa_sound/ |
H A D | acoustics_default.cpp | 51 hw_device_t** device) 72 *device = &dev->common; 76 static int s_device_close(hw_device_t* device) argument 78 free(device); 50 s_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
H A D | ALSAControl.cpp | 42 ALSAControl::ALSAControl(const char *device) argument 44 ALOGD("ALSAControl: ctor device %s", device); 45 mHandle = mixer_open(device);
|
H A D | ALSAStreamOps.cpp | 97 uint32_t device) 99 mDevices = device; 202 int device; local 215 if (param.getInt(key, device) == NO_ERROR) { 216 // Ignore routing if device is 0. 217 ALOGD("setParameters(): keyRouting with device 0x%x", device); 219 if ((device == 0) && (mDevices == AudioSystem::DEVICE_OUT_AUX_DIGITAL)) { 220 device = AudioSystem::DEVICE_OUT_SPEAKER; 222 if (device) 94 set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device) argument [all...] |
/hardware/qcom/audio/libalsa-intf/ |
H A D | amix.c | 57 const char* device = "/dev/snd/controlC0"; local 59 mixer = mixer_open(device);
|
/hardware/libhardware/include/hardware/ |
H A D | local_time_hal.h | 99 /** convenience API for opening and closing a supported device */ 103 struct local_time_hw_device** device) 106 (struct hw_device_t**)device); 109 static inline int local_time_hw_device_close(struct local_time_hw_device* device) argument 111 return device->common.close(&device->common); 101 local_time_hw_device_open( const struct hw_module_t* module, struct local_time_hw_device** device) argument
|
H A D | fb.h | 152 /** convenience API for opening and closing a supported device */ 155 struct framebuffer_device_t** device) { 157 GRALLOC_HARDWARE_FB0, (struct hw_device_t**)device); 160 static inline int framebuffer_close(struct framebuffer_device_t* device) { argument 161 return device->common.close(&device->common); 154 framebuffer_open(const struct hw_module_t* module, struct framebuffer_device_t** device) argument
|
H A D | hwcomposer_v0.h | 258 /** convenience API for opening and closing a device */ 261 hwc_composer_device_t** device) { 263 HWC_HARDWARE_COMPOSER, (struct hw_device_t**)device); 266 static inline int hwc_close(hwc_composer_device_t* device) { argument 267 return device->common.close(&device->common); 260 hwc_open(const struct hw_module_t* module, hwc_composer_device_t** device) argument
|
H A D | keymaster.h | 194 keymaster_device_t** device) 197 (struct hw_device_t**) device); 200 (*device)->client_version = KEYMASTER_API_VERSION; 206 static inline int keymaster_close(keymaster_device_t* device) argument 208 return device->common.close(&device->common); 193 keymaster_open(const struct hw_module_t* module, keymaster_device_t** device) argument
|
/hardware/libhardware/modules/hwcomposer/ |
H A D | hwcomposer.cpp | 32 hwc_composer_device_1_t device; member in struct:hwc_context_t 37 struct hw_device_t** device); 108 struct hw_device_t** device) 119 dev->device.common.tag = HARDWARE_DEVICE_TAG; 120 dev->device.common.version = HWC_DEVICE_API_VERSION_1_0; 121 dev->device.common.module = const_cast<hw_module_t*>(module); 122 dev->device.common.close = hwc_device_close; 124 dev->device.prepare = hwc_prepare; 125 dev->device.set = hwc_set; 127 *device 107 hwc_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument [all...] |
/hardware/msm7k/libaudio-qdsp5v2/ |
H A D | AudioPolicyManager.cpp | 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB 54 uint32_t device = 0; local 57 device = mDeviceForStrategy[strategy]; 58 ALOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device); 59 return device; 66 device = getDeviceForStrategy(STRATEGY_MEDIA, false); 78 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT; 79 if (device) break; 82 device 236 computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device) argument [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
H A D | AudioPolicyManager.cpp | 26 // Max volume for streams when playing over bluetooth SCO device while in call: -18dB 54 uint32_t device = 0; local 57 device = mDeviceForStrategy[strategy]; 58 ALOGV("getDeviceForStrategy() from cache strategy %d, device %x", strategy, device); 59 return device; 66 device = getDeviceForStrategy(STRATEGY_MEDIA, false); 78 device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT; 79 if (device) break; 82 device 236 computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device) argument [all...] |
/hardware/libhardware/modules/nfc-nci/ |
H A D | nfc_nci_example.c | 69 * Generic device handling below - can generally be left unchanged. 71 /* Close an opened nfc device instance */ 78 hw_device_t** device) { 96 *device = (hw_device_t*) dev; 77 nfc_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
/hardware/libhardware/modules/gralloc/ |
H A D | gralloc.cpp | 43 alloc_device_t device; member in struct:gralloc_context_t 53 hw_device_t** device); 56 hw_device_t** device); 287 hw_device_t** device) 298 dev->device.common.tag = HARDWARE_DEVICE_TAG; 299 dev->device.common.version = 0; 300 dev->device.common.module = const_cast<hw_module_t*>(module); 301 dev->device.common.close = gralloc_close; 303 dev->device.alloc = gralloc_alloc; 304 dev->device 286 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioDumpInterface.h | 0 /* //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
|
/hardware/msm7k/libgralloc-qsd8k/ |
H A D | gralloc.cpp | 39 hw_device_t** device); 42 hw_device_t** device); 63 /* On-device dependency implementation */ 181 hw_device_t** device) 190 *device = &dev->common; 193 status = fb_device_open(module, name, device); 180 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
|
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | framebuffer.cpp | 59 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/invensense/libsensors_iio/ |
H A D | sensors_mpl.cpp | 51 struct hw_device_t** device);
78 struct sensors_poll_device_t device; // must be first
member in struct:sensors_poll_context_t 225 /** Open a new instance of a sensor device using name */
227 struct hw_device_t** device)
233 memset(&dev->device, 0, sizeof(sensors_poll_device_t));
235 dev->device.common.tag = HARDWARE_DEVICE_TAG;
236 dev->device.common.version = 0;
237 dev->device.common.module = const_cast<hw_module_t*>(module);
238 dev->device.common.close = poll__close;
239 dev->device 226 open_sensors(const struct hw_module_t* module, const char* id, struct hw_device_t** device) argument [all...] |