/frameworks/native/services/inputflinger/dispatcher/ |
D | TouchedWindow.h | 39 bool hasHoveringPointers(DeviceId deviceId) const; 40 bool hasHoveringPointer(DeviceId deviceId, int32_t pointerId) const; 41 void addHoveringPointer(DeviceId deviceId, const PointerProperties& pointer); 42 void removeHoveringPointer(DeviceId deviceId, int32_t pointerId); 45 bool hasTouchingPointer(DeviceId deviceId, int32_t pointerId) const; 47 bool hasTouchingPointers(DeviceId deviceId) const; 48 std::vector<PointerProperties> getTouchingPointers(DeviceId deviceId) const; 49 android::base::Result<void> addTouchingPointers(DeviceId deviceId, 51 void removeTouchingPointer(DeviceId deviceId, int32_t pointerId); 52 void removeTouchingPointers(DeviceId deviceId, std::bitset<MAX_POINTER_ID + 1> pointers); [all …]
|
D | TouchState.h | 42 bool hasTouchingPointers(DeviceId deviceId) const; 43 void removeTouchingPointer(DeviceId deviceId, int32_t pointerId); 44 void removeTouchingPointerFromWindow(DeviceId deviceId, int32_t pointerId, 49 DeviceId deviceId, const std::vector<PointerProperties>& touchingPointers, 52 DeviceId deviceId, const PointerProperties& pointer); 53 void removeHoveringPointer(DeviceId deviceId, int32_t pointerId); 54 void clearHoveringPointers(DeviceId deviceId); 56 void removeAllPointersForDevice(DeviceId deviceId); 60 void cancelPointersForWindowsExcept(DeviceId deviceId, 67 sp<android::gui::WindowInfoHandle> getFirstForegroundWindowHandle(DeviceId deviceId) const; [all …]
|
D | TouchedWindow.cpp | 50 bool TouchedWindow::hasHoveringPointers(DeviceId deviceId) const { in hasHoveringPointers() 60 void TouchedWindow::clearHoveringPointers(DeviceId deviceId) { in clearHoveringPointers() 72 bool TouchedWindow::hasHoveringPointer(DeviceId deviceId, int32_t pointerId) const { in hasHoveringPointer() 81 void TouchedWindow::addHoveringPointer(DeviceId deviceId, const PointerProperties& pointer) { in addHoveringPointer() 93 Result<void> TouchedWindow::addTouchingPointers(DeviceId deviceId, in addTouchingPointers() 121 bool TouchedWindow::hasTouchingPointers(DeviceId deviceId) const { in hasTouchingPointers() 125 bool TouchedWindow::hasTouchingPointer(DeviceId deviceId, int32_t pointerId) const { in hasTouchingPointer() 134 std::vector<PointerProperties> TouchedWindow::getTouchingPointers(DeviceId deviceId) const { in getTouchingPointers() 143 void TouchedWindow::removeTouchingPointer(DeviceId deviceId, int32_t pointerId) { in removeTouchingPointer() 150 void TouchedWindow::removeTouchingPointers(DeviceId deviceId, in removeTouchingPointers() [all …]
|
D | TouchState.cpp | 35 bool TouchState::hasTouchingPointers(DeviceId deviceId) const { in hasTouchingPointers() 41 void TouchState::removeTouchingPointer(DeviceId deviceId, int32_t pointerId) { in removeTouchingPointer() 49 DeviceId deviceId, int32_t pointerId, in removeTouchingPointerFromWindow() 60 void TouchState::clearHoveringPointers(DeviceId deviceId) { in clearHoveringPointers() 75 ftl::Flags<InputTarget::Flags> targetFlags, DeviceId deviceId, in addOrUpdateWindow() 115 DeviceId deviceId, const PointerProperties& pointer) { in addHoveringPointerToWindow() 138 void TouchState::cancelPointersForWindowsExcept(DeviceId deviceId, in cancelPointersForWindowsExcept() 157 std::map<DeviceId, std::bitset<MAX_POINTER_ID + 1>> allPilferedPointerIdsByDevice; in cancelPointersForNonPilferingWindows() 183 sp<WindowInfoHandle> TouchState::getFirstForegroundWindowHandle(DeviceId deviceId) const { in getFirstForegroundWindowHandle() 195 bool TouchState::isSlippery(DeviceId deviceId) const { in isSlippery() [all …]
|
D | InputState.h | 39 bool isHovering(DeviceId deviceId, uint32_t source, ui::LogicalDisplayId displayId) const; 91 DeviceId deviceId; 103 DeviceId deviceId;
|
D | LatencyTracker.h | 56 DeviceId deviceId, const std::set<InputDeviceUsageSource>& sources);
|
/frameworks/native/libs/input/rust/ |
D | input_verifier.rs | 20 use crate::input::{DeviceId, MotionAction, MotionFlags, Source, SourceClass}; 72 touching_pointer_ids_by_device: HashMap<DeviceId, HashSet<i32>>, 73 hovering_pointer_ids_by_device: HashMap<DeviceId, HashSet<i32>>, 96 device_id: DeviceId, in process_movement() argument 261 pub fn reset_device(&mut self, device_id: DeviceId) { in reset_device() argument 268 device_id: DeviceId, in ensure_touching_pointers_match() argument 292 use crate::DeviceId; 307 DeviceId(1), in bad_down_event() 322 DeviceId(1), in single_pointer_stream() 331 DeviceId(1), in single_pointer_stream() [all …]
|
D | lib.rs | 24 DeviceClass, DeviceId, InputDevice, ModifierState, MotionAction, MotionFlags, Source, 134 DeviceId(device_id), in process_movement() 147 verifier.reset_device(DeviceId(device_id)); in reset_device() 169 device_id: DeviceId(device_id), in notify_keyboard_changed() 176 classifier.get_keyboard_type(DeviceId(device_id)) as u32 in get_keyboard_type() 180 classifier.is_finalized(DeviceId(device_id)) in is_finalized() 197 classifier.process_key(DeviceId(device_id), evdev_code, modifier_state.unwrap()); in process_key()
|
D | keyboard_classifier.rs | 37 use crate::input::{DeviceId, InputDevice, KeyboardType}; 45 device_map: HashMap<DeviceId, KeyboardInfo>, 70 pub fn get_keyboard_type(&self, device_id: DeviceId) -> KeyboardType { in get_keyboard_type() 83 pub fn is_finalized(&self, device_id: DeviceId) -> bool { in is_finalized() 96 device_id: DeviceId, in process_key() argument 171 use crate::input::{DeviceId, InputDevice, KeyboardType}; 175 static DEVICE_ID: DeviceId = DeviceId(1);
|
D | input.rs | 26 pub struct DeviceId(pub i32); struct 32 pub device_id: DeviceId,
|
/frameworks/native/services/inputflinger/ |
D | InputDeviceMetricsCollector.h | 131 struct DeviceId : ftl::Constructible<DeviceId, std::int32_t>, struct 132 ftl::Equatable<DeviceId>, 133 ftl::Orderable<DeviceId> { 136 static inline std::string toString(const DeviceId& id) { in toString() 143 std::map<DeviceId, MetricsDeviceInfo> mLoggedDeviceInfos GUARDED_BY(mLock); 145 using Interaction = std::tuple<DeviceId, std::chrono::nanoseconds, std::set<Uid>>; 174 std::map<DeviceId, ActiveSession> mActiveUsageSessions GUARDED_BY(mLock); 177 void onInputDeviceRemoved(DeviceId deviceId, const MetricsDeviceInfo& info) REQUIRES(mLock); 180 void onInputDeviceUsage(DeviceId deviceId, std::chrono::nanoseconds eventTime,
|
D | PointerChoreographer.h | 71 ui::LogicalDisplayId displayId, DeviceId deviceId) = 0; 103 ui::LogicalDisplayId displayId, DeviceId deviceId) override; 130 InputDeviceInfo* findInputDeviceLocked(DeviceId deviceId) REQUIRES(mLock); 187 std::map<DeviceId, std::shared_ptr<PointerControllerInterface>> mTouchPointersByDevice 189 std::map<DeviceId, std::shared_ptr<PointerControllerInterface>> mStylusPointersByDevice 191 std::map<DeviceId, std::shared_ptr<PointerControllerInterface>> mDrawingTabletPointersByDevice 197 std::set<DeviceId> mMouseDevices GUARDED_BY(mLock);
|
D | InputDeviceMetricsCollector.cpp | 152 onInputDeviceUsage(DeviceId{args.deviceId}, nanoseconds(args.eventTime), getSources); in notifyKey() 161 onInputDeviceUsage(DeviceId{args.deviceId}, nanoseconds(args.eventTime), in notifyMotion() 215 mInteractionsQueue.push(DeviceId{deviceId}, timestamp, uids); in notifyDeviceInteraction() 232 std::map<DeviceId, MetricsDeviceInfo> newDeviceInfos; in onInputDevicesChanged() 261 void InputDeviceMetricsCollector::onInputDeviceRemoved(DeviceId deviceId, in onInputDeviceRemoved() 276 void InputDeviceMetricsCollector::onInputDeviceUsage(DeviceId deviceId, nanoseconds eventTime, in onInputDeviceUsage() 292 auto activeSessionIt = mActiveUsageSessions.find(std::get<DeviceId>(interaction)); in onInputDeviceInteraction() 308 std::vector<DeviceId> completedUsageSessions; in reportCompletedSessions() 318 for (DeviceId deviceId : completedUsageSessions) { in reportCompletedSessions()
|
D | PointerChoreographer.cpp | 572 InputDeviceInfo* PointerChoreographer::findInputDeviceLocked(DeviceId deviceId) { in findInputDeviceLocked() 584 std::set<DeviceId> touchDevicesToKeep; in updatePointerControllersLocked() 585 std::set<DeviceId> stylusDevicesToKeep; in updatePointerControllersLocked() 586 std::set<DeviceId> drawingTabletDevicesToKeep; in updatePointerControllersLocked() 644 std::erase_if(mMouseDevices, [&](DeviceId id) REQUIRES(mLock) { in updatePointerControllersLocked() 772 ui::LogicalDisplayId displayId, DeviceId deviceId) { in setPointerIcon()
|
/frameworks/native/include/input/ |
D | KeyboardClassifier.h | 42 KeyboardType getKeyboardType(DeviceId deviceId); 43 void notifyKeyboardChanged(DeviceId deviceId, const InputDeviceIdentifier& identifier, 45 void processKey(DeviceId deviceId, int32_t evdevCode, uint32_t metaState); 50 std::unordered_map<DeviceId, KeyboardType> mKeyboardTypeMap;
|
D | Input.h | 542 using DeviceId = int32_t; variable 555 inline DeviceId getDeviceId() const { return mDeviceId; } in getDeviceId() 572 void initialize(int32_t id, DeviceId deviceId, uint32_t source, ui::LogicalDisplayId displayId, 578 DeviceId mDeviceId; 616 void initialize(int32_t id, DeviceId deviceId, uint32_t source, ui::LogicalDisplayId displayId, 878 void initialize(int32_t id, DeviceId deviceId, uint32_t source, ui::LogicalDisplayId displayId, 1084 DeviceId deviceId;
|
D | InputConsumerNoResampling.h | 183 std::map<DeviceId, std::queue<InputMessage>> mBatches;
|
/frameworks/native/libs/input/ |
D | InputVerifier.cpp | 27 using DeviceId = int32_t; typedef 36 Result<void> InputVerifier::processMovement(DeviceId deviceId, int32_t source, int32_t action, in processMovement() 55 void InputVerifier::resetDevice(DeviceId deviceId) { in resetDevice()
|
D | KeyboardClassifier.cpp | 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()
|
/frameworks/native/cmds/evemu-record/ |
D | evdev.rs | 94 ioctl_read!(eviocgid, b'E', 0x02, super::DeviceId); 101 pub struct DeviceId { struct 193 pub fn ids(&self) -> Result<DeviceId, nix::errno::Errno> { in ids() argument 194 let mut ids = DeviceId::default(); in ids()
|
/frameworks/av/services/oboeservice/fuzzer/ |
D | README.md | 16 5. DeviceId 32 | `DeviceId` | `INT32_MIN` to `INT32_MAX` | Value obtained from FuzzedDataProvider |
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | LatencyTrackerFuzzer.cpp | 71 const DeviceId deviceId = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput()
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherInterface.h | 239 DeviceId deviceId, int32_t pointerId) = 0;
|
D | InputDispatcherPolicyInterface.h | 170 virtual void notifyDeviceInteraction(DeviceId deviceId, nsecs_t timestamp,
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 37 constexpr DeviceId DEVICE_ID = 100; 40 DeviceId deviceId) { in generateTestDeviceInfo()
|