Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 18 of 18) sorted by relevance

/development/tools/external_crates/crate_tool/src/
Dmanaged_crate.rs144 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()
Dpseudo_crate.rs70 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()
Dmanaged_repo.rs148 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()
Dandroid_bp.rs74 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()
Dlicense.rs31 pub fn update_module_license_files(path: &impl AsRef<Path>, licenses: &LicenseState) -> Result<()> { in update_module_license_files()
Dlib.rs57 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()
Dcrate_collection.rs37 pub fn add_from(&mut self, path: impl AsRef<Path>) -> Result<()> { in add_from()
/development/tools/crate-updater/src/
Dupdates_tried.rs51 pub fn write(&self) -> Result<()> { in write()
60 pub fn record(&mut self, name: String, version: String, success: bool) -> Result<()> { in record()
Dmain.rs83 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/
Dlib.rs97 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/
DNetworkFragment.java130 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/
Dbp.rs62 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()
Dmain.rs196 ) -> 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/
Dlib.rs66 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/
Dname_and_version_map.rs34 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/
Dlib.rs79 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt()
/development/tools/external_crates/license_checker/src/
Dlicenses.rs94 fn validate(&self) -> Result<(), Error> { in validate()
/development/tools/external_crates/google_metadata/src/
Dlib.rs96 pub fn write(&self) -> Result<(), Error> { in write()