Home
last modified time | relevance | path

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

/packages/modules/ConfigInfrastructure/aconfigd/src/
Dtest_utils.rs26 pub flag_map: PathBuf, field
36 let flag_map = tmp_dir.path().join("flag.map"); in new() localVariable
40 std::fs::copy("./tests/data/flag.map", &flag_map).unwrap(); in new()
43 Self { tmp_dir, name: String::from("mockup"), package_map, flag_map, flag_val, flag_info } in new()
Dstorage_files.rs64 pub flag_map: Option<Mmap>, field
90 && same_mmap_contents(&self.flag_map, &other.flag_map) in eq()
133 flag_map: &Path, in from_container()
148 default_flag_map: flag_map.to_path_buf(), in from_container()
160 digest: get_files_digest(&[package_map, flag_map, flag_val, flag_info][..])?, in from_container()
165 copy_file(flag_map, &record.persist_flag_map, 0o444)?; in from_container()
177 flag_map: None, in from_container()
200 default_flag_map: PathBuf::from(pb.flag_map()), in from_pb()
220 flag_map: None, in from_pb()
260 if self.flag_map.is_none() { in get_flag_map()
[all …]
Dstorage_files_manager.rs70 && PathBuf::from(pb.flag_map()).exists() in add_storage_files_from_pb()
496 copy_file(&container.flag_map, &persist_flag_map, 0o444).unwrap(); in test_add_storage_files_from_pb()
504 pb.set_flag_map(container.flag_map.display().to_string()); in test_add_storage_files_from_pb()
532 &container.flag_map, in init_storage()
552 default_flag_map: container.flag_map.clone(), in test_add_storage_files_from_container()
565 container.flag_map.as_path(), in test_add_storage_files_from_container()
576 flag_map: None, in test_add_storage_files_from_container()
593 &container.flag_map, in test_add_storage_files_from_container()
621 std::fs::copy("./tests/data/container_with_more_flags.flag.map", &container.flag_map) in test_simple_update_container_storage_files()
633 &container.flag_map, in test_simple_update_container_storage_files()
[all …]
Dutils.rs197 let flag_map = tmp_dir.path().join("flag.map"); in test_copy_file() localVariable
198 copy_file(&Path::new("./tests/data/flag.map"), &flag_map, 0o644).unwrap(); in test_copy_file()
199 assert_eq!(get_file_perm_mode(&flag_map), 0o644); in test_copy_file()
Daconfigd.rs319 Path::new(request_pb.flag_map()), in handle_new_storage()
536 actual_request.set_flag_map(container.flag_map.display().to_string()); in add_mockup_container_storage()
555 assert!(has_same_content(&container.flag_map, &persist_flag_map)); in test_new_storage_request()
572 container.flag_map.as_path(), in test_new_storage_request()
585 entry.set_flag_map(container.flag_map.display().to_string()); in test_new_storage_request()
/packages/modules/ConfigInfrastructure/aconfigd/proto/
Daconfigd.proto25 optional string flag_map = 4; field
51 optional string flag_map = 3; field