Home
last modified time | relevance | path

Searched refs:newUri (Results 1 – 25 of 27) sorted by relevance

12

/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/
DReadProtoOpenerTest.java58 Uri uri = tmpUri.newUri(); in create_fromMessageParser_returnsOpenerWithCorrectGenericType()
70 Uri uri = tmpUri.newUri(); in create_fromMessageInstance_returnsOpenerWithCorrectGenericType()
82 Uri uri = tmpUri.newUri(); in open_readsFullProtoFromFile()
92 Uri uri = tmpUri.newUri(); in open_readsEmptyProtoFromFile()
108 Uri uri = tmpUri.newUri(); in open_throwsIOExceptionOnBadParse()
118 Uri uri = tmpUri.newUri(); in withRegistry_readsExtension()
134 Uri uri = tmpUri.newUri(); in withOutRegistry_failsToReadsExtension()
DWriteProtoOpenerTest.java59 Uri uri = tmpUri.newUri(); in writesProto()
68 Uri uri = tmpUri.newUri().buildUpon().encodedFragment("transform=compress").build(); in writesProto_withTransform()
78 Uri uri = tmpUri.newUri(); in failedWrite_noChange()
94 Uri uri = tmpUri.newUri(); in failedRename_noChange()
110 Uri uri1 = tmpUri.newUri(); in invokes_autoSync()
DMappedByteBufferOpenerAndroidTest.java58 Uri uri = tmpUri.newUri(); in succeedsWithSimplePath()
68 Uri uri = tmpUri.newUri(); in bufferIsReadOnly()
102 Uri uri = tmpUri.newUri(); in failsWithActiveMonitor()
119 Uri uri = tmpUri.newUri(); in succeedsWithInactiveMonitor()
DStringOpenerTest.java48 Uri uri = tmpUri.newUri(); in withMonitor_writesString()
56 Uri uri = tmpUri.newUri(); in writesString_withDifferentCharsets()
70 Uri uri1 = tmpUri.newUri(); in invokes_autoSync()
DWriteByteArrayOpenerTest.java75 Uri uri = tmpUri.newUri(); in directFile_writesArray()
85 Uri uri = tmpUri.newUri(); in directFile_writesArrayThatExceedsOsBufferSize()
95 Uri uri = tmpUri.newUri(); in withMonitor_writesArray()
128 Uri uri1 = tmpUri.newUri(); in invokes_autoSync()
DReadByteArrayOpenerTest.java62 Uri uri = tmpUri.newUri(); in directFile_producesArray()
75 Uri uri = tmpUri.newUri(); in withMonitor_producesArray()
101 Uri uri = tmpUri.newUri(); in withFakeBackend_producesArray()
DStreamMutationOpenerTest.java103 Uri uri = tmpUri.newUri(); in canMutate()
126 Uri uri = tmpUri.newUri(); in canMutate_butNotCommit()
148 Uri uri = tmpUri.newUri(); in canMutate_repeatedly()
177 Uri uri = tmpUri.newUri(); in canMutate_withSync()
230 Uri uri = tmpUri.newUri(); in canMutate_withExclusiveLock()
319 Uri uri = tmpUri.newUri(); in okIfStreamsAreWrapped()
392 Uri uri = tmpUri.newUri(); in multiThreadWithoutLock_lacksIsolation()
DReadStreamOpenerTest.java56 Uri uri = tmpUri.newUri(); in open_withoutTransforms_returnsRawBackendStream()
65 Uri uri = tmpUri.newUri(); in open_withBufferedIo_returnsBufferedInputStream()
DAssetFileDescriptorOpenerAndroidTest.java58 Uri uri = tmpUri.newUri(); in openAssetFileDescriptor_shouldReadFile()
83 Uri uri = tmpUri.newUri(); in openAssetFileDescriptor_withMonitor_shouldReadFile()
DParcelFileDescriptorOpenerAndroidTest.java63 Uri uri = tmpUri.newUri(); in openParcelFileDescriptor_shouldReadFile()
87 Uri uri = tmpUri.newUri(); in openParcelFileDescriptor_withMonitor_shouldReadFile()
DRecursiveSizeOpenerTest.java50 Uri missing = tmpUri.newUri(); in open_nonExistentUri_throwsFileNotFoundException()
57 Uri file = tmpUri.newUri(); in open_file_throwsFileNotFoundException()
DIntegrityUriComputingOpenerTest.java94 Uri uri = tmpUri.newUri(); in createTestFile()
DNativeReadOpenerAndroidTest.java58 Uri uri = tmpUri.newUri(); in openForNativeRead_returnsAWorkingFileDescriptor()
DSystemLibraryOpenerAndroidTest.java65 Uri uri = tmpUri.newUri(); in openFromFileWithoutCache_shouldLoad()
DRecursiveDeleteOpenerTest.java56 Uri file = tmpUri.newUri(); in open_file_deletesFile()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFakeFileBackendTest.java67 Uri uri = tmpUri.newUri(); in throwsExceptions_forRead()
80 Uri uri = tmpUri.newUri(); in throwsExceptions_forWrite()
92 Uri uri = tmpUri.newUri(); in throwsExceptions_forQuery()
114 Uri uri = tmpUri.newUri(); in throwsExceptions_forManage()
115 Uri uri2 = tmpUri.newUri(); in throwsExceptions_forManage()
136 Uri uri = tmpUri.newUri(); in throwsExceptions_forAll()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/
DLockScopeTest.java54 Uri uri = tmpUri.newUri(); in createWithSharedThreadLocks_sharesThreadLocksAcrossInstances()
66 Uri uri = tmpUri.newUri(); in createWithFailingThreadLocks_willFailToAcquireThreadLocks()
75 Uri uri = tmpUri.newUri(); in createFileLockSucceedsInSingleProcess()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/samples/
DSamplesTest.java67 Uri uri = tmpUri.newUri().buildUpon().encodedFragment("transform=capitalize+base64").build(); in capitalizeAndBase64ShouldRoundTrip()
94 tmpUri.newUri().buildUpon().encodedFragment("transform=capitalize+base64+compress").build(); in capitalizeAndBase64AndCompressShouldRoundTrip()
102 Uri uri = tmpUri.newUri().buildUpon().scheme("base64").build(); in base64BackendShouldRoundTrip()
111 Uri uri = tmpUri.newUri().buildUpon().encodedFragment("transform=capitalize").build(); in capitalizationTransform_shouldBeSizable()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/integration/downloader/
DDownloadDestinationOpenerTest.java87 Uri fileUri = tmpUri.newUri(); in opener_withNoExistingData_createsNewMetadata()
102 Uri fileUri = tmpUri.newUri(); in opener_withNoExistingData_writes()
135 Uri fileUri = tmpUri.newUri(); in opener_withExistingData_usesExistingMetadata()
156 Uri fileUri = tmpUri.newUri(); in opener_withExistingData_writes()
198 Uri fileUri = tmpUri.newUri(); in opener_clearsMetadataAndData()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/downloader/offroad/
DOffroad2FileDownloaderTest.java195 Uri fileUri = tmpUri.newUri(); in testStartDownloading_downloadConditionsNull_usesWifiOnly()
232 Uri fileUri = tmpUri.newUri(); in testStartDownloading_wifi()
277 Uri fileUri = tmpUri.newUri(); in testStartDownloading_wifi_notSettingTrafficTag()
302 Uri fileUri = tmpUri.newUri(); in testStartDownloading_extraHttpHeaders()
332 Uri fileUri = tmpUri.newUri(); in testStartDownloading_cellular()
361 Uri fileUri = tmpUri.newUri(); in testStartDownloading_failed()
384 Uri fileUri = tmpUri.newUri(); in testStartDownloading_whenPartialFile_whenMetadataNotPresent_getsFullFile()
425 Uri fileUri = tmpUri.newUri(); in testStartDownloading_whenPartialFile_whenMetadataPresent_reusesPartialFile()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DManagedServletPipeline.java172 static HttpServletRequest wrapRequest(HttpServletRequest request, String newUri) {
173 return new RequestDispatcherRequestWrapper(request, newUri);
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java238 String newUri = ""; in encodeUri() local
243 newUri += "/"; in encodeUri()
245 newUri += "%20"; in encodeUri()
248 newUri += URLEncoder.encode(tok, "UTF-8"); in encodeUri()
253 return newUri; in encodeUri()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DTemporaryUri.java55 public Uri newUri() throws IOException { in newUri() method in TemporaryUri
DTemporaryAndroidUri.java79 public Uri newUri() throws IOException { in newUri() method in TemporaryAndroidUri
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsChunkSource.java334 Uri newUri = Uri.parse(UriUtil.resolve(mediaPlaylist.baseUri, newPart.url));
335 return Util.areEqual(newUri, mediaChunk.dataSpec.uri)

12