החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפניה ל-struct של GpsDebugInterface
#include <
gps.h
>
ממשק מורחב לתמיכה בניפוי באגים.
ההגדרה מופיעה בשורה
871
בקובץ
gps.h
.
size_t(* get_internal_state)(char *buffer, size_t bufferSize)
|
הפונקציה הזו צריכה להחזיר את כל המידע שהטמעה המקורית רוצה לכלול בדוח הבאג.
ההגדרה מופיעה בשורה
879
בקובץ
gps.h
.
מוגדר לערך sizeof(GpsDebugInterface)
ההגדרה מופיעה בשורה
873
בקובץ
gps.h
.
התיעוד של המבנה הזה נוצר מהקובץ הבא:
-
hardware/libhardware/include/hardware/
gps.h
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון 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-27 (שעון UTC)."],[],[],null,["# Android Hardware Abstraction Layer: GpsDebugInterface Struct Reference\n\nGpsDebugInterface Struct Reference\n==================================\n\n[Data Fields](#pub-attribs) \nGpsDebugInterface Struct Reference \n\n`\n#include \u003c\n`[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)`\n\u003e\n`\n\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_gps_debug_interface#a854352f53b148adc24983a58a1866d66) |\n| ||\n| size_t(\\* | [get_internal_state](/reference/hal/struct_gps_debug_interface#a33a6ef49169231a91454d4d1cd4fbbc8) )(char \\*buffer, size_t bufferSize) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nExtended interface for DEBUG support.\n\n\nDefinition at line\n[871](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------|\n| size_t(\\* get_internal_state)(char \\*buffer, size_t bufferSize) |\n\n\nThis function should return any information that the native implementation wishes to include in a bugreport.\n\n\nDefinition at line\n[879](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(GpsDebugInterface)\n\n\nDefinition at line\n[873](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)"]]