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

12

/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);
/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/media/wilhelm/src/
H A Ddevices.h21 SLuint32 id; member in struct:AudioInput_id_descriptor
26 SLuint32 id; member in struct:AudioOutput_id_descriptor
31 SLuint32 id; member in struct:LED_id_descriptor
36 SLuint32 id; member in struct:Vibra_id_descriptor
H A Dlocks.c257 unsigned id = thiz->mInstanceID; local
258 if (0 != id) {
259 --id;
260 assert(MAX_INSTANCE > id);
264 thisEngine->mChangedMask |= 1 << 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/mkbootimg/
H A Dbootimg.h49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
/system/media/wilhelm/src/itf/
H A DI3DGrouping.c39 unsigned id = thisObject->mInstanceID; local
40 assert(0 != id); // player object must be published by this point
41 --id;
42 assert(MAX_INSTANCE > id);
43 unsigned mask = 1 << id;
H A DIEngineCapabilities.c119 *pLEDDeviceID = id_descriptor->id;
128 SLuint32 id = *pLEDDeviceID; local
131 if (id == id_descriptor->id) {
161 *pVibraDeviceID = id_descriptor->id;
170 SLuint32 id = *pVibraDeviceID; local
173 if (id == id_descriptor->id) {
/system/vold/
H A DLoop.cpp79 int Loop::lookupActive(const char *id, char *buffer, size_t len) { argument
112 if (!strncmp((const char*) li.lo_crypt_name, id, LO_NAME_SIZE)) {
125 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) { argument
193 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE);
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 createAsec(const char *id, unsigned numSectors, const char *fstype,
92 int finalizeAsec(const char *id);
93 int destroyAsec(const char *id, bool force);
94 int mountAsec(const char *id, const char *key, int ownerUid);
95 int unmountAsec(const char *id, boo
[all...]
H A DCommandListener.cpp288 char id[255]; local
289 memset(id, 0, sizeof(id));
290 strncpy(id, dent->d_name, strlen(dent->d_name) -5);
291 cli->sendMsg(ResponseCode::AsecListResult, id, false);
299 "Usage: asec create <container-id> <size_mb> <fstype> <key> <ownerUid>", false);
308 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec finalize <container-id>", false);
315 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec destroy <container-id> [force]", false);
327 "Usage: asec mount <namespace-id> <key> <ownerUid>", false);
334 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec unmount <container-id> [forc
[all...]
/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 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
/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);
/system/media/wilhelm/src/android/
H A DAudioTrackProxy.h62 virtual void onLastStrongRef(const void* id) argument
/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
/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/media/mca/filterfw/jni/
H A Djni_util.h86 // coupled to Java objects. This is done by using an "id" field in the Java
115 const int id = next_id_; local
116 objects_[id] = object;
117 owns_[id] = owns;
119 return id;
142 const int id = RegisterObject(c_object, owns); local
145 env->SetIntField(j_object, id_field, id);
/system/media/mca/filterfw/native/core/
H A Dgl_env.cpp198 const int id = ++max_surface_id_; local
199 surfaces_[id] = SurfaceWindowPair(surface, window_handle);
200 return id;
267 const int id = contexts_.size(); local
268 contexts_[id] = context;
269 return id;

Completed in 866 milliseconds

12