Skip to content
Snippets Groups Projects
  • Siarhei Vishniakou's avatar
    5c02a719
    Convert InputVerifier to rust · 5c02a719
    Siarhei Vishniakou authored
    To establish some basic rust infrastructure for input code, convert the
    InputVerifier into rust.
    
    Currently, we use bindgen for interfacing between cpp and rust. In a
    future CL, this may be changed to an aidl interface instead.
    
    The logs and verifications can be enabled via:
    adb shell setprop log.tag.InputTransportVerifyEvents DEBUG
    adb shell setprop log.tag.InputVerifierLogEvents DEBUG
    adb shell setprop log.tag.InputDispatcherVerifyEvents DEBUG
    
    Bug: 271455682
    Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests
    Change-Id: I607fed9f6fc9c38e2c8392f59e9c4facdaf6c68a
    5c02a719
    History
    Convert InputVerifier to rust
    Siarhei Vishniakou authored
    To establish some basic rust infrastructure for input code, convert the
    InputVerifier into rust.
    
    Currently, we use bindgen for interfacing between cpp and rust. In a
    future CL, this may be changed to an aidl interface instead.
    
    The logs and verifications can be enabled via:
    adb shell setprop log.tag.InputTransportVerifyEvents DEBUG
    adb shell setprop log.tag.InputVerifierLogEvents DEBUG
    adb shell setprop log.tag.InputDispatcherVerifyEvents DEBUG
    
    Bug: 271455682
    Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests
    Change-Id: I607fed9f6fc9c38e2c8392f59e9c4facdaf6c68a