Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 25 of 27) 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.cpp377 status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) in setRetransmitEndpoint() argument
383 if (NULL != endpoint) { in setRetransmitEndpoint()
384 data.writeInt32(sizeof(*endpoint)); in setRetransmitEndpoint()
385 data.write(endpoint, sizeof(*endpoint)); in setRetransmitEndpoint()
406 status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) in getRetransmitEndpoint() argument
418 data.read(endpoint, sizeof(*endpoint)); in getRetransmitEndpoint()
655 struct sockaddr_in endpoint; in onTransact() local
656 memset(&endpoint, 0, sizeof(endpoint)); in onTransact()
658 if (amt == sizeof(endpoint)) { in onTransact()
659 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);
DConnection.java1721 public void onDisconnectConferenceParticipant(Uri endpoint) {} in onDisconnectConferenceParticipant() argument
/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.cpp124 struct usb_endpoint_descriptor *endpoint = (struct usb_endpoint_descriptor *)desc; in usb_device_added() local
127 endpoint->bEndpointAddress, endpoint->bmAttributes, in usb_device_added()
128 __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.h79 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) = 0;
80 virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) = 0;
/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/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1189 const struct sockaddr_in* endpoint) { in setRetransmitEndpoint() argument
1191 if (NULL != endpoint) { in setRetransmitEndpoint()
1192 uint32_t a = ntohl(endpoint->sin_addr.s_addr); in setRetransmitEndpoint()
1193 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint()
1208 if (NULL != endpoint) { in setRetransmitEndpoint()
1209 mRetransmitEndpoint = *endpoint; in setRetransmitEndpoint()
1219 struct sockaddr_in* endpoint) in getRetransmitEndpoint() argument
1221 if (NULL == endpoint) in getRetransmitEndpoint()
1227 return p->getRetransmitEndpoint(endpoint); in getRetransmitEndpoint()
1232 *endpoint = mRetransmitEndpoint; in getRetransmitEndpoint()
DMediaPlayerService.h307 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint);
308 virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java626 public void onDisconnectConferenceParticipant(Uri endpoint) { in onDisconnectConferenceParticipant() argument
632 imsCall.removeParticipants(new String[]{endpoint.toString()}); in onDisconnectConferenceParticipant()
636 "Failed to disconnect endpoint = " + endpoint); in onDisconnectConferenceParticipant()
/frameworks/av/media/mtp/
DMtpPacket.cpp157 request->endpoint, in transfer()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1334 String endpoint = parameters[5]; in execute() local
1335 if (!endpoint.isEmpty()) { in execute()
1337 InetAddress addr = InetAddress.parseNumericAddress(endpoint); in execute()
1343 Log.e(TAG, "Unknown IP address family for VPN endpoint: " + endpoint); in execute()
1346 Log.e(TAG, "Exception constructing throw route to " + endpoint + ": " + e); in execute()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java1591 String endpoint = confInfo.getString(ImsConferenceState.ENDPOINT); in notifyConferenceStateUpdated() local
1598 ", endpoint=" + endpoint); in notifyConferenceStateUpdated()
1602 if (endpoint == null) { in notifyConferenceStateUpdated()
1603 endpoint = ""; in notifyConferenceStateUpdated()
1605 Uri endpointUri = Uri.parse(endpoint); in notifyConferenceStateUpdated()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2219 SyncStorageEngine.EndPoint endpoint = (SyncStorageEngine.EndPoint) msg.obj; in handleMessage() local
2223 + endpoint + " bundle: " + extras); in handleMessage()
2225 cancelActiveSyncH(endpoint, extras); in handleMessage()
3326 String getPackageName(EndPoint endpoint) { in getPackageName() argument
3327 if (endpoint.target_service) { in getPackageName()
3328 return endpoint.service.getPackageName(); in getPackageName()
3331 SyncAdapterType.newKey(endpoint.provider, endpoint.account.type); in getPackageName()
3333 syncAdapterInfo = mSyncAdapters.getServiceInfo(syncAdapterType, endpoint.userId); in getPackageName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java700 public void onDisconnectConferenceParticipant(Uri endpoint) { in onDisconnectConferenceParticipant() argument
/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.java2737 public void setRetransmitEndpoint(InetSocketAddress endpoint) in setRetransmitEndpoint() argument
2743 if (null != endpoint) { in setRetransmitEndpoint()
2744 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint()
2745 port = endpoint.getPort(); in setRetransmitEndpoint()
/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