Home
last modified time | relevance | path

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

/trusty/user/base/lib/storage/rust/src/
Dtest.rs1 use crate::{Error, ErrorCode, FileState, OpenMode, Port, Session};
7 let session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in connect()
15 let session = Session::new(Port::TamperDetectEarlyAccess, false).unwrap(); in connect_no_wait()
24 let result = Session::new(Port::TestPortNonExistent, false); in connect_fail_no_wait()
31 let mut session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in read_write()
52 let mut session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in read_all_buf_too_small()
72 let mut session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in read_at()
104 let mut session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in write_at()
146 let mut session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in get_set_size()
180 let mut session = Session::new(Port::TamperDetectEarlyAccess, true).unwrap(); in rename_delete()
[all …]
Dlib.rs187 pub fn new(port: Port, wait_for_port: bool) -> Result<Self, Error> { in new() argument
188 use Port::*; in new()
802 pub enum Port { enum
/trusty/user/base/interface/boot_done/generated/include/
DBnBootDone.h14 static int on_connect(const ::tidl::Service::Port* port,
19 static int on_message(const ::tidl::Service::Port* port,
/trusty/user/app/secretkeeper/
Dstore.rs26 use storage::{OpenMode, Port, Session};
58 Session::new(Port::TamperDetect, /* wait_for_port= */ true) in create_session()
/trusty/user/app/keymint/
Dsecure_storage_manager.rs32 use storage::{OpenMode, Port, SecureFile, Session};
71 let mut session = Session::new(Port::TamperProof, true).map_err(|e| { in new()
283 let mut session = Session::new(Port::TamperProof, true).map_err(|e| { in delete_attestation_ids()
294 let mut session = Session::new(Port::TamperProof, true).map_err(|e| { in get_file_contents()
502 Session::new(Port::TamperProof, true).expect("Couldn't connect to storage"); in delete_key_file()
508 Session::new(Port::TamperProof, true).expect("Couldn't connect to storage"); in check_key_file_exists()
515 Session::new(Port::TamperProof, true).expect("Couldn't connect to storage"); in delete_attestation_id_file()
521 Session::new(Port::TamperProof, true).expect("Couldn't connect to storage"); in check_attestation_id_file_exists()
Dsecure_deletion_secret_manager.rs26 use storage::{self as storage_session, OpenMode, Port, SecureFile, Session, Transaction};
82 let session = Session::new(Port::TamperProof, wait_on_port).map_err(|e| { in get_secure_deletion_secret_file_session()
675 Session::new(Port::TamperProof, true).expect("Couldn't connect to storage"); in secret_manager_file_exists()
/trusty/user/base/interface/boot_done/generated/
DIBootDone.cpp98 int BnBootDone::on_connect(const ::tidl::Service::Port* port, in on_connect()
118 int BnBootDone::on_message(const ::tidl::Service::Port* port, in on_message()
/trusty/user/base/experimental/lib/tidl/include/lib/tidl/
Dtidl.h209 using Port = struct tipc_port;
258 Port mPort;
/trusty/user/base/lib/tipc/rust/src/
Dservice.rs155 Port(PortCfg), enumerator
164 ChannelTy::Port(cfg) => write!(f, "ChannelTy::Port({:?})", cfg), in fmt()
177 ChannelTy::Port(..) => true, in is_port()
221 ty: ChannelTy::Port(cfg.try_clone()?), in try_new_port()
1113 ChannelTy::Port(cfg) if event.event & (sys::IPC_HANDLE_POLL_READY as u32) != 0 => { in handler()