Home
last modified time | relevance | path

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

/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java287 RandomAccessFile raf = null; in fileReadLoop() local
293 raf = new RandomAccessFile(filename, "rw"); in fileReadLoop()
294 raf.write(buf); in fileReadLoop()
295 raf.close(); in fileReadLoop()
296 raf = null; in fileReadLoop()
299 raf = new RandomAccessFile(filename, "r"); in fileReadLoop()
302 raf.seek(0); in fileReadLoop()
303 raf.read(buf); in fileReadLoop()
312 try { if (raf != null) raf.close(); } catch (IOException e) {} in fileReadLoop()
317 RandomAccessFile raf = null; in fileWriteLoop() local
[all …]
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
DStrictModeActivity.java421 RandomAccessFile raf = null; in fileReadLoop() local
433 raf = new RandomAccessFile(filename, "r"); in fileReadLoop()
434 raf.seek(0); in fileReadLoop()
435 raf.read(buf); in fileReadLoop()
439 try { if (raf != null) raf.close(); } catch (IOException e) {} in fileReadLoop()