Home
last modified time | relevance | path

Searched refs:displayPort (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java108 int displayPort = Integer.parseUnsignedInt(displayPortStr); in processInputPortAssociations() local
109 associations.put(inputPort, displayPort); in processInputPortAssociations()
DInputManagerService.java2266 public void addPortAssociation(@NonNull String inputPort, int displayPort) { in addPortAssociation() argument
2276 mRuntimeAssociations.put(inputPort, displayPort); in addPortAssociation()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp123 uint8_t displayPort) const { in getDisplayViewportByPort()
126 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp309 const auto& displayPort = ports.find(inputPort); in configure() local
310 if (displayPort != ports.end()) { in configure()
311 mAssociatedDisplayPort = std::make_optional(displayPort->second); in configure()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl115 void addPortAssociation(in String inputPort, int displayPort); in addPortAssociation() argument
DInputManager.java1292 public void addPortAssociation(@NonNull String inputPort, int displayPort) { in addPortAssociation() argument
1294 mIm.addPortAssociation(inputPort, displayPort); in addPortAssociation()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp572 uint8_t displayPort; in getReaderConfiguration() local
574 bool success = ParseUint(displayPortStr, &displayPort); in getReaderConfiguration()
580 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp236 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const { in getDisplayViewportByPort()
237 return mConfig.getDisplayViewportByPort(displayPort); in getDisplayViewportByPort()
268 void addInputPortAssociation(const std::string& inputPort, uint8_t displayPort) { in addInputPortAssociation() argument
269 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()
1085 const std::optional<uint8_t> displayPort = getDeviceContext().getAssociatedDisplayPort(); in configure() local
1086 if (displayPort && (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) { in configure()
1087 mViewport = config->getDisplayViewportByPort(*displayPort); in configure()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp549 const std::optional<uint8_t> displayPort = getDeviceContext().getAssociatedDisplayPort(); in findViewport() local
550 if (displayPort) { in findViewport()