HomeSort by relevance Sort by last modified time
    Searched refs:portName (Results 1 - 25 of 62) sorted by null

1 2 3

  /hardware/interfaces/usb/1.0/
IUsb.hal 29 * @param portName name of the port for which the role has to be changed
32 oneway switchRole(string portName, PortRole role);
IUsbCallback.hal 40 * @param portName name of the port for which the roleswap is requested.
44 oneway notifyRoleSwitchStatus(string portName, PortRole newRole, Status retval);
types.hal 163 string portName;
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
GraphExporter.java 105 for(String portName : outputPorts) {
106 OutputPort source = filter.getConnectedOutputPort(portName);
117 String color = filter.getSignature().getOutputPortInfo(portName).isRequired()
123 getDotName(portName) + "_OUT -> " +
129 for(String portName : inputPorts) {
130 InputPort target = filter.getConnectedInputPort(portName);
135 String color = filter.getSignature().getInputPortInfo(portName).isRequired()
142 getDotName(portName) + "_IN [color=" + color + "];\n");
Signature.java 176 String portName = entry.getKey();
178 InputPort inputPort = filter.getConnectedInputPort(portName);
181 + "input port '" + portName + "'!");
183 filterInputs.remove(portName);
197 String portName = entry.getKey();
199 OutputPort outputPort = filter.getConnectedOutputPort(portName);
202 + "output port '" + portName + "'!");
204 filterOutputs.remove(portName);
  /device/google/marlin/usb/
Usb.cpp 70 std::string appendRoleNodeHelper(const std::string &portName,
72 std::string node("/sys/class/typec/" + portName);
114 void switchToDrp(const std::string &portName) {
116 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE);
134 bool switchMode(const hidl_string &portName,
137 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type);
184 switchToDrp(std::string(portName.c_str()));
191 Return<void> Usb::switchRole(const hidl_string &portName,
194 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type);
210 roleSwitch = switchMode(portName, newRole, this)
    [all...]
Usb.h 43 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
  /hardware/interfaces/usb/1.0/default/
Usb.cpp 52 std::string appendRoleNodeHelper(const std::string portName, PortRoleType type) {
53 std::string node("/sys/class/dual_role_usb/" + portName);
85 Return<void> Usb::switchRole(const hidl_string& portName,
87 std::string filename = appendRoleNodeHelper(std::string(portName.c_str()),
102 mCallback->notifyRoleSwitchStatus(portName, newRole,
111 Return<void> ret = mCallback->notifyRoleSwitchStatus(portName, newRole, Status::ERROR);
118 Status getCurrentRoleHelper(std::string portName,
125 portName + "/power_role";
129 portName + "/data_role";
133 portName + "/mode"
    [all...]
Usb.h 36 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
SocketTransportWrapper.java 68 String portName = null;
71 portName = address;
74 portName = address.substring(i+1);
77 port = Integer.parseInt(portName);
154 String portName = null;
160 portName = address.substring(i+1);
163 port = Integer.parseInt(portName);
  /hardware/interfaces/usb/1.0/vts/functional/
VtsHalUsbV1_0TargetTest.cpp 70 parent_.usb_last_port_status.portName =
71 currentPortStatus[0].portName.c_str();
85 Return<void> notifyRoleSwitchStatus(const hidl_string& /*portName*/,
187 ALOGI("rightafter: %s", usb_last_port_status.portName.c_str());
225 if (!usb_last_port_status.portName.empty()) {
226 hidl_string portBeingSwitched = usb_last_port_status.portName;
227 ALOGI("mode portname:%s", portBeingSwitched.c_str());
272 if (!usb_last_port_status.portName.empty()) {
273 hidl_string portBeingSwitched = usb_last_port_status.portName;
274 ALOGI("switchPower role portname:%s", portBeingSwitched.c_str())
    [all...]
  /device/google/wahoo/usb/
Usb.cpp 96 std::string appendRoleNodeHelper(const std::string &portName,
98 std::string node("/sys/class/typec/" + portName);
140 void switchToDrp(const std::string &portName) {
142 appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE);
160 bool switchMode(const hidl_string &portName,
163 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type);
210 switchToDrp(std::string(portName.c_str()));
240 Return<void> Usb::switchRole(const hidl_string &portName,
243 appendRoleNodeHelper(std::string(portName.c_str()), newRole.type);
259 roleSwitch = switchMode(portName, newRole, this)
    [all...]
Usb.h 45 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
FrameBranch.java 47 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
RetargetFilter.java 53 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
Filter.java 170 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
174 public final FrameFormat getInputFormat(String portName) {
175 InputPort inputPort = getInputPort(portName);
222 public final InputPort getInputPort(String portName) {
224 throw new NullPointerException("Attempting to access input port '" + portName
227 InputPort result = mInputPorts.get(portName);
229 throw new IllegalArgumentException("Unknown input port '" + portName + "' on filter "
235 public final OutputPort getOutputPort(String portName) {
237 throw new NullPointerException("Attempting to access output port '" + portName
240 OutputPort result = mOutputPorts.get(portName);
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
CrossProcessFilter.java 82 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
DrawOverlayFilter.java 51 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
NegativeFilter.java 57 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
PosterizeFilter.java 60 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
ColorTemperatureFilter.java 70 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
FlipFilter.java 56 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
ThroughputFilter.java 59 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) {
  /frameworks/base/media/tests/NativeMidiDemo/java/com/example/android/nativemididemo/
NativeMidi.java 196 String portName = port.getName();
198 if (portName.length() == 0) portName = "[" + portNumber + "]";
199 portName += "@" + deviceName;
201 outputDevice.setText(portName);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
MffFilterTestCase.java 104 protected void injectInputFrame(String portName, Frame frame) {
105 FrameSourceFilter filter = (FrameSourceFilter) mGraph.getFilter("in_" + portName);

Completed in 200 milliseconds

1 2 3