Searched refs:OpenFile (Results 1 – 3 of 3) sorted by relevance
/system/core/init/ |
D | util.cpp | 183 static int OpenFile(const std::string& path, int flags, mode_t mode) { in OpenFile() function 202 OpenFile(path, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC | O_CLOEXEC, 0600))); in WriteFile()
|
/system/core/fastboot/ |
D | fastboot.cpp | 1189 virtual int OpenFile(const std::string& name) const = 0; 1305 int fd = source_.OpenFile(image->img_name); in FlashImages() 1333 int fd = source_.OpenFile("super_empty.img"); in UpdateSuperPartition() 1371 int OpenFile(const std::string& name) const override; 1381 int ZipImageSource::OpenFile(const std::string& name) const { in OpenFile() function in ZipImageSource 1401 int OpenFile(const std::string& name) const override; 1412 int LocalImageSource::OpenFile(const std::string& name) const { in OpenFile() function in LocalImageSource
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 115 FileDescriptorPtr OpenFile(const char* path, in OpenFile() function 367 source_fd_ = OpenFile(source_path_.c_str(), O_RDONLY, false, &err); in OpenCurrentPartition() 387 target_fd_ = OpenFile(target_path_.c_str(), flags, true, &err); in OpenCurrentPartition()
|