/system/core/adb/ |
H A D | adb.h | 185 transport_type type; member in struct:atransport
|
H A D | adb.c | 441 char *type; local 444 type = banner; 445 cp = strchr(type, ':'); 470 if(!strcmp(type, "bootloader")){ 477 if(!strcmp(type, "device")) { 484 if(!strcmp(type, "recovery")) { 491 if(!strcmp(type, "sideload")) { 902 static BOOL WINAPI ctrlc_handler(DWORD type) argument 1410 transport_type type = kTransportAny; local 1413 type [all...] |
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 | 85 char type[32]; member in struct:power_supply 330 const char *name, const char *type, 340 strlcpy(supply->type, type, sizeof(supply->type)); 346 LOGV("... added %s %s %d\n", supply->name, supply->type, online); 433 ret = asprintf(&path, "/sys/%s/type", uevent->path); 567 LOGV("skipping '%s' type %d (depth=%d follow=%d)\n", 814 if (ev->type != EV_KEY) 329 add_supply(struct charger *charger, const char *name, const char *type, const char *path, bool online) argument
|
/system/core/fastboot/ |
H A D | fastboot.c | 93 enum fb_buffer_type type; member in struct:fastboot_buffer 314 " if supported by partition type)\n" 613 * erase partitions of type ext4 before flashing a filesystem so no stale 641 buf->type = FB_BUFFER_SPARSE; 647 buf->type = FB_BUFFER; 672 switch (buf->type) { 684 die("unknown buffer type: %d", buf->type);
|
/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/media/camera/src/ |
H A D | camera_metadata.c | 35 // Align data buffer to largest supported data type 44 * A single metadata entry, storing an array of values of a given type. If the 56 uint8_t type; member in struct:camera_metadata_buffer_entry 111 * non-pointer type description in order to figure out the largest alignment 326 "expected %p) to type %s", 387 if (entry.type >= NUM_TYPES) { 388 ALOGE("%s: Entry index %u had a bad type %d", 389 __FUNCTION__, i, entry.type); 397 if (tag_type != (int)entry.type && tag_section < VENDOR_SECTION) { 398 ALOGE("%s: Entry index %u had tag type 495 calculate_camera_metadata_entry_data_size(uint8_t type, size_t data_count) argument 503 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument 544 int type = get_camera_metadata_tag_type(tag); local 893 print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument [all...] |
/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/vold/ |
H A D | cryptfs.c | 1435 static int cryptfs_enable_wipe(char *crypto_blkdev, off64_t size, int type) argument 1444 if (type == EXT4_FS) { 1455 } else if (type== FAT_FS) { 1472 SLOGE("cryptfs_enable_wipe(): unknown filesystem type %d\n", type);
|
/system/security/keystore/ |
H A D | keystore.cpp | 371 * the second is the blob's type, and the third byte is flags. Fields other 391 uint8_t type; member in struct:blob 403 TYPE_ANY = 0, // meta type that matches anything 414 BlobType type) { 422 mBlob.type = uint8_t(type); 424 if (type == TYPE_MASTER_KEY) { 490 return BlobType(mBlob.type); 493 void setType(BlobType type) { argument 494 mBlob.type 413 Blob(const uint8_t* value, int32_t valueLength, const uint8_t* info, uint8_t infoLength, BlobType type) argument 995 get(const char* filename, Blob* keyBlob, const BlobType type, uid_t uid) argument 1126 getKeyForName(Blob* keyBlob, const android::String8& keyName, const uid_t uid, const BlobType type) argument 1239 upgradeBlob(const char* filename, Blob* blob, const uint8_t oldVersion, const BlobType type, uid_t uid) argument [all...] |