Searched refs:offsetFirstByte (Results 1 – 1 of 1) sorted by relevance
401 long offsetFirstByte = 0; in testFsverityFailToReadModifiedBlockAtFront() local404 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetFirstByte)); in testFsverityFailToReadModifiedBlockAtFront()405 if (apkSize > offsetFirstByte + FSVERITY_PAGE_SIZE) { in testFsverityFailToReadModifiedBlockAtFront()407 offsetFirstByte + FSVERITY_PAGE_SIZE)); in testFsverityFailToReadModifiedBlockAtFront()411 damageFileAgainstBlockDevice(apkPath, offsetFirstByte); in testFsverityFailToReadModifiedBlockAtFront()415 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetFirstByte)); in testFsverityFailToReadModifiedBlockAtFront()416 if (apkSize > offsetFirstByte + FSVERITY_PAGE_SIZE) { in testFsverityFailToReadModifiedBlockAtFront()418 offsetFirstByte % FSVERITY_PAGE_SIZE + FSVERITY_PAGE_SIZE - 1; in testFsverityFailToReadModifiedBlockAtFront()