À 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.
Référence de la struct FlpDiagnosticInterface
#include <
fused_location.h
>
Interface étendue pour l'assistance de diagnostic.
Définition à la ligne
468
du fichier
fused_location.h
.
Ouvre l'interface de diagnostic et fournit les routines de rappel à l'implémentation de cette interface.
Définition à la ligne
476
du fichier
fused_location.h
.
int(* inject_data)(char *data, int length)
|
Injecte des données de diagnostic dans le sous-système FLP. Renvoie 0 en cas de réussite, -1 en cas d'erreur.
Définition à la ligne
482
du fichier
fused_location.h
.
défini sur sizeof(FlpDiagnosticInterface)
Définition à la ligne
470
du fichier
fused_location.h
.
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/27 (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/27 (UTC)."],[],[],null,["# Android Hardware Abstraction Layer: FlpDiagnosticInterface Struct Reference\n\nFlpDiagnosticInterface Struct Reference\n=======================================\n\n[Data Fields](#pub-attribs) \nFlpDiagnosticInterface Struct Reference \n\n`\n#include \u003c\n`[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)`\n\u003e\n`\n\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_flp_diagnostic_interface#a854352f53b148adc24983a58a1866d66) |\n| ||\n| void(\\* | [init](/reference/hal/struct_flp_diagnostic_interface#a0a79fdf3fceb8a7e7e2cbe2641765529) )( [FlpDiagnosticCallbacks](/reference/hal/struct_flp_diagnostic_callbacks) \\*callbacks) |\n| ||\n| int(\\* | [inject_data](/reference/hal/struct_flp_diagnostic_interface#a05c32a5df98d304e274416fe24d3580a) )(char \\*data, int length) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nExtended interface for diagnostic support.\n\n\nDefinition at line\n[468](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\nField Documentation\n-------------------\n\n\n|------------------------------------------------------------------------------------------------------|\n| void(\\* init)( [FlpDiagnosticCallbacks](/reference/hal/struct_flp_diagnostic_callbacks) \\*callbacks) |\n\n\nOpens the diagnostic interface and provides the callback routines to the implemenation of this interface.\n\n\nDefinition at line\n[476](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n|----------------------------------------------|\n| int(\\* inject_data)(char \\*data, int length) |\n\n\nInjects diagnostic data into the FLP subsystem. Return 0 on success, -1 on error.\n\n\nDefinition at line\n[482](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(FlpDiagnosticInterface)\n\n\nDefinition at line\n[470](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)"]]