Loading system/gd/rust/linux/mgmt/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ edition = "2018" [dependencies] bt_common = { path = "../../common" } bt_topshim = { path = "../../topshim" } bt_socket = { path = "../socket" } bt_utils = { path = "../utils" } btstack = { path = "../stack" } # external deps Loading system/gd/rust/linux/mgmt/src/state_machine.rs +3 −1 Original line number Diff line number Diff line use crate::bluetooth_manager::BluetoothManager; use crate::config_util; use bt_common::time::Alarm; use bt_socket::{BtSocket, HciChannels, MgmtCommand, MgmtCommandResponse, MgmtEvent, HCI_DEV_NONE}; use bt_utils::socket::{ BtSocket, HciChannels, MgmtCommand, MgmtCommandResponse, MgmtEvent, HCI_DEV_NONE, }; use log::{debug, error, info, warn}; use nix::sys::signal::{self, Signal}; Loading system/gd/rust/linux/socket/Cargo.toml→system/gd/rust/linux/utils/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. [package] name = "bt_socket" name = "bt_utils" version = "0.0.1" edition = "2021" Loading system/gd/rust/linux/utils/src/lib.rs 0 → 100644 +6 −0 Original line number Diff line number Diff line //! Utilities #[macro_use] extern crate num_derive; pub mod socket; system/gd/rust/linux/socket/src/lib.rs→system/gd/rust/linux/utils/src/socket.rs +0 −3 Original line number Diff line number Diff line Loading @@ -4,9 +4,6 @@ use std::mem; use std::os::unix::io::{AsRawFd, RawFd}; #[macro_use] extern crate num_derive; use libc; use log::debug; use num_traits::cast::{FromPrimitive, ToPrimitive}; Loading Loading
system/gd/rust/linux/mgmt/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ edition = "2018" [dependencies] bt_common = { path = "../../common" } bt_topshim = { path = "../../topshim" } bt_socket = { path = "../socket" } bt_utils = { path = "../utils" } btstack = { path = "../stack" } # external deps Loading
system/gd/rust/linux/mgmt/src/state_machine.rs +3 −1 Original line number Diff line number Diff line use crate::bluetooth_manager::BluetoothManager; use crate::config_util; use bt_common::time::Alarm; use bt_socket::{BtSocket, HciChannels, MgmtCommand, MgmtCommandResponse, MgmtEvent, HCI_DEV_NONE}; use bt_utils::socket::{ BtSocket, HciChannels, MgmtCommand, MgmtCommandResponse, MgmtEvent, HCI_DEV_NONE, }; use log::{debug, error, info, warn}; use nix::sys::signal::{self, Signal}; Loading
system/gd/rust/linux/socket/Cargo.toml→system/gd/rust/linux/utils/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. [package] name = "bt_socket" name = "bt_utils" version = "0.0.1" edition = "2021" Loading
system/gd/rust/linux/utils/src/lib.rs 0 → 100644 +6 −0 Original line number Diff line number Diff line //! Utilities #[macro_use] extern crate num_derive; pub mod socket;
system/gd/rust/linux/socket/src/lib.rs→system/gd/rust/linux/utils/src/socket.rs +0 −3 Original line number Diff line number Diff line Loading @@ -4,9 +4,6 @@ use std::mem; use std::os::unix::io::{AsRawFd, RawFd}; #[macro_use] extern crate num_derive; use libc; use log::debug; use num_traits::cast::{FromPrimitive, ToPrimitive}; Loading