Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/av/services/oboeservice/
H A DAAudioEndpointManager.cpp117 endpoint = ep; in findExclusiveEndpoint_l()
124 return endpoint; in findExclusiveEndpoint_l()
135 endpoint = ep; in findSharedEndpoint_l()
142 return endpoint; in findSharedEndpoint_l()
196 endpoint = endpointMMap; in openExclusiveEndpoint()
200 endpoint.clear(); in openExclusiveEndpoint()
209 endpoint->setOpenCount(endpoint->getOpenCount() + 1); in openExclusiveEndpoint()
213 return endpoint; in openExclusiveEndpoint()
246 endpoint.clear(); in openSharedEndpoint()
259 endpoint->setOpenCount(endpoint->getOpenCount() + 1); in openSharedEndpoint()
[all …]
H A DAAudioServiceStreamMMAP.cpp69 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in open() local
70 if (endpoint == nullptr) { in open()
75 result = endpoint->registerStream(keep); in open()
124 if (endpoint == nullptr) { in startClient()
135 if (endpoint == nullptr) { in stopClient()
139 aaudio_result_t result = endpoint->stopClient(clientHandle); in stopClient()
147 if (endpoint == nullptr) { in getFreeRunningPosition()
152 static_cast<AAudioServiceEndpointMMAP *>(endpoint.get()); in getFreeRunningPosition()
172 if (endpoint == nullptr) { in getHardwareTimestamp()
177 static_cast<AAudioServiceEndpointMMAP *>(endpoint.get()); in getHardwareTimestamp()
[all …]
H A DAAudioServiceStreamShared.cpp141 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in open() local
142 if (endpoint == nullptr) { in open()
159 setSampleRate(endpoint->getSampleRate()); in open()
160 } else if (getSampleRate() != endpoint->getSampleRate()) { in open()
162 __func__, getSampleRate(), endpoint->getSampleRate()); in open()
169 setChannelMask(endpoint->getChannelMask()); in open()
170 } else if (getSamplesPerFrame() != endpoint->getSamplesPerFrame()) { in open()
198 result = endpoint->registerStream(keep); in open()
252 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getHardwareTimestamp() local
253 if (endpoint == nullptr) { in getHardwareTimestamp()
[all …]
H A DAAudioServiceStreamBase.cpp191 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in close_l() local
192 if (endpoint == nullptr) { in close_l()
195 endpoint->unregisterStream(this); in close_l()
197 endpointManager.closeEndpoint(endpoint); in close_l()
213 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in startDevice() local
214 if (endpoint == nullptr) { in startDevice()
218 return endpoint->startStream(this, &mClientHandle); in startDevice()
308 if (endpoint == nullptr) { in pause_l()
313 result = endpoint->stopStream(this, mClientHandle); in pause_l()
358 if (endpoint == nullptr) { in stop_l()
[all …]
H A DAAudioServiceEndpointShared.cpp105 android::sp<AAudioServiceEndpointShared> endpoint(endpointPtr); in aaudio_endpoint_thread_proc() local
107 endpoint->decStrong(nullptr); in aaudio_endpoint_thread_proc()
109 void *result = endpoint->callbackLoop(); in aaudio_endpoint_thread_proc()
111 if (!endpoint->isConnected()) { in aaudio_endpoint_thread_proc()
114 endpoint->getStreamInternal()->safeReleaseCloseInternal(); in aaudio_endpoint_thread_proc()
/aosp12/frameworks/native/libs/vr/libpdx/
H A Dservice_tests.cpp111 MockEndpoint* endpoint() { in endpoint() function in __anonc70d92270110::ServiceTest
277 *endpoint(), in TEST_F()
298 *endpoint(), in TEST_F()
318 *endpoint(), in TEST_F()
475 EXPECT_CALL(*endpoint(), in TEST_F()
509 *endpoint(), in TEST_F()
522 EXPECT_CALL(*endpoint(), in TEST_F()
539 *endpoint(), in TEST_F()
552 EXPECT_CALL(*endpoint(), in TEST_F()
622 *endpoint(), in TEST_F()
[all …]
H A Dservice.cpp29 state_ = svc->endpoint()->AllocateMessageState();
61 svc->endpoint()->FreeMessageState(state_); in Destroy()
157 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
166 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
175 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
185 return svc->endpoint()->PushChannelHandle(this, handle); in PushChannelHandle()
195 return svc->endpoint()->PushChannelHandle(this, handle); in PushChannelHandle()
205 return svc->endpoint()->PushChannelHandle(this, handle); in PushChannelHandle()
218 *handle = svc->endpoint()->GetFileHandle(this, ref); in GetFileHandle()
235 *handle = svc->endpoint()->GetChannelHandle(this, ref); in GetChannelHandle()
[all …]
H A Dservice_dispatcher.cpp78 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, service->endpoint()->epoll_fd(), in AddService()
96 if (epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_DEL, service->endpoint()->epoll_fd(), in RemoveService()
133 service->endpoint()->epoll_fd()); in ReceiveAndDispatch()
165 service->endpoint()->epoll_fd()); in EnterDispatchLoop()
/aosp12/packages/modules/adb/client/openscreen/
H A Dmdns_service_info.cpp26 const discovery::DnsSdInstanceEndpoint& endpoint) { in DnsSdInstanceEndpointToServiceInfo() argument
30 if (endpoint.service_id() == kADBDNSServices[i]) { in DnsSdInstanceEndpointToServiceInfo()
31 service_info.service_name = endpoint.service_id(); in DnsSdInstanceEndpointToServiceInfo()
32 service_info.instance_name = endpoint.instance_id(); in DnsSdInstanceEndpointToServiceInfo()
36 LOG(ERROR) << "Got unknown service name [" << endpoint.service_id() << "]"; in DnsSdInstanceEndpointToServiceInfo()
41 service_info.port = endpoint.port(); in DnsSdInstanceEndpointToServiceInfo()
42 for (const IPAddress& address : endpoint.addresses()) { in DnsSdInstanceEndpointToServiceInfo()
/aosp12/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java98 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) { in initialize() argument
99 mEndpoint = endpoint; in initialize()
102 boolean wasInitialized = native_init(connection, endpoint.getAddress(), in initialize()
103 endpoint.getAttributes(), endpoint.getMaxPacketSize(), endpoint.getInterval()); in initialize()
H A DUsbDeviceConnection.java264 public int bulkTransfer(UsbEndpoint endpoint, in bulkTransfer() argument
266 return bulkTransfer(endpoint, buffer, 0, length, timeout); in bulkTransfer()
284 public int bulkTransfer(UsbEndpoint endpoint, in bulkTransfer() argument
291 return native_bulk_request(endpoint.getAddress(), buffer, offset, length, timeout); in bulkTransfer()
413 private native int native_bulk_request(int endpoint, byte[] buffer, in native_bulk_request() argument
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dvirtio_iommu.h67 __le32 endpoint; member
74 __le32 endpoint; member
117 __le32 endpoint; member
132 __le32 endpoint; member
/aosp12/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_tests.cpp48 explicit TestService(std::unique_ptr<Endpoint> endpoint) in TestService() argument
49 : ServiceBase{"TestService", std::move(endpoint)} {} in TestService()
82 auto endpoint = Endpoint::CreateFromSocketFd(LocalHandle{}); in TestServiceRunner() local
83 endpoint->RegisterNewChannelForTests(std::move(channel_socket)); in TestServiceRunner()
84 service_ = TestService::Create(std::move(endpoint)); in TestServiceRunner()
/aosp12/frameworks/base/core/java/com/android/internal/usb/
H A DDumpUtils.java126 long id, @NonNull UsbEndpoint endpoint) { in writeEndpoint() argument
130 endpoint.getEndpointNumber()); in writeEndpoint()
131 dump.write("direction", UsbEndPointProto.DIRECTION, endpoint.getDirection()); in writeEndpoint()
132 dump.write("address", UsbEndPointProto.ADDRESS, endpoint.getAddress()); in writeEndpoint()
133 dump.write("type", UsbEndPointProto.TYPE, endpoint.getType()); in writeEndpoint()
135 endpoint.getAttributes()); in writeEndpoint()
137 endpoint.getMaxPacketSize()); in writeEndpoint()
138 dump.write("interval", UsbEndPointProto.INTERVAL, endpoint.getInterval()); in writeEndpoint()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DTestConferenceEventPackageParser.java131 String endpoint = ""; in parseParticipant() local
144 endpoint = parser.getText(); in parseParticipant()
153 Log.v(LOG_TAG, "Endpoint: "+endpoint); in parseParticipant()
158 bundle.putString(ImsConferenceState.ENDPOINT, endpoint); in parseParticipant()
/aosp12/frameworks/native/libs/vr/libpdx/fuzz/
H A Dservice_dispatcher_fuzzer.cpp40 FuzzEndpoint* endpoint = new FuzzEndpoint(&fdp); in LLVMFuzzerTestOneInput() local
45 new Service("FuzzService", std::unique_ptr<Endpoint>(endpoint))); in LLVMFuzzerTestOneInput()
64 eventfd_write(endpoint->epoll_fd(), wakeup_val); in LLVMFuzzerTestOneInput()
/aosp12/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp432 if (NULL != endpoint) { in setRetransmitEndpoint()
433 data.writeInt32(sizeof(*endpoint)); in setRetransmitEndpoint()
434 data.write(endpoint, sizeof(*endpoint)); in setRetransmitEndpoint()
467 data.read(endpoint, sizeof(*endpoint)); in getRetransmitEndpoint()
884 struct sockaddr_in endpoint; in onTransact() local
885 memset(&endpoint, 0, sizeof(endpoint)); in onTransact()
887 if (amt == sizeof(endpoint)) { in onTransact()
899 struct sockaddr_in endpoint; in onTransact() local
900 memset(&endpoint, 0, sizeof(endpoint)); in onTransact()
901 status_t res = getRetransmitEndpoint(&endpoint); in onTransact()
[all …]
/aosp12/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A 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()
/aosp12/system/core/fastboot/
H A Dusb_osx.cpp194 for (UInt8 endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { in try_interfaces() local
201 kr = (*interface)->GetPipeProperties(interface, endpoint, in try_interfaces()
212 handle->bulkIn = endpoint; in try_interfaces()
215 handle->bulkOut = endpoint; in try_interfaces()
222 ERR("could not get pipe properties for endpoint %u (%08x)\n", endpoint, kr); in try_interfaces()
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DConferenceParticipant.java92 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state, in ConferenceParticipant() argument
96 mEndpoint = endpoint; in ConferenceParticipant()
112 Uri endpoint = source.readParcelable(classLoader);
118 new ConferenceParticipant(handle, displayName, endpoint, state,
/aosp12/packages/modules/adb/client/
H A Dusb_osx.cpp335 UInt8 endpoint; in CheckInterface() local
373 for (endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { in CheckInterface()
384 ->GetPipePropertiesV2(interface, endpoint, &direction, &number, &transferType, in CheckInterface()
396 handle->bulkIn = endpoint; in CheckInterface()
401 handle->bulkOut = endpoint; in CheckInterface()
/aosp12/frameworks/av/media/libaaudio/src/binding/
H A DAAudioBinderAdapter.cpp59 Endpoint endpoint; in getStreamDescription() local
61 &endpoint, in getStreamDescription()
66 endpointOut = std::move(endpoint); in getStreamDescription()
/aosp12/frameworks/base/core/java/android/net/
H A DLocalSocket.java141 public void connect(LocalSocketAddress endpoint) throws IOException { in connect() argument
148 impl.connect(endpoint, 0); in connect()
292 public void connect(LocalSocketAddress endpoint, int timeout) in connect() argument
/aosp12/system/core/libusbhost/include/usbhost/
H A Dusbhost.h50 int endpoint; member
242 int endpoint,
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbInterfaceDescriptor.java104 void addEndpointDescriptor(UsbEndpointDescriptor endpoint) { in addEndpointDescriptor() argument
105 mEndpointDescriptors.add(endpoint); in addEndpointDescriptor()

1234