Home
last modified time | relevance | path

Searched refs:levelOffset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java94 int[] levelOffset = calculateVerityLevelOffset(dataSize); in generateVerityTreeInternal() local
95 int merkleTreeSize = levelOffset[levelOffset.length - 1]; in generateVerityTreeInternal()
103 levelOffset, tree); in generateVerityTreeInternal()
135 int[] levelOffset = calculateVerityLevelOffset(apk.length()); in generateFsVerityRootHash() local
136 int merkleTreeSize = levelOffset[levelOffset.length - 1]; in generateFsVerityRootHash()
143 return generateFsVerityTreeInternal(apk, salt, levelOffset, tree); in generateFsVerityRootHash()
339 @Nullable byte[] salt, @NonNull int[] levelOffset, @NonNull ByteBuffer output) in generateFsVerityTreeInternal() argument
343 slice(output, levelOffset[levelOffset.length - 2], in generateFsVerityTreeInternal()
344 levelOffset[levelOffset.length - 1])); in generateFsVerityTreeInternal()
347 for (int level = levelOffset.length - 3; level >= 0; level--) { in generateFsVerityTreeInternal()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java156 int levelOffset = numBins == (CellSignalStrength.getNumSignalStrengthLevels() + 1) ? 10 : 0; in unpackLevel() local
165 return level + levelOffset + cutOutOffset; in unpackLevel()