Home
last modified time | relevance | path

Searched refs:mtime (Results 1 – 10 of 10) sorted by relevance

/system/security/keystore2/src/
Did_rotation.rs107 let mtime = metadata.modified()?; in test_had_factory_reset_since_id_rotation() localVariable
108 let mtime = mtime.duration_since(UNIX_EPOCH)?; in test_had_factory_reset_since_id_rotation() localVariable
109 let mtime = in test_had_factory_reset_since_id_rotation() localVariable
110 mtime.checked_sub(ID_ROTATION_PERIOD).expect("Failed to subtract id rotation period"); in test_had_factory_reset_since_id_rotation()
111 let mtime = TimeVal::seconds(mtime.as_secs().try_into().unwrap()); in test_had_factory_reset_since_id_rotation() localVariable
117 utimes(&temp_file_path, &atime, &mtime)?; in test_had_factory_reset_since_id_rotation()
/system/libvintf/
DApex.cpp37 int64_t mtime; in DeviceVintfDirs() local
38 auto status = fileSystem->modifiedTime(kApexInfoFile, &mtime, error); in DeviceVintfDirs()
62 mtime_ = mtime; in DeviceVintfDirs()
100 int64_t mtime{}; in HasUpdate() local
102 status_t status = fileSystem->modifiedTime(kApexInfoFile, &mtime, &error); in HasUpdate()
110 return mtime != mtime_; in HasUpdate()
DFileSystem.cpp66 status_t FileSystemImpl::modifiedTime(const std::string& path, int64_t* mtime, in modifiedTime() argument
76 *mtime = stat_buf.st_mtime; in modifiedTime()
110 status_t FileSystemUnderPath::modifiedTime(const std::string& path, int64_t* mtime, in modifiedTime() argument
112 return mImpl.modifiedTime(mRootDir + path, mtime, error); in modifiedTime()
DHostFileSystem.cpp58 status_t HostFileSystem::modifiedTime(const std::string& path, int64_t* mtime, in modifiedTime() argument
64 status_t status = mImpl->modifiedTime(resolved, mtime, error); in modifiedTime()
/system/libvintf/include/vintf/
DFileSystem.h48 virtual status_t modifiedTime(const std::string& path, int64_t* mtime,
69 status_t modifiedTime(const std::string& path, int64_t* mtime, std::string* error) const;
77 status_t modifiedTime(const std::string& path, int64_t* mtime,
89 status_t modifiedTime(const std::string& path, int64_t* mtime,
/system/libvintf/include-host/vintf/
DHostFileSystem.h42 status_t modifiedTime(const std::string& path, int64_t* mtime,
/system/core/bootstat/
Dboot_event_record_store_test.cpp53 struct timeval mtime = {/* tv_sec */ value, /* tv_usec */ 0}; in CreateEmptyBootEventRecord() local
54 const struct timeval times[] = {atime, mtime}; in CreateEmptyBootEventRecord()
/system/core/libappfuse/tests/
DFuseAppLoopTest.cc159 EXPECT_EQ(0u, response_.entry_out.attr.mtime); in TEST_F()
218 EXPECT_EQ(0u, response_.attr_out.attr.mtime); in TEST_F()
251 EXPECT_EQ(0u, response_.attr_out.attr.mtime); in TEST_F()
/system/apex/apexd/
Dapexd.cpp3492 std::optional<int64_t> mtime = in CollectApexInfoList() local
3494 if (!mtime.has_value()) { in CollectApexInfoList()
3497 mtime.emplace(stat_buf.st_mtime); in CollectApexInfoList()
3505 instance.IsPreInstalledApex(apex), is_active, mtime, in CollectApexInfoList()
/system/libvintf/test/
DLibVintfTest.cpp4476 status_t modifiedTime(const std::string& path, int64_t* mtime, std::string* error) const { in modifiedTime()
4479 *mtime = 0; in modifiedTime()