Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Did_rotation.rs105 let mut timestamp_file_path = temp_dir.path().to_owned(); in set_up() localVariable
106 timestamp_file_path.push(TIMESTAMP_FILE_NAME); in set_up()
109 (temp_dir, timestamp_file_path, id_rotation_state) in set_up()
114 let (_temp_dir, timestamp_file_path, id_rotation_state) = set_up(); in test_timestamp_creation()
118 assert!(!timestamp_file_path.exists()); in test_timestamp_creation()
125 assert!(timestamp_file_path.exists()); in test_timestamp_creation()
127 let metadata = fs::metadata(&timestamp_file_path).unwrap(); in test_timestamp_creation()
133 let (_temp_dir, timestamp_file_path, id_rotation_state) = set_up(); in test_existing_timestamp()
140 fs::File::create(&timestamp_file_path).unwrap(); in test_existing_timestamp()
143 utimes(&timestamp_file_path, &atime, &mtime).unwrap(); in test_existing_timestamp()
[all …]