Searched refs:info (Results 1 - 25 of 43) sorted by path

12

/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)
H A Dsysdeps_win32.c1247 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 Dengine.c48 extern struct fs_info info;
305 /* reset ext4fs info so we can be called multiple times */
307 info.len = image->partition_size;
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...]
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 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...]
/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/include/sync/
H A Dsync.h48 struct sync_pt_info *sync_pt_info(struct sync_fence_info_data *info,
50 void sync_fence_info_free(struct sync_fence_info_data *info);
/system/core/init/
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) {
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))
/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/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 DGGLAssembler.cpp159 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 Dtexturing.cpp122 component_info_t& info = mInfo[i]; local
123 if ((info.inDest || info.needed) && !info.replaced)
/system/core/libsync/
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...]
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);
/system/core/run-as/
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);
H A Dpackage.h37 extern int get_package_info(const char* packageName, PackageInfo* info);
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;
/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...]

Completed in 84 milliseconds

12