Merge changes I6457933a,I955aa0fa

am: db3c8985be

Change-Id: Ie37fd0f028dd95095b9a1fa4ebd2c8496a27b8b7
This commit is contained in:
Mark Salyzyn
2019-01-15 12:40:52 -08:00
committed by android-build-merger

View File

@@ -75,8 +75,8 @@ def GetInodeUsage(path):
"""
cmd = ["find", path, "-print"]
output = common.RunAndCheckOutput(cmd, verbose=False)
# TODO(b/122328872) Fix estimation algorithm to not need the multiplier.
return output.count('\n') * 2
# increase by > 4% as number of files and directories is not whole picture.
return output.count('\n') * 25 // 24
def GetFilesystemCharacteristics(image_path, sparse_image=True):