Searched refs:timestamp (Results 1 – 8 of 8) sorted by relevance
/bootable/recovery/otautil/ |
D | ZipUtil.cpp | 37 const std::string& dest_path, const struct utimbuf* timestamp, in ExtractPackageRecursive() argument 79 if (dirCreateHierarchy(path.c_str(), UNZIP_DIRMODE, timestamp, true, sehnd) != 0) { in ExtractPackageRecursive() 110 if (timestamp != nullptr && utime(path.c_str(), timestamp)) { in ExtractPackageRecursive()
|
D | DirUtil.cpp | 62 const struct utimbuf *timestamp, bool stripFileName, in dirCreateHierarchy() argument 152 if (timestamp != NULL && utime(path_start, timestamp)) { in dirCreateHierarchy()
|
D | DirUtil.h | 43 const struct utimbuf *timestamp, bool stripFileName,
|
D | ZipUtil.h | 54 const std::string& dest_path, const struct utimbuf* timestamp,
|
/bootable/recovery/tests/component/ |
D | install_test.cpp | 164 std::string timestamp = android::base::GetProperty("ro.build.date.utc", ""); in TEST() local 165 ASSERT_NE("", timestamp); in TEST() 168 "ota-type=AB", "pre-device=" + device, "post-timestamp=" + timestamp, in TEST() 205 std::string timestamp = android::base::GetProperty("ro.build.date.utc", ""); in TEST() local 206 ASSERT_NE("", timestamp); in TEST() 209 "ota-type=AB", "pre-device=" + device, "post-timestamp=" + timestamp, in TEST()
|
/bootable/recovery/tests/unit/ |
D | dirutil_test.cpp | 91 constexpr struct utimbuf timestamp = { 1217592000, 1217592000 }; in TEST() local 93 ASSERT_EQ(0, dirCreateHierarchy(path.c_str(), mode, ×tamp, false, nullptr)); in TEST()
|
D | ziputil_test.cpp | 159 constexpr struct utimbuf timestamp = { 1217592000, 1217592000 }; in TEST() local 163 ExtractPackageRecursive(handle, "b", td.path, ×tamp, nullptr); in TEST()
|
/bootable/recovery/updater/ |
D | install.cpp | 413 constexpr struct utimbuf timestamp = { 1217592000, 1217592000 }; // 8/1/2008 default in PackageExtractDirFn() local 415 bool success = ExtractPackageRecursive(za, zip_path, dest_path, ×tamp, sehandle); in PackageExtractDirFn()
|