/system/security/keystore2/src/ |
D | id_rotation.rs | 107 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/ |
D | Apex.cpp | 37 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()
|
D | FileSystem.cpp | 66 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()
|
D | HostFileSystem.cpp | 58 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/ |
D | FileSystem.h | 48 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/ |
D | HostFileSystem.h | 42 status_t modifiedTime(const std::string& path, int64_t* mtime,
|
/system/core/bootstat/ |
D | boot_event_record_store_test.cpp | 53 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/ |
D | FuseAppLoopTest.cc | 159 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/ |
D | apexd.cpp | 3492 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/ |
D | LibVintfTest.cpp | 4476 status_t modifiedTime(const std::string& path, int64_t* mtime, std::string* error) const { in modifiedTime() 4479 *mtime = 0; in modifiedTime()
|