Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Struct AGpsRefLocationCellID
#include <
gps.h
>
Definisi di baris
656
file
gps.h
.
ID sel di 2G. ID Sel Utran di 3G. Cell Global Id EUTRA di LTE.
Definisi di baris
668
dari file
gps.h
.
Kode Area Lokasi di 2G, 3G, dan LTE. Di 3G, lac dihapus. Di LTE, lac diisi dengan tac, untuk memastikan bahwa kita tidak merusak klien lama yang mungkin mengandalkan perilaku lama (salah).
Definisi di baris
666
dari file
gps.h
.
Kode Negara Seluler.
Definisi di baris
659
dari file
gps.h
.
Kode Jaringan Seluler .
Definisi di baris
661
dari file
gps.h
.
ID Sel Fisik di LTE (tidak digunakan di 2G dan 3G)
Definisi di baris
672
dari file
gps.h
.
Melacak Kode Area di LTE.
Definisi di baris
670
dari file
gps.h
.
Dokumentasi untuk struct ini dibuat dari file berikut:
-
hardware/libhardware/include/hardware/
gps.h
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]