Searched refs:get_mapped_file (Results 1 – 6 of 6) sorted by relevance
/build/make/tools/aconfig/aconfig_storage_read_api/tests/ |
D | storage_read_api_test.rs | 6 get_package_read_context, get_storage_file_version, mapped_file::get_mapped_file, 43 get_mapped_file(&storage_dir, "vendor", StorageFileType::PackageMap).unwrap_err() in test_unavailable_stoarge() 60 get_mapped_file(&storage_dir, "mockup", StorageFileType::PackageMap).unwrap() in test_package_context_query() 91 get_mapped_file(&storage_dir, "mockup", StorageFileType::PackageMap).unwrap() in test_none_exist_package_context_query() 106 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagMap).unwrap() }; in test_flag_context_query() 132 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagMap).unwrap() }; in test_none_exist_flag_context_query() 148 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagVal).unwrap() }; in test_boolean_flag_value_query() 162 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagVal).unwrap() }; in test_invalid_boolean_flag_value_query() 176 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagInfo).unwrap() }; in test_flag_info_query() 193 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagInfo).unwrap() }; in test_invalid_boolean_flag_info_query()
|
/build/make/tools/aconfig/aconfig_storage_read_api/src/ |
D | lib.rs | 78 unsafe { crate::mapped_file::get_mapped_file(STORAGE_LOCATION, container, file_type) } in get_mapped_storage_file() 393 use crate::mapped_file::get_mapped_file; 428 get_mapped_file(&storage_dir, "mockup", StorageFileType::PackageMap).unwrap() in test_package_context_query() 458 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagMap).unwrap() }; in test_flag_context_query() 483 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagVal).unwrap() }; in test_flag_value_query() 496 unsafe { get_mapped_file(&storage_dir, "mockup", StorageFileType::FlagInfo).unwrap() }; in test_flag_info_query()
|
D | mapped_file.rs | 49 pub unsafe fn get_mapped_file( in get_mapped_file() function 79 let mmaped_file = unsafe { get_mapped_file(storage_dir, "mockup", file_type).unwrap() }; in map_and_verify()
|
/build/make/tools/aconfig/aconfig_storage_read_api/include/aconfig_storage/ |
D | aconfig_storage_read_api.hpp | 126 Result<MappedStorageFile*> get_mapped_file(
|
/build/make/tools/aconfig/aconfig/templates/ |
D | cpp_source_file.template | 123 auto package_map_file = aconfig_storage::get_mapped_file( 140 auto flag_val_map = aconfig_storage::get_mapped_file(
|
/build/make/tools/aconfig/aconfig_storage_read_api/ |
D | aconfig_storage_read_api.cpp | 107 Result<MappedStorageFile*> get_mapped_file( in get_mapped_file() function
|