Home
last modified time | relevance | path

Searched refs:usiVersion (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/Input/src/android/hardware/input/
DInputManagerTest.kt89 usiVersion: HostUsiVersion?, in notifyDeviceChanged()
96 .thenReturn(createInputDevice(deviceId, associatedDisplayId, usiVersion, generation)) in notifyDeviceChanged()
106 usiVersion: HostUsiVersion?, in addInputDevice()
109 notifyDeviceChanged(deviceId, associatedDisplayId, usiVersion) in addInputDevice()
118 val usiVersion = inputManager.getHostUsiVersion(createDisplay(42)) in testUsiVersionDisplayAssociation() constant
119 assertNotNull(usiVersion) in testUsiVersionDisplayAssociation()
120 assertEquals(3, usiVersion!!.majorVersion) in testUsiVersionDisplayAssociation()
121 assertEquals(1, usiVersion.minorVersion) in testUsiVersionDisplayAssociation()
130 val usiVersion = inputManager.getHostUsiVersion(createDisplay(42)) in testUsiVersionFallBackToDisplayConfig() constant
131 assertEquals(HostUsiVersion(9, 8), usiVersion) in testUsiVersionFallBackToDisplayConfig()
[all …]
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp76 const auto usiVersion = deviceInfo.getUsiVersion().value_or(InputDeviceUsiVersion{-1, -1}); in android_view_InputDevice_create() local
91 deviceInfo.hasBattery(), usiVersion.majorVersion, in android_view_InputDevice_create()
92 usiVersion.minorVersion, in android_view_InputDevice_create()
/frameworks/base/core/java/android/view/
DInputDevice.java727 public Builder setUsiVersion(@Nullable HostUsiVersion usiVersion) { in setUsiVersion() argument
728 mUsiVersionMajor = usiVersion != null ? usiVersion.getMajorVersion() : -1; in setUsiVersion()
729 mUsiVersionMinor = usiVersion != null ? usiVersion.getMinorVersion() : -1; in setUsiVersion()
/frameworks/native/include/input/
DInputDevice.h346 inline void setUsiVersion(std::optional<InputDeviceUsiVersion> usiVersion) { in setUsiVersion() argument
347 mUsiVersion = std::move(usiVersion); in setUsiVersion()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceConfig.java2898 final UsiVersion usiVersion = config.getUsiVersion(); in loadUsiVersion() local
2899 mHostUsiVersion = usiVersion != null in loadUsiVersion()
2901 usiVersion.getMajorVersion().intValue(), in loadUsiVersion()
2902 usiVersion.getMinorVersion().intValue()) in loadUsiVersion()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h258 std::optional<InputDeviceUsiVersion> usiVersion; member
DTouchInputMapper.cpp199 info.setUsiVersion(mParameters.usiVersion); in populateDeviceInfo()
437 parameters.usiVersion = { in computeParameters()
496 toString(mParameters.usiVersion, toString).c_str()); in dumpParameters()