自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
小型基地台支援
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
搭載 Android 11 以上版本的裝置可透過 cell identification API 中的方法,提供關於封閉訂閱者群組 (CSG) 的資訊,以支援 CSG。這項功能對透過封閉式訂閱者群組管理小型小區的行動網路業者 (MNO) 來說非常實用。CSG 相關資訊會顯示在 ClosedSubscriberGroupInfo
類別中。
實作
如要在搭載 Android 11 以上版本的裝置上支援 CGG,請在 radio/1.5/types.hal
中實作下列函式。
ClosedSubscriberGroupInfo
:可選納入每個 CellIdentity
例項。這個結構體可用來提供單元格所屬的封閉訂閱者群組詳細資料 (如有)。這通常用於識別小型基地台,例如個人 LTE 裝置。也適用於 CBRS LTE 等部署作業。
CellIdentityLte
:支援額外 PLMN ID 清單。
CellIdentityWcdma
:支援額外 PLMN ID 清單。
CellIdentityTdscdma
:支援額外 PLMN ID 清單。
RegStateResult
:包含更新版 CellIdentity
結構和用於指示 RPLMN 的欄位。
驗證
如要測試導入成果,請執行下列 CTS 測試:CellInfoTest
。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[],[],null,["# Small cell support\n\nDevices launched with Android 11 or higher can provide\nsupport for closed subscriber groups (CSGs) through methods in the\n[cell identification APIs](https://developer.android.com/reference/android/telephony/CellIdentity)\nthat get information about a cell's CSG information. This is useful for mobile\nnetwork operators (MNOs) that manage small cells through closed subscriber\ngroups. Information about CSGs is represented in the\n[`ClosedSubscriberGroupInfo`](https://developer.android.com/reference/android/telephony/ClosedSubscriberGroupInfo)\nclass.\n\nImplementation\n--------------\n\nTo support CGGs on devices running Android 11 or\nhigher, implement the following functions in\n[`radio/1.5/types.hal`](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/android16-release/radio/1.5/types.hal).\n\n- `ClosedSubscriberGroupInfo`: Included optionally with every `CellIdentity` instance. This structure is used to provide details about the closed subscriber group to which a cell belongs, if any. This is commonly used to identity *small cells* such as personal LTE devices. It can also be used in deployments such as CBRS LTE.\n- `CellIdentityLte`: Supports a list of additional PLMN-IDs.\n- `CellIdentityWcdma`: Supports a list of additional PLMN-IDs.\n- `CellIdentityTdscdma`: Supports a list of additional PLMN-IDs.\n- `RegStateResult`: Includes an updated `CellIdentity` structure and a field to indicate the RPLMN.\n\nValidation\n----------\n\nTo test your implementation, run the following CTS test:\n[`CellInfoTest`](https://android.googlesource.com/platform/cts/+/3c3d33a/tests/tests/telephony/src/android/telephony/cts/CellInfoTest.java)."]]