Searched defs:info (Results 1 - 25 of 28) sorted by relevance

12

/system/core/run-as/
H A Drun-as.c106 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;
H A Dpackage.c403 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);
/system/extras/fatblock/
H A Dfs.h34 struct fat_info_sector info; member in struct:fs
H A Dfat.h85 struct fat_info_sector info; member in struct:fat_bootinfo
/system/core/libsync/
H A Dsync_test.c37 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);
H A Dsync.c54 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...]
/system/core/fastboot/
H A Dusbtest.c50 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...]
H A Dusb_linux.c106 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 Dusb_osx.c57 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 Dusb_windows.c273 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 Dfastboot.c108 } 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...]
/system/extras/tests/framebuffer/
H A Drefresh.c49 struct fb_var_screeninfo info; local
50 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
53 info.reserved[0] = 0;
54 info.reserved[1] = 0;
55 info.reserved[2] = 0;
56 info.xoffset = 0;
57 info.yoffset = 0;
58 info.bits_per_pixel = 16;
59 info.activate = FB_ACTIVATE_NOW;
61 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info)
[all...]
/system/core/toolbox/
H A Dlsof.c71 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 Dschedtop.c99 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/core/adb/
H A Dadb_auth_host.c136 char path[PATH_MAX], info[MAX_PAYLOAD]; local
166 get_user_info(info, sizeof(info));
167 BIO_write(bfile, info, strlen(info));
H A Dfdevent.c70 static void dump_fde(fdevent *fde, const char *info) argument
77 info);
82 #define dump_fde(fde, info) do { } while(0)
/system/core/libcorkscrew/
H A Dbacktrace.c260 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/extras/ext4_utils/
H A Dext4_utils.c47 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/showmap/
H A Dshowmap.c71 struct mapinfo* info = calloc(1, sizeof(mapinfo) + name_size); local
72 if (info == NULL) {
77 info->start = start;
78 info->end = end;
79 info->is_bss = is_bss;
80 info->count = 1;
81 strlcpy(info->name, name, name_size);
83 *mi = info;
194 fprintf(stderr, "warning: could not parse map info line: %s\n", line);
/system/core/fs_mgr/
H A Dfs_mgr.c99 struct stat info; local
103 while (gettime() < timeout_time && ((ret = stat(filename, &info)) < 0))
/system/core/init/
H A Dutil.c50 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))
H A Dbuiltins.c410 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 Ddevices.c422 struct stat info; local
883 struct stat info; local
899 if (stat(coldboot_done, &info) < 0) {
/system/core/libnetutils/
H A Ddhcpclient.c129 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 Dtexturing.cpp122 component_info_t& info = mInfo[i]; local
123 if ((info.inDest || info.needed) && !info.replaced)

Completed in 1503 milliseconds

12