החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפניה ל-Struct של AGpsRefLocationCellID
#include <
gps.h
>
ההגדרה מופיעה בשורה
656
בקובץ
gps.h
.
מזהה תא ב-2G. מזהה תא Utran ב-3G. Cell Global Id EUTRA ב-LTE.
ההגדרה מופיעה בשורה
668
בקובץ
gps.h
.
קידומת האזור של המיקום ב-2G, ב-3G וב-LTE. ב-3G, ה-lac לא נלקח בחשבון. ב-LTE, השדה lac מאוכלס ב-tac כדי להבטיח שלא נגרום לשיבושים בלקוחות ישנים שעשויים להסתמך על ההתנהגות הישנה (השגויה).
ההגדרה מופיעה בשורה
666
בקובץ
gps.h
.
קוד מדינה של רשת סלולרית.
ההגדרה מופיעה בשורה
659
בקובץ
gps.h
.
קוד הרשת הסלולרית .
ההגדרה מופיעה בשורה
661
בקובץ
gps.h
.
מזהה תא פיזי ב-LTE (לא בשימוש ב-2G וב-3G)
ההגדרה מופיעה בשורה
672
בקובץ
gps.h
.
מעקב אחר קידומת חיוג ב-LTE.
ההגדרה מופיעה בשורה
670
בקובץ
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: AGpsRefLocationCellID Struct Reference\n\nAGpsRefLocationCellID Struct Reference\n======================================\n\n[Data Fields](#pub-attribs) \nAGpsRefLocationCellID 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| [AGpsRefLocationType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [type](/reference/hal/struct_a_gps_ref_location_cell_i_d#ad550b74263ee46a2ba2b7d0f23085161) |\n| ||\n| uint16_t | [mcc](/reference/hal/struct_a_gps_ref_location_cell_i_d#ab1019c1695b3dcd85cf676191709073d) |\n| ||\n| uint16_t | [mnc](/reference/hal/struct_a_gps_ref_location_cell_i_d#a53f79461c7ec3e0d79026ba30080a0fb) |\n| ||\n| uint16_t | [lac](/reference/hal/struct_a_gps_ref_location_cell_i_d#a4ec34a66e750c1acfbd56fd7b7a27b76) |\n| ||\n| uint32_t | [cid](/reference/hal/struct_a_gps_ref_location_cell_i_d#acb6c79f809882b2d62ccaab26ab8d945) |\n| ||\n| uint16_t | [tac](/reference/hal/struct_a_gps_ref_location_cell_i_d#a636e016fb95ae12972f9fb7fd7329dfc) |\n| ||\n| uint16_t | [pcid](/reference/hal/struct_a_gps_ref_location_cell_i_d#af25c445bd20778a6f29b5876d2d204fa) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[656](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| uint32_t cid |\n\n\nCell id in 2G. Utran Cell id in 3G. Cell Global Id EUTRA in LTE.\n\n\nDefinition at line\n[668](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| uint16_t lac |\n\n\nLocation Area Code in 2G, 3G and LTE. In 3G lac is discarded. In LTE, lac is populated with tac, to ensure that we don't break old clients that might rely in the old (wrong) behavior.\n\n\nDefinition at line\n[666](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| uint16_t mcc |\n\n\nMobile Country Code.\n\n\nDefinition at line\n[659](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| uint16_t mnc |\n\n\nMobile Network Code .\n\n\nDefinition at line\n[661](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| uint16_t pcid |\n\n\nPhysical Cell id in LTE (not used in 2G and 3G)\n\n\nDefinition at line\n[672](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| uint16_t tac |\n\n\nTracking Area Code in LTE.\n\n\nDefinition at line\n[670](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| [AGpsRefLocationType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) type |\n\n\nDefinition at line\n[657](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)"]]