Searched refs:canReadByte (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/ |
H A D | ApkVerityTest.java | 404 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetFirstByte)); in testFsverityFailToReadModifiedBlockAtFront() 406 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, in testFsverityFailToReadModifiedBlockAtFront() 415 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetFirstByte)); in testFsverityFailToReadModifiedBlockAtFront() 419 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, lastByteOfTheSamePage)); in testFsverityFailToReadModifiedBlockAtFront() 420 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, lastByteOfTheSamePage + 1)); in testFsverityFailToReadModifiedBlockAtFront() 433 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetOfLastByte)); in testFsverityFailToReadModifiedBlockAtBack() 435 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, in testFsverityFailToReadModifiedBlockAtBack() 444 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, offsetOfLastByte)); in testFsverityFailToReadModifiedBlockAtBack() 447 assertFalse(BlockDeviceWriter.canReadByte(mDevice, apkPath, firstByteOfTheSamePage)); in testFsverityFailToReadModifiedBlockAtBack() 448 assertTrue(BlockDeviceWriter.canReadByte(mDevice, apkPath, firstByteOfTheSamePage - 1)); in testFsverityFailToReadModifiedBlockAtBack() [all …]
|
/aosp12/frameworks/base/tests/ApkVerityTest/block_device_writer/src/com/android/blockdevicewriter/ |
H A D | BlockDeviceWriter.java | 94 public static boolean canReadByte(ITestDevice device, String filePath, long offset) in canReadByte() method in BlockDeviceWriter
|