/development/tools/external_crates/crate_tool/src/ |
D | managed_crate.rs | 144 pub fn recontextualize_patches(&self) -> Result<()> { in recontextualize_patches() 255 fn copy_to_temporary_build_directory(&self) -> Result<()> { in copy_to_temporary_build_directory() 269 fn copy_customizations(&self) -> Result<()> { in copy_customizations() 309 fn apply_patches(&self) -> Result<()> { in apply_patches() 353 pub fn regenerate(&self, run_cargo_embargo: bool) -> Result<()> { in regenerate() 378 fn update_license_files(&self) -> Result<()> { in update_license_files() 459 fn run_cargo_embargo(&self) -> Result<()> { in run_cargo_embargo() 482 fn update_metadata(&self) -> Result<()> { in update_metadata() 497 fn fix_test_mapping(&self) -> Result<()> { in fix_test_mapping()
|
D | pseudo_crate.rs | 70 pub fn regenerate_crate_list(&self) -> Result<()> { in regenerate_crate_list() 173 pub fn init(&self) -> Result<()> { in init() 201 fn add_internal(&self, crate_and_version_str: &str, crate_name: &str) -> Result<()> { in add_internal() 214 pub fn cargo_add(&self, krate: &impl NamedAndVersioned) -> Result<()> { in cargo_add() 217 pub fn cargo_add_unpinned(&self, krate: &impl NamedAndVersioned) -> Result<()> { in cargo_add_unpinned() 220 pub fn cargo_add_unversioned(&self, crate_name: &str) -> Result<()> { in cargo_add_unversioned() 223 pub fn remove(&self, crate_name: impl AsRef<str>) -> Result<()> { in remove()
|
D | managed_repo.rs | 148 pub fn analyze_import(&self, crate_name: &str) -> Result<()> { in analyze_import() 238 pub fn import(&self, crate_name: &str, version: &str, autoconfig: bool) -> Result<()> { in import() 335 ) -> Result<()> { in regenerate() 348 pub fn preupload_check(&self, files: &[String]) -> Result<()> { in preupload_check() 402 ) -> Result<()> { in recontextualize_patches() 409 pub fn updatable_crates(&self) -> Result<()> { in updatable_crates() 433 pub fn analyze_updates(&self, crate_name: impl AsRef<str>) -> Result<()> { in analyze_updates() 537 ) -> Result<()> { in suggest_updates() 619 pub fn update(&self, crate_name: impl AsRef<str>, version: impl AsRef<str>) -> Result<()> { in update() 671 pub fn init(&self) -> Result<()> { in init()
|
D | android_bp.rs | 74 pub fn maybe_build_cargo_embargo(repo_root: &impl AsRef<Path>, force_rebuild: bool) -> Result<()> { in maybe_build_cargo_embargo() 87 pub fn build_cargo_embargo(repo_root: &impl AsRef<Path>) -> Result<()> { in build_cargo_embargo()
|
D | license.rs | 31 pub fn update_module_license_files(path: &impl AsRef<Path>, licenses: &LicenseState) -> Result<()> { in update_module_license_files()
|
D | lib.rs | 57 pub fn ensure_exists_and_empty(dir: impl AsRef<Path>) -> Result<()> { in ensure_exists_and_empty() 120 pub fn copy_dir(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> Result<()> { in copy_dir()
|
D | crate_collection.rs | 37 pub fn add_from(&mut self, path: impl AsRef<Path>) -> Result<()> { in add_from()
|
/development/tools/crate-updater/src/ |
D | updates_tried.rs | 51 pub fn write(&self) -> Result<()> { in write() 60 pub fn record(&mut self, name: String, version: String, success: bool) -> Result<()> { in record()
|
D | main.rs | 83 fn cleanup_and_sync_monorepo(monorepo_path: &Path) -> Result<()> { in cleanup_and_sync_monorepo() 128 fn sync_to_green(monorepo_path: &Path) -> Result<()> { in sync_to_green() 191 ) -> Result<()> { in try_update()
|
/development/tools/external_crates/test_mapping/src/ |
D | lib.rs | 97 pub fn write(&self) -> Result<(), Error> { in write() 117 pub fn update_presubmits(&mut self) -> Result<(), Error> { in update_presubmits() 149 pub fn update_imports(&mut self) -> Result<(), Error> { in update_imports()
|
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | NetworkFragment.java | 130 class Result { class in NetworkFragment.DownloadTask 133 public Result(String resultValue) { in Result() method in NetworkFragment.DownloadTask.Result 136 public Result(Exception exception) { in Result() method in NetworkFragment.DownloadTask.Result
|
/development/tools/cargo_embargo/src/ |
D | bp.rs | 62 pub fn write(&self, w: &mut impl std::fmt::Write) -> Result<()> { in write() 103 pub fn write(&self, w: &mut impl std::fmt::Write) -> Result<()> { in write() 170 pub fn write(&self, w: &mut impl std::fmt::Write) -> Result<()> { in write()
|
D | main.rs | 196 ) -> Result<()> { in dump_crates() 209 fn autoconfig(args: &Args, config_filename: &Path, intermediates_dir: &Path) -> Result<()> { in autoconfig() 273 fn add_to_path(extra_path: PathBuf) -> Result<()> { in add_to_path() 330 fn run_embargo(args: &Args, config_filename: &Path, intermediates_dir: &Path) -> Result<()> { in run_embargo() 403 ) -> Result<()> { in write_all_build_files() 607 ) -> Result<()> { in write_build_files() 954 fn apply_patch_file(output_path: &Path, patch_path: &Path) -> Result<()> { in apply_patch_file() 977 ) -> Result<()> { in write_format_android_bp()
|
/development/tools/external_crates/checksum/src/ |
D | lib.rs | 66 pub fn generate(crate_dir: impl AsRef<Path>) -> Result<(), Error> { in generate() 111 pub fn verify(crate_dir: impl AsRef<Path>) -> Result<(), Error> { in verify()
|
/development/tools/external_crates/name_and_version/src/ |
D | name_and_version_map.rs | 34 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), Error>; in insert_or_error() 75 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), Error> { in insert_or_error()
|
/development/tools/external_crates/rooted_path/src/ |
D | lib.rs | 79 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt()
|
/development/tools/external_crates/license_checker/src/ |
D | licenses.rs | 94 fn validate(&self) -> Result<(), Error> { in validate()
|
/development/tools/external_crates/google_metadata/src/ |
D | lib.rs | 96 pub fn write(&self) -> Result<(), Error> { in write()
|