A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Riferimento alla struttura physical_sensor_description_t
#include <
context_hub.h
>
La seguente struttura descrive un sensore
Definizione alla riga
181
del file
context_hub.h
.
uint32_t fifo_reserved_count
|
La documentazione di questa struttura è stata generata dal seguente file:
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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)"]]