Home
last modified time | relevance | path

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

/bootable/recovery/otafault/
Dota_io.h37 int ota_open(const char* path, int oflags);
39 int ota_open(const char* path, int oflags, mode_t mode);
Dota_io.cpp58 int ota_open(const char* path, int oflags) { in ota_open() function
66 int ota_open(const char* path, int oflags, mode_t mode) { in ota_open() function
/bootable/recovery/applypatch/
Dapplypatch.cpp192 unique_fd fd(ota_open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, S_IRUSR | S_IWUSR)); in SaveFileContents()
237 unique_fd fd(ota_open(partition, O_RDWR)); in WriteToPartition()
271 fd.reset(ota_open(partition, O_RDONLY)); in WriteToPartition()
279 unique_fd dc(ota_open("/proc/sys/vm/drop_caches", O_WRONLY)); in WriteToPartition()
336 fd.reset(ota_open(partition, O_RDWR)); in WriteToPartition()
/bootable/recovery/updater/
Dblockimg.cpp676 android::base::unique_fd fd(TEMP_FAILURE_RETRY(ota_open(fn.c_str(), O_RDONLY))); in LoadStash()
739 TEMP_FAILURE_RETRY(ota_open(fn.c_str(), O_WRONLY | O_CREAT | O_TRUNC, STASH_FILE_MODE))); in WriteStash()
766 android::base::unique_fd dfd(TEMP_FAILURE_RETRY(ota_open(dname.c_str(), in WriteStash()
1467 params.fd.reset(TEMP_FAILURE_RETRY(ota_open(blockdev_filename->data.c_str(), O_RDWR))); in PerformBlockImageUpdate()
1743 android::base::unique_fd fd(ota_open(blockdev_filename->data.c_str(), O_RDWR)); in RangeSha1Fn()
1804 android::base::unique_fd fd(ota_open(arg_filename->data.c_str(), O_RDONLY)); in CheckFirstBlockFn()
Dinstall.cpp444 ota_open(dest_path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR))); in PackageExtractFileFn()
978 unique_fd fd(ota_open(filename.c_str(), O_WRONLY, 0644)); in WipeBlockDeviceFn()