Home
last modified time | relevance | path

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

1234

/external/bluetooth/bluez/audio/
Dmedia.c96 static void media_endpoint_cancel(struct media_endpoint *endpoint) in media_endpoint_cancel() argument
98 struct endpoint_request *request = endpoint->request; in media_endpoint_cancel()
104 endpoint->request = NULL; in media_endpoint_cancel()
107 static void media_endpoint_remove(struct media_endpoint *endpoint) in media_endpoint_remove() argument
109 struct media_adapter *adapter = endpoint->adapter; in media_endpoint_remove()
111 if (g_slist_find(adapter->endpoints, endpoint) == NULL) in media_endpoint_remove()
114 info("Endpoint unregistered: sender=%s path=%s", endpoint->sender, in media_endpoint_remove()
115 endpoint->path); in media_endpoint_remove()
117 adapter->endpoints = g_slist_remove(adapter->endpoints, endpoint); in media_endpoint_remove()
119 if (endpoint->sep) in media_endpoint_remove()
[all …]
Dmedia.h27 typedef void (*media_endpoint_cb_t) (struct media_endpoint *endpoint,
33 const char *media_endpoint_get_sender(struct media_endpoint *endpoint);
35 size_t media_endpoint_get_capabilities(struct media_endpoint *endpoint,
37 gboolean media_endpoint_set_configuration(struct media_endpoint *endpoint,
42 gboolean media_endpoint_select_configuration(struct media_endpoint *endpoint,
47 void media_endpoint_clear_configuration(struct media_endpoint *endpoint);
48 void media_endpoint_release(struct media_endpoint *endpoint);
50 struct a2dp_sep *media_endpoint_get_sep(struct media_endpoint *endpoint);
51 const char *media_endpoint_get_uuid(struct media_endpoint *endpoint);
52 uint8_t media_endpoint_get_codec(struct media_endpoint *endpoint);
[all …]
Dtransport.c70 struct media_endpoint *endpoint; /* Transport endpoint */ member
233 struct a2dp_sep *sep = media_endpoint_get_sep(transport->endpoint); in a2dp_resume_complete()
279 struct media_endpoint *endpoint = transport->endpoint; in resume_a2dp() local
281 struct a2dp_sep *sep = media_endpoint_get_sep(endpoint); in resume_a2dp()
306 struct a2dp_sep *sep = media_endpoint_get_sep(transport->endpoint); in a2dp_suspend_complete()
323 struct media_endpoint *endpoint = transport->endpoint; in suspend_a2dp() local
324 struct a2dp_sep *sep = media_endpoint_get_sep(endpoint); in suspend_a2dp()
760 uuid = media_endpoint_get_uuid(transport->endpoint); in transport_get_properties()
763 codec = media_endpoint_get_codec(transport->endpoint); in transport_get_properties()
845 struct media_endpoint *endpoint, in media_transport_create() argument
[all …]
Da2dp.c66 struct media_endpoint *endpoint; member
374 if (sep->endpoint) in stream_state_changed()
375 media_endpoint_clear_configuration(sep->endpoint); in stream_state_changed()
647 static void endpoint_setconf_cb(struct media_endpoint *endpoint, void *ret, in endpoint_setconf_cb() argument
710 ret = media_endpoint_set_configuration(a2dp_sep->endpoint, in endpoint_setconf_ind()
750 length = media_endpoint_get_capabilities(a2dp_sep->endpoint, in endpoint_getcap_ind()
774 static void endpoint_open_cb(struct media_endpoint *endpoint, void *ret, in endpoint_open_cb() argument
834 if (a2dp_sep->endpoint) { in setconf_cfm()
841 if (media_endpoint_set_configuration(a2dp_sep->endpoint, dev, in setconf_cfm()
1217 transport = media_endpoint_get_transport(a2dp_sep->endpoint); in endpoint_delayreport_ind()
[all …]
/external/guava/guava/src/com/google/common/collect/
DCut.java38 final C endpoint; field in Cut
40 Cut(@Nullable C endpoint) { in Cut() argument
41 this.endpoint = endpoint; in Cut()
75 int result = Range.compareOrThrow(endpoint, that.endpoint); in compareTo()
84 C endpoint() { in endpoint() method in Cut
85 return endpoint; in endpoint()
119 @Override Comparable<?> endpoint() { in endpoint() method in Cut.BelowAll
185 @Override Comparable<?> endpoint() { in endpoint() method in Cut.AboveAll
228 static <C extends Comparable> Cut<C> belowValue(C endpoint) { in belowValue() argument
229 return new BelowValue<C>(endpoint); in belowValue()
[all …]
DRanges.java151 public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) { in lessThan() argument
152 return create(Cut.<C>belowAll(), Cut.belowValue(endpoint)); in lessThan()
159 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { in atMost() argument
160 return create(Cut.<C>belowAll(), Cut.aboveValue(endpoint)); in atMost()
168 C endpoint, BoundType boundType) { in upTo() argument
171 return lessThan(endpoint); in upTo()
173 return atMost(endpoint); in upTo()
183 public static <C extends Comparable<?>> Range<C> greaterThan(C endpoint) { in greaterThan() argument
184 return create(Cut.aboveValue(endpoint), Cut.<C>aboveAll()); in greaterThan()
191 public static <C extends Comparable<?>> Range<C> atLeast(C endpoint) { in atLeast() argument
[all …]
/external/libusb/libusb/
Ddescriptor.c71 static void clear_endpoint(struct libusb_endpoint_descriptor *endpoint) in clear_endpoint() argument
73 if (endpoint->extra) in clear_endpoint()
74 free((unsigned char *) endpoint->extra); in clear_endpoint()
78 struct libusb_endpoint_descriptor *endpoint, unsigned char *buffer, in parse_endpoint() argument
103 usbi_parse_descriptor(buffer, "bbbbwbbb", endpoint, host_endian); in parse_endpoint()
105 usbi_parse_descriptor(buffer, "bbbbwb", endpoint, host_endian); in parse_endpoint()
139 endpoint->extra = NULL; in parse_endpoint()
140 endpoint->extra_length = 0; in parse_endpoint()
145 endpoint->extra = extra; in parse_endpoint()
147 endpoint->extra_length = 0; in parse_endpoint()
[all …]
Dlibusb.h442 const struct libusb_endpoint_descriptor *endpoint; member
724 unsigned char endpoint; member
796 int libusb_get_max_packet_size(libusb_device *dev, unsigned char endpoint);
797 int libusb_get_max_iso_packet_size(libusb_device *dev, unsigned char endpoint);
812 int libusb_clear_halt(libusb_device_handle *dev, unsigned char endpoint);
930 transfer->endpoint = 0; in libusb_fill_control_transfer()
955 libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_fill_bulk_transfer() argument
960 transfer->endpoint = endpoint; in libusb_fill_bulk_transfer()
984 unsigned char endpoint, unsigned char *buffer, int length, in libusb_fill_interrupt_transfer() argument
988 transfer->endpoint = endpoint; in libusb_fill_interrupt_transfer()
[all …]
Dsync.c154 unsigned char endpoint, unsigned char *buffer, int length, in do_sync_bulk_transfer() argument
164 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length, in do_sync_bulk_transfer()
256 unsigned char endpoint, unsigned char *data, int length, int *transferred, in libusb_bulk_transfer() argument
259 return do_sync_bulk_transfer(dev_handle, endpoint, data, length, in libusb_bulk_transfer()
305 struct libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_interrupt_transfer() argument
308 return do_sync_bulk_transfer(dev_handle, endpoint, data, length, in libusb_interrupt_transfer()
Dcore.c675 struct libusb_config_descriptor *config, unsigned char endpoint) in find_endpoint() argument
690 &altsetting->endpoint[ep_idx]; in find_endpoint()
691 if (ep->bEndpointAddress == endpoint) in find_endpoint()
716 unsigned char endpoint) in libusb_get_max_packet_size() argument
729 ep = find_endpoint(config, endpoint); in libusb_get_max_packet_size()
765 unsigned char endpoint) in libusb_get_max_iso_packet_size() argument
780 ep = find_endpoint(config, endpoint); in libusb_get_max_iso_packet_size()
1310 unsigned char endpoint) in libusb_clear_halt() argument
1312 usbi_dbg("endpoint %x", endpoint); in libusb_clear_halt()
1313 return usbi_backend->clear_halt(dev, endpoint); in libusb_clear_halt()
/external/qemu/
Dcharpipe.c269 CharDriverState* endpoint; /* NULL if closed */ member
285 cbuf->endpoint = NULL; in charbuffer_close()
287 if (cbuf->endpoint != NULL) { in charbuffer_close()
288 qemu_chr_close(cbuf->endpoint); in charbuffer_close()
289 cbuf->endpoint = NULL; in charbuffer_close()
297 CharDriverState* peer = cbuf->endpoint; in charbuffer_write()
348 CharDriverState* peer = cbuf->endpoint; in charbuffer_poll()
391 qemu_chr_add_handlers( cbuf->endpoint, in charbuffer_update_handlers()
400 charbuffer_init( CharBuffer* cbuf, CharDriverState* endpoint ) in charbuffer_init() argument
406 cbuf->endpoint = endpoint; in charbuffer_init()
[all …]
/external/chromium/net/base/
Dip_endpoint_unittest.cc46 IPEndPoint endpoint; in TEST_F() local
47 EXPECT_EQ(0, endpoint.port()); in TEST_F()
50 IPEndPoint endpoint(tests[index].ip_address, 80); in TEST_F() local
51 EXPECT_EQ(80, endpoint.port()); in TEST_F()
52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); in TEST_F()
152 IPEndPoint endpoint; in TEST_F() local
153 EXPECT_EQ(0, endpoint.port()); in TEST_F()
157 IPEndPoint endpoint(tests[index].ip_address, port); in TEST_F() local
158 const std::string result = endpoint.ToString(); in TEST_F()
Dnet_util_win.cc113 IPEndPoint endpoint; in GetNetworkList() local
114 if (endpoint.FromSockAddr(address->Address.lpSockaddr, in GetNetworkList()
117 networks->push_back(NetworkInterface(name, endpoint.address())); in GetNetworkList()
Dip_endpoint.cc25 IPEndPoint::IPEndPoint(const IPEndPoint& endpoint) { in IPEndPoint() argument
26 address_ = endpoint.address_; in IPEndPoint()
27 port_ = endpoint.port_; in IPEndPoint()
/external/libusb-compat/examples/
Dtestlibusb.c13 void print_endpoint(struct usb_endpoint_descriptor *endpoint) in print_endpoint() argument
15 printf(" bEndpointAddress: %02xh\n", endpoint->bEndpointAddress); in print_endpoint()
16 printf(" bmAttributes: %02xh\n", endpoint->bmAttributes); in print_endpoint()
17 printf(" wMaxPacketSize: %d\n", endpoint->wMaxPacketSize); in print_endpoint()
18 printf(" bInterval: %d\n", endpoint->bInterval); in print_endpoint()
19 printf(" bRefresh: %d\n", endpoint->bRefresh); in print_endpoint()
20 printf(" bSynchAddress: %d\n", endpoint->bSynchAddress); in print_endpoint()
36 print_endpoint(&interface->endpoint[i]); in print_altsetting()
/external/chromium/net/http/
Dhttp_stream_factory.cc89 HostPortPair* endpoint) { in ApplyHostMappingRules() argument
90 if (host_mapping_rules().RewriteHost(endpoint)) { in ApplyHostMappingRules()
92 const std::string port_str = base::IntToString(endpoint->port()); in ApplyHostMappingRules()
95 replacements.SetHost(endpoint->host().c_str(), in ApplyHostMappingRules()
96 url_parse::Component(0, endpoint->host().size())); in ApplyHostMappingRules()
111 bool HttpStreamFactory::HasSpdyExclusion(const HostPortPair& endpoint) { in HasSpdyExclusion() argument
118 if (it->Equals(endpoint)) in HasSpdyExclusion()
Dhttp_proxy_utils.cc18 const HostPortPair& endpoint, in BuildTunnelRequest() argument
25 "CONNECT %s HTTP/1.1\r\n", endpoint.ToString().c_str()); in BuildTunnelRequest()
/external/kernel-headers/original/linux/
Dusb.h75 struct usb_host_endpoint *endpoint; member
1150 unsigned int endpoint) in __create_pipe() argument
1152 return (dev->devnum << 8) | (endpoint << 15); in __create_pipe()
1156 #define usb_sndctrlpipe(dev,endpoint) \ argument
1157 ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint))
1158 #define usb_rcvctrlpipe(dev,endpoint) \ argument
1159 ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_DIR_IN)
1160 #define usb_sndisocpipe(dev,endpoint) \ argument
1161 ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint))
1162 #define usb_rcvisocpipe(dev,endpoint) \ argument
[all …]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/
DEndpointEvent.java48 private Endpoint endpoint; field in EndpointEvent
54 this.endpoint = p; in EndpointEvent()
75 return endpoint; in getEndpoint()
85 return "EndpointEvent[" + type + ", " + endpoint + "]"; in toString()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/
DUdpKernel.java202 protected void enqueueWrite( Endpoint endpoint, DatagramPacket packet ) in enqueueWrite() argument
204 writer.execute( new MessageWriter(endpoint, packet) ); in enqueueWrite()
209 private Endpoint endpoint; field in UdpKernel.MessageWriter
212 public MessageWriter( Endpoint endpoint, DatagramPacket packet ) in MessageWriter() argument
214 this.endpoint = endpoint; in MessageWriter()
222 if( !endpoint.isConnected() ) { in run()
/external/bluetooth/bluez/doc/
Dmedia-api.txt11 Methods void RegisterEndpoint(object endpoint, dict properties)
23 UUID of the profile which the endpoint
29 endpoint implements. The values should
43 void UnregisterEndpoint(object endpoint)
77 unregisters the endpoint. An endpoint can use it to do
79 endpoint, because when this method gets called it has
/external/bluetooth/bluez/test/
Dsimple-endpoint92 endpoint = Endpoint(bus, path) variable
110 endpoint.default_configuration(MP3_CONFIGURATION)
115 endpoint.default_configuration(MP3_CONFIGURATION)
120 endpoint.default_configuration(dbus.Array([]))
/external/chromium/net/spdy/
Dspdy_session_pool.cc215 IPEndPoint endpoint; in GetFromAlias() local
216 endpoint.FromSockAddr(address->ai_addr, address->ai_addrlen); in GetFromAlias()
219 SpdyAliasMap::const_iterator it = aliases_.find(endpoint); in GetFromAlias()
349 IPEndPoint endpoint; in AddAliases() local
350 endpoint.FromSockAddr(address->ai_addr, address->ai_addrlen); in AddAliases()
351 aliases_[endpoint] = pair; in AddAliases()
/external/libusb-compat/
DNEWS12 * Further improvements to match libusb-0.1 endpoint addressing behaviour
21 * Match libusb-0.1 endpoint addressing behaviour
/external/chromium/net/socket/
Dtcp_server_socket_unittest.cc47 IPEndPoint endpoint; in GetPeerAddress() local
48 EXPECT_TRUE(endpoint.FromSockAddr( in GetPeerAddress()
50 return endpoint; in GetPeerAddress()

1234