Home
last modified time | relevance | path

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

/frameworks/base/core/tests/benchmarks/src/android/os/
DFileUtilsBenchmark.java23 import android.os.FileUtils.MemoryPipe;
73 try (MemoryPipe in = MemoryPipe.createSource(mData); in timePipeSourceUserspace()
82 try (MemoryPipe in = MemoryPipe.createSource(mData); in timePipeSourceSplice()
92 MemoryPipe out = MemoryPipe.createSink(mData)) { in timePipeSinkUserspace()
101 MemoryPipe out = MemoryPipe.createSink(mData)) { in timePipeSinkSplice()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java52 import android.os.FileUtils.MemoryPipe;
160 MemoryPipe out = MemoryPipe.createSink(actual)) { in testCopy_FileToPipe()
178 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToFile()
195 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToPipe()
196 MemoryPipe out = MemoryPipe.createSink(actual)) { in testCopy_PipeToPipe()
216 try (MemoryPipe in = MemoryPipe.createSource(source); in testCopy_ShortPipeToFile()
/frameworks/base/core/java/android/os/
DFileUtils.java1413 public static class MemoryPipe extends Thread implements AutoCloseable { class in FileUtils
1418 private MemoryPipe(byte[] data, boolean sink) throws IOException { in MemoryPipe() method in FileUtils.MemoryPipe
1428 private MemoryPipe startInternal() { in startInternal()
1433 public static MemoryPipe createSource(byte[] data) throws IOException { in createSource()
1434 return new MemoryPipe(data, false).startInternal(); in createSource()
1437 public static MemoryPipe createSink(byte[] data) throws IOException { in createSink()
1438 return new MemoryPipe(data, true).startInternal(); in createSink()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt53389 Landroid/os/FileUtils$MemoryPipe;
53390 Landroid/os/FileUtils$MemoryPipe;-><init>([BZ)V
53391 Landroid/os/FileUtils$MemoryPipe;->createSink([B)Landroid/os/FileUtils$MemoryPipe;
53392 Landroid/os/FileUtils$MemoryPipe;->createSource([B)Landroid/os/FileUtils$MemoryPipe;
53393 Landroid/os/FileUtils$MemoryPipe;->data:[B
53394 Landroid/os/FileUtils$MemoryPipe;->getFD()Ljava/io/FileDescriptor;
53395 Landroid/os/FileUtils$MemoryPipe;->getInternalFD()Ljava/io/FileDescriptor;
53396 Landroid/os/FileUtils$MemoryPipe;->pipe:[Ljava/io/FileDescriptor;
53397 Landroid/os/FileUtils$MemoryPipe;->sink:Z
53398 Landroid/os/FileUtils$MemoryPipe;->startInternal()Landroid/os/FileUtils$MemoryPipe;