Searched refs:levelOffset (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/util/apk/ |
D | VerityBuilder.java | 115 int[] levelOffset = calculateVerityLevelOffset(dataSize); in generateVerityTreeInternal() local 116 int merkleTreeSize = levelOffset[levelOffset.length - 1]; in generateVerityTreeInternal() 125 byte[] apkRootHash = generateVerityTreeInternal(apk, signatureInfo, salt, levelOffset, in generateVerityTreeInternal() 354 @NonNull int[] levelOffset, @NonNull ByteBuffer output, boolean skipSigningBlock) in generateVerityTreeInternal() argument 360 levelOffset[levelOffset.length - 2], levelOffset[levelOffset.length - 1])); in generateVerityTreeInternal() 363 levelOffset[levelOffset.length - 2], levelOffset[levelOffset.length - 1])); in generateVerityTreeInternal() 367 for (int level = levelOffset.length - 3; level >= 0; level--) { in generateVerityTreeInternal() 368 ByteBuffer inputBuffer = slice(output, levelOffset[level + 1], levelOffset[level + 2]); in generateVerityTreeInternal() 369 ByteBuffer outputBuffer = slice(output, levelOffset[level], levelOffset[level + 1]); in generateVerityTreeInternal() 492 int[] levelOffset = new int[levelSize.size() + 1]; in calculateVerityLevelOffset() local [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 148 int levelOffset = numBins == (CellSignalStrength.getNumSignalStrengthLevels() + 1) ? 10 : 0; in unpackLevel() local 150 return level + levelOffset; in unpackLevel()
|