Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
關於資訊方塊
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如要瞭解 Android 二進位檔透明度的一般資訊,請前往主要的二進位檔透明度頁面。
本頁提供更多詳細資訊,說明各種 tile/ 目錄下的檔案格式。
這些檔案包含代表 Pixel 原廠映像檔二進位透明度記錄的 Merkle 樹狀結構節點雜湊值。此外,這些雜湊值會封裝成圖塊。如要瞭解如何將樹狀結構分割成圖塊,請參閱「將記錄檔分割成圖塊」一文。
在這個記錄中,節點會使用 SHA256 進行雜湊處理。我們會使用 tlog 程式庫,以 1 的圖塊高度寫入圖塊。也就是說,每個圖塊最多包含 2^height = 2 個雜湊,每個雜湊為 32 個位元組。
不過,後續 (較新的) 記錄會將動態磚高度設為 8。
也就是說,每個圖塊最多包含 2^8 = 256 個雜湊值。
如要瞭解圖塊路徑建構的詳細資料,請參閱 tlog 圖塊文件。
每個記錄的圖塊根目錄都位於:
- Pixel 透明化記錄
https://developers.google.com/android/binary_transparency/tile
- Google 程式碼透明化記錄
https://www.gstatic.com/android/binary_transparency/google1p/jwt/2026/01/package_info.txt
- Google 產品應用程式資訊公開記錄
https://www.gstatic.com/android/binary_transparency/google1p/apk/2026/01/package_info.txt
- Mainline Module Transparency Log
https://www.gstatic.com/android/binary_transparency/mainline/2026/01/module_info.txt
使用圖塊運算的範例
為進一步瞭解動態磚的運作方式,我們將以 Pixel 透明度記錄為例說明。假設樹狀結構的大小為 8。如果查看索引 3 的項目,則會是圖塊 t(0, 1) 中的第一個雜湊。圖塊的路徑格式為 tile/H/L/NNN[.p/W]。因此,圖塊 t(0, 1) 的路徑會是
https://developers.google.com/android/binary_transparency/tile/1/0/001。
樹狀結構根目錄位於圖塊 t(3, 0)/1,路徑為 https://developers.google.com/android/binary_transparency/tile/1/3/000.p/1。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-05-01 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2026-05-01 (世界標準時間)。"],[],["The `tile/` directories contain SHA256 hashes of Merkle Tree nodes, representing the Binary Transparency log for Pixel Factory Images. These hashes are organized into tiles, with each tile containing at most two 32-byte hashes. The tile path structure is `tile/H/L/NNN[.p/W]`. For example, the tile for entry index 3 in a size-8 tree is found at path `/1/0/001`. The root tile is located at path `/1/3/000.p/1`. The Pixel Transparency Log and Google System APK Transparency Log can be found in specific URLs.\n"]]