Searched defs:type (Results 1 - 25 of 63) sorted by path

123

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h955 uint8_t type; member in struct:__anon80
1047 uint8_t type; member in struct:__anon91
1054 uint8_t type; member in struct:__anon92
1214 uint8_t type; member in struct:__anon116
1221 uint8_t type; member in struct:__anon117
1559 uint8_t type; member in struct:__anon156
2169 uint8_t type; member in struct:__anon226
2307 uint16_t type; member in struct:__anon241
2349 uint16_t type; member in struct:__anon247
2411 uint8_t type; member in struct:hci_dev_info
2429 uint8_t type; member in struct:hci_conn_info
2457 uint8_t type; member in struct:hci_conn_info_req
2464 uint8_t type; member in struct:hci_auth_info_req
[all...]
H A Dl2cap.h142 uint8_t type; member in struct:__anon255
176 uint16_t type; member in struct:__anon258
181 uint16_t type; member in struct:__anon259
/system/bluetooth/tools/
H A Dasocket_test.c53 int type; member in struct:thread_args
85 static int _socket(int type) { argument
91 switch (type) {
127 static int _close(int fd, int type) { argument
138 static int _bind(int fd, int type) { argument
143 switch (type) {
175 static int _listen(int fd, int type) { argument
199 static int _accept(int fd, int type) { argument
204 switch (type) {
238 static int _connect(int fd, int type) { argument
274 _write(int fd, int type) argument
398 do_accept_accept_accept(int type) argument
418 do_accept_and_close(int type) argument
443 do_accept_shutdown(int type) argument
471 do_connect_shutdown(int type) argument
496 do_accept_close_write(int type) argument
521 do_poll_poll_poll_shutdown(int type) argument
544 do_poll_poll_poll_close(int type) argument
565 do_read_read_read_close(int type) argument
586 do_read_read_read_shutdown(int type) argument
609 do_connected_read1_shutdown1(int type) argument
643 do_accept_connect_connect(int type) argument
691 enum sock_type type; member in struct:__anon262
717 int type = -1; local
[all...]
H A Dsock_shutdown_test.c51 int type; member in struct:thread_args
67 static int _socket(int type) { argument
73 switch (type) {
120 static int _bind(int fd, int type) { argument
125 switch (type) {
157 static int _listen(int fd, int type) { argument
168 static int _accept(int fd, int type) { argument
173 switch (type) {
221 _accept(args->fd, args->type);
225 static int do_accept_shutdown(int type) { argument
263 enum sock_type type; member in struct:__anon266
289 int type = -1; local
[all...]
H A Dsocktest.c52 int type; member in struct:thread_args
84 static int _socket(int type) { argument
90 switch (type) {
126 static int _close(int fd, int type) { argument
137 static int _bind(int fd, int type) { argument
142 switch (type) {
174 static int _listen(int fd, int type) { argument
198 static int _accept(int fd, int type) { argument
203 switch (type) {
251 static int _connect(int fd, int type) { argument
288 _write(int fd, int type) argument
412 do_accept_accept_accept(int type) argument
432 do_accept_and_close(int type) argument
457 do_accept_shutdown(int type) argument
485 do_connect_shutdown(int type) argument
509 do_connectnb_shutdown(int type) argument
540 do_connectnb_close(int type) argument
568 do_accept_close_write(int type) argument
593 do_poll_poll_poll_shutdown(int type) argument
616 do_poll_poll_poll_close(int type) argument
637 do_read_read_read_close(int type) argument
658 do_read_read_read_shutdown(int type) argument
681 do_connected_read1_shutdown1(int type) argument
715 do_accept_connect_connect(int type) argument
765 enum sock_type type; member in struct:__anon268
791 int type = -1; local
[all...]
/system/core/adb/
H A Dadb.c432 char *type; local
435 type = banner;
436 cp = strchr(type, ':');
461 if(!strcmp(type, "bootloader")){
468 if(!strcmp(type, "device")) {
475 if(!strcmp(type, "recovery")) {
482 if(!strcmp(type, "sideload")) {
815 static BOOL WINAPI ctrlc_handler(DWORD type) argument
1355 transport_type type = kTransportAny; local
1358 type
[all...]
H A Dadb.h131 /* socket-type-specific extradata */
188 transport_type type; member in struct:atransport
H A Dadb_client.c21 void adb_set_transport(transport_type type, const char* serial) argument
23 __adb_transport = type;
H A Dsysdeps.h170 extern int socket_loopback_client(int port, int type);
171 extern int socket_network_client(const char *host, int port, int type);
172 extern int socket_loopback_server(int port, int type);
173 extern int socket_inaddr_any_server(int port, int type);
445 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) argument
447 return socketpair( d, type, protocol, sv );
H A Dsysdeps_win32.c579 int socket_loopback_client(int port, int type) argument
596 s = socket(AF_INET, type, 0);
605 D("socket_loopback_client: could not connect to %s:%d\n", type != SOCK_STREAM ? "udp" : "tcp", port );
609 snprintf( f->name, sizeof(f->name), "%d(lo-client:%s%d)", _fh_to_int(f), type != SOCK_STREAM ? "udp:" : "", port );
610 D( "socket_loopback_client: port %d type %s => fd %d\n", port, type != SOCK_STREAM ? "udp" : "tcp", _fh_to_int(f) );
616 int socket_loopback_server(int port, int type) argument
635 s = socket(AF_INET, type, 0);
647 if (type == SOCK_STREAM) {
656 snprintf( f->name, sizeof(f->name), "%d(lo-server:%s%d)", _fh_to_int(f), type !
662 socket_network_client(const char *host, int port, int type) argument
704 socket_inaddr_any_server(int port, int type) argument
[all...]
H A Dusb_linux.c211 unsigned char type = bufptr[1]; local
213 if (type == USB_DT_INTERFACE) {
319 urb->type = USBDEVFS_URB_TYPE_BULK;
371 urb->type = USBDEVFS_URB_TYPE_BULK;
/system/core/charger/
H A Dcharger.c81 char type[32]; member in struct:power_supply
326 const char *name, const char *type,
336 strlcpy(supply->type, type, sizeof(supply->type));
342 LOGV("... added %s %s %d\n", supply->name, supply->type, online);
414 ret = asprintf(&path, "/sys/%s/type", uevent->path);
548 LOGV("skipping '%s' type %d (depth=%d follow=%d)\n",
793 if (ev->type != EV_KEY)
325 add_supply(struct charger *charger, const char *name, const char *type, const char *path, bool online) argument
/system/core/fastboot/
H A Dusb_linux.c86 static int check(void *_desc, int len, unsigned type, int size) argument
93 if(desc[1] != type) return -1;
/system/core/fs_mgr/
H A Dfs_mgr.c318 fstab[cnt].type = strdup(p);
356 free(fstab[i].type);
367 static void check_fs(char *blk_dev, char *type, char *target) argument
376 if (!strcmp(type, "ext2") || !strcmp(type, "ext3") || !strcmp(type, "ext4")) {
390 ret = mount(blk_dev, target, type, tmpmnt_flags, tmpmnt_opts);
464 check_fs(fstab[i].blk_dev, fstab[i].type, fstab[i].mnt_point);
467 mret = mount(fstab[i].blk_dev, fstab[i].mnt_point, fstab[i].type,
530 check_fs(fstab[i].blk_dev, fstab[i].type, fsta
[all...]
H A Dfs_mgr_priv.h31 char *type; member in struct:fstab_rec
/system/core/include/diskconfig/
H A Ddiskconfig.h67 uint8_t type; /* byte 4 */ member in struct:pc_partition
84 uint8_t type; member in struct:part_info
/system/core/init/
H A Dinit.h54 const char *type; member in struct:socketinfo
H A Dutil.c88 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument
96 fd = socket(PF_UNIX, type, 0);
/system/core/libcutils/
H A Dmq.c90 PacketType type; member in struct:__anon395
539 PacketType type = current->header.type; local
540 switch (type) {
553 LOG_ALWAYS_FATAL("Unknown packet type: %d", type);
643 packet->header.type = CONNECTION_REQUEST;
829 packetA->header.type = CONNECTION;
830 packetB->header.type = CONNECTION;
860 packet->header.type
[all...]
H A Dsocket_inaddr_any_server.c36 int socket_inaddr_any_server(int port, int type) argument
47 s = socket(AF_INET, type, 0);
58 if (type == SOCK_STREAM) {
H A Dsocket_local_client.c27 int socket_local_client(const char *name, int namespaceId, int type) argument
125 int type)
152 int socket_local_client(const char *name, int namespaceId, int type) argument
156 s = socket(AF_LOCAL, type, 0);
159 if ( 0 > socket_local_client_connect(s, name, namespaceId, type)) {
124 socket_local_client_connect(int fd, const char *name, int namespaceId, int type) argument
H A Dsocket_local_server.c28 int socket_local_server(const char *name, int namespaceId, int type) argument
95 int socket_local_server(const char *name, int namespace, int type) argument
100 s = socket(AF_LOCAL, type, 0);
110 if (type == SOCK_STREAM) {
H A Dsocket_loopback_client.c33 /* Connect to port on the loopback IP interface. type is
37 int socket_loopback_client(int port, int type) argument
48 s = socket(AF_INET, type, 0);
H A Dsocket_loopback_server.c36 int socket_loopback_server(int port, int type) argument
47 s = socket(AF_INET, type, 0);
58 if (type == SOCK_STREAM) {
H A Dsocket_network_client.c35 /* Connect to port on the IP interface. type is
39 int socket_network_client(const char *host, int port, int type) argument
54 s = socket(hp->h_addrtype, type, 0);

Completed in 7533 milliseconds

123