Home
last modified time | relevance | path

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

/system/extras/profcollectd/libprofcollectd/
Dservice.rs20 use binder::public_api::Result as BinderResult;
55 fn schedule(&self) -> BinderResult<()> { in schedule() argument
62 fn terminate(&self) -> BinderResult<()> { in terminate() argument
69 fn trace_once(&self, tag: &str) -> BinderResult<()> { in trace_once() argument
76 fn process(&self, blocking: bool) -> BinderResult<()> { in process() argument
83 fn report(&self) -> BinderResult<String> { in report()
91 fn delete_report(&self, report_name: &str) -> BinderResult<()> { in delete_report() argument
100 fn copy_report_to_bb(&self, bb_profile_id: i32, report_name: &str) -> BinderResult<()> { in copy_report_to_bb() argument
124 fn get_supported_provider(&self) -> BinderResult<String> { in get_supported_provider()
/system/security/keystore2/src/
Derror.rs36 ExceptionCode, Result as BinderResult, Status as BinderStatus, StatusCode,
80 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error()
108 pub fn map_rem_prov_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_rem_prov_error()
118 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status()
167 pub fn map_or_log_err<T, U, F>(result: anyhow::Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
169 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
194 ) -> BinderResult<T> in map_err_with()
197 F2: FnOnce(U) -> BinderResult<T>, in map_err_with()
234 ExceptionCode, Result as BinderResult, Status as BinderStatus,
284 fn binder_sse_error(sse: i32) -> BinderResult<()> { in binder_sse_error() argument
[all …]
Dmaintenance.rs33 BinderFeatures, Interface, Result as BinderResult, Strong, ThreadState,
269 fn onUserPasswordChanged(&self, user_id: i32, password: Option<&[u8]>) -> BinderResult<()> { in onUserPasswordChanged() argument
274 fn onUserAdded(&self, user_id: i32) -> BinderResult<()> { in onUserAdded() argument
279 fn onUserRemoved(&self, user_id: i32) -> BinderResult<()> { in onUserRemoved() argument
284 fn clearNamespace(&self, domain: Domain, nspace: i64) -> BinderResult<()> { in clearNamespace() argument
289 fn getState(&self, user_id: i32) -> BinderResult<AidlUserState> { in getState()
294 fn earlyBootEnded(&self) -> BinderResult<()> { in earlyBootEnded() argument
299 fn onDeviceOffBody(&self) -> BinderResult<()> { in onDeviceOffBody() argument
308 ) -> BinderResult<()> { in migrateKeyNamespace() argument
313 fn deleteAllKeys(&self) -> BinderResult<()> { in deleteAllKeys() argument
Dmetrics.rs26 use android_security_metrics::binder::{BinderFeatures, Interface, Result as BinderResult, Strong};
52 fn pullMetrics(&self, atom_id: AtomID) -> BinderResult<Vec<KeystoreAtom>> { in pullMetrics()
Dauthorization.rs25 …d_security_authorization::binder::{BinderFeatures,ExceptionCode, Interface, Result as BinderResult,
68 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
70 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
236 fn addAuthToken(&self, auth_token: &HardwareAuthToken) -> BinderResult<()> { in addAuthToken() argument
247 ) -> BinderResult<()> { in onLockScreenEvent() argument
Dapc.rs31 BinderFeatures, ExceptionCode, Interface, Result as BinderResult, SpIBinder,
97 pub fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
99 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
365 ) -> BinderResult<()> { in presentPrompt() argument
376 ) -> BinderResult<()> { in cancelPrompt() argument
380 fn isSupported(&self) -> BinderResult<bool> { in isSupported()
/system/security/keystore2/legacykeystore/
Dlib.rs23 BinderFeatures, ExceptionCode, Result as BinderResult, Status as BinderStatus, Strong,
213 fn map_or_log_err<T, U, F>(result: Result<U>, handle_ok: F) -> BinderResult<T> in map_or_log_err()
215 F: FnOnce(U) -> BinderResult<T>, in map_or_log_err()
502 fn get(&self, alias: &str, uid: i32) -> BinderResult<Vec<u8>> { in get()
506 fn put(&self, alias: &str, uid: i32, entry: &[u8]) -> BinderResult<()> { in put() argument
510 fn remove(&self, alias: &str, uid: i32) -> BinderResult<()> { in remove() argument
514 fn list(&self, prefix: &str, uid: i32) -> BinderResult<Vec<String>> { in list()