/system/vold/ |
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...] |
H A D | Loop.h | 29 static int lookupActive(const char *id, char *buffer, size_t len); 31 static int create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len);
|
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); 208 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { argument 211 if (findAsec(id, asecFileName, sizeof(asecFileName))) { 212 SLOGE("Couldn't find ASEC %s", id); 222 int written = snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); 224 SLOGE("getAsecMountPath failed for %s: couldn't construct path in buffer", id); 232 int VolumeManager::getAsecFilesystemPath(const char *id, cha argument 255 createAsec(const char *id, unsigned int numSectors, const char *fstype, const char *key, const int ownerUid, bool isExternal) argument 478 finalizeAsec(const char *id) argument 530 fixupAsecPermissions(const char *id, gid_t gid, const char* filename) argument 705 unmountAsec(const char *id, bool force) argument 747 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument 829 destroyAsec(const char *id, bool force) argument 883 findAsec(const char *id, char *asecPath, size_t asecPathLen, const char **directory) const argument 921 mountAsec(const char *id, const char *key, int ownerUid) argument 1491 char id[ID_BUF_LEN]; local [all...] |
/system/core/init/ |
H A D | keychords.c | 53 keychord->id = keychords_count + 1; 55 svc->keychord_id = keychord->id; 101 __u16 id; local 105 ret = read(keychord_fd, &id, sizeof(id)); 106 if (ret != sizeof(id)) { 107 ERROR("could not read keychord id\n"); 112 svc = service_find_by_keychord(id); 117 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/adb/ |
H A D | file_sync_service.h | 50 unsigned id; member in union:__anon275 52 unsigned id; member in struct:__anon275::__anon276 56 unsigned id; member in struct:__anon275::__anon277 62 unsigned id; member in struct:__anon275::__anon278 69 unsigned id; member in struct:__anon275::__anon279 73 unsigned id; member in struct:__anon275::__anon280
|
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...] |
H A D | file_sync_service.c | 61 msg.stat.id = ID_STAT; 92 msg.dent.id = ID_DENT; 121 msg.dent.id = ID_DONE; 136 msg.data.id = ID_FAIL; 177 if(msg.data.id != ID_DATA) { 178 if(msg.data.id == ID_DONE) { 212 msg.status.id = ID_OKAY; 236 if(msg.data.id != ID_DATA) { 262 if(msg.data.id == ID_DONE) { 263 msg.status.id [all...] |
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...] |
/system/core/mkbootimg/ |
H A D | bootimg.h | 49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
|
/system/netd/ |
H A D | MDnsSdListener.h | 72 DNSServiceRef *allocateServiceRef(int id, Context *c); 73 void startMonitoring(int id); 74 DNSServiceRef *lookupServiceRef(int id); 75 void freeServiceRef(int id); 89 Element(int id, Context *context) argument 90 : mId(id), mNext(NULL), mContext(context), mReady(0) {}
|
/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);
|
/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_create3.c | 66 create(int seconds, int id) argument 74 se.sigev_value.sival_int = id;
|
/system/media/camera/docs/ |
H A D | metadata_template.mako | 25 <tag id="${tag.id}">${tag.description | x}</tag> 27 <tag id="${tag.id}"><!-- TODO: fill the tag description --></tag> 69 <tag id="${tag.id}" /> 106 % if value.id is not None: 107 id="${value.id}" 135 <tag id [all...] |
H A D | html.mako | 140 <tr><td colspan="7" id="section_${section.name}" class="section">${section.name}</td></tr> 186 <tag id="${tag.id}" /> 191 <tr class="entry" id="${prop.kind}_${prop.name}"> 227 % if value.id is not None: 228 <span class="entry_type_enum_value">${value.id}</span> 268 <li><a href="#tag_${tag.id}">${tag.id}</a></li> 290 <div class="tags" id="tag_index"> 294 <li id [all...] |
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | rfcomm.h | 70 int16_t id; member in struct:rfcomm_dev_info
|
/system/core/toolbox/ |
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/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/core/include/usbhost/ |
H A D | usbhost.h | 132 char* usb_device_get_name_from_unique_id(int id); 147 char* usb_device_get_string(struct usb_device *device, int id);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | CodeCache.h | 67 void incStrong(const void* id) const; 68 void decStrong(const void* id) const;
|
/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
|
H A D | window.h | 93 void incStrong(const void* id) const { 96 void decStrong(const void* id) const { 347 void incStrong(const void* id) const { 350 void decStrong(const void* id) const {
|
/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;
|