Searched refs:Either (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/ |
D | authentication.rs | 17 use crate::either::Either; 33 match ctx.receive_lmp_packet::<Either<lmp::Sres, lmp::NotAccepted>>().await { 34 Either::Left(_response) => Ok(()), 35 Either::Right(_) => Err(()), 57 .receive_hci_command::<Either<hci::LinkKeyRequestReply, hci::LinkKeyRequestNegativeReply>>() in initiate() 60 Either::Left(_reply) => { in initiate() 71 Either::Right(_) => { in initiate() 106 .receive_lmp_packet::<Either<lmp::AuRand, Either<lmp::IoCapabilityReq, lmp::InRand>>>() in respond() 109 Either::Left(_random_number) => { in respond() 116 Either::Right(pairing) => { in respond() [all …]
|
D | secure_simple_pairing.rs | 19 use crate::either::Either; 216 .receive_hci_command::<Either< in user_confirmation_request() 222 Either::Left(_) => { in user_confirmation_request() 233 Either::Right(_) => { in user_confirmation_request() 252 .receive_hci_command::<Either< in user_passkey_request() 253 Either<hci::UserPasskeyRequestReply, hci::UserPasskeyRequestNegativeReply>, in user_passkey_request() 258 Either::Left(Either::Left(_)) => { in user_passkey_request() 269 Either::Left(Either::Right(_)) => { in user_passkey_request() 280 Either::Right(_) => { in user_passkey_request() 299 .receive_hci_command::<Either< in remote_oob_data_request() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/ |
D | either.rs | 19 pub enum Either<L, R> { enum 26 impl<L, R> TryFrom<$T> for Either<L, R> 36 return Ok(Either::Left(left)); 40 return Ok(Either::Right(right));
|
/packages/modules/AdServices/adservices/libraries/cobalt/proto/ |
D | metric_definition.proto | 92 // - metric_units (Either this field or metric_units_other is required.) 93 // - metric_units_other (Either metric_units or this field is required.) 102 // - metric_units (Either this field or metric_units other is required.) 103 // - metric_units_other (Either metric_units or this field is required.) 190 // the integer. Either metric_units or metric_units_other must be specified.
|
/packages/modules/Virtualization/vmbase/ |
D | README.md | 70 `vmbase::power::reboot`. Either will cause crosvm to terminate the VM, but by convention we use
|