Home
last modified time | relevance | path

Searched refs:OpenFile (Results 1 – 6 of 6) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Destimate_cow_from_nonab_ota.cpp65 unique_fd OpenFile(const std::string& path);
113 unique_fd TargetFilesPackage::OpenFile(const std::string& path) { in OpenFile() function in android::snapshot::TargetFilesPackage
149 auto fd = OpenFile(path); in OpenImage()
180 auto fd = OpenFile("META/misc_info.txt"); in GetDynamicPartitionNames()
Dsnapshot.cpp2390 auto SnapshotManager::OpenFile(const std::string& file, int lock_flags) in OpenFile() function in android::snapshot::SnapshotManager
2427 return OpenFile(lock_file, lock_flags); in OpenLock()
/system/update_engine/payload_consumer/
Dpartition_writer.cc88 FileDescriptorPtr OpenFile(const char* path, in OpenFile() function
265 source_fd_ = OpenFile(source_path_.c_str(), O_RDONLY, false, &err); in OpenSourcePartition()
298 target_fd_ = OpenFile(target_path_.c_str(), flags, true, &err); in Init()
/system/core/fastboot/
Dfastboot.cpp1422 virtual unique_fd OpenFile(const std::string& name) const = 0;
1544 unique_fd fd = source_.OpenFile(image->img_name); in FlashImages()
1572 unique_fd fd = source_.OpenFile("super_empty.img"); in UpdateSuperPartition()
1610 unique_fd OpenFile(const std::string& name) const override;
1620 unique_fd ZipImageSource::OpenFile(const std::string& name) const { in OpenFile() function in ZipImageSource
1641 unique_fd OpenFile(const std::string& name) const override;
1652 unique_fd LocalImageSource::OpenFile(const std::string& name) const { in OpenFile() function in LocalImageSource
/system/core/init/
Dutil.cpp179 static int OpenFile(const std::string& path, int flags, mode_t mode) { in OpenFile() function
198 OpenFile(path, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC | O_CLOEXEC, 0600))); in WriteFile()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h454 static std::unique_ptr<LockedFile> OpenFile(const std::string& file, int lock_flags);