Home
last modified time | relevance | path

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

/aosp_15_r20/frameworks/native/services/inputflinger/rust/
H A Dinput_filter_thread.rs64 cpp_thread: Option<Strong<dyn IInputThread>>, field
78 looper: Arc::new(RwLock::new(Looper { cpp_thread: None })), in new()
131 if looper.cpp_thread.is_none() { in start()
132 looper.cpp_thread = Some(self.thread_creator.create( in start()
147 if let Some(cpp_thread) = &looper.cpp_thread { in stop()
148 let _ = cpp_thread.finish(); in stop()
151 looper.cpp_thread = None; in stop()
191 if let Some(cpp_thread) = &looper.cpp_thread { in sleep_until()
192 let _ = cpp_thread.sleepUntil(when_nanos); in sleep_until()
198 if let Some(cpp_thread) = &looper.cpp_thread { in wake()
[all …]