Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
关于功能块
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如需了解 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://gstatic.com/android/binary_transparency/google1p/jwt/2026/01/tile
- Google 产品应用透明度日志
https://gstatic.com/android/binary_transparency/google1p/apk/2026/01/tile
- Mainline 模块透明度日志
https://gstatic.com/android/binary_transparency/mainline/2026/01/tile
使用图块进行计算的示例
为了更好地了解图块的工作原理,我们以 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。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-07-11。
[[["易于理解","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"]],["最后更新时间 (UTC):2026-07-11。"],[],["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"]]