Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Справочник по структуре AGpsRefLocationCellID
#include < gps.h >
Определение в строке 656 файла gps.h.
Идентификатор ячейки в 2G. Идентификатор сотовой связи Утран в 3G. Глобальный идентификатор ячейки EUTRA в LTE.
Определение в строке 668 файла gps.h.
Код местоположения в сетях 2G, 3G и LTE. В 3G лак отброшен. В LTE lac заполняется tac, чтобы гарантировать, что мы не сломаем старые клиенты, которые могут полагаться на старое (неправильное) поведение.
Определение в строке 666 файла gps.h.
Мобильный код страны.
Определение в строке 659 файла gps.h.
Код мобильной сети.
Определение в строке 661 файла gps.h.
Идентификатор физической соты в LTE (не используется в 2G и 3G)
Определение в строке 672 файла gps.h.
Код города отслеживания в LTE.
Определение в строке 670 файла gps.h.
Документация для этой структуры была создана из следующего файла:
- оборудование/libhardware/include/hardware/ gps.h
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 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-29 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)"]]