Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
FlpDiagnosticInterface Struct Reference
#include <
fused_location.h
>
Extended interface for diagnostic support.
Definition at line
468
of file
fused_location.h
.
Opens the diagnostic interface and provides the callback routines to the implemenation of this interface.
Definition at line
476
of file
fused_location.h
.
int(* inject_data)(char *data, int length)
|
Injects diagnostic data into the FLP subsystem. Return 0 on success, -1 on error.
Definition at line
482
of file
fused_location.h
.
The documentation for this struct was generated from the following file:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 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)"]]