Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java61 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()
DUsbDeviceConnection.java194 public int bulkTransfer(UsbEndpoint endpoint, in bulkTransfer() argument
196 return bulkTransfer(endpoint, buffer, 0, length, timeout); in bulkTransfer()
211 public int bulkTransfer(UsbEndpoint endpoint, in bulkTransfer() argument
214 return native_bulk_request(endpoint.getAddress(), buffer, offset, length, timeout); in bulkTransfer()
262 private native int native_bulk_request(int endpoint, byte[] buffer, in native_bulk_request() argument
/frameworks/av/media/libmedia/
DIMediaPlayer.cpp303 status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) in setRetransmitEndpoint() argument
309 if (NULL != endpoint) { in setRetransmitEndpoint()
310 data.writeInt32(sizeof(*endpoint)); in setRetransmitEndpoint()
311 data.write(endpoint, sizeof(*endpoint)); in setRetransmitEndpoint()
332 status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) in getRetransmitEndpoint() argument
344 data.read(endpoint, sizeof(*endpoint)); in getRetransmitEndpoint()
527 struct sockaddr_in endpoint; in onTransact() local
528 memset(&endpoint, 0, sizeof(endpoint)); in onTransact()
530 if (amt == sizeof(endpoint)) { in onTransact()
531 data.read(&endpoint, sizeof(struct sockaddr_in)); in onTransact()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConferenceParticipant.java60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { in ConferenceParticipant() argument
63 mEndpoint = endpoint; in ConferenceParticipant()
78 Uri endpoint = source.readParcelable(classLoader);
80 return new ConferenceParticipant(handle, displayName, endpoint, state);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DTestConferenceEventPackageParser.java132 String endpoint = ""; in parseParticipant() local
145 endpoint = parser.getText(); in parseParticipant()
154 Log.v(LOG_TAG, "Endpoint: "+endpoint); in parseParticipant()
159 bundle.putString(ImsConferenceState.ENDPOINT, endpoint); in parseParticipant()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c35 int endpoint = (int)(uintptr_t)arg; in read_thread() local
41 ret = usb_device_bulk_transfer(sDevice, endpoint, buffer, sizeof(buffer), 1000); in read_thread()
55 int endpoint = (int)(uintptr_t)arg; in write_thread() local
63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000); in write_thread()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp123 struct usb_endpoint_descriptor *endpoint = (struct usb_endpoint_descriptor *)desc; in usb_device_added() local
126 endpoint->bEndpointAddress, endpoint->bmAttributes, in usb_device_added()
127 __le16_to_cpu(endpoint->wMaxPacketSize), endpoint->bInterval); in usb_device_added()
/frameworks/base/core/java/android/net/
DLocalSocket.java123 public void connect(LocalSocketAddress endpoint) throws IOException { in connect() argument
130 impl.connect(endpoint, 0); in connect()
274 public void connect(LocalSocketAddress endpoint, int timeout) in connect() argument
DLocalSocketImpl.java300 public void bind(LocalSocketAddress endpoint) throws IOException in bind() argument
306 bindLocal(fd, endpoint.getName(), endpoint.getNamespace().getId()); in bind()
/frameworks/av/include/media/
DIMediaPlayer.h70 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) = 0;
71 virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) = 0;
DMediaPlayerInterface.h172 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument
175 virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) { in getRetransmitEndpoint() argument
/frameworks/base/tools/aidl/
Dgenerate_java_rpc.cpp293 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()
935 "startListening", 1, proxyClass->endpoint)); in generate_listener_methods()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd79 <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/
Dandroid_hardware_UsbDeviceConnection.cpp195 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) in android_hardware_UsbDeviceConnection_bulk_request() argument
208 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes + start, length, timeout); in android_hardware_UsbDeviceConnection_bulk_request()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java590 public void onDisconnectConferenceParticipant(Uri endpoint) { in onDisconnectConferenceParticipant() argument
596 imsCall.removeParticipants(new String[]{endpoint.toString()}); in onDisconnectConferenceParticipant()
600 "Failed to disconnect endpoint = " + endpoint); in onDisconnectConferenceParticipant()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1138 const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument
1140 if (NULL != endpoint) { in setRetransmitEndpoint()
1141 uint32_t a = ntohl(endpoint->sin_addr.s_addr); in setRetransmitEndpoint()
1142 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint()
1157 if (NULL != endpoint) { in setRetransmitEndpoint()
1158 mRetransmitEndpoint = *endpoint; in setRetransmitEndpoint()
1168 struct sockaddr_in* endpoint) in getRetransmitEndpoint() argument
1170 if (NULL == endpoint) in getRetransmitEndpoint()
1176 return p->getRetransmitEndpoint(endpoint); in getRetransmitEndpoint()
1181 *endpoint = mRetransmitEndpoint; in getRetransmitEndpoint()
DMediaPlayerService.h363 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint);
364 virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint);
/frameworks/av/media/mtp/
DMtpPacket.cpp157 request->endpoint, in transfer()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1285 String endpoint = parameters[5]; in execute() local
1286 if (!endpoint.isEmpty()) { in execute()
1288 InetAddress addr = InetAddress.parseNumericAddress(endpoint); in execute()
1294 Log.e(TAG, "Unknown IP address family for VPN endpoint: " + endpoint); in execute()
1297 Log.e(TAG, "Exception constructing throw route to " + endpoint + ": " + e); in execute()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java592 public void onDisconnectConferenceParticipant(Uri endpoint) { in onDisconnectConferenceParticipant() argument
/frameworks/base/docs/html/google/gcm/
Dc2dm.jd82 … must keep track of whether a registration ID is from C2DM or GCM and use the proper endpoint. </p>
99 …<li> The request should be sent to a new endpoint: <code>https://android.googleapis.com/gcm/send<…
/frameworks/base/docs/html/tools/adk/
Dadk.jd538 about all the interfaces and endpoint descriptors. If the descriptor is of appropriate size, the
575 and is used to index the buffer for reading. There are two endpoint pointers (input and output)
578 parsing each configuration, interface, or endpoint descriptor. For each descriptor, Position 0
590 <p>When it finds the first input and output endpoint descriptors, it sets the endpoint pointers
591 to those addresses. If the findEndpoints() function finds both an input and output endpoint, it
/frameworks/base/media/java/android/media/
DMediaPlayer.java2464 public void setRetransmitEndpoint(InetSocketAddress endpoint) in setRetransmitEndpoint() argument
2470 if (null != endpoint) { in setRetransmitEndpoint()
2471 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint()
2472 port = endpoint.getPort(); in setRetransmitEndpoint()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java1505 String endpoint = confInfo.getString(ImsConferenceState.ENDPOINT); in notifyConferenceStateUpdated() local
1512 ", endpoint=" + endpoint); in notifyConferenceStateUpdated()
1516 Uri endpointUri = Uri.parse(endpoint); in notifyConferenceStateUpdated()
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd105 declaring endpoint types, device classes, and so on.</li>
350 <li>{@link android.net.rtp.AudioStream} specifies a remote endpoint and consists
352 <li>{@link android.net.rtp.AudioGroup} represents the local endpoint for one
358 <p>The simplest usage involves a single remote endpoint and local endpoint.

12