Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Справочник по структуре radio_hw_device
#include < radio.h >
Определение в строке 221 файла radio.h .
int(* get_properties)(const struct radio_hw_device *dev, radio_hal_properties_t *properties) |
Документация для этой структуры была создана из следующего файла:
- Аппаратное обеспечение/libhardware/include/hardware/ radio.h
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[[["Прост для понимания","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"]],["Последнее обновление: 2025-07-29 UTC."],[],[],null,["# Android Hardware Abstraction Layer: radio_hw_device Struct Reference\n\nradio_hw_device Struct Reference\n================================\n\n[Data Fields](#pub-attribs) \nradio_hw_device Struct Reference \n\n`\n#include \u003c\n`[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)`\n\u003e\n`\n\n|----------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structradio__hw__device#a86a0ca82dd3f02023e259b8b5e155dbe) |\n| ||\n| int(\\* | [get_properties](/reference/hal/structradio__hw__device#a9f141be85002272d1095f37cfde0f0d3) )(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, radio_hal_properties_t \\*properties) |\n| ||\n| int(\\* | [open_tuner](/reference/hal/structradio__hw__device#a7a856a4c73da6b9cb89492b0ea8772f0) )(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const radio_hal_band_config_t \\*config, bool audio, [radio_callback_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h) callback, void \\*cookie, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*\\*tuner) |\n| ||\n| int(\\* | [close_tuner](/reference/hal/structradio__hw__device#ae3a83b931c26ef8f6328cf7fe0371821) )(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*tuner) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[221](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* close_tuner)(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*tuner) |\n\n\nDefinition at line\n[276](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n|-----------------------------------------------------------------|\n| struct [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\nDefinition at line\n[222](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* get_properties)(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, radio_hal_properties_t \\*properties) |\n\n\nDefinition at line\n[234](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int(\\* open_tuner)(const struct [radio_hw_device](/reference/hal/structradio__hw__device) \\*dev, const radio_hal_band_config_t \\*config, bool audio, [radio_callback_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h) callback, void \\*cookie, const struct [radio_tuner](/reference/hal/structradio__tuner) \\*\\*tuner) |\n\n\nDefinition at line\n[257](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\nof file\n[radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [radio.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/radio.h)"]]