/system/security/keystore/ |
H A D | keystore.cpp | 217 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data, size)); 526 // if salt was missing, generate one and write a new master key file with the salt. 793 * and write it. 809 // We won't even write to the blob directly with this BIO, so const_cast is okay. 1032 // generate master key, encrypt with password, write to file, initialize mMasterKey*.
|
/system/vold/ |
H A D | VolumeManager.cpp | 348 SLOGE("Failed to open new DM device for superblock write (%s)", strerror(errno)); 368 if (write(sbfd, &sb, sizeof(sb)) != sizeof(sb)) { 370 SLOGE("Failed to write superblock (%s)", strerror(errno)); 831 SLOGE("Couldn't allocate string to write ASEC name"); 1234 if (write(fd, nodepath, strlen(nodepath)) < 0) { 1235 SLOGE("Unable to write to ums lunfile (%s)", strerror(errno)); 1285 if (write(fd, &ch, 1) < 0) { 1286 SLOGE("Unable to write to ums lunfile (%s)", strerror(errno));
|
H A D | Xwarp.cpp | 75 if (write(fd, tmp, strlen(tmp)+1) < 0) { 76 SLOGE("Failed to write xwarp cfg (%s)", strerror(errno));
|
H A D | cryptfs.c | 191 if ((cnt = write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) { 192 SLOGE("Cannot write real block device footer\n"); 203 if ( (cnt = write(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { 204 SLOGE("Cannot write key for real block device %s\n", fname); 210 /* Compute the offset from the last write to the salt */ 220 if ( (cnt = write(fd, salt, SALT_LEN)) != SALT_LEN) { 221 SLOGE("Cannot write salt for real block device %s\n", fname); 367 /* For each byte, write out two ascii hex digits */ 1040 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR); 1069 * So compute the number of whole 4K blocks we should read/write, [all...] |
H A D | main.cpp | 109 write(fd, "add\n", 4);
|
H A D | vdc.c | 76 if (write(sock, final_cmd, strlen(final_cmd) + 1) < 0) { 77 perror("write");
|
/system/bluetooth/bluedroid/ |
H A D | bluetooth.c | 123 ALOGE("open(%s) for write failed: %s (%d)", rfkill_state_path, 127 sz = write(fd, &buffer, 1); 129 ALOGE("write(%s) failed: %s (%d)", rfkill_state_path, strerror(errno),
|
/system/bluetooth/brcm_patchram_plus/ |
H A D | brcm_patchram_plus.c | 604 write(uart_fd, buf, len);
|
/system/bluetooth/tools/ |
H A D | asocket_test.c | 278 printf("%d: write(%d)\n", gettid(), fd); 279 ret = write(fd, &buf, 1); 280 printf("%d: write(%d) = %d\n", gettid(), fd, ret); 495 // accept in one thread. close then write in another
|
H A D | pipetest.c | 75 printf("%d: write(%d)\n", gettid(), fd); 76 ret = write(fd, buf, len); 77 printf("%d: write(%d) = %d\n", gettid(), fd, ret);
|
H A D | socktest.c | 292 printf("%ld: write(%d)\n", pthread_self(), fd); 293 ret = write(fd, &buf, 1); 294 printf("%ld: write(%d) = %d\n", pthread_self(), fd, ret); 567 // accept in one thread. close then write in another
|
/system/core/adb/ |
H A D | adb.c | 152 * Redefine open and write for qemu_pipe.h that contains inlined references 157 #undef write macro 159 #define write adb_write macro 162 #undef write macro 164 #define write ___xxx_write macro
|
H A D | services.c | 215 r = write(fd, p, c);
|
H A D | sysdeps.h | 137 return write(fd, buf, len); 139 #undef write macro 140 #define write ___xxx_write macro 368 return write(fd, buf, len); 370 #undef write macro 371 #define write ___xxx_write macro
|
H A D | test_track_devices.c | 21 int len2 = write(fd, buf, len);
|
H A D | test_track_jdwp.c | 21 int len2 = write(fd, buf, len);
|
H A D | transport_local.c | 93 D("write remote packet: %04x arg0=%0x arg1=%0x data_length=%0x data_check=%0x magic=%0x\n", 97 D("remote local: write terminated\n"); 191 * Redefine open and write for qemu_pipe.h that contains inlined references 195 #undef write macro 197 #define write adb_write macro 200 #undef write macro 202 #define write ___xxx_write macro
|
H A D | usb_linux_client.c | 45 int (*write)(usb_handle *h, const void *data, int len); member in struct:usb_handle 190 D("about to write (fd=%d, len=%d)\n", h->fd, len); 236 h->write = usb_adb_write; 276 D("[ %s: write descriptors failed: errno=%d ]\n", USB_FFS_ADB_EP0, errno); 367 D("about to write (fd=%d, len=%d)\n", h->bulk_in, len); 446 h->write = usb_ffs_write; 477 return h->write(h, data, len);
|
/system/core/charger/ |
H A D | charger.c | 536 write(fd, event, strlen(event));
|
/system/core/debuggerd/ |
H A D | crasher.c | 58 write(2, &c, 1);
|
H A D | debuggerd.c | 67 amt = write(fd, string, len); 279 * currently assume it does.) We write to the file descriptor to 289 if (TEMP_FAILURE_RETRY(write(fd, "\0", 1)) != 1) { 363 write(fd, tombstone_path, strlen(tombstone_path));
|
H A D | utility.c | 44 write(log->tfd, buf, len);
|
/system/core/gpttool/ |
H A D | gpttool.c | 151 "usage: gpttool write <disk> [ <partition> ]*\n" 267 if (!strcmp(argv[1], "write")) { 367 write(fd, &ptbl, sizeof(ptbl));
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 357 void (*write)(const surface_t* s, context_t* c, member in struct:android::surface_t
|
/system/core/init/ |
H A D | bootchart.c | 61 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR);
|