Home
last modified time | relevance | path

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

/system/bt/gd/rust/hal/src/
Dsnoop.rs56 pub enum SnoopMode { enum
68 impl std::str::FromStr for SnoopMode { implementation
73 "disabled" => Ok(SnoopMode::Disabled), in from_str()
74 "filtered" => Ok(SnoopMode::Filtered), in from_str()
75 "full" => Ok(SnoopMode::Full), in from_str()
86 mode: SnoopMode,
96 mode: get_configured_snoop_mode().parse().unwrap_or(SnoopMode::Disabled), in new()
106 pub fn set_mode(&mut self, value: SnoopMode) { in set_mode() argument
229 if let SnoopMode::Filtered = config.mode { in new()
230 config.mode = SnoopMode::Disabled; in new()
[all …]
/system/bt/gd/rust/main/src/
Dlib.rs5 use bt_hal::snoop::{SnoopConfig, SnoopMode};
50 config.set_mode(SnoopMode::Full); in configure_snoop()