/system/media/camera/src/ |
H A D | camera_metadata.c | 27 * A single metadata entry, storing an array of values of a given type. If the 39 uint8_t type; member in struct:camera_metadata_buffer_entry 265 if ( camera_metadata_type_size[entry->type] * entry->count > 4 ) { 301 size_t calculate_camera_metadata_entry_data_size(uint8_t type, argument 303 if (type >= NUM_TYPES) return 0; 305 camera_metadata_type_size[type]; 311 uint8_t type, 320 calculate_camera_metadata_entry_data_size(type, data_count); 324 entry->type = type; 309 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument 345 int type = get_camera_metadata_tag_type(tag); local 689 print_data(int fd, const uint8_t *data_ptr, int type, int count, int indentation) argument [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 | 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...] |
/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/libcutils/ |
H A D | mq.c | 90 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...] |
/system/core/toolbox/ |
H A D | newfs_msdos.c | 142 u_int8_t type[8]; /* file system type */ member in struct:bsx 293 errx(1, "%s: bad FAT type", optarg); 509 errx(1, "%s: inappropriate file type or format", bname); 596 warnx("warning: FAT type limits file system to %u sectors", 681 setstr(bsx->type, buf, sizeof(bsx->type)); 832 struct fd_type type; local 837 /* If the user specified a disk type, try to use that */ 856 } else if (ioctl(fd, FD_GTYPE, &type) ! [all...] |
/system/vold/ |
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);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | MIPSAssembler.cpp | 234 uint32_t ArmToMipsAssembler::reg_imm(int Rm, int type, uint32_t shift) argument 237 amode.stype = type; 248 uint32_t ArmToMipsAssembler::reg_reg(int Rm, int type, int Rs) argument 277 uint32_t ArmToMipsAssembler::reg_scale_pre(int Rm, int type, argument 280 LOG_ALWAYS_FATAL_IF(W | type | shift, "reg_scale_pre adv modes not yet implemented"); 283 // amode.stype = type; // more advanced modes not used in GGLAssembler yet 289 uint32_t ArmToMipsAssembler::reg_scale_post(int Rm, int type, uint32_t shift) argument 361 if (cond.type == CMP_COND && Rd == cond.r2) { 574 cond.type = CMP_COND; 600 cond.type [all...] |
H A D | MIPSAssembler.h | 68 virtual uint32_t reg_imm(int Rm, int type, uint32_t shift); 70 virtual uint32_t reg_reg(int Rm, int type, int Rs); 77 virtual uint32_t reg_scale_pre(int Rm, int type=0, uint32_t shift=0, int W=0); 78 virtual uint32_t reg_scale_post(int Rm, int type=0, uint32_t shift=0); 222 cond_types type; member in struct:android::ArmToMipsAssembler::cond_mode_t
|
/system/core/sdcard/ |
H A D | fuse.h | 121 __u32 type; member in struct:fuse_file_lock 557 __u32 type; member in struct:fuse_dirent
|
/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/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...] |