Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Informacje o strukturze physical_sensor_description_t
#include <
context_hub.h
>
Struktura poniżej opisuje czujnik
Definicja w wierszu
181
pliku
context_hub.h
.
uint32_t fifo_reserved_count
|
Dokumentacja tego typu danych została wygenerowana z tego pliku:
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: physical_sensor_description_t Struct Reference\n\nphysical_sensor_description_t Struct Reference\n==============================================\n\n[Data Fields](#pub-attribs) \nphysical_sensor_description_t Struct Reference \n\n`\n#include \u003c\n`[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)`\n\u003e\n`\n\n|---------------|----------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint32_t | [sensor_type](/reference/hal/structphysical__sensor__description__t#ab2a32e927c29b8a3338f26134c64218d) |\n| ||\n| const char \\* | [type_string](/reference/hal/structphysical__sensor__description__t#aca144abd9a25e57b97225156438e78f2) |\n| ||\n| const char \\* | [name](/reference/hal/structphysical__sensor__description__t#a8f8f80d37794cde9472343e4487ba3eb) |\n| ||\n| const char \\* | [vendor](/reference/hal/structphysical__sensor__description__t#a40d4f2ef96d8ebd8802853bf7431d22f) |\n| ||\n| uint32_t | [version](/reference/hal/structphysical__sensor__description__t#acd99bb05ca015e7d74448acb1deba7ca) |\n| ||\n| uint32_t | [fifo_reserved_count](/reference/hal/structphysical__sensor__description__t#a5597f31723aa32509d8add5a3f737c2e) |\n| ||\n| uint32_t | [fifo_max_count](/reference/hal/structphysical__sensor__description__t#a096a8a40ed40499b6f8e14d87618ec2a) |\n| ||\n| uint64_t | [min_delay_ms](/reference/hal/structphysical__sensor__description__t#a140a0835aa2b96bcacbfa4357e017894) |\n| ||\n| uint64_t | [max_delay_ms](/reference/hal/structphysical__sensor__description__t#aff65d6ce84cc4e420b42ce2d8078a0f0) |\n| ||\n| float | [peak_power_mw](/reference/hal/structphysical__sensor__description__t#a01c14b6a35c4c32ee1783df546ed10c9) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nThe following structure describes a sensor\n\n\nDefinition at line\n[181](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\nField Documentation\n-------------------\n\n\n|-------------------------|\n| uint32_t fifo_max_count |\n\n\nDefinition at line\n[193](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|------------------------------|\n| uint32_t fifo_reserved_count |\n\n\nDefinition at line\n[187](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|-----------------------|\n| uint64_t max_delay_ms |\n\n\nDefinition at line\n[196](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|-----------------------|\n| uint64_t min_delay_ms |\n\n\nDefinition at line\n[194](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|-------------------|\n| const char\\* name |\n\n\nDefinition at line\n[184](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|---------------------|\n| float peak_power_mw |\n\n\nDefinition at line\n[198](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|----------------------|\n| uint32_t sensor_type |\n\n\nDefinition at line\n[182](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|--------------------------|\n| const char\\* type_string |\n\n\nDefinition at line\n[183](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|---------------------|\n| const char\\* vendor |\n\n\nDefinition at line\n[185](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n|------------------|\n| uint32_t version |\n\n\nDefinition at line\n[186](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\nof file\n[context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [context_hub.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/context_hub.h)"]]