/frameworks/native/libs/vr/libpdx/ |
H A D | mock_tests.cpp | 17 android::pdx::MockEndpoint endpoint; local
|
H A D | service_tests.cpp | 102 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:__anon1855::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 D | service.cpp | 29 state_ = svc->endpoint()->AllocateMessageState(); 61 svc->endpoint()->FreeMessageState(state_); 80 return svc->endpoint()->ReadMessageData(this, vector, vector_length); 91 svc->endpoint()->ReadMessageData(this, vector, vector_length); 109 return svc->endpoint()->ReadMessageData(this, &vector, 1); 119 return svc->endpoint()->WriteMessageData(this, vector, vector_length); 130 svc->endpoint()->WriteMessageData(this, vector, vector_length); 148 return svc->endpoint()->WriteMessageData(this, &vector, 1); 157 return svc->endpoint()->PushFileHandle(this, handle); 166 return svc->endpoint() 447 Service(const std::string& name, std::unique_ptr<Endpoint> endpoint) argument [all...] |
/frameworks/av/services/oboeservice/ |
H A D | AAudioEndpointManager.cpp | 94 // Try to find an existing endpoint. 97 sp<AAudioServiceEndpoint> endpoint; local 100 endpoint = ep; 106 endpoint.get(), configuration.getDeviceId()); 107 return endpoint; 110 // Try to find an existing endpoint. 113 sp<AAudioServiceEndpointShared> endpoint; local 116 endpoint = ep; 122 endpoint.get(), configuration.getDeviceId()); 123 return endpoint; 145 sp<AAudioServiceEndpoint> endpoint = findExclusiveEndpoint_l(configuration); local 186 sp<AAudioServiceEndpointShared> endpoint = findSharedEndpoint_l(configuration); local [all...] |
H A D | AAudioServiceEndpointShared.cpp | 92 AAudioServiceEndpointShared *endpoint = (AAudioServiceEndpointShared *) context; local 93 if (endpoint != NULL) { 94 return endpoint->callbackLoop();
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConferenceParticipant.java | 40 * 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 D | Connection.java | 54 * Represents a phone call or connection to a remote endpoint that carries voice and/or video 2681 * @param endpoint the {@link Uri} of the participant to disconnect. 2684 public void onDisconnectConferenceParticipant(Uri endpoint) {} argument
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel_tests.cpp | 48 TestService(std::unique_ptr<Endpoint> endpoint) argument 49 : ServiceBase{"TestService", std::move(endpoint)} {} 82 auto endpoint = Endpoint::CreateFromSocketFd(LocalHandle{}); local 83 endpoint->RegisterNewChannelForTests(std::move(channel_socket)); 84 service_ = TestService::Create(std::move(endpoint));
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 35 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 D | UsbDeviceConnection.java | 158 * Performs a control transaction on endpoint zero for this device. 187 * Performs a control transaction on endpoint zero for this device. 214 * Performs a bulk transaction on the given endpoint. 215 * The direction of the transfer is determined by the direction of the endpoint. 222 * @param endpoint the endpoint for this transaction 230 public int bulkTransfer(UsbEndpoint endpoint, argument 232 return bulkTransfer(endpoint, buffer, 0, length, timeout); 236 * Performs a bulk transaction on the given endpoint. 237 * The direction of the transfer is determined by the direction of the endpoint 247 bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int offset, int length, int timeout) argument 372 native_bulk_request(int endpoint, byte[] buffer, int offset, int length, int timeout) argument [all...] |
H A D | UsbRequest.java | 38 * <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 D | LocalSocket.java | 131 * 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 D | LocalSocketImpl.java | 296 * 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 D | android_hardware_UsbDeviceConnection.cpp | 200 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 D | com_android_server_UsbHostManager.cpp | 131 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 D | service.h | 70 * (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 D | IMediaPlayer.cpp | 422 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 D | pdx_benchmarks.cpp | 382 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 D | ImsPhoneConnection.java | 724 * @param endpoint the {@link android.net.Uri} of the participant to disconnect. 727 public void onDisconnectConferenceParticipant(Uri endpoint) { argument 733 imsCall.removeParticipants(new String[]{endpoint.toString()}); 737 "Failed to disconnect endpoint = " + endpoint);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Connection.java | 1022 * @param endpoint the {@link Uri} of the participant to disconnect. 1024 public void onDisconnectConferenceParticipant(Uri endpoint) { argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 796 // Set the re-transmission endpoint if one was chosen. 1381 const struct sockaddr_in* endpoint) { 1383 if (NULL != endpoint) { 1384 uint32_t a = ntohl(endpoint->sin_addr.s_addr); 1385 uint16_t p = ntohs(endpoint->sin_port); 1394 // Right now, the only valid time to set a retransmit endpoint is before 1396 // retransmit endpoint is going to determine which player is selected during 1400 if (NULL != endpoint) { 1402 mRetransmitEndpoint = *endpoint; 1413 struct sockaddr_in* endpoint) 1380 setRetransmitEndpoint( const struct sockaddr_in* endpoint) argument 1412 getRetransmitEndpoint( struct sockaddr_in* endpoint) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 3094 * Sets the target UDP re-transmit endpoint for the low level player. 3095 * Generally, the address portion of the endpoint is an IP multicast 3097 * retransmit endpoint has been set, the media player will not decode and 3100 * re-transmit to the target endpoint. Receiver devices (which may be 3112 * @param endpoint the address and UDP port of the re-transmission target or 3115 * @throws IllegalArgumentException if the retransmit endpoint is supplied, 3120 public void setRetransmitEndpoint(InetSocketAddress endpoint) argument 3126 if (null != endpoint) { 3127 addrString = endpoint.getAddress().getHostAddress(); 3128 port = endpoint [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |