/system/core/healthd/ |
H A D | BatteryMonitor.cpp | 138 ssize_t count = TEMP_FAILURE_RETRY(read(fd, buf, size));
|
/system/core/init/ |
H A D | init.cpp | 187 * 512 bytes read from it are written into Linux RNG. QA is expected to catch 223 read(hwrandom_fd, buf, sizeof(buf) - total_bytes_written)); 225 ERROR("Failed to read from /dev/hw_random: %s\n", strerror(errno)); 228 ERROR("Failed to read from /dev/hw_random: EOF\n"); 616 // kmsg and null, otherwise we won't be able to remount / read-only
|
H A D | builtins.cpp | 663 // Run fsck once the file system is remounted in read-only mode. 788 rc = read(fd1, p, brtr);
|
H A D | devices.cpp | 775 nr = read(fw_fd, buf, sizeof(buf));
|
/system/core/libmemunreachable/ |
H A D | MemUnreachable.cpp | 228 if (!it->read) {
|
/system/core/libsparse/ |
H A D | output_file.c | 325 ret = read(fd, ptr, len - total);
|
/system/core/libutils/ |
H A D | Looper.cpp | 427 TEMP_FAILURE_RETRY(read(mWakeEventFd, &counter, sizeof(uint64_t)));
|
/system/core/logd/ |
H A D | LogKlog.cpp | 245 retval = read(cli->getSocket(), buffer + len, sizeof(buffer) - 1 - len);
|
H A D | LogStatistics.cpp | 48 ssize_t ret = read(fd, buffer, sizeof(buffer));
|
/system/extras/f2fs_utils/ |
H A D | f2fs_sparseblock.c | 158 /* read blocks */ 169 ret = read(fd, buf, len); 171 SLOGE("failed to read\n"); 175 SLOGE("failed to read all\n"); 331 SLOGE("Could not read sit block at block %"PRIu64, address); 398 SLOGE("Failed to read superblock"); 585 SLOGE("failed to read all\n");
|
/system/keymaster/ |
H A D | rsa_operation.cpp | 316 if (!src.read(dest->get() + padding_len, src.available_read()))
|
/system/media/audio_utils/ |
H A D | echo_reference.c | 30 // echo reference state: bit field indicating if read, write or both are active. 41 audio_format_t rd_format; // read sample format 42 uint32_t rd_channel_count; // read number of channels 43 uint32_t rd_sampling_rate; // read sampling rate in Hz 44 size_t rd_frame_size; // read frame size (bytes per sample) 63 pthread_mutex_t lock; // mutex protecting read/write concurrency 64 pthread_cond_t cond; // condition signaled when data is ready to read 198 // output so buffer size is driven by both write and read sample rates 307 ALOGV("echo_reference_read() stop read"); 317 ALOGV("echo_reference_read() start read"); [all...] |
/system/media/camera/docs/ |
H A D | metadata_helpers.py | 337 x = -1 # since the first read is always '' 339 while buf.tell() > 0 and buf.read(1) != '\n':
|
/system/vold/ |
H A D | Utils.cpp | 361 while ((n = TEMP_FAILURE_RETRY(read(fd, &buf[0], std::min(sizeof(buf), bytes)))) > 0) { 511 PLOG(ERROR) << "Failed to read supported filesystems";
|
/system/core/libpixelflinger/ |
H A D | scanline.cpp | 711 // read color (convert to 8 bits by keeping only the integer part) 746 // read texture 752 tx.surface.read(&tx.surface, c, u, v, &texel); 786 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]); 787 tx.surface.read(&tx.surface, c, u0, v1, &texels[1]); 788 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]); 789 tx.surface.read(&tx.surface, c, u1, v1, &texels[3]); 925 c->state.buffers.color.read(
|
/system/core/adb/ |
H A D | sysdeps_win32.cpp | 153 D("load_file: could not read %ld bytes from '%s'", file_size, fn); 327 D( "adb_read: could not read %d bytes from %s", len, f->name ); 587 // Just in case _strerror() returned a read-only string, check if 589 // implies that the string is not read-only. 597 // read-only string was returned, so fallback to whatever 1288 // just called read() (which called ReadFile(), which called ReadConsoleA()) 1369 // of read() with errno == EINTR. Note that there is no event on 1432 // Note that we read the control key state from the passed in argument 2112 // Disable ENABLE_PROCESSED_INPUT so that Ctrl-C is read instead of 2136 // read fro 2172 #undef read macro [all...] |
/system/bt/btif/src/ |
H A D | btif_core.c | 350 read(addr_fd, val, FACTORY_BT_BDADDR_STORAGE_LEN);
|
H A D | btif_pan.c | 745 OSI_NO_INTR(ret = read(fd, btpan_cb.congest_packet, 749 BTIF_TRACE_ERROR("%s unable to read from driver: %s", __func__, strerror(errno));
|
/system/core/logcat/ |
H A D | logcat.cpp | 925 int n = read(fd, cmdline, sizeof(cmdline)-1 ); 1174 logcat_panic(false, "failed to read data"); 1225 logcat_panic(false, "read: unexpected EOF!\n"); 1234 logcat_panic(false, "read: unexpected EOF!\n"); 1237 logcat_panic(false, "read: unexpected length.\n"); 1239 logcat_panic(false, "logcat read failure");
|
/system/netd/server/ |
H A D | MDnsSdListener.cpp | 628 read(mCtrlSocketPair[0], &readBuf, 1);
|
/system/netd/tests/ |
H A D | netd_test.cpp | 97 // FrameworkListener expects the whole command in one read. 106 int nread = read(sock, buffer, sizeof(buffer));
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
H A D | TestServiceClient.java | 96 String message = "Failed to read intent extra input."; 625 if (fileInputStream.read(input) != input.length) {
|
/system/update_engine/common/ |
H A D | utils.cc | 83 // Number of bytes to read from a file to attempt to detect its contents. Used 198 ssize_t rc = HANDLE_EINTR(read(fd, c_buf + bytes_read, count - bytes_read)); 210 // read from this fd. 322 // Reads from an open file |fp|, appending the read content to the container 725 // to read the ext2 superblock (located at offset 1024) and the squashfs 731 PLOG(ERROR) << "Unable to read the file system header:"; 825 // The first 2 KiB is enough to read the ext2 superblock (located at offset 834 // The first 96 is enough to read the squashfs superblock.
|
/system/core/sdcard/ |
H A D | sdcard.c | 104 /* Maximum number of bytes to read in one request. */ 250 /* To save memory, we never use the contents of the request buffer and the read 1239 /* Don't access any other fields of hdr or req beyond this point, the read buffer 1637 ssize_t len = TEMP_FAILURE_RETRY(read(fuse->fd, 1744 * read the current state. */ 1753 int res = read(nfd, event_buf, sizeof(event_buf)); 1757 ERROR("failed to read inotify event: %s\n", strerror(errno)); 1768 * that swapped in new data; re-arm the watch and read. */ 1873 snprintf(fuse_read.dest_path, PATH_MAX, "/mnt/runtime/read/%s", label); 1961 snprintf(dest_path_read, PATH_MAX, "/mnt/runtime/read/ [all...] |
/system/core/fastboot/ |
H A D | fastboot.cpp | 171 if(read(fd, data, *sz) != *sz) goto oops; 705 die("cannot sparse read file\n"); 1232 fprintf(stderr, "Cannot read image: %s\n", strerror(errno));
|