Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/otautil/
DZipUtil.cpp37 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()
DDirUtil.cpp62 const struct utimbuf *timestamp, bool stripFileName, in dirCreateHierarchy() argument
152 if (timestamp != NULL && utime(path_start, timestamp)) { in dirCreateHierarchy()
DDirUtil.h43 const struct utimbuf *timestamp, bool stripFileName,
DZipUtil.h54 const std::string& dest_path, const struct utimbuf* timestamp,
/bootable/recovery/tests/component/
Dinstall_test.cpp164 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/
Ddirutil_test.cpp91 constexpr struct utimbuf timestamp = { 1217592000, 1217592000 }; in TEST() local
93 ASSERT_EQ(0, dirCreateHierarchy(path.c_str(), mode, &timestamp, false, nullptr)); in TEST()
Dziputil_test.cpp159 constexpr struct utimbuf timestamp = { 1217592000, 1217592000 }; in TEST() local
163 ExtractPackageRecursive(handle, "b", td.path, &timestamp, nullptr); in TEST()
/bootable/recovery/updater/
Dinstall.cpp413 constexpr struct utimbuf timestamp = { 1217592000, 1217592000 }; // 8/1/2008 default in PackageExtractDirFn() local
415 bool success = ExtractPackageRecursive(za, zip_path, dest_path, &timestamp, sehandle); in PackageExtractDirFn()