Ab dem 27. März 2025 empfehlen wir, android-latest-release
anstelle von aosp-main
zu verwenden, um AOSP zu erstellen und Beiträge dazu zu leisten. Weitere Informationen finden Sie unter Änderungen am AOSP.
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
AGpsRefLocationCellID-Strukturreferenz
#include <
gps.h
>
Definition in Zeile
656
der Datei
gps.h
.
Zellen-ID in 2G. Utran-Zellen-ID in 3G. Cell Global Id EUTRA in LTE.
Definition in Zeile
668
der Datei
gps.h
.
Standortvorwahl in 2G, 3G und LTE. Bei 3G wird lac verworfen. In LTE wird „lac“ mit „tac“ ausgefüllt, damit alte Clients, die möglicherweise auf das alte (falsche) Verhalten angewiesen sind, nicht beschädigt werden.
Definition in Zeile
666
der Datei
gps.h
.
Mobile Country Code.
Definition in Zeile
659
der Datei
gps.h
.
Mobilfunknetzcode
Definition in Zeile
661
der Datei
gps.h
.
Physikalische Zellen-ID in LTE (wird in 2G und 3G nicht verwendet)
Definition in Zeile
672
der Datei
gps.h
.
Tracking-Ortsvorwahl in LTE.
Definition in Zeile
670
der Datei
gps.h
.
Definition in Zeile
657
der Datei
gps.h
.
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
-
hardware/libhardware/include/hardware/
gps.h
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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)"]]