Searched refs:id (Results 1 - 25 of 38) sorted by last modified time

12

/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/security/softkeymaster/
H A Dkeymaster_openssl.cpp511 id: KEYSTORE_HARDWARE_MODULE_ID,
/system/vold/
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...]
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 DLoop.h29 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);
H A DVolumeManager.cpp79 char *VolumeManager::asecHash(const char *id, char *buffer, size_t len) { argument
88 } else if (id == NULL) {
99 MD5(reinterpret_cast<const unsigned char*>(id), strlen(id), sig);
204 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { argument
207 if (findAsec(id, asecFileName, sizeof(asecFileName))) {
208 SLOGE("Couldn't find ASEC %s", id);
218 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id);
222 int VolumeManager::getAsecFilesystemPath(const char *id, char *buffer, int maxlen) { argument
225 if (findAsec(id, asecFileNam
240 createAsec(const char *id, unsigned int numSectors, const char *fstype, const char *key, const int ownerUid, bool isExternal) argument
449 finalizeAsec(const char *id) argument
497 fixupAsecPermissions(const char *id, gid_t gid, const char* filename) argument
658 unmountAsec(const char *id, bool force) argument
692 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument
774 destroyAsec(const char *id, bool force) argument
824 findAsec(const char *id, char *asecPath, size_t asecPathLen, const char **directory) const argument
861 mountAsec(const char *id, const char *key, int ownerUid) argument
1418 char id[ID_BUF_LEN]; local
[all...]
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...]
/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 Dadb.c514 case A_CNXN: /* CONNECT(version, maxdata, "system-id-string") */
554 case A_OPEN: /* OPEN(local-id, 0, "destination") */
564 send_ready(s->id, s->peer->id, t);
570 case A_OKAY: /* READY(local-id, remote-id, "") */
582 case A_CLSE: /* CLOSE(local-id, remote-id, "") */
598 send_ready(s->id, rid, t);
H A Dadb.h83 unsigned id; member in struct:asocket
239 asocket *find_local_socket(unsigned id);
249 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);
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...]
/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.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
H A Dwindow.h93 void incStrong(const void* id) const {
96 void decStrong(const void* id) const {
348 void incStrong(const void* id) const {
351 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.c102 static int get_android_id(const char *id) argument
106 if (!strcmp(id, android_ids[i].name))
/system/core/libnetutils/
H A Dpacket.c104 ip.id = 0;
/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/core/libpixelflinger/codeflinger/
H A DCodeCache.h65 void incStrong(const void* id) const;
66 void decStrong(const void* id) const;
/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 1198 milliseconds

12