Home
last modified time | relevance | path

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

/packages/modules/Virtualization/authfs/fd_server/src/
Daidl.rs41 BinderFeatures, ExceptionCode, Interface, Result as BinderResult, Status, StatusCode, Strong,
85 fn handle_fd<F, R>(&self, id: i32, handle_fn: F) -> BinderResult<R> in handle_fd()
87 F: FnOnce(&FdConfig) -> BinderResult<R>, in handle_fd()
96 fn insert_new_fd<F>(&self, fd: i32, create_fn: F) -> BinderResult<i32> in insert_new_fd()
98 F: FnOnce(&mut FdConfig) -> BinderResult<(i32, FdConfig)>, in insert_new_fd()
121 fn readFile(&self, id: i32, offset: i64, size: i32) -> BinderResult<Vec<u8>> { in readFile()
136 fn readFsverityMerkleTree(&self, id: i32, offset: i64, size: i32) -> BinderResult<Vec<u8>> { in readFsverityMerkleTree()
169 fn readFsveritySignature(&self, id: i32) -> BinderResult<Vec<u8>> { in readFsveritySignature()
200 fn writeFile(&self, id: i32, buf: &[u8], offset: i64) -> BinderResult<i32> { in writeFile()
218 fn resize(&self, id: i32, size: i64) -> BinderResult<()> { in resize() argument
[all …]
/packages/modules/Virtualization/virtualizationservice/src/
Dremote_provisioning.rs31 BinderFeatures, ExceptionCode, Interface, IntoBinderResult, Result as BinderResult, Status,
52 fn getHardwareInfo(&self) -> BinderResult<RpcHardwareInfo> { in getHardwareInfo()
68 ) -> BinderResult<Vec<u8>> { in generateEcdsaP256KeyPair()
100 ) -> BinderResult<Vec<u8>> { in generateCertificateRequest()
112 ) -> BinderResult<Vec<u8>> { in generateCertificateRequestV2()
137 pub(crate) fn check_remote_attestation_is_supported() -> BinderResult<()> { in check_remote_attestation_is_supported()
/packages/modules/Virtualization/vmclient/src/
Dlib.rs39 Result as BinderResult, StatusCode, Strong,
167 ) -> BinderResult<Self> { in create()
190 pub fn start(&self) -> BinderResult<()> { in start() argument
200 pub fn state(&self) -> BinderResult<VirtualMachineState> { in state()
272 ) -> BinderResult<DeathRecipient> { in wait_for_binder_death()
323 fn onPayloadStarted(&self, cid: i32) -> BinderResult<()> { in onPayloadStarted() argument
331 fn onPayloadReady(&self, cid: i32) -> BinderResult<()> { in onPayloadReady() argument
339 fn onPayloadFinished(&self, cid: i32, exit_code: i32) -> BinderResult<()> { in onPayloadFinished() argument
347 fn onError(&self, cid: i32, error_code: AidlErrorCode, message: &str) -> BinderResult<()> { in onError() argument
356 fn onDied(&self, cid: i32, reason: AidlDeathReason) -> BinderResult<()> { in onDied() argument
/packages/modules/Virtualization/compos/src/
Dcompsvc.rs37 BinderFeatures, ExceptionCode, Interface, IntoBinderResult, Result as BinderResult, Strong,
68 fn initializeSystemProperties(&self, names: &[String], values: &[String]) -> BinderResult<()> { in initializeSystemProperties() argument
99 fn odrefresh(&self, args: &OdrefreshArgs) -> BinderResult<i8> { in odrefresh()
109 fn getPublicKey(&self) -> BinderResult<Vec<u8>> { in getPublicKey()
113 fn getAttestationChain(&self) -> BinderResult<Vec<u8>> { in getAttestationChain()
117 fn quit(&self) -> BinderResult<()> { in quit() argument
/packages/modules/Virtualization/compos/composd_cmd/
Dcomposd_cmd.rs30 Result as BinderResult, Strong,
84 fn onSuccess(&self) -> BinderResult<()> { in onSuccess() argument
89 fn onFailure(&self, reason: FailureReason, message: &str) -> BinderResult<()> { in onFailure() argument
129 ) -> BinderResult<Strong<dyn ICompilationTask>>, in run_async_compilation()
/packages/modules/Virtualization/compos/common/
Dbinder.rs19 use binder::{IntoBinderResult, Result as BinderResult};
26 pub fn to_binder_result<T, E: Debug>(result: Result<T, E>) -> BinderResult<T> { in to_binder_result()
/packages/modules/Virtualization/compos/composd/src/
Dodrefresh_task.rs26 use binder::{Interface, Result as BinderResult, Strong};
55 fn cancel(&self) -> BinderResult<()> { in cancel() argument