Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/topshim/tests/
Dbdaddr.rs18 assert_eq!([0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc], addr.unwrap().to_byte_arr()); in from_string_valid()
23 assert_eq!([0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc], addr.unwrap().to_byte_arr()); in from_string_valid()
37 assert_eq!([1, 2, 3, 4, 5, 6], addr.unwrap().to_byte_arr()); in from_bytes_valid()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs1005 pub fn to_byte_arr(&self) -> [u8; 6] { in to_byte_arr() method