/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/ |
D | AndroidFileBackend.java | 172 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in AndroidFileBackend 175 return remoteBackend.openForNativeRead(uri); in openForNativeRead() 177 return super.openForNativeRead(uri); in openForNativeRead()
|
D | ContentResolverBackend.java | 100 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in ContentResolverBackend
|
D | AssetFileBackend.java | 70 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws UnsupportedFileStorageOperation { in openForNativeRead() method in AssetFileBackend
|
D | BlobStoreBackend.java | 94 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in BlobStoreBackend
|
D | JavaFileBackend.java | 65 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in JavaFileBackend
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/spi/ |
D | ForwardingBackend.java | 71 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in ForwardingBackend 72 return delegate().openForNativeRead(rewriteUri(uri)); in openForNativeRead()
|
D | Backend.java | 61 default Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | FileStorageTestBase.java | 133 when(fileBackend.openForNativeRead(any())) in initMocksAndCreateFileStorage() 135 when(cnsBackend.openForNativeRead(any())) in initMocksAndCreateFileStorage()
|
D | FakeFileBackend.java | 163 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in FakeFileBackend 165 return delegate.openForNativeRead(uri); in openForNativeRead()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | FakeFileBackendTest.java | 70 assertThrows(FakeIOException.class, () -> backend.openForNativeRead(uri)); in throwsExceptions_forRead() 74 Pair<Uri, Closeable> nativeOpen = backend.openForNativeRead(uri); in throwsExceptions_forRead()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/ |
D | NativeReadOpener.java | 50 Pair<Uri, Closeable> result = openContext.backend().openForNativeRead(openContext.encodedUri()); in open()
|
D | ParcelFileDescriptorOpener.java | 42 Pair<Uri, Closeable> result = openContext.backend().openForNativeRead(openContext.encodedUri()); in open()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/ |
D | NativeReadOpenerTest.java | 62 when(fileBackend.openForNativeRead(any())) in initStorage()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/ |
D | AndroidFileBackendTest.java | 237 when(remoteBackend.openForNativeRead(any(Uri.class))) in openForNativeRead_remoteAuthorityShouldUseRemoteBackend() 247 verify(remoteBackend).openForNativeRead(uri); in openForNativeRead_remoteAuthorityShouldUseRemoteBackend()
|
D | BlobStoreBackendTest.java | 84 Pair<Uri, Closeable> closeableUri = backend.openForNativeRead(uriForRead); in nativeReadAfterWrite_succeeds()
|