Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DFakeInputReaderPolicy.cpp70 uint8_t displayPort) const { in getDisplayViewportByPort()
71 return mConfig.getDisplayViewportByPort(displayPort); in getDisplayViewportByPort()
125 uint8_t displayPort) { in addInputPortAssociation() argument
126 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()
DFakeInputReaderPolicy.h50 std::optional<DisplayViewport> getDisplayViewportByPort(uint8_t displayPort) const;
57 void addInputPortAssociation(const std::string& inputPort, uint8_t displayPort);
DInputReader_test.cpp276 const std::optional<uint8_t> displayPort = getDeviceContext().getAssociatedDisplayPort(); in reconfigure() local
277 if (displayPort && changes.test(InputReaderConfiguration::Change::DISPLAY_INFO)) { in reconfigure()
278 mViewport = config.getDisplayViewportByPort(*displayPort); in reconfigure()
/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.java1756 public void addPortAssociation(@NonNull String inputPort, int displayPort) { in addPortAssociation() argument
1766 mRuntimeAssociations.put(inputPort, displayPort); in addPortAssociation()
/frameworks/native/services/inputflinger/
DInputReaderBase.cpp85 uint8_t displayPort) const { in getDisplayViewportByPort()
88 if (physicalPort && (*physicalPort == displayPort)) { in getDisplayViewportByPort()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp271 const auto& displayPort = ports.find(inputPort); in configure() local
272 if (displayPort != ports.end()) { in configure()
273 mAssociatedDisplayPort = std::make_optional(displayPort->second); in configure()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl177 void addPortAssociation(in String inputPort, int displayPort); in addPortAssociation() argument
DInputManager.java1135 public void addPortAssociation(@NonNull String inputPort, int displayPort) { in addPortAssociation() argument
1137 mIm.addPortAssociation(inputPort, displayPort); in addPortAssociation()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp597 uint8_t displayPort; in getReaderConfiguration() local
599 bool success = ParseUint(displayPortStr, &displayPort); in getReaderConfiguration()
605 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()