Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/aosp12/hardware/libhardware/modules/fingerprint/
H A Dfingerprint.c28 static int fingerprint_close(hw_device_t *dev) in fingerprint_close()
39 static uint64_t fingerprint_pre_enroll(struct fingerprint_device __unused *dev) { in fingerprint_pre_enroll()
43 static int fingerprint_enroll(struct fingerprint_device __unused *dev, in fingerprint_enroll()
50 static uint64_t fingerprint_get_auth_id(struct fingerprint_device __unused *dev) { in fingerprint_get_auth_id()
54 static int fingerprint_cancel(struct fingerprint_device __unused *dev) { in fingerprint_cancel()
58 static int fingerprint_remove(struct fingerprint_device __unused *dev, in fingerprint_remove()
63 static int fingerprint_set_active_group(struct fingerprint_device __unused *dev, in fingerprint_set_active_group()
68 static int fingerprint_authenticate(struct fingerprint_device __unused *dev, in fingerprint_authenticate()
73 static int set_notify_callback(struct fingerprint_device *dev, in set_notify_callback()
88 fingerprint_device_t *dev = malloc(sizeof(fingerprint_device_t)); in fingerprint_open() local
/aosp12/system/bt/audio_bluetooth_hw/
H A Daudio_bluetooth_hw.cc33 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
57 static char* adev_get_parameters(const struct audio_hw_device* dev, in adev_get_parameters()
63 static int adev_init_check(const struct audio_hw_device* dev) { return 0; } in adev_init_check()
65 static int adev_set_voice_volume(struct audio_hw_device* dev, float volume) { in adev_set_voice_volume()
70 static int adev_set_master_volume(struct audio_hw_device* dev, float volume) { in adev_set_master_volume()
75 static int adev_get_master_volume(struct audio_hw_device* dev, float* volume) { in adev_get_master_volume()
79 static int adev_set_master_mute(struct audio_hw_device* dev, bool muted) { in adev_set_master_mute()
84 static int adev_get_master_mute(struct audio_hw_device* dev, bool* muted) { in adev_get_master_mute()
88 static int adev_set_mode(struct audio_hw_device* dev, audio_mode_t mode) { in adev_set_mode()
93 static int adev_set_mic_mute(struct audio_hw_device* dev, bool state) { in adev_set_mic_mute()
[all …]
/aosp12/hardware/google/graphics/common/libhwc2.1/
H A DExynosHWC.cpp141 inline ExynosDevice* checkDevice(hwc2_device_t *dev) in checkDevice()
175 hwc2_function_pointer_t exynos_getFunction(struct hwc2_device *dev, in exynos_getFunction()
198 void exynos_dump(hwc2_device_t *dev, uint32_t *outSize, char *outBuffer) in exynos_dump()
222 int32_t exynos_createLayer(hwc2_device_t *dev, in exynos_createLayer()
254 int32_t exynos_destroyLayer(hwc2_device_t *dev, hwc2_display_t display, in exynos_destroyLayer()
487 int32_t exynos_getMaxVirtualDisplayCount(hwc2_device_t* dev) in exynos_getMaxVirtualDisplayCount()
537 int32_t exynos_registerCallback(hwc2_device_t* dev, in exynos_registerCallback()
874 int32_t exynos_setPowerMode(hwc2_device_t *dev, hwc2_display_t display, in exynos_setPowerMode()
1034 int32_t exynos_setLayerColorTransform(hwc2_device_t* dev, in exynos_setLayerColorTransform()
1258 void exynos_boot_finished(ExynosHWCCtx *dev) in exynos_boot_finished()
[all …]
/aosp12/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp26 sp<acam::CameraDevice> dev = getDeviceSp(); in ~ACameraCaptureSession() local
53 sp<acam::CameraDevice> dev = getDeviceSp(); in closeByApp() local
78 sp<acam::CameraDevice> dev = getDeviceSp(); in stopRepeating() local
96 sp<acam::CameraDevice> dev = getDeviceSp(); in abortCaptures() local
113 sp<acam::CameraDevice> dev = getDeviceSp(); in updateOutputConfiguration() local
132 sp<acam::CameraDevice> dev = getDeviceSp(); in getDevice() local
/aosp12/hardware/qcom/display/msm8994/liblight/
H A Dlights.c115 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
130 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
194 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
204 set_light_battery(struct light_device_t* dev, in set_light_battery()
215 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
226 set_light_attention(struct light_device_t* dev, in set_light_attention()
241 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
256 close_lights(struct light_device_t *dev) in close_lights()
293 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/qcom/display/msm8996/liblight/
H A Dlights.c115 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
130 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
203 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
213 set_light_battery(struct light_device_t* dev, in set_light_battery()
224 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
235 set_light_attention(struct light_device_t* dev, in set_light_attention()
250 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
265 close_lights(struct light_device_t *dev) in close_lights()
302 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/qcom/display/msm8226/liblight/
H A Dlights.c114 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
129 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
193 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
203 set_light_battery(struct light_device_t* dev, in set_light_battery()
214 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
225 set_light_attention(struct light_device_t* dev, in set_light_attention()
240 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
255 close_lights(struct light_device_t *dev) in close_lights()
292 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/qcom/display/msm8909w_3100/liblight/
H A Dlights.c129 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
169 set_light_backlight_ext(struct light_device_t* dev, in set_light_backlight_ext()
191 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
264 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
274 set_light_battery(struct light_device_t* dev, in set_light_battery()
285 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
296 set_light_attention(struct light_device_t* dev, in set_light_attention()
311 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
326 close_lights(struct light_device_t *dev) in close_lights()
373 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/qcom/display/msm8998/liblight/
H A Dlights.c127 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
167 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
240 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
250 set_light_battery(struct light_device_t* dev, in set_light_battery()
261 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
272 set_light_attention(struct light_device_t* dev, in set_light_attention()
287 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
302 close_lights(struct light_device_t *dev) in close_lights()
339 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/qcom/display/msm8909/liblight/
H A Dlights.c127 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
167 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
240 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
250 set_light_battery(struct light_device_t* dev, in set_light_battery()
261 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
272 set_light_attention(struct light_device_t* dev, in set_light_attention()
287 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
302 close_lights(struct light_device_t *dev) in close_lights()
345 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/qcom/audio/legacy/alsa_sound/
H A Dacoustics_default.cpp53 acoustic_device_t *dev; in s_device_open() local
82 static status_t s_use_handle(acoustic_device_t *dev, alsa_handle_t *h) in s_use_handle()
87 static status_t s_cleanup(acoustic_device_t *dev) in s_cleanup()
93 static status_t s_set_params(acoustic_device_t *dev, in s_set_params()
/aosp12/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_device_impl.cpp203 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
229 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
238 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
386 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
410 GrallocImpl const *dev = GRALLOC_IMPL(device); in ReleaseBuffer() local
455 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockBuffer() local
490 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockFlex() local
505 GrallocImpl const *dev = GRALLOC_IMPL(device); in UnlockBuffer() local
515 GrallocImpl const *dev = GRALLOC_IMPL(device); in Gralloc1Perform() local
526 GrallocImpl const *dev = GRALLOC_IMPL(device); in validateBufferSize() local
[all …]
/aosp12/hardware/qcom/display/msm8084/liblight/
H A Dlights.c114 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
129 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
187 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
197 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
208 set_light_attention(struct light_device_t* dev, in set_light_attention()
223 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
238 close_lights(struct light_device_t *dev) in close_lights()
273 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/aosp12/hardware/google/gchips/gralloc3/src/
H A Dgralloc_vsync_default.cpp40 int gralloc_vsync_enable(framebuffer_device_t *dev) in gralloc_vsync_enable()
46 int gralloc_vsync_disable(framebuffer_device_t *dev) in gralloc_vsync_disable()
52 int gralloc_wait_for_vsync(framebuffer_device_t *dev) in gralloc_wait_for_vsync()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_device_impl.cpp190 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
216 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
225 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
235 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
247 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
260 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
385 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
457 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockBuffer() local
492 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockFlex() local
510 GrallocImpl const *dev = GRALLOC_IMPL(device); in UnlockBuffer() local
[all …]
/aosp12/hardware/qcom/display/msm8909/gralloc/
H A Dgr_device_impl.cpp190 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
216 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
225 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
235 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
247 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
385 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
409 GrallocImpl const *dev = GRALLOC_IMPL(device); in ReleaseBuffer() local
456 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockBuffer() local
491 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockFlex() local
509 GrallocImpl const *dev = GRALLOC_IMPL(device); in UnlockBuffer() local
[all …]
/aosp12/hardware/interfaces/keymaster/3.0/default/
H A DKeymasterDevice.cpp35 static int get_keymaster1_dev(keymaster1_device_t** dev, const hw_module_t* mod) { in get_keymaster1_dev()
47 static int get_keymaster2_dev(keymaster2_device_t** dev, const hw_module_t* mod) { in get_keymaster2_dev()
69 keymaster1_device_t* dev = nullptr; in createKeymaster3Device() local
75 keymaster2_device_t* dev = nullptr; in createKeymaster3Device() local
/aosp12/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc.cpp68 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
136 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
165 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
201 static int hwc_prepare_virtual(hwc_composer_device_1 *dev, in hwc_prepare_virtual()
207 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
242 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
327 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
458 static int hwc_set(hwc_composer_device_1 *dev, in hwc_set()
489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs()
589 static int hwc_device_close(struct hw_device_t *dev) in hwc_device_close()
[all …]
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A Dsensors.cpp80 int SensorContext::CloseWrapper(struct hw_device_t *dev) { in CloseWrapper()
86 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper()
92 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper()
98 struct sensors_poll_device_t *dev, sensors_event_t *data, int count) { in PollWrapper()
104 struct sensors_poll_device_1 *dev, in BatchWrapper()
115 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper()
131 struct hw_device_t **dev) { in open_sensors()
/aosp12/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_device_impl.cpp211 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
220 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
230 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
242 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
368 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
435 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockBuffer() local
470 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockFlex() local
485 GrallocImpl const *dev = GRALLOC_IMPL(device); in UnlockBuffer() local
495 GrallocImpl const *dev = GRALLOC_IMPL(device); in Gralloc1Perform() local
506 GrallocImpl const *dev = GRALLOC_IMPL(device); in validateBufferSize() local
[all …]
/aosp12/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp331 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device()
352 int SoftKeymasterDevice::close_device(hw_device_t* dev) { in close_device()
503 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats()
534 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats()
682 const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, in generate_key()
723 SoftKeymasterDevice::generate_key(const keymaster2_device_t* dev, // in generate_key()
794 const keymaster1_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
835 const keymaster2_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
863 const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, in import_key()
905 const keymaster2_device_t* dev, const keymaster_key_param_set_t* params, in import_key()
[all …]
/aosp12/hardware/qcom/display/msm8996/hdmi_cec/
H A Dqhdmi_cec.cpp162 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
179 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
189 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
206 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
317 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
333 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
341 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
350 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
371 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
399 static int cec_device_close(struct hw_device_t *dev) in cec_device_close()
[all …]
/aosp12/hardware/qcom/display/msm8998/hdmi_cec/
H A Dqhdmi_cec.cpp166 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
183 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
193 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
210 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
323 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
339 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
347 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
356 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
377 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
405 static int cec_device_close(struct hw_device_t *dev) in cec_device_close()
[all …]
/aosp12/hardware/qcom/sdm845/display/hdmi_cec/
H A Dqhdmi_cec.cpp162 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
179 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
189 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
206 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
319 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
335 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
343 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
352 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
373 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
401 static int cec_device_close(struct hw_device_t *dev) in cec_device_close()
[all …]
/aosp12/hardware/qcom/sm7250/display/hdmi_cec/
H A Dqhdmi_cec.cpp162 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
179 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
189 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
206 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
319 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
335 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
343 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
352 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
373 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
401 static int cec_device_close(struct hw_device_t *dev) in cec_device_close()
[all …]

12345678910>>...13