/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/populator/ |
D | ManifestConfigHelper.java | 83 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 …]
|
D | MigrationProxyLocaleOverrider.java | 48 public ListenableFuture<List<DataFileGroup>> override(ManifestConfig manifestConfig) { in override() argument 50 return localeOverrider.override(manifestConfig); in override()
|
D | ManifestConfigFileParser.java | 55 ManifestConfig manifestConfig = in parse() 57 return manifestConfig; in parse()
|
D | ManifestConfigFlagPopulator.java | 100 ManifestConfig manifestConfig = manifestConfigSupplier.get(); in refreshFileGroups() local 106 manifestConfig.getEntryList(), in refreshFileGroups()
|
D | ManifestConfigOverrider.java | 30 ListenableFuture<List<DataFileGroup>> override(ManifestConfig manifestConfig); in override() argument
|
D | LocaleOverrider.java | 149 public ListenableFuture<List<DataFileGroup>> override(ManifestConfig manifestConfig) { in override() argument 152 manifestConfig.getEntryList().stream() in override()
|
D | ManifestFileGroupPopulator.java | 500 (final ManifestConfig manifestConfig) -> 503 manifestConfig,
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
D | DefaultManifestFactory.java | 32 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/ |
D | MigrationProxyLocaleOverriderTest.java | 33 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()
|
D | ManifestConfigFlagPopulatorTest.java | 90 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/ |
D | DefaultManifestFactory.java | 29 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()
|