Home
last modified time | relevance | path

Searched refs:portName (Results 1 – 25 of 52) sorted by relevance

123

/aosp12/hardware/interfaces/usb/1.0/default/
H A DUsb.cpp53 std::string node("/sys/class/dual_role_usb/" + portName); in appendRoleNodeHelper()
85 Return<void> Usb::switchRole(const hidl_string& portName, in switchRole() argument
102 mCallback->notifyRoleSwitchStatus(portName, newRole, in switchRole()
118 Status getCurrentRoleHelper(std::string portName, in getCurrentRoleHelper() argument
125 portName + "/power_role"; in getCurrentRoleHelper()
129 portName + "/data_role"; in getCurrentRoleHelper()
133 portName + "/mode"; in getCurrentRoleHelper()
207 bool canSwitchRoleHelper(const std::string portName, PortRoleType type) { in canSwitchRoleHelper() argument
208 std::string filename = appendRoleNodeHelper(portName, type); in canSwitchRoleHelper()
220 std::string(portName.c_str()) + "/supported_modes"; in getPortModeHelper()
[all …]
H A DUsb.h36 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java105 for(String portName : outputPorts) { in exportAsDot()
106 OutputPort source = filter.getConnectedOutputPort(portName); in exportAsDot()
117 String color = filter.getSignature().getOutputPortInfo(portName).isRequired() in exportAsDot()
123 getDotName(portName) + "_OUT -> " + in exportAsDot()
129 for(String portName : inputPorts) { in exportAsDot()
130 InputPort target = filter.getConnectedInputPort(portName); in exportAsDot()
135 String color = filter.getSignature().getInputPortInfo(portName).isRequired() in exportAsDot()
142 getDotName(portName) + "_IN [color=" + color + "];\n"); in exportAsDot()
H A DSignature.java176 String portName = entry.getKey(); in checkInputPortsConform() local
178 InputPort inputPort = filter.getConnectedInputPort(portName); in checkInputPortsConform()
181 + "input port '" + portName + "'!"); in checkInputPortsConform()
183 filterInputs.remove(portName); in checkInputPortsConform()
197 String portName = entry.getKey(); in checkOutputPortsConform() local
199 OutputPort outputPort = filter.getConnectedOutputPort(portName); in checkOutputPortsConform()
202 + "output port '" + portName + "'!"); in checkOutputPortsConform()
204 filterOutputs.remove(portName); in checkOutputPortsConform()
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java170 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
174 public final FrameFormat getInputFormat(String portName) { in getInputFormat() argument
175 InputPort inputPort = getInputPort(portName); in getInputFormat()
222 public final InputPort getInputPort(String portName) { in getInputPort() argument
227 InputPort result = mInputPorts.get(portName); in getInputPort()
235 public final OutputPort getOutputPort(String portName) { in getOutputPort() argument
240 OutputPort result = mOutputPorts.get(portName); in getOutputPort()
408 protected void setWaitsOnInputPort(String portName, boolean waits) { in setWaitsOnInputPort() argument
409 getInputPort(portName).setBlocking(waits); in setWaitsOnInputPort()
418 protected void setWaitsOnOutputPort(String portName, boolean waits) { in setWaitsOnOutputPort() argument
[all …]
/aosp12/hardware/interfaces/usb/1.0/vts/functional/
H A DVtsHalUsbV1_0TargetTest.cpp72 parent_.usb_last_port_status.portName = in notifyPortStatusChange()
73 currentPortStatus[0].portName.c_str(); in notifyPortStatusChange()
189 ALOGI("rightafter: %s", usb_last_port_status.portName.c_str()); in TEST_P()
228 if (!usb_last_port_status.portName.empty()) { in TEST_P()
229 hidl_string portBeingSwitched = usb_last_port_status.portName; in TEST_P()
274 if (!usb_last_port_status.portName.empty()) { in TEST_P()
275 hidl_string portBeingSwitched = usb_last_port_status.portName; in TEST_P()
/aosp12/hardware/interfaces/usb/1.2/
H A DIUsb.hal37 * @param portName name of the port.
41 oneway enableContaminantPresenceDetection(string portName, bool enable);
59 * @param portName name of the port.
64 oneway enableContaminantPresenceProtection(string portName, bool enable);
/aosp12/hardware/interfaces/usb/1.2/vts/functional/
H A DVtsHalUsbV1_2TargetTest.cpp115 arg.usb_last_port_status.status_1_1.status.portName = in notifyPortStatusChange_1_2()
116 currentPortStatus[0].status_1_1.status.portName; in notifyPortStatusChange_1_2()
250 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P()
284 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P()
316 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P()
350 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P()
/aosp12/hardware/interfaces/usb/1.0/
H A DIUsbCallback.hal40 * @param portName name of the port for which the roleswap is requested.
44 oneway notifyRoleSwitchStatus(string portName, PortRole newRole, Status retval);
H A DIUsb.hal29 * @param portName name of the port for which the role has to be changed
32 oneway switchRole(string portName, PortRole role);
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DMffFilterTestCase.java104 protected void injectInputFrame(String portName, Frame frame) { in injectInputFrame() argument
105 FrameSourceFilter filter = (FrameSourceFilter) mGraph.getFilter("in_" + portName); in injectInputFrame()
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbPortManager.java695 RawPortInfo temp = new RawPortInfo(current.portName, in notifyPortStatusChange()
704 logAndPrint(Log.INFO, pw, "ClientCallback V1_0: " + current.portName); in notifyPortStatusChange()
732 RawPortInfo temp = new RawPortInfo(current.status.portName, in notifyPortStatusChange_1_1()
741 logAndPrint(Log.INFO, pw, "ClientCallback V1_1: " + current.status.portName); in notifyPortStatusChange_1_1()
768 RawPortInfo temp = new RawPortInfo(current.status_1_1.status.portName, in notifyPortStatusChange_1_2()
783 + current.status_1_1.status.portName); in notifyPortStatusChange_1_2()
794 public void notifyRoleSwitchStatus(String portName, PortRole role, int retval) { in notifyRoleSwitchStatus() argument
796 logAndPrint(Log.INFO, pw, portName + " role switch successful"); in notifyRoleSwitchStatus()
798 logAndPrint(Log.ERROR, pw, portName + " role switch failed"); in notifyRoleSwitchStatus()
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameBranch.java47 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DRetargetFilter.java53 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
/aosp12/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java932 String portName = null; in addPackageDeviceServer() local
938 portName = value; in addPackageDeviceServer()
942 inputPortNames.add(portName); in addPackageDeviceServer()
951 String portName = null; in addPackageDeviceServer() local
957 portName = value; in addPackageDeviceServer()
961 outputPortNames.add(portName); in addPackageDeviceServer()
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DNegativeFilter.java57 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DPosterizeFilter.java60 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DCrossProcessFilter.java82 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DDrawOverlayFilter.java51 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DSepiaFilter.java58 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DSimpleImageFilter.java58 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DToRGBAFilter.java52 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
H A DToRGBFilter.java52 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
H A DThroughputFilter.java59 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { in getOutputFormat() argument
/aosp12/frameworks/base/media/java/android/media/
H A DAudioDeviceInfo.java415 String portName = mPort.name(); in getProductName() local
416 return portName.length() != 0 ? portName : android.os.Build.MODEL; in getProductName()

123