Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dstate_machine.rs23 pub const PID_DIR: &str = "/var/run/bluetooth"; constant
282 .add_watch(PID_DIR, inotify::WatchMask::CREATE | inotify::WatchMask::DELETE) in pid_inotify_async_fd()
314 let files = config_util::list_pid_files(PID_DIR); in configure_pid()
331 r.await.expect(format!("pid file in {} never became readable", PID_DIR).as_str()); in configure_pid()
347 Err(_) | Ok(Err(_)) => panic!("Inotify watcher on {} failed.", PID_DIR), in configure_pid()
808 let path = std::path::Path::new(PID_DIR).join(fname); in mainloop()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs65 const PID_DIR: &str = "/var/run/bluetooth"; constant
1205 let file_name = format!("{}/bluetooth{}.pid", PID_DIR, self.virt_index); in create_pid_file()
1213 let file_name = format!("{}/bluetooth{}.pid", PID_DIR, self.virt_index); in remove_pid_file()