Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tools/aapt2/optimize/
H A DResourcePathShortener.h31 class ResourcePathShortener : public IResourceTableConsumer {
33 explicit ResourcePathShortener(std::map<std::string, std::string>& path_map_out);
38 DISALLOW_COPY_AND_ASSIGN(ResourcePathShortener);
H A DResourcePathShortener_test.cpp53 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST()
92 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST()
112 ASSERT_TRUE(ResourcePathShortener(path_map).Consume(context.get(), table.get())); in TEST()
138 ASSERT_TRUE(ResourcePathShortener(expected_mapping).Consume(context.get(), table1.get())); in TEST()
158 ASSERT_TRUE(ResourcePathShortener(actual_mapping).Consume(context.get(), table2.get())); in TEST()
H A DResourcePathShortener.cpp36 ResourcePathShortener::ResourcePathShortener( in ResourcePathShortener() function in aapt::ResourcePathShortener
84 bool ResourcePathShortener::Consume(IAaptContext* context, ResourceTable* table) { in Consume()
/aosp12/frameworks/base/tools/aapt2/
H A DAndroid.bp132 "optimize/ResourcePathShortener.cpp",
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DOptimize.cpp155 ResourcePathShortener shortener(options_.table_flattener_options.shortened_path_map); in Run()