Searched refs:raf (Results 1 – 6 of 6) sorted by relevance
150 try (RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw")) { in testDvrPlayback() argument152 raf.write(bytes); in testDvrPlayback()228 try (RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw")) { in testSetPlaybackBufferStatusCheckIntervalHint() argument230 raf.write(bytes); in testSetPlaybackBufferStatusCheckIntervalHint()
51 try (RandomAccessFile raf = new RandomAccessFile(mExpected, "rw")) { in setUp() argument52 raf.writeUTF("Lorem ipsum dolor sit amet, consectetur adipiscing elit."); in setUp()
170 try (RandomAccessFile raf = new RandomAccessFile( in testBaseApkInvalidSignatureAdbInstall() argument173 int byteToContaminate = new Random().nextInt((int) raf.length()); in testBaseApkInvalidSignatureAdbInstall()178 raf.seek(byteToContaminate); in testBaseApkInvalidSignatureAdbInstall()179 raf.writeByte((byte) (~raf.readByte())); in testBaseApkInvalidSignatureAdbInstall()
273 private int getHighestRatFromNetworkType(int raf) { in getHighestRatFromNetworkType() argument275 int networkMode = RadioAccessFamily.getNetworkTypeFromRaf(raf); in getHighestRatFromNetworkType()429 public boolean updateHighestRegisteredRat(int raf) { in updateHighestRegisteredRat() argument432 mHighRat = getHighestRatFromNetworkType(raf); in updateHighestRegisteredRat()
3376 long raf = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testGetRadioAccessFamily() local3378 assertThat(raf).isNotEqualTo(TelephonyManager.NETWORK_TYPE_BITMASK_UNKNOWN); in testGetRadioAccessFamily()