Searched refs:id (Results 1 - 25 of 57) sorted by path

123

/system/bluetooth/bluedroid/
H A Dbluetooth.c53 int id; local
54 for (id = 0; ; id++) {
55 snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id);
64 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 Dadb.c327 case A_CNXN: /* CONNECT(version, maxdata, "system-id-string") */
338 case A_OPEN: /* OPEN(local-id, 0, "destination") */
348 send_ready(s->id, s->peer->id, t);
354 case A_OKAY: /* READY(local-id, remote-id, "") */
366 case A_CLSE: /* CLOSE(local-id, remote-id, "") */
382 send_ready(s->id, rid, t);
H A Dadb.h82 unsigned id; member in struct:asocket
222 asocket *find_local_socket(unsigned id);
232 asocket *create_remote_socket(unsigned id, atransport *t);
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...]
H A Dfile_sync_service.c61 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 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);
202 D("LS(%d): destroying fde.fd=%d\n", s->id, s->fde.fd);
211 D("LS(%d): discarding %d bytes\n", s->id,
240 int id = s->id; local
505 create_remote_socket(unsigned id, atransport *t) argument
[all...]
/system/core/debuggerd/arm/
H A Dunwind.c577 int id,
590 if (id == 0)
574 unwind_pr_common_with_ptrace(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context, int id, pid_t pid) argument
/system/core/debuggerd/
H A Dgetevent.c28 struct input_id id; local
38 if(ioctl(fd, EVIOCGID, &id)) {
/system/core/include/system/
H A Dcamera.h194 * An unique id per face while the face is visible to the tracker. If
196 * id. If the value is 0, id is not supported.
198 int32_t id; member in struct:camera_face
H A Dwindow.h80 void incStrong(const void* id) const {
83 void decStrong(const void* id) const {
308 void incStrong(const void* id) const {
311 void decStrong(const void* id) const {
/system/core/include/usbhost/
H A Dusbhost.h119 char* usb_device_get_name_from_unique_id(int id);
134 char* usb_device_get_string(struct usb_device *device, 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.c95 static int get_android_id(const char *id) argument
99 if (!strcmp(id, android_ids[i].name))
/system/core/libnetutils/
H A Dpacket.c104 ip.id = 0;
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h66 void incStrong(const void* id) const;
67 void decStrong(const void* id) const;
/system/core/libusbhost/
H A Dusbhost.c312 char* usb_device_get_name_from_unique_id(int id) argument
314 int bus = id / 1000;
315 int dev = id % 1000;
338 char* usb_device_get_string(struct usb_device *device, int id) argument
361 (USB_DT_STRING << 8) | id, languages[i], buffer, sizeof(buffer), 0);
/system/core/mkbootimg/
H A Dbootimg.h49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
H A Dmkbootimg.c229 memcpy(hdr.id, sha,
230 SHA_DIGEST_SIZE > sizeof(hdr.id) ? sizeof(hdr.id) : SHA_DIGEST_SIZE);
/system/core/nexus/
H A DSupplicantStatus.cpp33 SupplicantStatus::SupplicantStatus(int state, int id, char *bssid, char *ssid) : argument
34 mWpaState(state), mId(id), mBssid(bssid), mSsid(ssid) {
36 LOGD("state %d, id %d, bssid %p, ssid %p\n", mWpaState, mId, mBssid, mSsid);
49 int id = -1; local
62 else if (!strcmp(token, "id"))
63 id = atoi(value);
89 return new SupplicantStatus(state, id, bssid, ssid);
H A DSupplicantStatus.h29 SupplicantStatus(int state, int id, char *bssid, char *ssid);
H A DWifiNetwork.cpp40 char *id; local
45 if (!(id = strsep(&next, "\t")))
46 LOGE("Failed to extract network id");
54 // LOGD("id '%s', ssid '%s', bssid '%s', flags '%s'", id, ssid, bssid,
57 if (id)
58 mNetid = atoi(id);
/system/core/toolbox/
H A DAndroid.mk52 id \
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...]

Completed in 347 milliseconds

123