/frameworks/base/core/java/android/hardware/usb/ |
D | UsbRequest.java | 61 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) { in initialize() argument 62 mEndpoint = endpoint; in initialize() 63 return native_init(connection, endpoint.getAddress(), endpoint.getAttributes(), in initialize() 64 endpoint.getMaxPacketSize(), endpoint.getInterval()); in initialize()
|
D | UsbDeviceConnection.java | 139 public int bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int length, int timeout) { in bulkTransfer() argument 140 return native_bulk_request(endpoint.getAddress(), buffer, length, timeout); in bulkTransfer() 179 private native int native_bulk_request(int endpoint, byte[] buffer, int length, int timeout); in native_bulk_request() argument
|
/frameworks/base/services/jni/ |
D | com_android_server_UsbHostManager.cpp | 89 struct usb_endpoint_descriptor *endpoint = (struct usb_endpoint_descriptor *)desc; in usb_device_added() local 92 endpointValues.add(endpoint->bEndpointAddress); in usb_device_added() 93 endpointValues.add(endpoint->bmAttributes); in usb_device_added() 94 endpointValues.add(__le16_to_cpu(endpoint->wMaxPacketSize)); in usb_device_added() 95 endpointValues.add(endpoint->bInterval); in usb_device_added()
|
/frameworks/av/media/libaah_rtp/ |
D | aah_tx_sender.cpp | 146 uint16_t AAH_TXSender::registerEndpoint(const Endpoint& endpoint) { in registerEndpoint() argument 149 EndpointState* eps = mEndpointMap.valueFor(endpoint); in registerEndpoint() 154 mEndpointMap.add(endpoint, eps); in registerEndpoint() 176 void AAH_TXSender::unregisterEndpoint(const Endpoint& endpoint) { in unregisterEndpoint() argument 179 EndpointState* eps = mEndpointMap.valueFor(endpoint); in unregisterEndpoint() 225 const Endpoint& endpoint) { in doSendPacket_l() argument 226 EndpointState* eps = mEndpointMap.valueFor(endpoint); in doSendPacket_l() 245 addr.sin_addr.s_addr = endpoint.addr; in doSendPacket_l() 246 addr.sin_port = endpoint.port; in doSendPacket_l() 415 Endpoint endpoint(request.endpointIP, request.endpointPort); in handleRetryRequest() local [all …]
|
D | aah_tx_sender.h | 70 uint16_t registerEndpoint(const Endpoint& endpoint); 71 void unregisterEndpoint(const Endpoint& endpoint); 110 const Endpoint& endpoint);
|
D | aah_tx_player.cpp | 826 const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument 829 if (NULL == endpoint) in setRetransmitEndpoint() 836 mEndpoint.addr = endpoint->sin_addr.s_addr; in setRetransmitEndpoint() 837 mEndpoint.port = endpoint->sin_port; in setRetransmitEndpoint()
|
D | aah_tx_player.h | 67 const struct sockaddr_in* endpoint);
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
D | accessorychat.c | 35 int endpoint = (int)arg; in read_thread() local 41 ret = usb_device_bulk_transfer(sDevice, endpoint, buffer, sizeof(buffer), 1000); in read_thread() 55 int endpoint = (int)arg; in write_thread() local 63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000); in write_thread()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 91 public void connect(LocalSocketAddress endpoint) throws IOException { in connect() argument 98 impl.connect(endpoint, 0); in connect() 241 public void connect(LocalSocketAddress endpoint, int timeout) in connect() argument
|
D | LocalSocketImpl.java | 248 public void bind(LocalSocketAddress endpoint) throws IOException in bind() argument 254 bindLocal(fd, endpoint.getName(), endpoint.getNamespace().getId()); in bind()
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayer.cpp | 295 status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument 300 if (NULL != endpoint) { in setRetransmitEndpoint() 301 data.writeInt32(sizeof(*endpoint)); in setRetransmitEndpoint() 302 data.write(endpoint, sizeof(*endpoint)); in setRetransmitEndpoint() 493 struct sockaddr_in endpoint; in onTransact() local 495 if (amt == sizeof(endpoint)) { in onTransact() 496 data.read(&endpoint, sizeof(struct sockaddr_in)); in onTransact() 497 reply->writeInt32(setRetransmitEndpoint(&endpoint)); in onTransact()
|
/frameworks/base/tools/aidl/ |
D | generate_java_rpc.cpp | 293 Variable* endpoint; member in RpcProxyClass 313 this->endpoint = new Variable(RPC_ENDPOINT_INFO_TYPE, "_endpoint"); in RpcProxyClass() 314 this->elements.push_back(new Field(PRIVATE, this->endpoint)); in RpcProxyClass() 329 Variable* endpoint = new Variable(RPC_ENDPOINT_INFO_TYPE, "endpoint"); in generate_ctor() local 335 ctor->parameters.push_back(endpoint); in generate_ctor() 339 ctor->statements->Add(new Assignment(this->endpoint, endpoint)); in generate_ctor() 352 get->statements->Add(new ReturnStatement(this->endpoint)); in generate_get_endpoint_info() 732 proxyClass->endpoint, in generate_proxy_method() 932 "startListening", 1, proxyClass->endpoint)); in generate_listener_methods()
|
/frameworks/base/docs/html/guide/topics/connectivity/usb/ |
D | host.jd | 79 <td>Represents an interface endpoint, which is a communication channel for this interface. An 112 interface to communicate on. Once you obtain the correct endpoint, open a {@link 361 device that you want to communicate on and send requests on this endpoint with a {@link 372 or more endpoints, and commonly will have an input and output endpoint for two-way 375 <li>When you find the correct endpoint, open a {@link android.hardware.usb.UsbDeviceConnection} 376 on that endpoint.</li> 378 <li>Supply the data that you want to transmit on the endpoint with the {@link 398 UsbEndpoint endpoint = intf.getEndpoint(0); 401 connection.bulkTransfer(endpoint, bytes, bytes.length, TIMEOUT); //do in another thread 413 shows how to listen on an interrupt endpoint asynchronously.</p>
|
/frameworks/base/core/jni/ |
D | android_hardware_UsbDeviceConnection.cpp | 173 jint endpoint, jbyteArray buffer, jint length, jint timeout) in android_hardware_UsbDeviceConnection_bulk_request() argument 190 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes, length, timeout); in android_hardware_UsbDeviceConnection_bulk_request()
|
/frameworks/av/include/media/ |
D | IMediaPlayer.h | 66 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) = 0;
|
D | MediaPlayerInterface.h | 160 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument
|
/frameworks/base/docs/html/tools/adk/ |
D | aoa.jd | 116 exists). This request is a control request on endpoint 0 with the following characteristics: 130 These requests are control requests on endpoint 0 (for each string ID) with the following 153 request is a control request on endpoint 0 with the following characteristics: 178 device's interface and endpoint descriptors to obtain the bulk endpoints to communicate with the
|
D | aoa2.jd | 135 control requests on endpoint zero, no new USB interface is needed to provide this support. The 148 than the maximum packet size for endpoint zero, multiple ACCESSORY_SET_HID_REPORT_DESC commands are 181 * If the HID descriptor is longer than the endpoint zero max packet size,
|
D | adk.jd | 537 about all the interfaces and endpoint descriptors. If the descriptor is of appropriate size, the 574 and is used to index the buffer for reading. There are two endpoint pointers (input and output) 577 parsing each configuration, interface, or endpoint descriptor. For each descriptor, Position 0 589 <p>When it finds the first input and output endpoint descriptors, it sets the endpoint pointers 590 to those addresses. If the findEndpoints() function finds both an input and output endpoint, it
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 1920 public void setRetransmitEndpoint(InetSocketAddress endpoint) in setRetransmitEndpoint() argument 1926 if (null != endpoint) { in setRetransmitEndpoint() 1927 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint() 1928 port = endpoint.getPort(); in setRetransmitEndpoint()
|
/frameworks/av/media/mtp/ |
D | MtpPacket.cpp | 157 request->endpoint, in transfer()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1183 const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument 1185 if (NULL != endpoint) { in setRetransmitEndpoint() 1186 uint32_t a = ntohl(endpoint->sin_addr.s_addr); in setRetransmitEndpoint() 1187 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint() 1202 if (NULL != endpoint) { in setRetransmitEndpoint() 1203 mRetransmitEndpoint = *endpoint; in setRetransmitEndpoint()
|
D | MediaPlayerService.h | 328 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint);
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.1.jd | 103 declaring endpoint types, device classes, and so on.</li> 348 <li>{@link android.net.rtp.AudioStream} specifies a remote endpoint and consists 350 <li>{@link android.net.rtp.AudioGroup} represents the local endpoint for one 356 <p>The simplest usage involves a single remote endpoint and local endpoint.
|
/frameworks/base/docs/html/guide/google/gcm/ |
D | c2dm.jd | 89 …<li> The request should be sent to a new endpoint: <code>https://android.googleapis.com/gcm/send<…
|