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()
330 @NonNull int[] levelOffset, @NonNull ByteBuffer output) in generateVerityTreeInternal() argument
335 levelOffset[levelOffset.length - 2], levelOffset[levelOffset.length - 1])); in generateVerityTreeInternal()
338 for (int level = levelOffset.length - 3; level >= 0; level--) { in generateVerityTreeInternal()
339 ByteBuffer inputBuffer = slice(output, levelOffset[level + 1], levelOffset[level + 2]); in generateVerityTreeInternal()
340 ByteBuffer outputBuffer = slice(output, levelOffset[level], levelOffset[level + 1]); in generateVerityTreeInternal()
463 int[] levelOffset = new int[levelSize.size() + 1]; in calculateVerityLevelOffset() local
464 levelOffset[0] = 0; in calculateVerityLevelOffset()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java148 int levelOffset = numBins == (CellSignalStrength.getNumSignalStrengthLevels() + 1) ? 10 : 0; in unpackLevel() local
150 return level + levelOffset; in unpackLevel()