/system/vold/ |
D | VolumeManager.h | 36 : id(_id) in ContainerData() 41 if (id != NULL) { in ~ContainerData() 42 free(id); in ~ContainerData() 43 id = NULL; in ~ContainerData() 47 char *id; variable 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, bool force); [all …]
|
D | VolumeManager.cpp | 79 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { in asecHash() argument 88 } else if (id == NULL) { in asecHash() 99 MD5(reinterpret_cast<const unsigned char*>(id), strlen(id), sig); in asecHash() 208 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { in getAsecMountPath() argument 211 if (findAsec(id, asecFileName, sizeof(asecFileName))) { in getAsecMountPath() 212 SLOGE("Couldn't find ASEC %s", id); in getAsecMountPath() 222 int written = snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); in getAsecMountPath() 224 SLOGE("getAsecMountPath failed for %s: couldn't construct path in buffer", id); in getAsecMountPath() 232 int VolumeManager::getAsecFilesystemPath(const char *id, char *buffer, int maxlen) { in getAsecFilesystemPath() argument 235 if (findAsec(id, asecFileName, sizeof(asecFileName))) { in getAsecFilesystemPath() [all …]
|
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);
|
D | Loop.cpp | 81 int Loop::lookupActive(const char *id, char *buffer, size_t len) { in lookupActive() argument 114 if (!strncmp((const char*) li.lo_crypt_name, id, LO_NAME_SIZE)) { in lookupActive() 127 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) { in create() argument 195 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE); in create()
|
/system/core/adb/ |
D | sockets.c | 62 asocket *find_local_socket(unsigned id) in find_local_socket() argument 69 if (s->id == id) { in find_local_socket() 93 s->id = local_socket_next_id++; in install_local_socket() 108 s->id = 0; in remove_socket() 132 D("LS(%d): enqueue %d\n", s->id, p->len); in local_socket_enqueue() 155 D( "LS(%d): not ready, errno=%d: %s\n", s->id, errno, strerror(errno) ); in local_socket_enqueue() 204 D("LS(%d): destroying fde.fd=%d\n", s->id, s->fde.fd); in local_socket_destroy() 213 D("LS(%d): discarding %d bytes\n", s->id, p->len); in local_socket_destroy() 229 D("entered. LS(%d) fd=%d\n", s->id, s->fd); in local_socket_close_locked() 232 s->id, s->peer->id, s->peer->fd); in local_socket_close_locked() [all …]
|
D | file_sync_service.h | 50 unsigned id; member 52 unsigned id; member 56 unsigned id; member 62 unsigned id; member 69 unsigned id; member 73 unsigned id; member
|
D | file_sync_service.c | 61 msg.stat.id = ID_STAT; in do_stat() 92 msg.dent.id = ID_DENT; in do_list() 121 msg.dent.id = ID_DONE; in do_list() 136 msg.data.id = ID_FAIL; in fail_message() 177 if(msg.data.id != ID_DATA) { in handle_send_file() 178 if(msg.data.id == ID_DONE) { in handle_send_file() 212 msg.status.id = ID_OKAY; in handle_send_file() 236 if(msg.data.id != ID_DATA) { in handle_send_link() 262 if(msg.data.id == ID_DONE) { in handle_send_link() 263 msg.status.id = ID_OKAY; in handle_send_link() [all …]
|
D | file_sync_client.c | 69 msg.req.id = ID_QUIT; in sync_quit() 86 msg.req.id = ID_LIST; in sync_ls() 96 if(msg.dent.id == ID_DONE) return 0; in sync_ls() 97 if(msg.dent.id != ID_DENT) break; in sync_ls() 119 unsigned id; member 131 msg.req.id = ID_STAT; in sync_readtime() 143 if(msg.stat.id != ID_STAT) { in sync_readtime() 156 msg.req.id = ID_STAT; in sync_start_readtime() 175 if(msg.stat.id != ID_STAT) in sync_finish_readtime() 190 msg.req.id = ID_STAT; in sync_readmode() [all …]
|
D | protocol.txt | 50 The identifiers "local-id" and "remote-id" are always relative to the 96 --- OPEN(local-id, 0, "destination") ----------------------------------- 99 identified by local-id that it wishes to connect to the named 100 destination in the message payload. The local-id may not be zero. 118 --- READY(local-id, remote-id, "") ------------------------------------- 121 identified by local-id is ready for write messages and that it is 122 connected to the recipient's stream identified by remote-id. 124 Neither the local-id nor the remote-id may be zero. 126 A READY message containing a remote-id which does not map to an open 130 The local-id is ignored on all but the first READY message (where it [all …]
|
/system/core/init/ |
D | keychords.c | 53 keychord->id = keychords_count + 1; in add_service_keycodes() 55 svc->keychord_id = keychord->id; in add_service_keycodes() 101 __u16 id; in handle_keychord() local 105 ret = read(keychord_fd, &id, sizeof(id)); in handle_keychord() 106 if (ret != sizeof(id)) { in handle_keychord() 112 svc = service_find_by_keychord(id); in handle_keychord() 117 ERROR("service for keychord %d not found\n", id); in handle_keychord()
|
D | ueventd.c | 102 static int get_android_id(const char *id) in get_android_id() argument 106 if (!strcmp(id, android_ids[i].name)) in get_android_id()
|
/system/media/camera/docs/ |
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="${tag.id}" />
|
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="tag_${tag.id}">${tag.id} - ${tag.description} 300 </li> <!-- tag_${tag.id} -->
|
/system/netd/ |
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) in Element() argument 90 : mId(id), mNext(NULL), mContext(context), mReady(0) {} in Element()
|
/system/extras/tests/framebuffer/ |
D | fb_test.c | 139 int gr_init(int bpp, int id) in gr_init() argument 167 gr_active_fb = id; in gr_init() 168 set_active_framebuffer(id); in gr_init() 260 int id = 0; in main() local 267 id = !!atoi(argv[4]); in main() 269 gr_init(bpp, id); in main() 282 draw_grid(w, h, gr_fbs[id].data); in main() 284 set_active_framebuffer(!id); in main() 285 set_active_framebuffer(id); in main()
|
/system/bluetooth/bluedroid/ |
D | bluetooth.c | 54 int id; in init_rfkill() local 55 for (id = 0; ; id++) { in init_rfkill() 56 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id); in init_rfkill() 65 rfkill_id = id; in init_rfkill()
|
/system/extras/tests/bionic/libc/other/ |
D | test_timer_create.c | 49 create(int seconds, int id) in create() argument 58 se.sigev_value.sival_int = id; in create()
|
D | test_timer_create3.c | 66 create(int seconds, int id) in create() argument 74 se.sigev_value.sival_int = id; in create()
|
/system/core/toolbox/ |
D | lsusb.c | 28 static const char *get_str(struct usb_device *dev, int id) in get_str() argument 30 char *str = usb_device_get_string(dev, id); in get_str() 32 if (id && str) { in get_str() 36 snprintf(str_buff, sizeof(str_buff), "%02x", id); in get_str()
|
D | vmstat.c | 225 int us, ni, sy, id, wa, ir; in print_line() local 229 id = JP(new->cpu_id - old->cpu_id); NORM(id); in print_line() 236 us, ni, sy, id, wa, ir); in print_line()
|
D | getevent.c | 303 struct input_id id; in open_device() local 317 if(ioctl(fd, EVIOCGID, &id)) { in open_device() 358 id.bustype, id.vendor, id.product, id.version); in open_device() 376 print_hid_descriptor(id.bustype, id.vendor, id.product); in open_device()
|
/system/core/libnl_2/genl/ |
D | genl.c | 279 int id = -1; in genl_ctrl_resolve() local 287 return id; in genl_ctrl_resolve() 293 id = genl_family_get_id(gf); in genl_ctrl_resolve() 301 return id; in genl_ctrl_resolve()
|
/system/core/include/system/ |
D | window.h | 93 void incStrong(const void* id) const { in incStrong() 96 void decStrong(const void* id) const { in decStrong() 347 void incStrong(const void* id) const { in incStrong() 350 void decStrong(const void* id) const { in decStrong()
|
/system/core/include/usbhost/ |
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/ |
D | CodeCache.h | 67 void incStrong(const void* id) const; 68 void decStrong(const void* id) const;
|