Home
last modified time | relevance | path

Searched refs:raf (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/
DIncrementalInstallTest.java159 try (RandomAccessFile raf = new RandomAccessFile( in testBaseApkInvalidSignatureAdbInstall() argument
162 int byteToContaminate = new Random().nextInt((int) raf.length()); in testBaseApkInvalidSignatureAdbInstall()
167 raf.seek(byteToContaminate); in testBaseApkInvalidSignatureAdbInstall()
168 raf.writeByte((byte) (~raf.readByte())); in testBaseApkInvalidSignatureAdbInstall()
/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java49 try (RandomAccessFile raf = new RandomAccessFile(mExpected, "rw")) { in setUp() argument
50 raf.writeUTF("Lorem ipsum dolor sit amet, consectetur adipiscing elit."); in setUp()
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerDvrTest.java146 try (RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw")) { in testDvrPlayback() argument
148 raf.write(bytes); in testDvrPlayback()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java2462 long raf = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testGetRadioAccessFamily() local
2464 assertThat(raf).isNotEqualTo(TelephonyManager.NETWORK_TYPE_BITMASK_UNKNOWN); in testGetRadioAccessFamily()