Home
last modified time | relevance | path

Searched refs:in_fd (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/payload_generator/
Dfull_update_generator.cc145 int in_fd = open(new_part.path.c_str(), O_RDONLY, 0); in GenerateOperations() local
146 TEST_AND_RETURN_FALSE(in_fd >= 0); in GenerateOperations()
147 ScopedFdCloser in_fd_closer(&in_fd); in GenerateOperations()
175 in_fd, in GenerateOperations()
Dpayload_file.cc267 int in_fd = open(data_blobs_path.c_str(), O_RDONLY, 0); in ReorderDataBlobs() local
268 TEST_AND_RETURN_FALSE_ERRNO(in_fd >= 0); in ReorderDataBlobs()
269 ScopedFdCloser in_fd_closer(&in_fd); in ReorderDataBlobs()
287 ssize_t rc = pread(in_fd, buf.data(), buf.size(), aop.op.data_offset()); in ReorderDataBlobs()
/system/extras/simpleperf/
Dcmd_api.cpp181 android::base::unique_fd in_fd(FileHelper::OpenReadOnly(path)); in CollectRecordingData() local
182 if (in_fd == -1) { in CollectRecordingData()
187 ssize_t nread = TEMP_FAILURE_RETRY(read(in_fd, buffer.data(), buffer.size())); in CollectRecordingData()
Dcmd_record.cpp634 android::base::unique_fd in_fd(FileHelper::OpenReadOnly(in_filename)); in WriteRecordDataToOutFd() local
635 if (in_fd == -1) { in WriteRecordDataToOutFd()
641 ssize_t n = TEMP_FAILURE_RETRY(read(in_fd, buf, sizeof(buf))); in WriteRecordDataToOutFd()
/system/core/adb/client/
Dcommandline.cpp822 static int adb_sideload_legacy(const char* filename, int in_fd, int size) { in adb_sideload_legacy() argument
837 if (!ReadFdExactly(in_fd, buf, xfer)) { in adb_sideload_legacy()