Home
last modified time | relevance | path

Searched refs:manifestConfig (Results 1 – 11 of 11) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/populator/
DManifestConfigHelper.java83 ManifestConfig manifestConfig, in refreshFromManifestConfig() argument
90 return PropagatedFluentFuture.from(helper.applyOverrider(manifestConfig)) in refreshFromManifestConfig()
192 ListenableFuture<List<DataFileGroup>> applyOverrider(ManifestConfig manifestConfig) { in applyOverrider() argument
194 return overriderOptional.get().override(maybeApplyFileUrlTemplate(manifestConfig)); in applyOverrider()
197 for (ManifestConfig.Entry entry : maybeApplyFileUrlTemplate(manifestConfig).getEntryList()) { in applyOverrider()
211 public static ManifestConfig maybeApplyFileUrlTemplate(ManifestConfig manifestConfig) { in maybeApplyFileUrlTemplate() argument
212 if (!manifestConfig.hasUrlTemplate() in maybeApplyFileUrlTemplate()
213 || manifestConfig.getUrlTemplate().getFileUrlTemplate().isEmpty()) { in maybeApplyFileUrlTemplate()
214 return validateManifestConfigFileUrls(manifestConfig); in maybeApplyFileUrlTemplate()
216 String fileDownloadUrlTemplate = manifestConfig.getUrlTemplate().getFileUrlTemplate(); in maybeApplyFileUrlTemplate()
[all …]
DMigrationProxyLocaleOverrider.java48 public ListenableFuture<List<DataFileGroup>> override(ManifestConfig manifestConfig) { in override() argument
50 return localeOverrider.override(manifestConfig); in override()
DManifestConfigFileParser.java55 ManifestConfig manifestConfig = in parse()
57 return manifestConfig; in parse()
DManifestConfigFlagPopulator.java100 ManifestConfig manifestConfig = manifestConfigSupplier.get(); in refreshFileGroups() local
106 manifestConfig.getEntryList(), in refreshFileGroups()
DManifestConfigOverrider.java30 ListenableFuture<List<DataFileGroup>> override(ManifestConfig manifestConfig); in override() argument
DLocaleOverrider.java149 public ListenableFuture<List<DataFileGroup>> override(ManifestConfig manifestConfig) { in override() argument
152 manifestConfig.getEntryList().stream() in override()
DManifestFileGroupPopulator.java500 (final ManifestConfig manifestConfig) ->
503 manifestConfig,
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DDefaultManifestFactory.java32 String manifestConfig = config.manifest(); in identify() local
33 if (Config.NONE.equals(manifestConfig)) { in identify()
35 } else if (!Config.DEFAULT_MANIFEST_NAME.equals(manifestConfig)) { in identify()
36 manifestFile = resolveFile(manifestConfig); in identify()
60 private FsFile resolveFile(String manifestConfig) { in resolveFile() argument
61 URL manifestUrl = getClass().getClassLoader().getResource(manifestConfig); in resolveFile()
63 throw new IllegalArgumentException("couldn't find '" + manifestConfig + "'"); in resolveFile()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/populator/
DMigrationProxyLocaleOverriderTest.java33 private ManifestConfig manifestConfig; field in MigrationProxyLocaleOverriderTest
37 manifestConfig = in setUp()
54 assertThat(migrationProxyLocaleOverrider.override(manifestConfig).get()).isEmpty(); in override_whenFlagReturnsFalse_returnsNothing()
62 assertThat(migrationProxyLocaleOverrider.override(manifestConfig).get()).hasSize(1); in override_whenFlagReturnsTrue_usesLocaleOverrider()
DManifestConfigFlagPopulatorTest.java90 ManifestConfig manifestConfig = createManifestConfig(); in refreshFromManifestConfig_absentOverrider() local
94 manifestConfig, in refreshFromManifestConfig_absentOverrider()
167 ManifestConfig manifestConfig = createManifestConfig(); in refreshFromManifestConfig_identityOverrider() local
185 manifestConfig, in refreshFromManifestConfig_identityOverrider()
201 ManifestConfig manifestConfig = createManifestConfig(); in refreshFromManifestConfig_en_USLocaleOverrider() local
221 manifestConfig, in refreshFromManifestConfig_en_USLocaleOverrider()
234 ManifestConfig manifestConfig = createManifestConfig(); in refreshFileGroups_usesSupplier() local
238 .setManifestConfigSupplier(() -> manifestConfig) in refreshFileGroups_usesSupplier()
/external/robolectric/robolectric/src/main/java/org/robolectric/internal/
DDefaultManifestFactory.java29 String manifestConfig = config.manifest(); in identify() local
30 if (Config.NONE.equals(manifestConfig)) { in identify()
32 } else if (!Config.DEFAULT_MANIFEST_NAME.equals(manifestConfig)) { in identify()
33 manifestFile = getResource(manifestConfig); in identify()