Searched defs:endpoint (Results 1 - 25 of 25) sorted by relevance

/frameworks/native/libs/vr/libpdx/
H A Dmock_tests.cpp19 android::pdx::MockEndpoint endpoint; local
H A Dservice_tests.cpp102 auto endpoint = std::make_unique<testing::StrictMock<MockEndpoint>>(); local
103 EXPECT_CALL(*endpoint, SetService(_))
106 service_ = std::make_shared<MockService>("MockSvc", std::move(endpoint));
109 MockEndpoint* endpoint() { function in class:__anon1759::ServiceTest
110 return static_cast<MockEndpoint*>(service_->endpoint());
133 EXPECT_CALL(*endpoint(), AllocateMessageState()).WillOnce(Return(kState));
134 EXPECT_CALL(*endpoint(), FreeMessageState(kState));
138 EXPECT_CALL(*endpoint(), MessageReply(_, -EOPNOTSUPP))
174 EXPECT_CALL(*endpoint(), AllocateMessageState()).WillOnce(Return(kState));
194 EXPECT_CALL(*endpoint(), FreeMessageStat
[all...]
H A Dservice.cpp32 state_ = svc->endpoint()->AllocateMessageState();
64 svc->endpoint()->FreeMessageState(state_);
83 return svc->endpoint()->ReadMessageData(this, vector, vector_length);
94 svc->endpoint()->ReadMessageData(this, vector, vector_length);
112 return svc->endpoint()->ReadMessageData(this, &vector, 1);
122 return svc->endpoint()->WriteMessageData(this, vector, vector_length);
133 svc->endpoint()->WriteMessageData(this, vector, vector_length);
151 return svc->endpoint()->WriteMessageData(this, &vector, 1);
160 return svc->endpoint()->PushFileHandle(this, handle);
169 return svc->endpoint()
450 Service(const std::string& name, std::unique_ptr<Endpoint> endpoint) argument
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioEndpointManager.cpp40 AAudioServiceEndpoint *endpoint = nullptr; local
43 // Try to find an existing endpoint.
46 endpoint = mInputs[deviceId];
49 endpoint = mOutputs[deviceId];
56 endpoint, deviceId, (int)direction);
59 if (endpoint == nullptr) {
67 endpoint = capture;
76 endpoint = player;
82 if (endpoint != nullptr) {
84 endpoint
[all...]
H A DAAudioServiceEndpoint.cpp107 AAudioServiceEndpoint *endpoint = (AAudioServiceEndpoint *) context; local
108 if (endpoint != NULL) {
109 return endpoint->callbackLoop();
H A DAAudioServiceStreamShared.cpp69 // Is the request compatible with the shared endpoint?
132 AAudioServiceEndpoint *endpoint = mServiceEndpoint; local
133 if (endpoint == nullptr) {
137 aaudio_result_t result = endpoint->startStream(this);
153 AAudioServiceEndpoint *endpoint = mServiceEndpoint; local
154 if (endpoint == nullptr) {
158 aaudio_result_t result = endpoint->stopStream(this);
167 AAudioServiceEndpoint *endpoint = mServiceEndpoint; local
168 if (endpoint == nullptr) {
172 aaudio_result_t result = endpoint
194 AAudioServiceEndpoint *endpoint = mServiceEndpoint; local
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DConferenceParticipant.java40 * The endpoint Uri which uniquely identifies this conference participant. E.g. for an IMS
41 * conference call, this is the endpoint URI for the participant on the IMS conference server.
57 * @param endpoint The enpoint Uri which uniquely identifies this conference participant.
60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument
63 mEndpoint = endpoint;
78 Uri endpoint = source.readParcelable(classLoader);
80 return new ConferenceParticipant(handle, displayName, endpoint, state);
144 * conference call, this is the endpoint URI for the participant on the IMS conference server.
H A DConnection.java55 * Represents a phone call or connection to a remote endpoint that carries voice and/or video
2609 * @param endpoint the {@link Uri} of the participant to disconnect.
2612 public void onDisconnectConferenceParticipant(Uri endpoint) {} argument
/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_tests.cpp47 TestService(std::unique_ptr<Endpoint> endpoint) argument
48 : ServiceBase{"TestService", std::move(endpoint)} {}
81 auto endpoint = Endpoint::CreateFromSocketFd(LocalHandle{}); local
82 endpoint->RegisterNewChannelForTests(std::move(channel_socket));
83 service_ = TestService::Create(std::move(endpoint));
H A Dservice_dispatcher.cpp73 if (service->endpoint()->GetIpcTag() != Endpoint::kIpcTag)
78 auto* endpoint = static_cast<Endpoint*>(service->endpoint()); local
83 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, endpoint->epoll_fd(), &event) <
94 if (service->endpoint()->GetIpcTag() != Endpoint::kIpcTag)
105 auto* endpoint = static_cast<Endpoint*>(service->endpoint()); local
106 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, endpoint->epoll_fd(), &dummy) <
142 static_cast<Endpoint*>(service->endpoint())->epoll_fd());
174 static_cast<Endpoint*>(service->endpoint())
[all...]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c35 int endpoint = (int)(uintptr_t)arg; local
41 ret = usb_device_bulk_transfer(sDevice, endpoint, buffer, sizeof(buffer), 1000);
55 int endpoint = (int)(uintptr_t)arg; local
63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java157 * Performs a control transaction on endpoint zero for this device.
186 * Performs a control transaction on endpoint zero for this device.
213 * Performs a bulk transaction on the given endpoint.
214 * The direction of the transfer is determined by the direction of the endpoint.
221 * @param endpoint the endpoint for this transaction
229 public int bulkTransfer(UsbEndpoint endpoint, argument
231 return bulkTransfer(endpoint, buffer, 0, length, timeout);
235 * Performs a bulk transaction on the given endpoint.
236 * The direction of the transfer is determined by the direction of the endpoint
246 bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int offset, int length, int timeout) argument
368 native_bulk_request(int endpoint, byte[] buffer, int offset, int length, int timeout) argument
[all...]
H A DUsbRequest.java38 * <p>Requests on endpoint zero are not supported by this class;
39 * use {@link UsbDeviceConnection#controlTransfer} for endpoint zero requests instead.
86 * Initializes the request so it can read or write data on the given endpoint.
87 * Whether the request allows reading or writing depends on the direction of the endpoint.
89 * @param endpoint the endpoint to be used for this request.
92 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) { argument
93 mEndpoint = endpoint;
96 boolean wasInitialized = native_init(connection, endpoint.getAddress(),
97 endpoint
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocket.java131 * Connects this socket to an endpoint. May only be called on an instance
134 * @param endpoint endpoint address
138 public void connect(LocalSocketAddress endpoint) throws IOException { argument
145 impl.connect(endpoint, 0);
152 * Binds this socket to an endpoint name. May only be called on an instance
155 * @param bindpoint endpoint address
289 public void connect(LocalSocketAddress endpoint, int timeout) argument
H A DLocalSocketImpl.java296 * Binds this socket to an endpoint name. May only be called on an instance
299 * @param endpoint endpoint address
302 public void bind(LocalSocketAddress endpoint) throws IOException argument
308 bindLocal(fd, endpoint.getName(), endpoint.getNamespace().getId());
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp200 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout)
213 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes + start, length, timeout);
199 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbHostManager.cpp131 struct usb_endpoint_descriptor *endpoint = (struct usb_endpoint_descriptor *)desc; local
134 endpoint->bEndpointAddress, endpoint->bmAttributes,
135 __le16_to_cpu(endpoint->wMaxPacketSize), endpoint->bInterval);
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dservice.h70 * (unless the endpoint is closed), to prevent clients from blocking
356 Service(const std::string& name, std::unique_ptr<Endpoint> endpoint);
549 * Get the endpoint for the service.
551 Endpoint* endpoint() const { return endpoint_.get(); } function in class:android::pdx::Service
554 * Cancels the endpoint, unblocking any receiver threads waiting in
602 * Receives a message on this Service instance's endpoint and dispatches it.
603 * If the endpoint is in blocking mode this call blocks until a message is
605 * If the endpoint is in non-blocking mode and a message is not pending this
656 ServiceBase(const std::string& name, std::unique_ptr<Endpoint> endpoint) argument
657 : Service(name, std::move(endpoint)) {}
[all...]
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp422 status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) argument
428 if (NULL != endpoint) {
429 data.writeInt32(sizeof(*endpoint));
430 data.write(endpoint, sizeof(*endpoint));
451 status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) argument
463 data.read(endpoint, sizeof(*endpoint));
814 struct sockaddr_in endpoint; local
815 memset(&endpoint,
829 struct sockaddr_in endpoint; local
[all...]
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_benchmarks.cpp382 BenchmarkService(std::unique_ptr<Endpoint> endpoint) argument
383 : BASE("BenchmarkService", std::move(endpoint)),
992 std::cout << "\t--service <endpoint path> : Start service at the given path." << std::endl;
993 std::cout << "\t--client <endpoint path> : Start client to the given path." << std::endl;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneConnection.java700 * @param endpoint the {@link android.net.Uri} of the participant to disconnect.
703 public void onDisconnectConferenceParticipant(Uri endpoint) { argument
709 imsCall.removeParticipants(new String[]{endpoint.toString()});
713 "Failed to disconnect endpoint = " + endpoint);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DConnection.java997 * @param endpoint the {@link Uri} of the participant to disconnect.
999 public void onDisconnectConferenceParticipant(Uri endpoint) { argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp766 // Set the re-transmission endpoint if one was chosen.
1342 const struct sockaddr_in* endpoint) {
1344 if (NULL != endpoint) {
1345 uint32_t a = ntohl(endpoint->sin_addr.s_addr);
1346 uint16_t p = ntohs(endpoint->sin_port);
1355 // Right now, the only valid time to set a retransmit endpoint is before
1357 // retransmit endpoint is going to determine which player is selected during
1361 if (NULL != endpoint) {
1362 mRetransmitEndpoint = *endpoint;
1372 struct sockaddr_in* endpoint)
1341 setRetransmitEndpoint( const struct sockaddr_in* endpoint) argument
1371 getRetransmitEndpoint( struct sockaddr_in* endpoint) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java3075 * Sets the target UDP re-transmit endpoint for the low level player.
3076 * Generally, the address portion of the endpoint is an IP multicast
3078 * retransmit endpoint has been set, the media player will not decode and
3081 * re-transmit to the target endpoint. Receiver devices (which may be
3093 * @param endpoint the address and UDP port of the re-transmission target or
3096 * @throws IllegalArgumentException if the retransmit endpoint is supplied,
3101 public void setRetransmitEndpoint(InetSocketAddress endpoint) argument
3107 if (null != endpoint) {
3108 addrString = endpoint.getAddress().getHostAddress();
3109 port = endpoint
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 598 milliseconds