A partir del 27 de marzo de 2025, te recomendamos que uses android-latest-release
en lugar de aosp-main
para compilar y contribuir a AOSP. Para obtener más información, consulta Cambios en AOSP.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
#include <
tv_input.h
>
Definición en la línea
82
del archivo
tv_input.h
.
const char* audio_address
|
audio_devices_t audio_type
|
int32_t type_info_reserved[16]
|
La documentación de esta struct se generó a partir del siguiente archivo:
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-26 (UTC)"],[],[],null,["# Android Hardware Abstraction Layer: tv_input_device_info Struct Reference\n\ntv_input_device_info Struct Reference\n=====================================\n\n[Data Fields](#pub-attribs) \ntv_input_device_info Struct Reference \n\n`\n#include \u003c\n`[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)`\n\u003e\n`\n\n|------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| int | [device_id](/reference/hal/structtv__input__device__info#accfd0301c469314772cc651ec198d492) |\n| ||\n| [tv_input_type_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h) | [type](/reference/hal/structtv__input__device__info#a0751ef2cca4a32268c4fbb2e844ab3dd) |\n| ||\n| union { |\n| struct { |\n| uint32_t [port_id](/reference/hal/structtv__input__device__info#a6f54b893342775cdf092c6646e57c83b) |\n| ||\n| } [hdmi](/reference/hal/structtv__input__device__info#a58ca5f157446b597cd038c0b70b32e29) |\n| ||\n| int32_t [type_info_reserved](/reference/hal/structtv__input__device__info#a9436f274649da8628c5a7a15bab76f22) \\[16\\] |\n| ||\n| }; | |\n| ||\n| audio_devices_t | [audio_type](/reference/hal/structtv__input__device__info#a595e2890f8fcee40074a7f09faf488fd) |\n| ||\n| const char \\* | [audio_address](/reference/hal/structtv__input__device__info#a9b72149bdeeb590c3d22faf1ac9a4388) |\n| ||\n| int32_t | [reserved](/reference/hal/structtv__input__device__info#afa15a6e319704eaf4813919ebe99f6bf) \\[16\\] |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[82](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------|\n| union { ... } |\n\n\n|----------------------------|\n| const char\\* audio_address |\n\n\nDefinition at line\n[108](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|----------------------------|\n| audio_devices_t audio_type |\n\n\nDefinition at line\n[107](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|---------------|\n| int device_id |\n\n\nDefinition at line\n[84](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|---------------------|\n| struct { ... } hdmi |\n\n\n|------------------|\n| uint32_t port_id |\n\n\nDefinition at line\n[92](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|------------------------|\n| int32_t reserved\\[16\\] |\n\n\nDefinition at line\n[110](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------|\n| [tv_input_type_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h) type |\n\n\nDefinition at line\n[87](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n|----------------------------------|\n| int32_t type_info_reserved\\[16\\] |\n\n\nDefinition at line\n[97](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\nof file\n[tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [tv_input.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/tv_input.h)"]]