Searched defs:type (Results 1 - 25 of 63) sorted by last modified time

123

/system/security/keystore/
H A Dkeystore.cpp259 * the second is the blob's type, and the third byte is reserved. Fields other
279 uint8_t type; member in struct:blob
300 Blob(uint8_t* value, int32_t valueLength, uint8_t* info, uint8_t infoLength, BlobType type) { argument
308 mBlob.type = uint8_t(type);
342 return BlobType(mBlob.type);
345 void setType(BlobType type) { argument
346 mBlob.type = uint8_t(type);
592 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type) { argument
775 upgrade(const char* filename, Blob* blob, const uint8_t oldVersion, const BlobType type) argument
895 get_key_for_name(KeyStore* keyStore, Blob* keyBlob, const Value* keyName, const uid_t uid, const BlobType type) argument
[all...]
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp95 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { argument
105 /* int type + int size + private key data + int size + public key data */
119 /* Write key type to allocated buffer */
121 *p++ = (type >> (8*i)) & 0xFF;
159 // int32 magic, int32 type, int32 pubLen, char* pub, int32 privLen, char* priv
172 int type = 0; local
174 type = (type << 8) | *p++;
191 d2i_PublicKey(type, &tmp, &p, publicLen);
204 d2i_PrivateKey(type,
[all...]
/system/vold/
H A DVolumeManager.h37 , type(_type)
48 container_type_t type; member in class:ContainerData
H A Dcryptfs.c1002 static int cryptfs_enable_wipe(char *crypto_blkdev, off64_t size, int type) argument
1007 if (type == EXT4_FS) {
1011 } else if (type== FAT_FS) {
1016 SLOGE("cryptfs_enable_wipe(): unknown filesystem type %d\n", type);
H A Dmain.cpp173 char *type, *label, *mount_point, *mount_flags, *sysfs_path; local
182 if (!(type = strtok_r(line, delim, &save_ptr))) {
183 SLOGE("Error parsing type");
195 if (!strcmp(type, "dev_mount")) {
236 } else if (!strcmp(type, "map_mount")) {
238 SLOGE("Unknown type '%s'", type);
/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) {

Completed in 829 milliseconds

123