Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/hardware/interfaces/usb/1.0/
Dtypes.hal40 * Passed as an argument for functions used to query or change port roles.
44 * Denotes the data role of the port.
45 * The port can either be a "host" or a "device" for data.
51 * Denotes the power role of the port.
52 * The port can either be a "source" or "sink" for power.
58 * USB ports can be a pure DFP port which can only act
59 * as a host. A UFP port which can only act as a device.
69 * Indicates that the port does not have a data role.
70 * In case of DRP, the current data role of the port is only resolved
76 * Indicates that the port is acting as a host for data.
[all …]
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp258 status_t HidlUtils::audioPortFromHal(const struct audio_port& halPort, AudioPort* port) { in audioPortFromHal() argument
259 port->id = halPort.id; in audioPortFromHal()
260 port->role = AudioPortRole(halPort.role); in audioPortFromHal()
261 port->type = AudioPortType(halPort.type); in audioPortFromHal()
262 port->name.setToExternal(halPort.name, strlen(halPort.name)); in audioPortFromHal()
263 port->sampleRates.resize(halPort.num_sample_rates); in audioPortFromHal()
265 port->sampleRates[i] = halPort.sample_rates[i]; in audioPortFromHal()
267 port->channelMasks.resize(halPort.num_channel_masks); in audioPortFromHal()
269 port->channelMasks[i] = EnumBitfield<AudioChannelMask>(halPort.channel_masks[i]); in audioPortFromHal()
271 port->formats.resize(halPort.num_formats); in audioPortFromHal()
[all …]
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp79 for (const auto& port : ports) { in getAudioPortsForDeviceTypes() local
80 if (port.ext.getTag() != AudioPortExt::Tag::device) continue; in getAudioPortsForDeviceTypes()
81 const auto type = port.ext.get<AudioPortExt::Tag::device>().device.type; in getAudioPortsForDeviceTypes()
85 result.push_back(port); in getAudioPortsForDeviceTypes()
109 for (const auto& port : mPorts) { in ModuleConfig() local
110 if (port.ext.getTag() != AudioPortExt::Tag::device) continue; in ModuleConfig()
111 const auto& devicePort = port.ext.get<AudioPortExt::Tag::device>(); in ModuleConfig()
113 const bool isInput = port.flags.getTag() == AudioIoFlags::Tag::input; in ModuleConfig()
116 mAttachedSourceDevicePorts.insert(port.id); in ModuleConfig()
118 mAttachedSinkDevicePorts.insert(port.id); in ModuleConfig()
[all …]
/hardware/google/aemu/base/include/aemu/base/sockets/
DSocketUtils.h68 int socketTcp4LoopbackServer(int port);
72 int socketTcp6LoopbackServer(int port);
76 int socketTcp4LoopbackClient(int port);
80 int socketTcp6LoopbackClient(int port);
/hardware/google/apf/doc/
Dpacket_formats.txt57 | 0 | 0 | Source port |…
74 UDP datagram header (8 bytes): be16 source port, destination port, length, checksum
79 | 0 | 0 | Source port |…
/hardware/qcom/sm7250/gps/utils/
DLocIpc.cpp207 inline LocIpcInetSender(const char* name, int32_t port, int sockType) : LocIpcSender(), in LocIpcInetSender() argument
211 mAddr({.sin_family = AF_INET, .sin_port = htons(port), in LocIpcInetSender()
239 inline LocIpcInetTcpSender(const char* name, int32_t port) : in LocIpcInetTcpSender() argument
240 LocIpcInetSender(name, port, SOCK_STREAM), in LocIpcInetTcpSender()
250 int32_t port, int sockType) : in LocIpcInetRecver() argument
251 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
252 mPort(port) { in LocIpcInetRecver()
288 int32_t port) : in LocIpcInetTcpRecver() argument
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
301 int32_t port) : in LocIpcInetUdpRecver() argument
[all …]
/hardware/qcom/sm8150p/gps/utils/
DLocIpc.cpp192 inline LocIpcInetSender(const char* name, int32_t port, int sockType) : LocIpcSender(), in LocIpcInetSender() argument
196 mAddr({.sin_family = AF_INET, .sin_port = htons(port), in LocIpcInetSender()
220 inline LocIpcInetTcpSender(const char* name, int32_t port) : in LocIpcInetTcpSender() argument
221 LocIpcInetSender(name, port, SOCK_STREAM), in LocIpcInetTcpSender()
231 int32_t port, int sockType) : in LocIpcInetRecver() argument
232 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
233 mPort(port) { in LocIpcInetRecver()
267 int32_t port) : in LocIpcInetTcpRecver() argument
268 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
280 int32_t port) : in LocIpcInetUdpRecver() argument
[all …]
/hardware/qcom/sm7150/gps/utils/
DLocIpc.cpp207 inline LocIpcInetSender(const char* name, int32_t port, int sockType) : LocIpcSender(), in LocIpcInetSender() argument
211 mAddr({.sin_family = AF_INET, .sin_port = htons(port), in LocIpcInetSender()
239 inline LocIpcInetTcpSender(const char* name, int32_t port) : in LocIpcInetTcpSender() argument
240 LocIpcInetSender(name, port, SOCK_STREAM), in LocIpcInetTcpSender()
250 int32_t port, int sockType) : in LocIpcInetRecver() argument
251 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
252 mPort(port) { in LocIpcInetRecver()
288 int32_t port) : in LocIpcInetTcpRecver() argument
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
301 int32_t port) : in LocIpcInetUdpRecver() argument
[all …]
/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp207 inline LocIpcInetSender(const char* name, int32_t port, int sockType) : LocIpcSender(), in LocIpcInetSender() argument
211 mAddr({.sin_family = AF_INET, .sin_port = htons(port), in LocIpcInetSender()
239 inline LocIpcInetTcpSender(const char* name, int32_t port) : in LocIpcInetTcpSender() argument
240 LocIpcInetSender(name, port, SOCK_STREAM), in LocIpcInetTcpSender()
250 int32_t port, int sockType) : in LocIpcInetRecver() argument
251 LocIpcInetSender(name, port, sockType), LocIpcRecver(listener, *this), in LocIpcInetRecver()
252 mPort(port) { in LocIpcInetRecver()
288 int32_t port) : in LocIpcInetTcpRecver() argument
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
301 int32_t port) : in LocIpcInetUdpRecver() argument
[all …]
/hardware/qcom/media/msm8996/mm-core/src/common/
Domx_core_cmp.cpp239 OMX_IN OMX_U32 port, in qc_omx_component_tunnel_request() argument
244 (void) hComp, (void) port, (void) peerComponent, (void) peerPort, (void) tunnelSetup; in qc_omx_component_tunnel_request()
252 OMX_IN OMX_U32 port, in qc_omx_component_use_buffer() argument
265 port, in qc_omx_component_use_buffer()
278 OMX_IN OMX_U32 port, in qc_omx_component_allocate_buffer() argument
285 …G_PRINT("OMXCORE: qc_omx_component_allocate_buffer %p, %p , %d\n",hComp, bufferHdr,(unsigned)port); in qc_omx_component_allocate_buffer()
289 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
296 OMX_IN OMX_U32 port, in qc_omx_component_free_buffer() argument
302 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %p, %p\n", (unsigned)port, hComp, buffer); in qc_omx_component_free_buffer()
306 eRet = pThis->free_buffer(hComp,port,buffer); in qc_omx_component_free_buffer()
[all …]
/hardware/qcom/media/msm8974/mm-core/src/common/
Domx_core_cmp.cpp239 OMX_IN OMX_U32 port, in qc_omx_component_tunnel_request() argument
244 (void) hComp, (void) port, (void) peerComponent, (void) peerPort, (void) tunnelSetup; in qc_omx_component_tunnel_request()
252 OMX_IN OMX_U32 port, in qc_omx_component_use_buffer() argument
265 port, in qc_omx_component_use_buffer()
278 OMX_IN OMX_U32 port, in qc_omx_component_allocate_buffer() argument
285 …G_PRINT("OMXCORE: qc_omx_component_allocate_buffer %p, %p , %d\n",hComp, bufferHdr,(unsigned)port); in qc_omx_component_allocate_buffer()
289 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
296 OMX_IN OMX_U32 port, in qc_omx_component_free_buffer() argument
302 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %p, %p\n", (unsigned)port, hComp, buffer); in qc_omx_component_free_buffer()
306 eRet = pThis->free_buffer(hComp,port,buffer); in qc_omx_component_free_buffer()
[all …]
/hardware/qcom/sm8150/media/mm-core/src/common/
Domx_core_cmp.cpp239 OMX_IN OMX_U32 port, in qc_omx_component_tunnel_request() argument
244 (void) hComp, (void) port, (void) peerComponent, (void) peerPort, (void) tunnelSetup; in qc_omx_component_tunnel_request()
252 OMX_IN OMX_U32 port, in qc_omx_component_use_buffer() argument
265 port, in qc_omx_component_use_buffer()
278 OMX_IN OMX_U32 port, in qc_omx_component_allocate_buffer() argument
285 …G_PRINT("OMXCORE: qc_omx_component_allocate_buffer %p, %p , %d\n",hComp, bufferHdr,(unsigned)port); in qc_omx_component_allocate_buffer()
289 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
296 OMX_IN OMX_U32 port, in qc_omx_component_free_buffer() argument
302 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %p, %p\n", (unsigned)port, hComp, buffer); in qc_omx_component_free_buffer()
306 eRet = pThis->free_buffer(hComp,port,buffer); in qc_omx_component_free_buffer()
[all …]
/hardware/qcom/media/msm8998/mm-core/src/common/
Domx_core_cmp.cpp239 OMX_IN OMX_U32 port, in qc_omx_component_tunnel_request() argument
244 (void) hComp, (void) port, (void) peerComponent, (void) peerPort, (void) tunnelSetup; in qc_omx_component_tunnel_request()
252 OMX_IN OMX_U32 port, in qc_omx_component_use_buffer() argument
265 port, in qc_omx_component_use_buffer()
278 OMX_IN OMX_U32 port, in qc_omx_component_allocate_buffer() argument
285 …G_PRINT("OMXCORE: qc_omx_component_allocate_buffer %p, %p , %d\n",hComp, bufferHdr,(unsigned)port); in qc_omx_component_allocate_buffer()
289 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
296 OMX_IN OMX_U32 port, in qc_omx_component_free_buffer() argument
302 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %p, %p\n", (unsigned)port, hComp, buffer); in qc_omx_component_free_buffer()
306 eRet = pThis->free_buffer(hComp,port,buffer); in qc_omx_component_free_buffer()
[all …]
/hardware/qcom/sm7250/media/mm-core/src/common/
Domx_core_cmp.cpp239 OMX_IN OMX_U32 port, in qc_omx_component_tunnel_request() argument
244 (void) hComp, (void) port, (void) peerComponent, (void) peerPort, (void) tunnelSetup; in qc_omx_component_tunnel_request()
252 OMX_IN OMX_U32 port, in qc_omx_component_use_buffer() argument
265 port, in qc_omx_component_use_buffer()
278 OMX_IN OMX_U32 port, in qc_omx_component_allocate_buffer() argument
285 …G_PRINT("OMXCORE: qc_omx_component_allocate_buffer %p, %p , %d\n",hComp, bufferHdr,(unsigned)port); in qc_omx_component_allocate_buffer()
289 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
296 OMX_IN OMX_U32 port, in qc_omx_component_free_buffer() argument
302 DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %p, %p\n", (unsigned)port, hComp, buffer); in qc_omx_component_free_buffer()
306 eRet = pThis->free_buffer(hComp,port,buffer); in qc_omx_component_free_buffer()
[all …]
/hardware/qcom/media/msm8998/mm-core/inc/
Dqc_omx_component.h118 OMX_U32 port,
128 OMX_U32 port,
138 OMX_U32 port,
145 OMX_U32 port,
172 OMX_U32 port,
/hardware/qcom/sm8150/media/mm-core/inc/
Dqc_omx_component.h118 OMX_U32 port,
128 OMX_U32 port,
138 OMX_U32 port,
145 OMX_U32 port,
172 OMX_U32 port,
/hardware/qcom/media/msm8996/mm-core/inc/
Dqc_omx_component.h118 OMX_U32 port,
128 OMX_U32 port,
138 OMX_U32 port,
145 OMX_U32 port,
172 OMX_U32 port,
/hardware/qcom/media/msm8974/mm-core/inc/
Dqc_omx_component.h118 OMX_U32 port,
128 OMX_U32 port,
138 OMX_U32 port,
145 OMX_U32 port,
172 OMX_U32 port,
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/
Dqc_omx_component.h118 OMX_U32 port,
128 OMX_U32 port,
138 OMX_U32 port,
145 OMX_U32 port,
172 OMX_U32 port,
/hardware/qcom/sm7250/media/mm-core/inc/
Dqc_omx_component.h118 OMX_U32 port,
128 OMX_U32 port,
138 OMX_U32 port,
145 OMX_U32 port,
172 OMX_U32 port,
/hardware/interfaces/media/omx/1.0/
DIOmxNode.hal130 * Set the mode of a port on the node.
132 * @param portIndex Index of the port.
133 * @param mode Target mode on the specified port.
144 * Prepare a port for adaptive playback. This is based on the extension
147 * @param portIndex Index of the port.
163 * Configure a port for a tunneled playback mode. This is based on the
166 * @param portIndex Index of the port.
183 * Retrieve the buffer usage on a port. This is based on the extension
186 * @param portIndex Index of the port.
213 * Allocate an opaque buffer on a port as a native handle.
[all …]
/hardware/qcom/media/msm8974/mm-core/omxcore/src/common/
Domx_core_cmp.cpp239 OMX_IN OMX_U32 port, in qc_omx_component_tunnel_request() argument
251 OMX_IN OMX_U32 port, in qc_omx_component_use_buffer() argument
264 port, in qc_omx_component_use_buffer()
277 OMX_IN OMX_U32 port, in qc_omx_component_allocate_buffer() argument
284 …c_omx_component_allocate_buffer %x, %x , %d\n",(unsigned)hComp,(unsigned)bufferHdr,(unsigned)port); in qc_omx_component_allocate_buffer()
288 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
295 OMX_IN OMX_U32 port, in qc_omx_component_free_buffer() argument
301 …DEBUG_PRINT("OMXCORE: qc_omx_component_free_buffer[%d] %x, %x\n", (unsigned)port, (unsigned)hComp,… in qc_omx_component_free_buffer()
305 eRet = pThis->free_buffer(hComp,port,buffer); in qc_omx_component_free_buffer()
379 OMX_IN OMX_U32 port, in qc_omx_component_use_EGL_image() argument
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DCtUpdateAmbassador.cpp62 in.src.ipAddr, in.src.port, in.dst.ipAddr, in.dst.port, in updateTimeout()
102 out.port = in.port; in translate()
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DCtUpdateAmbassador.cpp62 in.src.ipAddr, in.src.port, in.dst.ipAddr, in.dst.port, in updateTimeout()
105 out.port = in.port; in translate()
/hardware/interfaces/usb/1.1/
Dtypes.hal26 * Indicates that the port supports Audio Accessory mode.
31 * Indicates that the port supports Debug Accessory mode.
40 * Represents the current connection status of a single USB port.
52 * Identifies the modes supported by the port.
58 * Indicates the current mode in which the port is operating.

12345678910>>...19