Searched refs:artifact (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 135 for (const OutputArtifact& artifact : options.apk_artifacts) { in FromBaseApk() local 139 wrapped_context.SetSource(artifact.name); in FromBaseApk() 142 const auto& it = artifacts_to_keep.find(artifact.name); in FromBaseApk() 144 filtered_artifacts.insert(artifact.name); in FromBaseApk() 146 context_->GetDiagnostics()->Note(DiagMessage(artifact.name) << "skipping artifact"); in FromBaseApk() 151 kept_artifacts.insert(artifact.name); in FromBaseApk() 156 FilterTable(context_, artifact, *apk_->GetResourceTable(), &filters); in FromBaseApk() 164 if (!UpdateManifest(artifact, &manifest, diag)) { in FromBaseApk() 173 file::AppendPath(&out, artifact.name); in FromBaseApk() 199 for (const auto& artifact : kept_artifacts) { in FromBaseApk() local [all …]
|
D | MultiApkGenerator_test.cpp | 64 const configuration::OutputArtifact& artifact, in FilterTable() argument 67 return MultiApkGenerator::FilterTable(context, artifact, old_table, filter_chain); in FilterTable() 113 OutputArtifact artifact = test::ArtifactBuilder().AddDensity(xhdpi_).SetAndroidSdk(23).Build(); in TEST_F() local 117 generator.FilterTable(ctx.get(), artifact, *apk.GetResourceTable(), &chain); in TEST_F() 140 OutputArtifact artifact = test::ArtifactBuilder().AddDensity(xhdpi_).SetAndroidSdk(4).Build(); in TEST_F() local 144 generator.FilterTable(ctx.get(), artifact, *apk.GetResourceTable(), &chain); in TEST_F() 165 OutputArtifact artifact = test::ArtifactBuilder().AddDensity(xhdpi_).Build(); in TEST_F() local 169 generator.FilterTable(ctx.get(), artifact, *apk.GetResourceTable(), &chain); in TEST_F()
|
D | MultiApkGenerator.h | 56 const configuration::OutputArtifact& artifact, 65 bool UpdateManifest(const configuration::OutputArtifact& artifact,
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.cpp | 210 Maybe<OutputArtifact> ToOutputArtifact(const ConfiguredArtifact& artifact, in ToOutputArtifact() argument 214 if (!artifact.name && !config.artifact_format) { in ToOutputArtifact() 221 (artifact.name) ? artifact.Name(apk_name, diag) in ToOutputArtifact() 222 : artifact.ToArtifactName(config.artifact_format.value(), apk_name, diag); in ToOutputArtifact() 235 if (!CopyXmlReferences(artifact.abi_group, config.abi_groups, &output_artifact.abis)) { in ToOutputArtifact() 237 << artifact.abi_group.value()); in ToOutputArtifact() 241 if (!CopyXmlReferences(artifact.locale_group, config.locale_groups, &output_artifact.locales)) { in ToOutputArtifact() 243 << artifact.locale_group.value()); in ToOutputArtifact() 247 if (!CopyXmlReferences(artifact.screen_density_group, config.screen_density_groups, in ToOutputArtifact() 250 << artifact.screen_density_group.value()); in ToOutputArtifact() [all …]
|
D | ConfigurationParser_test.cpp | 53 void PrintTo(const ConfiguredArtifact& artifact, std::ostream* os) { in PrintTo() argument 55 << "\n name: " << artifact.name << "\n sdk: " << artifact.android_sdk in PrintTo() 56 << "\n abi: " << artifact.abi_group << "\n density: " << artifact.screen_density_group in PrintTo() 57 << "\n locale: " << artifact.locale_group in PrintTo() 58 << "\n features: " << artifact.device_feature_group in PrintTo() 59 << "\n textures: " << artifact.gl_texture_group << "\n}\n"; in PrintTo()
|
D | ConfigurationParser.internal.h | 202 inline int GetMinSdk(const ConfiguredArtifact& artifact) { in GetMinSdk() 203 if (!artifact.android_sdk) { in GetMinSdk() 206 const auto& entry = android_sdks.find(artifact.android_sdk.value()); in GetMinSdk()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 397 for (const OutputArtifact& artifact : options_.apk_artifacts.value()) { in Action() local 398 std::cout << artifact.name << std::endl; in Action() 405 for (const StringPiece& artifact : util::Tokenize(artifact_str, ',')) { in Action() local 406 options_.kept_artifacts.insert(artifact.to_string()); in Action()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 322 configuration::ConfiguredArtifact artifact) { in AddArtifact() argument 323 config_.artifacts.push_back(std::move(artifact)); in AddArtifact()
|