Home
last modified time | relevance | path

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

/frameworks/native/libs/input/rust/
Dlib.rs27 pub use keyboard_classifier::KeyboardClassifier;
70 type KeyboardClassifier; typedef
72 fn create_keyboard_classifier() -> Box<KeyboardClassifier>; in create_keyboard_classifier()
75 classifier: &mut KeyboardClassifier, in notify_keyboard_changed() argument
81 fn get_keyboard_type(classifier: &mut KeyboardClassifier, device_id: i32) -> u32; in get_keyboard_type() argument
83 fn is_finalized(classifier: &mut KeyboardClassifier, device_id: i32) -> bool; in is_finalized() argument
86 classifier: &mut KeyboardClassifier, in process_key() argument
150 fn create_keyboard_classifier() -> Box<KeyboardClassifier> { in create_keyboard_classifier()
151 Box::new(KeyboardClassifier::new()) in create_keyboard_classifier()
155 classifier: &mut KeyboardClassifier, in notify_keyboard_changed() argument
[all …]
Dkeyboard_classifier.rs44 pub struct KeyboardClassifier { struct
54 impl KeyboardClassifier { implementation
172 use crate::keyboard_classifier::KeyboardClassifier;
181 let mut classifier = KeyboardClassifier::new(); in classify_external_alphabetic_keyboard()
191 let mut classifier = KeyboardClassifier::new(); in classify_external_non_alphabetic_keyboard()
200 let mut classifier = KeyboardClassifier::new(); in classify_mouse_pretending_as_keyboard()
213 let mut classifier = KeyboardClassifier::new(); in classify_touchpad_pretending_as_keyboard()
226 let mut classifier = KeyboardClassifier::new(); in classify_stylus_pretending_as_keyboard()
239 let mut classifier = KeyboardClassifier::new(); in classify_dpad_pretending_as_keyboard()
252 let mut classifier = KeyboardClassifier::new(); in classify_joystick_pretending_as_keyboard()
[all …]
/frameworks/native/include/input/
DKeyboardClassifier.h29 struct KeyboardClassifier;
36 class KeyboardClassifier {
38 KeyboardClassifier();
48 std::optional<rust::Box<android::input::keyboardClassifier::KeyboardClassifier>>
/frameworks/native/libs/input/
DKeyboardClassifier.cpp32 KeyboardClassifier::KeyboardClassifier() { in KeyboardClassifier() function in android::KeyboardClassifier
38 KeyboardType KeyboardClassifier::getKeyboardType(DeviceId deviceId) { in getKeyboardType()
55 void KeyboardClassifier::notifyKeyboardChanged(DeviceId deviceId, in notifyKeyboardChanged()
81 void KeyboardClassifier::processKey(DeviceId deviceId, int32_t evdevCode, uint32_t metaState) { in processKey()
DAndroid.bp228 "KeyboardClassifier.cpp",
/frameworks/native/services/inputflinger/tests/
DInterfaceMocks.h81 KeyboardClassifier& getKeyboardClassifier() override { return *mClassifier; }; in getKeyboardClassifier()
85 std::unique_ptr<KeyboardClassifier> mClassifier = std::make_unique<KeyboardClassifier>();
/frameworks/native/services/inputflinger/reader/include/
DInputReaderContext.h69 virtual KeyboardClassifier& getKeyboardClassifier() = 0;
DInputReader.h160 KeyboardClassifier& getKeyboardClassifier() override;
182 std::unique_ptr<KeyboardClassifier> mKeyboardClassifier;
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h341 KeyboardClassifier& getKeyboardClassifier() override { return *mClassifier; } in getKeyboardClassifier()
345 std::unique_ptr<KeyboardClassifier> mClassifier = std::make_unique<KeyboardClassifier>();
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp105 mKeyboardClassifier(std::make_unique<KeyboardClassifier>()), in InputReader()
1080 KeyboardClassifier& InputReader::ContextImpl::getKeyboardClassifier() { in getKeyboardClassifier()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp334 KeyboardClassifier& classifier = getDeviceContext().getContext()->getKeyboardClassifier(); in processKey()