Home
last modified time | relevance | path

Searched refs:ManifestCategory (Results 1 - 9 of 9) sorted by relevance

/third_party/vulkan-loader/tests/framework/shim/
H A Dshim_common.cpp33 redirect_category(path, ManifestCategory::implicit_layer); in redirect_all_paths()
34 redirect_category(path, ManifestCategory::explicit_layer); in redirect_all_paths()
35 redirect_category(path, ManifestCategory::icd); in redirect_all_paths()
90 std::string category_path_name(ManifestCategory category) {
91 if (category == ManifestCategory::implicit_layer) return "ImplicitLayers";
92 if (category == ManifestCategory::explicit_layer)
108 void PlatformShim::set_fake_path([[maybe_unused]] ManifestCategory category, [[maybe_unused]] fs::path const& path) {}
111 void PlatformShim::add_manifest(ManifestCategory category, fs::path const& path) {
112 if (category == ManifestCategory::settings) {
114 } else if (category == ManifestCategory
[all...]
H A Dshim.h48 enum class ManifestCategory { implicit_layer, explicit_layer, icd, settings }; class
147 void redirect_category(fs::path const& new_path, ManifestCategory category);
150 void set_fake_path(ManifestCategory category, fs::path const& path);
156 void add_manifest(ManifestCategory category, fs::path const& path);
157 void add_unsecured_manifest(ManifestCategory category, fs::path const& path);
209 fs::path query_default_redirect_path(ManifestCategory category);
228 std::string category_path_name(ManifestCategory category);
/third_party/vulkan-loader/tests/framework/
H A Dtest_environment.cpp402 platform_shim->set_fake_path(ManifestCategory::icd, get_folder(ManifestLocation::driver).location());
403 platform_shim->set_fake_path(ManifestCategory::explicit_layer, get_folder(ManifestLocation::explicit_layer).location());
404 platform_shim->set_fake_path(ManifestCategory::implicit_layer, get_folder(ManifestLocation::implicit_layer).location());
504 platform_shim->add_manifest(ManifestCategory::icd, icds.back().manifest_path);
507 platform_shim->query_default_redirect_path(ManifestCategory::icd) / full_json_name;
527 platform_shim->add_manifest(ManifestCategory::icd, icds.back().manifest_path);
530 platform_shim->add_unsecured_manifest(ManifestCategory::icd, icds.back().manifest_path);
545 add_layer_impl(TestLayerDetails{layer_manifest, json_name}, ManifestCategory::implicit_layer);
548 add_layer_impl(TestLayerDetails{layer_manifest, json_name}, ManifestCategory::explicit_layer);
551 add_layer_impl(TestLayerDetails{layer_manifest, json_name}.set_is_fake(true), ManifestCategory
[all...]
H A Dtest_environment.h645 void add_layer_impl(TestLayerDetails layer_details, ManifestCategory category);
/third_party/vulkan-loader/tests/
H A Dloader_envvar_tests.cpp220 auto check_paths = [](DebugUtilsLogger const& debug_log, ManifestCategory category) { in TEST()
226 check_paths(env.debug_log, ManifestCategory::icd); in TEST()
227 check_paths(env.debug_log, ManifestCategory::implicit_layer); in TEST()
228 check_paths(env.debug_log, ManifestCategory::explicit_layer); in TEST()
H A Dloader_settings_tests.cpp1202 env.platform_shim->add_unsecured_manifest(ManifestCategory::settings, "jank_path"); in TEST()
1203 env.platform_shim->add_unsecured_manifest(ManifestCategory::settings, "jank_path2"); in TEST()
1235 env.platform_shim->add_manifest(ManifestCategory::settings, "jank_path"); in TEST()
1236 env.platform_shim->add_manifest(ManifestCategory::settings, "jank_path2"); in TEST()
H A Dloader_alloc_callback_tests.cpp438 env.platform_shim->add_manifest(ManifestCategory::implicit_layer, new_path); in TEST()
750 env.platform_shim->add_manifest(ManifestCategory::explicit_layer, new_path); in TEST()
H A Dloader_regression_tests.cpp3827 env.platform_shim->add_manifest(ManifestCategory::explicit_layer, null_path.str()); in TEST()
3845 env.platform_shim->add_manifest(ManifestCategory::icd, null_path.str()); in TEST()
3927 env.platform_shim->set_fake_path(ManifestCategory::icd, env.get_folder(ManifestLocation::driver_env_var).location()); in TEST()
3961 env.platform_shim->set_fake_path(ManifestCategory::icd, env.get_folder(ManifestLocation::driver_env_var).location()); in TEST()
4185 env.platform_shim->add_manifest(ManifestCategory::icd, new_path); in TEST()
4209 env.platform_shim->add_manifest(ManifestCategory::implicit_layer, new_path); in TEST()
H A Dloader_layer_tests.cpp989 env.platform_shim->add_manifest(ManifestCategory::implicit_layer, env.get_folder(ManifestLocation::override_layer).location()); in TEST()

Completed in 25 milliseconds