/system/security/keystore-engine/ |
H A D | eng_keystore.cpp | 321 static int keystore_bind_fn(ENGINE *e, const char *id) { argument 324 if (!id) { 328 if (strcmp(id, KEYSTORE_ENGINE_ID)) {
|
/system/vold/ |
H A D | CommandListener.cpp | 291 char id[255]; local 292 memset(id, 0, sizeof(id)); 293 strlcpy(id, dent->d_name, name_len - 4); 294 cli->sendMsg(ResponseCode::AsecListResult, id, false); 321 "Usage: asec create <container-id> <size_mb> <fstype> <key> <ownerUid> " 332 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec finalize <container-id>", false); 339 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec fixperms <container-id> <gid> <filename>", false); 346 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec fixperms <container-id> <gid> <filename>", false); 354 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec destroy <container-id> [forc [all...] |
H A D | Loop.cpp | 81 int Loop::lookupActive(const char *id, char *buffer, size_t len) { argument 114 if (!strncmp((const char*) li.lo_crypt_name, id, LO_NAME_SIZE)) { 127 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) { argument 195 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE);
|
H A D | VolumeManager.cpp | 79 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { argument 88 } else if (id == NULL) { 99 MD5(reinterpret_cast<const unsigned char*>(id), strlen(id), sig); 204 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { argument 207 if (findAsec(id, asecFileName, sizeof(asecFileName))) { 208 SLOGE("Couldn't find ASEC %s", id); 218 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); 222 int VolumeManager::getAsecFilesystemPath(const char *id, char *buffer, int maxlen) { argument 225 if (findAsec(id, asecFileNam 240 createAsec(const char *id, unsigned int numSectors, const char *fstype, const char *key, const int ownerUid, bool isExternal) argument 449 finalizeAsec(const char *id) argument 497 fixupAsecPermissions(const char *id, gid_t gid, const char* filename) argument 658 unmountAsec(const char *id, bool force) argument 692 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument 774 destroyAsec(const char *id, bool force) argument 824 findAsec(const char *id, char *asecPath, size_t asecPathLen, const char **directory) const argument 861 mountAsec(const char *id, const char *key, int ownerUid) argument 1418 char id[ID_BUF_LEN]; local [all...] |
H A D | VolumeManager.h | 36 : id(_id) 41 if (id != NULL) { 42 free(id); 43 id = NULL; 47 char *id; member in class:ContainerData 90 int findAsec(const char *id, char *asecPath = NULL, size_t asecPathLen = 0, 92 int createAsec(const char *id, unsigned numSectors, const char *fstype, 94 int finalizeAsec(const char *id); 106 int fixupAsecPermissions(const char *id, gid_t gid, const char* privateFilename); 107 int destroyAsec(const char *id, boo [all...] |
/system/bluetooth/bluedroid/ |
H A D | bluetooth.c | 54 int id; local 55 for (id = 0; ; id++) { 56 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); 65 rfkill_id = id;
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | rfcomm.h | 70 int16_t id; member in struct:rfcomm_dev_info
|
/system/core/adb/ |
H A D | adb.h | 83 unsigned id; member in struct:asocket 239 asocket *find_local_socket(unsigned id); 249 asocket *create_remote_socket(unsigned id, atransport *t);
|
H A D | file_sync_client.c | 69 msg.req.id = ID_QUIT; 86 msg.req.id = ID_LIST; 96 if(msg.dent.id == ID_DONE) return 0; 97 if(msg.dent.id != ID_DENT) break; 119 unsigned id; member in struct:syncsendbuf 131 msg.req.id = ID_STAT; 143 if(msg.stat.id != ID_STAT) { 156 msg.req.id = ID_STAT; 175 if(msg.stat.id != ID_STAT) 190 msg.req.id 447 unsigned id; local [all...] |
H A D | file_sync_service.h | 50 unsigned id; member in union:__anon274 52 unsigned id; member in struct:__anon274::__anon275 56 unsigned id; member in struct:__anon274::__anon276 62 unsigned id; member in struct:__anon274::__anon277 69 unsigned id; member in struct:__anon274::__anon278 73 unsigned id; member in struct:__anon274::__anon279
|
H A D | sockets.c | 62 asocket *find_local_socket(unsigned id) argument 69 if (s->id == id) { 93 s->id = local_socket_next_id++; 108 s->id = 0; 132 D("LS(%d): enqueue %d\n", s->id, p->len); 155 D( "LS(%d): not ready, errno=%d: %s\n", s->id, errno, strerror(errno) ); 188 // D("LS(%d): ready()\n", s->id); 204 D("LS(%d): destroying fde.fd=%d\n", s->id, s->fde.fd); 213 D("LS(%d): discarding %d bytes\n", s->id, 247 int id = s->id; local 522 create_remote_socket(unsigned id, atransport *t) argument [all...] |
/system/core/debuggerd/ |
H A D | getevent.c | 28 struct input_id id; local 38 if(ioctl(fd, EVIOCGID, &id)) {
|
/system/core/include/system/ |
H A D | camera.h | 234 * An unique id per face while the face is visible to the tracker. If 236 * id. If the value is 0, id is not supported. 238 int32_t id; member in struct:camera_face
|
/system/core/init/ |
H A D | keychords.c | 53 keychord->id = keychords_count + 1; 55 svc->keychord_id = keychord->id; 101 __u16 id; local 108 ret = read(keychord_fd, &id, sizeof(id)); 109 if (ret != sizeof(id)) { 110 ERROR("could not read keychord id\n"); 116 svc = service_find_by_keychord(id); 121 ERROR("service for keychord %d not found\n", id);
|
H A D | ueventd.c | 102 static int get_android_id(const char *id) argument 106 if (!strcmp(id, android_ids[i].name))
|
/system/core/libnl_2/genl/ |
H A D | genl.c | 226 /* Save the family id */ 241 /* Return family id as cache pointer */ 265 /* Overriding cache pointer as family id for now */ 279 int id = -1; local 287 return id; 293 id = genl_family_get_id(gf); 301 return id;
|
/system/core/libusbhost/ |
H A D | usbhost.c | 363 char* usb_device_get_name_from_unique_id(int id) argument 365 int bus = id / 1000; 366 int dev = id % 1000; 389 char* usb_device_get_string(struct usb_device *device, int id) argument 412 (USB_DT_STRING << 8) | id, languages[i], buffer, sizeof(buffer), 0);
|
/system/core/mkbootimg/ |
H A D | bootimg.h | 49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
|
/system/core/toolbox/ |
H A D | getevent.c | 303 struct input_id id; local 317 if(ioctl(fd, EVIOCGID, &id)) { 319 fprintf(stderr, "could not get driver id for %s, %s\n", device, strerror(errno)); 358 id.bustype, id.vendor, id.product, id.version); 363 " id: \"%s\"\n", location, idstr); 376 print_hid_descriptor(id.bustype, id [all...] |
H A D | lsusb.c | 28 static const char *get_str(struct usb_device *dev, int id) argument 30 char *str = usb_device_get_string(dev, id); 32 if (id && str) { 36 snprintf(str_buff, sizeof(str_buff), "%02x", id);
|
H A D | vmstat.c | 217 printf("%2s %2s %6s %6s %6s %6s %4s %4s %4s %2s %2s %2s %2s %2s %2s\n", "r", "b", "free", "mapped", "anon", "slab", "in", "cs", "flt", "us", "ni", "sy", "id", "wa", "ir"); 225 int us, ni, sy, id, wa, ir; local 229 id = JP(new->cpu_id - old->cpu_id); NORM(id); 236 us, ni, sy, id, wa, ir);
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_timer_create.c | 49 create(int seconds, int id) argument 58 se.sigev_value.sival_int = id;
|
H A D | test_timer_create2.c | 49 create(int seconds, int id) argument
|
H A D | test_timer_create3.c | 66 create(int seconds, int id) argument 74 se.sigev_value.sival_int = id;
|
/system/extras/tests/framebuffer/ |
H A D | fb_test.c | 139 int gr_init(int bpp, int id) argument 167 gr_active_fb = id; 168 set_active_framebuffer(id); 260 int id = 0; local 267 id = !!atoi(argv[4]); 269 gr_init(bpp, id); 282 draw_grid(w, h, gr_fbs[id].data); 284 set_active_framebuffer(!id); 285 set_active_framebuffer(id);
|