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

12

/system/core/adf/libadf/include/adf/
H A Dadf.h29 adf_id_t id; member in struct:adf_device
50 int adf_device_open(adf_id_t id, int flags, struct adf_device *dev);
128 int adf_interface_open(struct adf_device *dev, adf_id_t id, int flags);
198 int adf_overlay_engine_open(struct adf_device *dev, adf_id_t id, int flags);
/system/core/init/
H A Dkeychords.c53 keychord->id = keychords_count + 1;
55 svc->keychord_id = keychord->id;
100 __u16 id; local
104 ret = read(keychord_fd, &id, sizeof(id));
105 if (ret != sizeof(id)) {
106 ERROR("could not read keychord id\n");
111 svc = service_find_by_keychord(id);
116 ERROR("service for keychord %d not found\n", id);
H A Dueventd.c113 static int get_android_id(const char *id) argument
117 if (!strcmp(id, android_ids[i].name))
/system/core/fastbootd/
H A Dbootimg.h60 unsigned id[8]; /* timestamp / checksum / sha1 / etc */ member in struct:boot_img_hdr
/system/core/healthd/
H A DBatteryPropertiesRegistrar.cpp75 status_t BatteryPropertiesRegistrar::getProperty(int id, struct BatteryProperty *val) { argument
76 return healthd_get_property(id, val);
H A DBatteryMonitor.cpp279 status_t BatteryMonitor::getProperty(int id, struct BatteryProperty *val) { argument
284 switch(id) {
H A Dhealthd.cpp171 status_t healthd_get_property(int id, struct BatteryProperty *val) { argument
172 return gBatteryMonitor->getProperty(id, val);
/system/core/include/log/
H A Dlog_read.h53 log_time(clockid_t id) argument
56 clock_gettime(id, &T);
H A Dlogger.h59 uint32_t lid; /* log id of the payload */
123 log_id_t id() function in struct:log_msg
170 log_id_t id);
173 struct logger_list *android_logger_list_open(log_id_t id,
/system/core/mkbootimg/
H A Dbootimg.h50 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 resizeAsec(const char *id, unsigned numSectors, const char *key);
95 int finalizeAsec(const char *id);
107 int fixupAsecPermissions(const char *id, gid_
[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);
/system/core/adb/
H A Dfile_sync_service.h50 unsigned id; member in union:__anon6
52 unsigned id; member in struct:__anon6::__anon7
56 unsigned id; member in struct:__anon6::__anon8
62 unsigned id; member in struct:__anon6::__anon9
69 unsigned id; member in struct:__anon6::__anon10
73 unsigned id; member in struct:__anon6::__anon11
/system/core/debuggerd/
H A Dgetevent.cpp43 struct input_id id; local
53 if (ioctl(fd, EVIOCGID, &id)) {
/system/core/logd/
H A DCommandListener.cpp87 int id = atoi(argv[1]); local
88 if ((id < LOG_ID_MIN) || (LOG_ID_MAX <= id)) {
93 mBuf.clear((log_id_t) id, uid);
111 int id = atoi(argv[1]); local
112 if ((id < LOG_ID_MIN) || (LOG_ID_MAX <= id)) {
117 unsigned long size = mBuf.getSize((log_id_t) id);
142 int id = atoi(argv[1]); local
143 if ((id < LOG_ID_MI
171 int id = atoi(argv[1]); local
219 int id = atoi(argv[i]); local
[all...]
H A DLogStatistics.h151 LidStatistics &id(log_id_t log_id) { return LogIds[log_id]; } function in class:LogStatistics
162 // fast track current value by id only
163 size_t sizes(log_id_t id) const { return mSizes[id]; }
164 size_t elements(log_id_t id) const { return mElements[id]; }
171 size_t sizes(log_id_t id, uid_t uid, pid_t pid = pid_all);
172 size_t elements(log_id_t id, uid_t uid, pid_t pid = pid_all);
176 size_t sizesTotal(log_id_t id = log_id_all,
179 size_t elementsTotal(log_id_t id
[all...]
/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/core/toolbox/upstream-netbsd/sbin/chown/
H A Dchown.c65 static id_t id(const char *, const char *);
258 gid = id(s, "group");
270 uid = id(s, "user");
276 id(const char *name, const char *type) function
/system/netd/server/
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) {}
/system/security/keystore-engine/
H A Deng_keystore.cpp214 static int keystore_bind_fn(ENGINE *e, const char *id) { argument
217 if (!id) {
221 if (strcmp(id, kKeystoreEngineId)) {
/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/logcat/tests/
H A Dlogcat_test.cpp62 log_id_t id = android_name_to_log_id(buffer + sizeof(begin) - 1); local
63 ids |= 1 << id;
/system/extras/puncture_fs/
H A Dpuncture_fs.c73 const u64 id, char * const base,
82 sprintf(file_path, "%s/file_%lu", dir_path, id);
72 create_unique_file(const char * const dir_path, const u64 size, const u64 id, char * const base, const u64 base_length) argument
/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);

Completed in 572 milliseconds

12