Home
last modified time | relevance | path

Searched refs:is_armed (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/cros_async/src/
Dtimer.rs58 assert_eq!(tfd.is_armed().unwrap(), false); in one_shot()
64 assert_eq!(tfd.is_armed().unwrap(), true); in one_shot()
81 assert_eq!(tfd.is_armed().unwrap(), false); in one_shot_fd()
87 assert_eq!(tfd.is_armed().unwrap(), true); in one_shot_fd()
/external/crosvm/sys_util/src/
Dtimerfd.rs94 pub fn is_armed(&self) -> Result<bool> { in is_armed() method
217 pub fn is_armed(&self) -> Result<bool> { in is_armed() method
255 assert_eq!(tfd.is_armed().unwrap(), false); in one_shot()
261 assert_eq!(tfd.is_armed().unwrap(), true); in one_shot()
287 assert_eq!(tfd.is_armed().unwrap(), false); in fake_one_shot()
292 assert_eq!(tfd.is_armed().unwrap(), true); in fake_one_shot()
/external/crosvm/base/src/
Dtimer.rs44 pub fn is_armed(&self) -> Result<bool> {
45 self.0.is_armed()