À partir du 27 mars 2025, nous vous recommandons d'utiliser android-latest-release
au lieu de aosp-main
pour créer et contribuer à AOSP. Pour en savoir plus, consultez la section Modifications apportées à AOSP.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
#include <
tv_input.h
>
Définition à la ligne
82
du fichier
tv_input.h
.
const char* audio_address
|
audio_devices_t audio_type
|
int32_t type_info_reserved[16]
|
La documentation de ce struct a été générée à partir du fichier suivant :
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)"]]