Home
last modified time | relevance | path

Searched refs:OpenContext (Results 1 – 25 of 28) sorted by relevance

12

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/
DOpenContext.java35 public final class OpenContext { class
91 OpenContext build() { in build()
92 return new OpenContext(this); in build()
96 OpenContext(Builder builder) { in OpenContext() method in OpenContext
105 public static OpenContext.Builder builder() { in builder()
106 return new OpenContext.Builder(); in builder()
DSynchronousFileStorage.java171 OpenContext context = getContext(uri); in open()
181 OpenContext context = getContext(uri); in deleteFile()
231 OpenContext context = getContext(uri); in exists()
267 OpenContext context = getContext(uri); in fileSize()
282 OpenContext fromContext = getContext(from); in rename()
283 OpenContext toContext = getContext(to); in rename()
315 OpenContext context = getContext(uri); in getGcParam()
321 OpenContext context = getContext(uri); in setGcParam()
325 private OpenContext getContext(Uri uri) throws IOException { in getContext()
327 return OpenContext.builder() in getContext()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/
DLockFileOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
98 public Closeable open(OpenContext openContext) throws IOException { in open()
141 private Closeable openThreadLock(OpenContext openContext, Uri lockUri) throws IOException { in openThreadLock()
150 private Closeable openStreamForLocking(OpenContext openContext, Uri lockUri) throws IOException { in openStreamForLocking()
165 private Closeable openFileLock(OpenContext openContext, Closeable closeable) throws IOException { in openFileLock()
DStreamMutationOpener.java20 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
87 public Mutator open(OpenContext openContext) throws IOException { in open()
94 private final OpenContext openContext;
99 OpenContext openContext, @Nullable LockFileOpener locking, @Nullable Behavior[] behaviors) in Mutator()
DAssetFileDescriptorOpener.java20 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
39 public AssetFileDescriptor open(OpenContext openContext) throws IOException { in open()
DReadStringOpener.java18 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
42 public String open(OpenContext openContext) throws IOException { in open()
DNativeReadOpener.java20 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
49 public CloseableUri open(OpenContext openContext) throws IOException { in open()
DRandomAccessFileOpener.java18 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
51 public RandomAccessFile open(OpenContext openContext) throws IOException { in open()
DAppendStreamOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
48 public OutputStream open(OpenContext openContext) throws IOException { in open()
DWriteByteArrayOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
53 public Void open(OpenContext openContext) throws IOException { in open()
DWriteStreamOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
46 public OutputStream open(OpenContext openContext) throws IOException { in open()
DMappedByteBufferOpener.java18 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
47 public MappedByteBuffer open(OpenContext openContext) throws IOException { in open()
DParcelFileDescriptorOpener.java21 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
41 public ParcelFileDescriptor open(OpenContext openContext) throws IOException { in open()
DReadStreamOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
60 public InputStream open(OpenContext openContext) throws IOException { in open()
DWriteStringOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
53 public Void open(OpenContext openContext) throws IOException { in open()
DRecursiveSizeOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
52 public Long open(OpenContext context) throws IOException { in open()
DReadByteArrayOpener.java18 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
48 public byte[] open(OpenContext openContext) throws IOException { in open()
DReadProtoOpener.java18 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
71 public T open(OpenContext openContext) throws IOException { in open()
DWriteProtoOpener.java20 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
54 public Void open(OpenContext openContext) throws IOException { in open()
DIntegrityUriComputingOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
45 public Uri open(OpenContext openContext) throws IOException { in open()
DRecursiveDeleteOpener.java24 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
67 public Void open(OpenContext openContext) throws IOException { in open()
DSystemLibraryOpener.java21 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
68 public Void open(OpenContext openContext) throws IOException { in open()
DReadFileOpener.java21 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
111 public File open(OpenContext openContext) throws IOException { in open()
DWriteFileOpener.java20 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
161 public FileCloser open(OpenContext openContext) throws IOException { in open()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/downloader/
DZipFolderOpener.java19 import com.google.android.libraries.mobiledatadownload.file.OpenContext;
50 public Void open(OpenContext openContext) throws IOException { in open()

12