Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dcod.rs19 pub fn is_cod_hid_combo(cod: u32) -> bool { in is_cod_hid_combo() function
26 use crate::cod::{is_cod_hid_combo, is_cod_hid_keyboard};
35 assert_eq!(is_cod_hid_combo(keyboard_gamepad_cod), false); in test_cod()
37 assert_eq!(is_cod_hid_combo(combo_joystick_cod), true); in test_cod()
39 assert_eq!(is_cod_hid_combo(mouse_cod), false); in test_cod()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs24 use bt_utils::cod::{is_cod_hid_combo, is_cod_hid_keyboard};
1820 if is_cod_hid_keyboard(cod) || is_cod_hid_combo(cod) { in pin_request()