Home
last modified time | relevance | path

Searched refs:rootUri (Results 1 – 5 of 5) sorted by relevance

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DWindowsPathTypeTest.java172 URI rootUri = PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.<String>of(), true); in testWindows_toUri_normal() local
173 assertThat(rootUri.toString()).isEqualTo("jimfs://foo/C:/"); in testWindows_toUri_normal()
174 assertThat(rootUri.getPath()).isEqualTo("/C:/"); in testWindows_toUri_normal()
185 URI rootUri = in testWindows_toUri_unc() local
188 assertThat(rootUri.toString()).isEqualTo("jimfs://foo//host/share/"); in testWindows_toUri_unc()
189 assertThat(rootUri.getPath()).isEqualTo("//host/share/"); in testWindows_toUri_unc()
DUnixPathTypeTest.java68 URI rootUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.<String>of(), true); in testUnix_toUri() local
69 assertThat(rootUri.toString()).isEqualTo("jimfs://foo/"); in testUnix_toUri()
70 assertThat(rootUri.getPath()).isEqualTo("/"); in testUnix_toUri()
DPathTypeTest.java75 URI rootUri = type.toUri(fileSystemUri, "$", ImmutableList.<String>of(), true); in testToUri() local
76 assertThat(rootUri.toString()).isEqualTo("jimfs://foo/$/"); in testToUri()
77 assertThat(rootUri.getPath()).isEqualTo("/$/"); in testToUri()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DTemporaryAndroidUri.java57 Uri rootUri = AndroidUri.builder(context).setInternalLocation().setModule("testing").build(); in before() local
58 File rootFile = AndroidUriAdapter.forContext(context).toFile(rootUri); in before()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DFileGroupUtil.java226 Uri rootUri = getIsolatedRootDirectory(context, instanceId, parentFileGroup); in getIsolatedFileUri() local
227 return appendIsolatedFileUri(rootUri, dataFile); in getIsolatedFileUri()
231 public static Uri appendIsolatedFileUri(Uri rootUri, DataFile dataFile) { in appendIsolatedFileUri() argument
232 Uri.Builder fileUriBuilder = rootUri.buildUpon(); in appendIsolatedFileUri()