Searched refs:MemoryPipe (Results 1 – 4 of 4) sorted by relevance
23 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()
55 import android.os.FileUtils.MemoryPipe;164 MemoryPipe out = MemoryPipe.createSink(actual)) { in testCopy_FileToPipe()182 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToFile()199 try (MemoryPipe in = MemoryPipe.createSource(expected); in testCopy_PipeToPipe()200 MemoryPipe out = MemoryPipe.createSink(actual)) { in testCopy_PipeToPipe()220 try (MemoryPipe in = MemoryPipe.createSource(source); in testCopy_ShortPipeToFile()
1498 public static class MemoryPipe extends Thread implements AutoCloseable { class in FileUtils1503 private MemoryPipe(byte[] data, boolean sink) throws IOException { in MemoryPipe() method in FileUtils.MemoryPipe1513 private MemoryPipe startInternal() { in startInternal()1518 public static MemoryPipe createSource(byte[] data) throws IOException { in createSource()1519 return new MemoryPipe(data, false).startInternal(); in createSource()1522 public static MemoryPipe createSink(byte[] data) throws IOException { in createSink()1523 return new MemoryPipe(data, true).startInternal(); in createSink()
35973 Landroid/os/FileUtils$MemoryPipe;-><init>([BZ)V35974 Landroid/os/FileUtils$MemoryPipe;->createSink([B)Landroid/os/FileUtils$MemoryPipe;35975 Landroid/os/FileUtils$MemoryPipe;->createSource([B)Landroid/os/FileUtils$MemoryPipe;35976 Landroid/os/FileUtils$MemoryPipe;->data:[B35977 Landroid/os/FileUtils$MemoryPipe;->getFD()Ljava/io/FileDescriptor;35978 Landroid/os/FileUtils$MemoryPipe;->getInternalFD()Ljava/io/FileDescriptor;35979 Landroid/os/FileUtils$MemoryPipe;->pipe:[Ljava/io/FileDescriptor;35980 Landroid/os/FileUtils$MemoryPipe;->sink:Z35981 Landroid/os/FileUtils$MemoryPipe;->startInternal()Landroid/os/FileUtils$MemoryPipe;