Searched refs:name (Results 1 - 25 of 184) sorted by last modified time

12345678

/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp469 static int openssl_open(const hw_module_t* module, const char* name, argument
471 if (strcmp(name, KEYSTORE_KEYMASTER) != 0)
512 name: "Keymaster OpenSSL HAL",
/system/vold/
H A DDevmapper.cpp90 ioctlInit(io2, DEVMAPPER_BUFFER_SIZE, n->name, 0);
100 asprintf(&tmp, "%s %llu:%llu (no status available)", n->name, MAJOR(n->dev), MINOR(n->dev));
102 asprintf(&tmp, "%s %llu:%llu %d %d 0x%.8x %llu:%llu", n->name, MAJOR(n->dev),
118 const char *name, unsigned flags) {
126 if (name) {
127 int ret = strlcpy(io->name, name, sizeof(io->name));
128 if (ret >= sizeof(io->name))
133 int Devmapper::lookupActive(const char *name, cha argument
117 ioctlInit(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
166 create(const char *name, const char *loopFile, const char *key, unsigned int numSectors, char *ubuffer, size_t len) argument
264 destroy(const char *name) argument
[all...]
H A DDevmapper.h27 static int create(const char *name, const char *loopFile, const char *key,
29 static int destroy(const char *name);
30 static int lookupActive(const char *name, char *buffer, size_t len);
36 const char *name, unsigned flags);
H A DProcess.cpp104 // append the file name, after truncating to parent directory
154 int Process::checkSymLink(int pid, const char *mountPoint, const char *name) { argument
158 sprintf(path, "/proc/%d/%s", pid, name);
192 char name[PATH_MAX]; local
196 getProcessName(pid, name, sizeof(name));
201 SLOGE("Process %s (%d) has open file %s", name, pid, openfile);
203 SLOGE("Process %s (%d) has open filemap for %s", name, pid, openfile);
205 SLOGE("Process %s (%d) has cwd within %s", name, pid, path);
207 SLOGE("Process %s (%d) has chroot within %s", name, pi
[all...]
H A DProcess.h24 static int checkSymLink(int pid, const char *path, const char *name);
H A DVolume.cpp700 pinfo->name = strdup("android_sdcard");
713 free(pinfo->name);
H A Dcryptfs.c73 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
82 if (name) {
83 strncpy(io->name, name, sizeof(io->name));
129 /* Get and cache the name of the fstab file so we don't
381 char *real_blk_name, char *crypto_blk_name, const char *name)
400 ioctl_init(io, DM_CRYPT_BUF_SIZE, name, 0);
406 /* Get the device status, in particular, the name of it's device file */
407 ioctl_init(io, DM_CRYPT_BUF_SIZE, name,
380 create_crypto_blk_dev(struct crypt_mnt_ftr *crypt_ftr, unsigned char *master_key, char *real_blk_name, char *crypto_blk_name, const char *name) argument
464 delete_crypto_blk_dev(char *name) argument
[all...]
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h5 *** of the same name, to make information necessary for userspace to
821 uint8_t name[248]; member in struct:__anon65
829 uint8_t name[248]; member in struct:__anon66
1804 uint8_t name[248]; member in struct:__anon184
2407 char name[8]; member in struct:hci_dev_info
/system/bluetooth/brcm_patchram_plus/
H A Dbrcm_patchram_plus.c482 long_options[option_index].name);
/system/bluetooth/data/
H A Dauto_pairing.conf18 // Blacklisting by Partial Name (if name starts with)
H A Dblacklist.conf6 scoSocket:name,"MY-CAR",=ALL_ESCO_MASK;-ESCO_2EV5;-ESCO_3EV3;-ESCO_3EV5, // Infinity G35
7 scoSocket:name,"Motorola HF850",=SCO_ESCO_MASK, // Motorola HF850
/system/bluetooth/tools/
H A Dasocket_test.c672 char *name; member in struct:__anon261
690 char *name; member in struct:__anon262
706 for (i = 0; type_table[i].name; i++) {
707 printf("\t%s\n", type_table[i].name);
710 for (i = 0; action_table[i].name; i++) {
711 printf("\t%s\n", action_table[i].name);
723 for (i = 0; type_table[i].name; i++) {
724 if (!strcmp(argv[1], type_table[i].name)) {
733 for (i = 0; action_table[i].name; i++) {
734 if (!strcmp(argv[2], action_table[i].name)) {
[all...]
H A Dbttest.c49 char *name; member in struct:__anon263
62 for (i = 0; function_table[i].name; i++) {
63 printf("\tbttest %s\n", function_table[i].name);
74 for (i = 0; function_table[i].name; i++) {
75 if (!strcmp(argv[1], function_table[i].name)) {
76 printf("%s\n", function_table[i].name);
H A Dpipetest.c387 char *name; member in struct:__anon264
409 for (i = 0; function_table[i].name; i++) {
410 printf("\tpipetest %s\n", function_table[i].name);
421 for (i = 0; function_table[i].name; i++) {
422 if (!strcmp(argv[1], function_table[i].name)) {
423 printf("%s\n", function_table[i].name);
H A Dsock_shutdown_test.c254 char *name; member in struct:__anon265
262 char *name; member in struct:__anon266
278 for (i = 0; type_table[i].name; i++) {
279 printf("\t%s\n", type_table[i].name);
282 for (i = 0; action_table[i].name; i++) {
283 printf("\t%s\n", action_table[i].name);
295 for (i = 0; type_table[i].name; i++) {
296 if (!strcmp(argv[1], type_table[i].name)) {
305 for (i = 0; action_table[i].name; i++) {
306 if (!strcmp(argv[2], action_table[i].name)) {
[all...]
H A Dsocktest.c744 char *name; member in struct:__anon267
764 char *name; member in struct:__anon268
780 for (i = 0; type_table[i].name; i++) {
781 printf("\t%s\n", type_table[i].name);
784 for (i = 0; action_table[i].name; i++) {
785 printf("\t%s\n", action_table[i].name);
797 for (i = 0; type_table[i].name; i++) {
798 if (!strcmp(argv[1], type_table[i].name)) {
807 for (i = 0; action_table[i].name; i++) {
808 if (!strcmp(argv[2], action_table[i].name)) {
[all...]
/system/core/adb/
H A Dadb.c291 "ro.product.name",
449 if (!strcmp(key, "ro.product.name"))
556 char *name = (char*) p->data; local
557 name[p->msg.data_length > 0 ? p->msg.data_length - 1 : 0] = 0;
558 s = create_local_service_socket(name);
697 int local_name_to_fd(const char *name) argument
701 if(!strncmp("tcp:", name, 4)){
703 port = atoi(name + 4);
709 if(!strncmp(name, "local:", 6)) {
710 return socket_local_server(name
[all...]
H A Dadb.h311 int service_to_fd(const char *name);
313 asocket *host_service_to_socket(const char* name, const char *serial);
H A Dfile_sync_client.c75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
422 static int mkdirs(char *name) argument
425 char *x = name + 1;
431 ret = adb_mkdir(name, 0775);
536 const char *name, void *cookie)
538 printf("%08x %08x %08x %s\n", mode, size, time, name);
572 const char *name, int isdir)
576 int nlen = strlen(name);
593 snprintf((char*) ci->src, ssize, isdir ? "%s%s/" : "%s%s", spath, name);
594 snprintf((char*) ci->dst, dsize, isdir ? "%s%s/" : "%s%s", dpath, name);
535 do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
571 mkcopyinfo(const char *spath, const char *dpath, const char *name, int isdir) argument
620 char *name = de->d_name; local
776 const char *name = adb_dirstop(lpath); local
810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
970 const char *name = adb_dirstop(rpath); local
[all...]
H A Dfile_sync_service.c34 static int mkdirs(char *name) argument
37 char *x = name + 1;
39 if(name[0] != '/') return -1;
45 ret = adb_mkdir(name, 0775);
47 D("mkdir(\"%s\") -> %s\n", name, strerror(errno));
362 char name[1025]; local
380 if(readx(fd, name, namelen)) {
384 name[namelen] = 0;
387 D("sync: '%s' '%s'\n", (char*) &msg.req, name);
391 if(do_stat(fd, name)) got
[all...]
H A Dservices.c372 static int create_subproc_thread(const char *name) argument
378 if(name) {
379 ret_fd = create_subprocess(SHELL_COMMAND, "-c", name, &pid);
403 int service_to_fd(const char *name) argument
407 if(!strncmp(name, "tcp:", 4)) {
408 int port = atoi(name + 4);
409 name = strchr(name + 4, ':');
410 if(name == 0) {
417 ret = socket_network_client(name
525 host_service_to_socket(const char* name, const char *serial) argument
[all...]
H A Dsockets.c410 asocket *create_local_service_socket(const char *name) argument
416 if (!strcmp(name,"jdwp")) {
419 if (!strcmp(name,"track-jdwp")) {
423 fd = service_to_fd(name);
427 D("LS(%d): bound to '%s' via %d\n", s->id, name, fd);
430 if ((!strncmp(name, "root:", 5) && getuid() != 0)
431 || !strncmp(name, "usb:", 4)
432 || !strncmp(name, "tcpip:", 6)) {
442 static asocket *create_host_service_socket(const char *name, const char* serial) argument
446 s = host_service_to_socket(name, seria
[all...]
H A Dsysdeps_win32.c107 char name[32]; member in struct:FHRec_
233 D( "adb_read: could not read %d bytes from %s\n", len, f->name );
248 D( "adb_file_write: could not write %d bytes from %s\n", len, f->name );
356 snprintf( f->name, sizeof(f->name), "%d(%s)", _fh_to_int(f), path );
396 snprintf( f->name, sizeof(f->name), "%d(%s)", _fh_to_int(f), path );
446 D( "adb_shutdown: %s\n", f->name);
460 D( "adb_close: %s\n", f->name);
609 snprintf( f->name, sizeo
[all...]
H A Dtransport.c98 dump_packet(const char* name, const char* func, apacket* p) argument
115 /* There is some non-ASCII name in the command, so dump
131 name, func, cmd, arg0, arg1, len);
137 read_packet(int fd, const char* name, apacket** ppacket) argument
143 if (!name) {
145 name = buff;
153 D("%s: read_packet (fd=%d), error ret=%d errno=%d: %s\n", name, fd, r, errno, strerror(errno));
161 dump_packet(name, "from remote", *ppacket);
168 write_packet(int fd, const char* name, apacket** ppacket) argument
173 if (!name) {
[all...]
H A Dusb_linux.c123 static inline int badname(const char *name) argument
125 while(*name) {
126 if(!isdigit(*name++)) return 1;
574 ** name, we have no further work to do.

Completed in 7168 milliseconds

12345678