Searched refs:raf (Results 1 – 4 of 4) sorted by relevance
159 try (RandomAccessFile raf = new RandomAccessFile( in testBaseApkInvalidSignatureAdbInstall() argument162 int byteToContaminate = new Random().nextInt((int) raf.length()); in testBaseApkInvalidSignatureAdbInstall()167 raf.seek(byteToContaminate); in testBaseApkInvalidSignatureAdbInstall()168 raf.writeByte((byte) (~raf.readByte())); in testBaseApkInvalidSignatureAdbInstall()
49 try (RandomAccessFile raf = new RandomAccessFile(mExpected, "rw")) { in setUp() argument50 raf.writeUTF("Lorem ipsum dolor sit amet, consectetur adipiscing elit."); in setUp()
146 try (RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw")) { in testDvrPlayback() argument148 raf.write(bytes); in testDvrPlayback()
2462 long raf = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testGetRadioAccessFamily() local2464 assertThat(raf).isNotEqualTo(TelephonyManager.NETWORK_TYPE_BITMASK_UNKNOWN); in testGetRadioAccessFamily()