/system/security/keystore/ |
H A D | keystore.cpp | 259 * 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/keystore-engine/ |
H A D | eng_keystore.cpp | 153 ALOGE("Unknown padding type: %d", padding); 235 switch (EVP_PKEY_type(pkey->type)) { 257 ALOGE("Unsupported key type %d", EVP_PKEY_type(pkey->type));
|
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 95 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 D | Volume.cpp | 702 pinfo->type = PC_PART_TYPE_FAT32;
|
H A D | VolumeManager.cpp | 252 SLOGE("Invalid filesystem type %s", fstype); 1486 if (cd->type == ASEC) { 1488 } else if (cd->type == OBB) { 1493 SLOGE("Unknown container type %d!", cd->type);
|
H A D | VolumeManager.h | 37 , type(_type) 48 container_type_t type; member in class:ContainerData
|
H A D | cryptfs.c | 1002 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 D | main.cpp | 173 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 D | hci.h | 955 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 D | l2cap.h | 142 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 D | asocket_test.c | 53 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 D | sock_shutdown_test.c | 51 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 D | socktest.c | 52 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 D | adb.c | 432 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 D | adb.h | 131 /* socket-type-specific extradata */ 188 transport_type type; member in struct:atransport
|
H A D | adb_client.c | 21 void adb_set_transport(transport_type type, const char* serial) argument 23 __adb_transport = type;
|
H A D | adb_client.h | 26 void adb_set_transport(transport_type type, const char* serial);
|
H A D | sysdeps.h | 170 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 D | sysdeps_win32.c | 579 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 D | transport.c | 821 if (ttype == kTransportUsb && t->type == kTransportUsb) { 830 } else if (ttype == kTransportLocal && t->type == kTransportLocal) { 1043 if (t->type == kTransportLocal && t->adb_port == 0) {
|
H A D | transport_local.c | 413 t->type = kTransportLocal;
|
H A D | transport_usb.c | 121 t->type = kTransportUsb;
|
H A D | usb_linux.c | 211 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 D | charger.c | 81 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/debuggerd/arm/ |
H A D | crashglue.S | 2 .type crash1, %function 4 .type crashnostack, %function
|