Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/
H A DApkVerityTest.java401 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetFirstByte)); in testFsverityFailToReadModifiedBlockAtFront()
403 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, in testFsverityFailToReadModifiedBlockAtFront()
412 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetFirstByte)); in testFsverityFailToReadModifiedBlockAtFront()
416 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, lastByteOfTheSamePage)); in testFsverityFailToReadModifiedBlockAtFront()
417 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, lastByteOfTheSamePage + 1)); in testFsverityFailToReadModifiedBlockAtFront()
430 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetOfLastByte)); in testFsverityFailToReadModifiedBlockAtBack()
432 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, in testFsverityFailToReadModifiedBlockAtBack()
441 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetOfLastByte)); in testFsverityFailToReadModifiedBlockAtBack()
444 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, firstByteOfTheSamePage)); in testFsverityFailToReadModifiedBlockAtBack()
445 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, firstByteOfTheSamePage - 1)); in testFsverityFailToReadModifiedBlockAtBack()
[all …]
/aosp14/frameworks/base/tests/ApkVerityTest/block_device_writer/src/com/android/blockdevicewriter/
H A DBlockDeviceWriter.java95 public static boolean canReadByte(ITestDevice device, String filePath, long offset) in canReadByte() method in BlockDeviceWriter