Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dlegacy_blob.rs631 let mut file = match Self::with_retry_interrupted(|| File::open(path)) { in read_generic_blob()
668 if let Err(e) = Self::with_retry_interrupted(|| fs::remove_file(path.as_path())) { in remove_legacy_keystore_entry()
686 let dir = match Self::with_retry_interrupted(|| fs::read_dir(path.as_path())) { in list_legacy_keystore_entries_for_uid()
807 let dir = Self::with_retry_interrupted(|| fs::read_dir(self.path.as_path())) in is_empty()
828 Ok(Self::with_retry_interrupted(|| user_path.read_dir()) in is_empty_user()
849 let dir = match Self::with_retry_interrupted(|| fs::read_dir(path.as_path())) { in list_user()
922 fn with_retry_interrupted<F, T>(f: F) -> IoResult<T> in with_retry_interrupted() method
944 if let Err(e) = Self::with_retry_interrupted(|| fs::remove_file(path.as_path())) { in remove_keystore_entry()
953 if let Err(e) = Self::with_retry_interrupted(|| fs::remove_file(path.as_path())) { in remove_keystore_entry()
971 if let Err(e) = Self::with_retry_interrupted(|| fs::remove_file(path.as_path())) { in remove_keystore_entry()
[all …]