Home
last modified time | relevance | path

Searched refs:maybe_code (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DUtil.cpp309 Maybe<uint32_t> maybe_code = ExtractCompiledInt(version_code_attr, &error_msg); in ExtractAppInfoFromBinaryManifest() local
310 if (!maybe_code) { in ExtractAppInfoFromBinaryManifest()
315 app_info.version_code = maybe_code.value(); in ExtractAppInfoFromBinaryManifest()
320 Maybe<uint32_t> maybe_code = ExtractCompiledInt(revision_code_attr, &error_msg); in ExtractAppInfoFromBinaryManifest() local
321 if (!maybe_code) { in ExtractAppInfoFromBinaryManifest()
326 app_info.revision_code = maybe_code.value(); in ExtractAppInfoFromBinaryManifest()
DLink.cpp782 Maybe<uint32_t> maybe_code = ResourceUtils::ParseInt(version_code_attr->value); in ExtractAppInfoFromManifest() local
783 if (!maybe_code) { in ExtractAppInfoFromManifest()
788 app_info.version_code = maybe_code.value(); in ExtractAppInfoFromManifest()
793 Maybe<uint32_t> maybe_code = ResourceUtils::ParseInt(revision_code_attr->value); in ExtractAppInfoFromManifest() local
794 if (!maybe_code) { in ExtractAppInfoFromManifest()
799 app_info.revision_code = maybe_code.value(); in ExtractAppInfoFromManifest()