/system/security/keystore/ |
H A D | keystore.cpp | 257 * plaintext, and its size is specified in blob.info. The total size of the two 260 * than blob.info, blob.length, and blob.value are modified by encryptBlob() 281 uint8_t info; member in struct:blob 300 Blob(uint8_t* value, int32_t valueLength, uint8_t* info, uint8_t infoLength, BlobType type) { argument 304 mBlob.info = infoLength; 305 memcpy(mBlob.value + valueLength, info, infoLength); 330 return mBlob.info; 361 // move info after space for padding 362 memmove(&mBlob.encrypted[encryptedLength], &mBlob.value[mBlob.length], mBlob.info); 376 size_t fileLength = encryptedLength + headerLength + mBlob.info; [all...] |
/system/core/adb/ |
H A D | adb_auth_host.c | 136 char path[PATH_MAX], info[MAX_PAYLOAD]; local 166 get_user_info(info, sizeof(info)); 167 BIO_write(bfile, info, strlen(info));
|
H A D | fdevent.c | 70 static void dump_fde(fdevent *fde, const char *info) argument 77 info); 82 #define dump_fde(fde, info) do { } while(0)
|
H A D | sysdeps_win32.c | 1247 static void dump_fde(fdevent *fde, const char *info) argument 1253 info); 1256 #define dump_fde(fde, info) do { } while(0)
|
/system/core/fastboot/ |
H A D | fastboot.c | 108 } else if(!strcmp(item,"info")) { 109 fn = "android-info.txt"; 189 int match_fastboot(usb_ifc_info *info) argument 191 return match_fastboot_with_serial(info, serial); 194 int match_fastboot_with_serial(usb_ifc_info *info, const char *local_serial) argument 196 if(!(vendor_id && (info->dev_vendor == vendor_id)) && 197 (info->dev_vendor != 0x18d1) && // Google 198 (info->dev_vendor != 0x8087) && // Intel 199 (info->dev_vendor != 0x0451) && 200 (info 220 list_devices_callback(usb_ifc_info *info) argument [all...] |
H A D | usb_linux.c | 106 struct usb_ifc_info info; local 127 info.dev_vendor = dev->idVendor; 128 info.dev_product = dev->idProduct; 129 info.dev_class = dev->bDeviceClass; 130 info.dev_subclass = dev->bDeviceSubClass; 131 info.dev_protocol = dev->bDeviceProtocol; 132 info.writable = writable; 135 info.serial_number[0] = 0; 159 info.serial_number[i - 1] = buffer[i]; 160 info [all...] |
H A D | usb_osx.c | 57 usb_ifc_info info; member in struct:usb_handle 171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 || 172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 || 173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0) 179 handle->info.has_bulk_in = 0; 180 handle->info.has_bulk_out = 0; 201 handle->info.has_bulk_in = 1; 204 handle->info.has_bulk_out = 1; 208 if (handle->info.ifc_protocol == 0x01) { 215 if (handle->info [all...] |
H A D | usb_windows.c | 273 struct usb_ifc_info info; local 297 info.dev_vendor = device_desc.idVendor; 298 info.dev_product = device_desc.idProduct; 299 info.dev_class = device_desc.bDeviceClass; 300 info.dev_subclass = device_desc.bDeviceSubClass; 301 info.dev_protocol = device_desc.bDeviceProtocol; 302 info.ifc_class = interf_desc.bInterfaceClass; 303 info.ifc_subclass = interf_desc.bInterfaceSubClass; 304 info.ifc_protocol = interf_desc.bInterfaceProtocol; 305 info [all...] |
H A D | usbtest.c | 50 int printifc(usb_ifc_info *info) argument 53 info->dev_class, info->dev_subclass, info->dev_protocol, 54 info->dev_vendor, info->dev_product); 56 info->ifc_class, info->ifc_subclass, info->ifc_protocol, 57 info 62 match_null(usb_ifc_info *info) argument 71 match_zero(usb_ifc_info *info) argument 80 match_loop(usb_ifc_info *info) argument [all...] |
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 99 struct stat info; local 103 while (gettime() < timeout_time && ((ret = stat(filename, &info)) < 0))
|
/system/core/init/ |
H A D | builtins.c | 410 struct loop_info info; local 426 if (ioctl(loop, LOOP_GET_STATUS, &info) < 0 && errno == ENXIO) { 660 struct stat info; local 667 if (stat(args[1], &info) < 0) 676 if (!(buffer = malloc(info.st_size))) 680 brtr = info.st_size; 692 brtw = info.st_size;
|
H A D | devices.c | 422 struct stat info; local 883 struct stat info; local 899 if (stat(coldboot_done, &info) < 0) {
|
H A D | util.c | 50 const struct android_id_info *info = android_ids; local 54 if (!strcmp(info[n].name, name)) 55 return info[n].aid; 289 struct stat info; local 304 if (stat(buf, &info) != 0) { 362 struct stat info; local 366 while (gettime() < timeout_time && ((ret = stat(filename, &info)) < 0))
|
/system/core/libcorkscrew/ |
H A D | backtrace.c | 260 Dl_info info; local 261 if (dladdr((const void*)frame->absolute_pc, &info) && info.dli_sname) { 262 symbol->relative_symbol_addr = (uintptr_t)info.dli_saddr 263 - (uintptr_t)info.dli_fbase; 264 symbol->symbol_name = strdup(info.dli_sname);
|
/system/core/libnetutils/ |
H A D | dhcpclient.c | 129 static int dhcp_configure(const char *ifname, dhcp_info *info) argument 131 last_good_info = *info; 132 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, 133 info->dns1, info->dns2); 151 void dump_dhcp_info(dhcp_info *info) argument 155 dhcp_type_to_name(info->type), info 166 decode_dhcp_msg(dhcp_msg *msg, int len, dhcp_info *info) argument 393 dhcp_info info; local [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | GGLAssembler.cpp | 159 component_info_t& info = mInfo[i]; local 164 info.masked = !!(masking & mask); 165 info.inDest = !info.masked && mCbFormat.c[i].h && 169 info.inDest = false; 171 info.needed = (i==GGLFormat::ALPHA) && 173 info.replaced = !!(mTextureMachine.replaced & mask); 174 info.iterated = (!info.replaced && (info [all...] |
H A D | texturing.cpp | 122 component_info_t& info = mInfo[i]; local 123 if ((info.inDest || info.needed) && !info.replaced)
|
/system/core/libsync/ |
H A D | sync.c | 54 struct sync_fence_info_data *info; local 57 info = malloc(4096); 58 if (info == NULL) 61 info->len = 4096; 62 err = ioctl(fd, SYNC_IOC_FENCE_INFO, info); 64 free(info); 68 return info; 71 struct sync_pt_info *sync_pt_info(struct sync_fence_info_data *info, argument 75 itr = (struct sync_pt_info *) info->pt_info; 79 if ((__u8 *)itr - (__u8 *)info > 85 sync_fence_info_free(struct sync_fence_info_data *info) argument [all...] |
H A D | sync_test.c | 37 struct sync_fence_info_data *info; local 51 info = sync_fence_info(sync_data->fd[i]); 52 if (info) { 54 printf(" fence %s %d\n", info->name, info->status); 56 while ((pt_info = sync_pt_info(info, pt_info))) { 67 sync_fence_info_free(info);
|
/system/core/run-as/ |
H A D | package.c | 403 get_package_info(const char* pkgName, PackageInfo *info) argument 411 info->uid = 0; 412 info->isDebuggable = 0; 413 info->dataDir[0] = '\0'; 456 info->uid = (uid_t) uid; 466 info->isDebuggable = 0; 469 info->isDebuggable = 1; 486 string_copy(info->dataDir, sizeof info->dataDir, p, q - p);
|
H A D | run-as.c | 106 PackageInfo info; local 120 if (get_package_info(pkgname, &info) < 0) { 126 if (info.uid < AID_APP) { 132 if (!info.isDebuggable) { 138 if (check_data_path(info.dataDir, info.uid) < 0) { 147 ret = chdir(info.dataDir); 159 uid = gid = info.uid;
|
/system/core/toolbox/ |
H A D | lsof.c | 71 void print_type(char *type, struct pid_info_t* info) argument 76 strncat(info->path, type, sizeof(info->path)); 77 if ((link_dest_size = readlink(info->path, link_dest, sizeof(link_dest)-1)) < 0) { 81 snprintf(link_dest, sizeof(link_dest), "%s (readlink: %s)", info->path, strerror(errno)); 91 info->cmdline, info->pid, info->user, type, 95 info->path[info 99 print_maps(struct pid_info_t* info) argument 134 print_fds(struct pid_info_t* info) argument 169 struct pid_info_t info; local [all...] |
H A D | schedtop.c | 99 struct thread_info *info; local 101 info = get_item(&processes); 103 info = get_item(&threads); 104 info->pid = pid; 105 info->tid = tid; 113 if(sscanf(line, "%llu %llu %u", &info->exec_time, &info->delay_time, &info->run_count) != 3) 116 proc_info->exec_time += info->exec_time; 117 proc_info->delay_time += info [all...] |
/system/extras/ext4_utils/ |
H A D | ext4_utils.c | 47 struct fs_info info; variable in typeref:struct:fs_info 71 if (!(info.feat_ro_compat & EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER)) 86 sparse_file_write(info.sparse_file, fd, gz, sparse, crc); 89 /* Compute the rest of the parameters of the filesystem from the basic info */ 92 aux_info.first_data_block = (info.block_size > 1024) ? 0 : 1; 93 aux_info.len_blocks = info.len / info.block_size; 94 aux_info.inode_table_blocks = DIV_ROUND_UP(info.inodes_per_group * info.inode_size, 95 info [all...] |
/system/extras/fatblock/ |
H A D | fat.h | 85 struct fat_info_sector info; member in struct:fat_bootinfo
|