/external/autotest/client/common_lib/cros/cfm/usb/ |
usb_port_manager.py | 5 PortId = collections.namedtuple('PortId', ['bus', 'port_number']) 12 PortId(bus=1, port_number=2): 218, # Front left USB 2 13 PortId(bus=2, port_number=1): 218, # Front left USB 3 14 PortId(bus=1, port_number=3): 219, # Front right USB 2 15 PortId(bus=2, port_number=2): 219, # Front right USB 3 17 PortId(bus=1, port_number=5): 209, # Back upper USB 2 18 PortId(bus=2, port_number=3): 209, # Back upper USB 3 19 PortId(bus=1, port_number=6): 209, # Back lower USB 2 20 PortId(bus=2, port_number=4): 209, # Back lower USB [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiMhlControllerStub.java | 60 HdmiMhlLocalDeviceStub getLocalDevice(int portId) { 82 HdmiMhlLocalDeviceStub removeLocalDevice(int portId) { 98 void sendVendorCommand(int portId, int offset, int length, byte[] data) { 105 * Get the MHL version supported by underlying hardware port of the given {@code portId}. 110 int getMhlVersion(int portId) { 115 * Get MHL version of a device which is connected to a port of the given {@code portId}. 119 int getPeerMhlVersion(int portId) { 127 int getSupportedFeatures(int portId) { 135 int getEcbusDeviceRoles(int portId) {
|
HdmiMhlLocalDeviceStub.java | 16 protected HdmiMhlLocalDeviceStub(HdmiControlService service, int portId) { 18 mPortId = portId;
|
HdmiControlService.java | 710 * @param portId HDMI port id 713 HdmiPortInfo getPortInfo(int portId) { 714 return mPortInfoMap.get(portId, null); 721 int portIdToPath(int portId) { 722 HdmiPortInfo portInfo = getPortInfo(portId); 724 Slog.e(TAG, "Cannot find the port info: " + portId); 741 boolean isValidPortId(int portId) { 742 return getPortInfo(portId) != null; 805 int portId = pathToPortId(physicalAddress); 806 if (portId != Constants.INVALID_PORT_ID) [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbPortManager.java | 163 public UsbPortStatus getPortStatus(String portId) { 165 final PortInfo portInfo = mPorts.get(portId); 170 public void setPortRoles(String portId, int newPowerRole, int newDataRole, 173 final PortInfo portInfo = mPorts.get(portId); 176 pw.println("No such USB port: " + portId); 184 + "role combination: portId=" + portId 231 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId 239 RawPortInfo sim = mSimulatedPorts.get(portId); [all...] |
UsbService.java | 469 public UsbPortStatus getPortStatus(String portId) { 470 Preconditions.checkNotNull(portId, "portId must not be null"); 475 return mPortManager != null ? mPortManager.getPortStatus(portId) : null; 482 public void setPortRoles(String portId, int powerRole, int dataRole) { 483 Preconditions.checkNotNull(portId, "portId must not be null"); 490 mPortManager.setPortRoles(portId, powerRole, dataRole, null); 552 final String portId = args[1]; 584 mPortManager.setPortRoles(portId, powerRole, dataRole, pw) [all...] |
/external/libnetfilter_conntrack/examples/ |
nfct-mnl-del.c | 18 unsigned int seq, portid; local 32 portid = mnl_socket_get_portid(nl); 68 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL);
|
nfct-mnl-dump.c | 35 unsigned int seq, portid; local 48 portid = mnl_socket_get_portid(nl); 68 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, NULL);
|
nfct-mnl-flush.c | 18 unsigned int seq, portid; local 31 portid = mnl_socket_get_portid(nl); 51 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL);
|
nfexp-mnl-dump.c | 39 uint32_t seq, portid; local 53 portid = mnl_socket_get_portid(nl); 73 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, NULL);
|
nfct-mnl-create.c | 18 unsigned int seq, portid; local 32 portid = mnl_socket_get_portid(nl); 73 ret = mnl_cb_run(buf, ret, seq, portid, NULL, NULL);
|
nfct-mnl-dump-labels.c | 50 unsigned int seq, portid; local 64 portid = mnl_socket_get_portid(nl); 87 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, l);
|
nfct-mnl-get.c | 37 unsigned int seq, portid; local 51 portid = mnl_socket_get_portid(nl); 87 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, NULL);
|
nfct-mnl-set-label.c | 127 unsigned int seq, portid; local 149 portid = mnl_socket_get_portid(nl); 175 ret = mnl_cb_run(buf, ret, seq, portid, data_cb, &cbargs);
|
/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiDeviceInfo.java | 125 int portId = source.readInt(); 134 return new HdmiDeviceInfo(logicalAddress, physicalAddress, portId, 139 return new HdmiDeviceInfo(physicalAddress, portId, adopterId, deviceId); 141 return new HdmiDeviceInfo(physicalAddress, portId); 160 * @param portId HDMI port ID (1 for HDMI1) 167 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, 171 mPortId = portId; 189 * @param portId HDMI port ID (1 for HDMI1) 195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, 197 this(logicalAddress, physicalAddress, portId, deviceType [all...] |
IHdmiMhlVendorCommandListener.aidl | 25 void onReceived(int portId, int offset, int length, in byte[] data);
|
HdmiTvClient.java | 103 * @param portId HDMI port to select 107 public void portSelect(int portId, @NonNull SelectCallback callback) { 112 mService.portSelect(portId, getCallbackWrapper(callback)); 384 void onReceived(int portId, int offset, int length, byte[] data); 407 public void onReceived(int portId, int offset, int length, byte[] data) { 408 listener.onReceived(portId, offset, length, data); 414 * Sends MHL vendor command to the device connected to a port of the given portId. 416 * @param portId id of port to send MHL vendor command 422 public void sendMhlVendorCommand(int portId, int offset, int length, byte[] data) { 434 mService.sendMhlVendorCommand(portId, offset, length, data) [all...] |
IHdmiControlService.aidl | 48 void portSelect(int portId, IHdmiControlCallback callback); 72 void sendMhlVendorCommand(int portId, int offset, int length, in byte[] data);
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/ |
PchAccess.h | 431 #define PchMsgBusRead32(PortId, Register, Dbuff, ReadOpCode, WriteOpCode) \
434 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
438 #define PchMsgBusAnd32(PortId, Register, Dbuff, AndData, ReadOpCode, WriteOpCode) \
441 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
445 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((WriteOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
448 #define PchMsgBusOr32(PortId, Register, Dbuff, OrData, ReadOpCode, WriteOpCode) \
451 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
455 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((WriteOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
458 #define PchMsgBusAndThenOr32(PortId, Register, Dbuff, AndData, OrData, ReadOpCode, WriteOpCode) \
461 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \ [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/ |
Mvpp2Lib.c | 169 IN UINT32 PortId,
176 Pe->Tcam.Byte[EnableOff] &= ~(1 << PortId);
178 Pe->Tcam.Byte[EnableOff] |= 1 << PortId;
618 IN INT32 PortId,
625 /* Entry exist - update PortId only */
647 /* Update PortId Mask */
648 Mvpp2PrsTcamPortSet (&Pe, PortId, Add);
657 IN INT32 PortId,
692 Mvpp2PrsTcamPortSet (&Pe, PortId, Add);
701 IN INT32 PortId,
[all...] |
Mvpp2Lib.h | 49 IN INT32 PortId,
56 IN INT32 PortId,
69 IN INT32 PortId,
77 IN INT32 PortId
83 IN INT32 PortId,
432 IN INT32 PortId,
533 IN INT32 PortId,
537 return (MVPP2_MAX_TCONT + PortId) * MVPP2_MAX_TXQ + Txq;
|
/frameworks/av/media/libaudioclient/include/media/ |
IAudioPolicyService.h | 68 audio_port_handle_t *portId) = 0; 87 audio_port_handle_t *portId) = 0; 88 virtual status_t startInput(audio_port_handle_t portId, 90 virtual status_t stopInput(audio_port_handle_t portId) = 0; 91 virtual void releaseInput(audio_port_handle_t portId) = 0;
|
/external/iproute2/tipc/ |
msg.c | 77 unsigned int portid; local 80 portid = mnl_socket_get_portid(nl); 84 ret = mnl_cb_run(buf, ret, seq, portid, callback, data);
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/ |
GraphvizNode.java | 108 public void addField(String portId, String title) { 109 fields.put(portId, title);
|
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImpl.cpp | 177 audio_port_handle_t *portId) 195 &flags, selectedDeviceId, portId); 206 *portId = AUDIO_PORT_HANDLE_NONE; 209 &flags, selectedDeviceId, portId); 309 audio_port_handle_t *portId) 368 &inputType, portId); 412 mAudioRecordClients.add(*portId, client); 455 std::string AudioPolicyService::getDeviceTypeStrForPortId(audio_port_handle_t portId) { 458 port.id = portId; 466 status_t AudioPolicyService::startInput(audio_port_handle_t portId, bool *silenced [all...] |