自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
#include <
tv_input.h
>
const char* audio_address
|
audio_devices_t audio_type
|
int32_t type_info_reserved[16]
|
此结构体的文档是根据以下文件生成的:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[],[],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)"]]