Home
last modified time | relevance | path

Searched refs:artifact (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp135 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 …]
DMultiApkGenerator_test.cpp64 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()
DMultiApkGenerator.h56 const configuration::OutputArtifact& artifact,
65 bool UpdateManifest(const configuration::OutputArtifact& artifact,
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp209 std::optional<OutputArtifact> ToOutputArtifact(const ConfiguredArtifact& artifact, in ToOutputArtifact() argument
213 if (!artifact.name && !config.artifact_format) { in ToOutputArtifact()
220 (artifact.name) ? artifact.Name(apk_name, diag) in ToOutputArtifact()
221 : artifact.ToArtifactName(config.artifact_format.value(), apk_name, diag); in ToOutputArtifact()
234 if (!CopyXmlReferences(artifact.abi_group, config.abi_groups, &output_artifact.abis)) { in ToOutputArtifact()
236 << artifact.abi_group.value()); in ToOutputArtifact()
240 if (!CopyXmlReferences(artifact.locale_group, config.locale_groups, &output_artifact.locales)) { in ToOutputArtifact()
242 << artifact.locale_group.value()); in ToOutputArtifact()
246 if (!CopyXmlReferences(artifact.screen_density_group, config.screen_density_groups, in ToOutputArtifact()
249 << artifact.screen_density_group.value()); in ToOutputArtifact()
[all …]
DConfigurationParser.internal.h203 inline int GetMinSdk(const ConfiguredArtifact& artifact) { in GetMinSdk()
204 if (!artifact.android_sdk) { in GetMinSdk()
207 const auto& entry = android_sdks.find(artifact.android_sdk.value()); in GetMinSdk()
/frameworks/libs/systemui/motiontoollib/
Dbuild.gradle51 artifact = "com.google.protobuf:protoc:${protobuf_version}${PROTO_ARCH_SUFFIX}"
55 // The codegen for lite comes as a separate artifact
56artifact = "com.google.protobuf:protoc-gen-javalite:${protobuf_version}${PROTO_ARCH_SUFFIX}"
/frameworks/libs/systemui/viewcapturelib/
Dbuild.gradle47 artifact = "com.google.protobuf:protoc:${protobuf_version}${PROTO_ARCH_SUFFIX}"
51 // The codegen for lite comes as a separate artifact
52artifact = "com.google.protobuf:protoc-gen-javalite:${protobuf_version}${PROTO_ARCH_SUFFIX}"
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp397 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/
DBuilders.cpp324 configuration::ConfiguredArtifact artifact) { in AddArtifact() argument
325 config_.artifacts.push_back(std::move(artifact)); in AddArtifact()