Loading libs/gui/aidl/android/gui/JankData.aidl +1 −11 Original line number Diff line number Diff line Loading @@ -29,17 +29,7 @@ parcelable JankData { int jankType; /** * Time between frames in nanoseconds. * Expected duration in nanoseconds of this frame. */ long frameIntervalNs; /** * Time allocated to the application to render this frame. */ long scheduledAppFrameTimeNs; /** * Time taken by the application to render this frame. */ long actualAppFrameTimeNs; } libs/input/input_flags.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -178,3 +178,10 @@ flag { description: "Capture input latency metrics on a per device granular level using histograms." bug: "270049345" } flag { name: "collect_palm_rejection_quality_metrics" namespace: "input" description: "Collect quality metrics on framework palm rejection." bug: "341717757" } libs/input/rust/lib.rs +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ mod keyboard_classifier; pub use data_store::{DataStore, DefaultFileReaderWriter}; pub use input::{ DeviceClass, DeviceId, InputDevice, ModifierState, MotionAction, MotionFlags, Source, DeviceClass, DeviceId, InputDevice, KeyboardType, ModifierState, MotionAction, MotionFlags, Source, }; pub use input_verifier::InputVerifier; pub use keyboard_classifier::KeyboardClassifier; Loading services/inputflinger/InputFilter.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ void InputFilter::notifyInputDevicesChanged(const NotifyInputDevicesChangedArgs& AidlDeviceInfo& aidlInfo = mDeviceInfos.emplace_back(); aidlInfo.deviceId = info.getId(); aidlInfo.external = info.isExternal(); aidlInfo.keyboardType = info.getKeyboardType(); } if (isFilterEnabled()) { LOG_ALWAYS_FATAL_IF(!mInputFilterRust->notifyInputDevicesChanged(mDeviceInfos).isOk()); Loading services/inputflinger/aidl/com/android/server/inputflinger/DeviceInfo.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -23,4 +23,5 @@ package com.android.server.inputflinger; parcelable DeviceInfo { int deviceId; boolean external; int keyboardType; } No newline at end of file Loading
libs/gui/aidl/android/gui/JankData.aidl +1 −11 Original line number Diff line number Diff line Loading @@ -29,17 +29,7 @@ parcelable JankData { int jankType; /** * Time between frames in nanoseconds. * Expected duration in nanoseconds of this frame. */ long frameIntervalNs; /** * Time allocated to the application to render this frame. */ long scheduledAppFrameTimeNs; /** * Time taken by the application to render this frame. */ long actualAppFrameTimeNs; }
libs/input/input_flags.aconfig +7 −0 Original line number Diff line number Diff line Loading @@ -178,3 +178,10 @@ flag { description: "Capture input latency metrics on a per device granular level using histograms." bug: "270049345" } flag { name: "collect_palm_rejection_quality_metrics" namespace: "input" description: "Collect quality metrics on framework palm rejection." bug: "341717757" }
libs/input/rust/lib.rs +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ mod keyboard_classifier; pub use data_store::{DataStore, DefaultFileReaderWriter}; pub use input::{ DeviceClass, DeviceId, InputDevice, ModifierState, MotionAction, MotionFlags, Source, DeviceClass, DeviceId, InputDevice, KeyboardType, ModifierState, MotionAction, MotionFlags, Source, }; pub use input_verifier::InputVerifier; pub use keyboard_classifier::KeyboardClassifier; Loading
services/inputflinger/InputFilter.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ void InputFilter::notifyInputDevicesChanged(const NotifyInputDevicesChangedArgs& AidlDeviceInfo& aidlInfo = mDeviceInfos.emplace_back(); aidlInfo.deviceId = info.getId(); aidlInfo.external = info.isExternal(); aidlInfo.keyboardType = info.getKeyboardType(); } if (isFilterEnabled()) { LOG_ALWAYS_FATAL_IF(!mInputFilterRust->notifyInputDevicesChanged(mDeviceInfos).isOk()); Loading
services/inputflinger/aidl/com/android/server/inputflinger/DeviceInfo.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -23,4 +23,5 @@ package com.android.server.inputflinger; parcelable DeviceInfo { int deviceId; boolean external; int keyboardType; } No newline at end of file