27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
GnssSystemInfo Yapı Referansı
#include <
gps.h
>
Temel GPS/GNSS donanım ve yazılımının ne kadar yeni olduğu hakkında bilgi sağlar.
Bu bilgiler Android test uygulamaları için kullanılabilir. Bir GPS HAL bu bilgiyi sağlamazsa "2015 veya daha eski" olarak kabul edilir.
Bir GPS HAL bu bilgileri sağlıyorsa daha yeni yılların daha yeni CTS standartlarını karşılaması gerekir. Örneğin, tarih 2016 veya daha yeniyse N+ düzeyinde
GpsMeasurement
desteği doğrulanır.
gps.h
dosyasının
758
satırı
sizeof(GnssSystemInfo) olarak ayarlayın.
Tanımı,
gps.h
dosyasının
760
satırı
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
-
hardware/libhardware/include/hardware/
gps.h
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: GnssSystemInfo Struct Reference\n\nGnssSystemInfo Struct Reference\n===============================\n\n[Data Fields](#pub-attribs) \nGnssSystemInfo 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_gnss_system_info#a854352f53b148adc24983a58a1866d66) |\n| ||\n| uint16_t | [year_of_hw](/reference/hal/struct_gnss_system_info#aa4f56202c79b8f308ac9f9a12ec25542) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nProvides information about how new the underlying GPS/GNSS hardware and software is.\n\n\nThis information will be available for Android Test Applications. If a GPS HAL does not provide this information, it will be considered \"2015 or\nearlier\".\n\n\nIf a GPS HAL does provide this information, then newer years will need to meet newer CTS standards. E.g. if the date are 2016 or above, then N+ level\n[GpsMeasurement](/reference/hal/struct_gps_measurement)\nsupport will be verified.\n\n\nDefinition at line\n[758](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 size |\n\n\nSet to sizeof(GnssSystemInfo)\n\n\nDefinition at line\n[760](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 year_of_hw |\n\n\nDefinition at line\n[763](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)"]]