Searched defs:id (Results 1 - 25 of 27) sorted by relevance

12

/system/extras/tests/bionic/libc/other/
H A Dtest_timer_create.c49 create(int seconds, int id) argument
58 se.sigev_value.sival_int = id;
H A Dtest_timer_create2.c49 create(int seconds, int id) argument
H A Dtest_timer_create3.c66 create(int seconds, int id) argument
74 se.sigev_value.sival_int = id;
/system/core/init/
H A Dkeychords.c53 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 Dueventd.c102 static int get_android_id(const char *id) argument
106 if (!strcmp(id, android_ids[i].name))
/system/core/mkbootimg/
H A Dbootimg.h49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
/system/vold/
H A DVolumeManager.h36 : 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 DLoop.cpp81 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 DCommandListener.cpp291 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...]
/system/bluetooth/bluedroid/
H A Dbluetooth.c54 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 Drfcomm.h70 int16_t id; member in struct:rfcomm_dev_info
/system/core/adb/
H A Dfile_sync_service.h50 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 Dsockets.c62 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 Dfile_sync_client.c69 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/debuggerd/
H A Dgetevent.c28 struct input_id id; local
38 if(ioctl(fd, EVIOCGID, &id)) {
/system/core/toolbox/
H A Dlsusb.c28 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 Dvmstat.c217 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);
H A Dgetevent.c303 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...]
/system/netd/
H A DMDnsSdListener.h72 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) {}
H A DMDnsSdListener.cpp640 DNSServiceRef *MDnsSdListener::Monitor::allocateServiceRef(int id, Context *context) { argument
641 if (lookupServiceRef(id) != NULL) {
645 Element *e = new Element(id, context);
653 DNSServiceRef *MDnsSdListener::Monitor::lookupServiceRef(int id) { argument
657 if (cur->mId == id) {
668 void MDnsSdListener::Monitor::startMonitoring(int id) { argument
669 if (VDBG) ALOGD("startMonitoring %d", id);
673 if (cur->mId == id) {
708 void MDnsSdListener::Monitor::freeServiceRef(int id) { argument
709 if (VDBG) ALOGD("freeServiceRef %d", id);
[all...]
/system/core/include/system/
H A Dcamera.h234 * 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/libnl_2/genl/
H A Dgenl.c226 /* 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/extras/tests/framebuffer/
H A Dfb_test.c139 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/security/keystore-engine/
H A Deng_keystore.cpp321 static int keystore_bind_fn(ENGINE *e, const char *id) { argument
324 if (!id) {
328 if (strcmp(id, KEYSTORE_ENGINE_ID)) {
/system/core/libusbhost/
H A Dusbhost.c363 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);

Completed in 159 milliseconds

12