Searched refs:overlay_resource (Results 1 – 4 of 4) sorted by relevance
212 Result<android::Res_value> overlay_resource = overlay_it->GetAttributeValue("value"); in CreateResourceMapping() local213 if (!overlay_resource) { in CreateResourceMapping()217 if (overlay_resource->dataType == Res_value::TYPE_STRING) { in CreateResourceMapping()218 overlay_resource->data += string_pool_offset; in CreateResourceMapping()221 if (utils::IsReference(overlay_resource->dataType)) { in CreateResourceMapping()224 bool rewrite_id = package_id == EXTRACT_PACKAGE(overlay_resource->data); in CreateResourceMapping()226 *target_resource, OverlayData::ResourceIdValue{overlay_resource->data, rewrite_id}}); in CreateResourceMapping()231 .value = TargetValue{.data_type = overlay_resource->dataType, in CreateResourceMapping()232 .data_value = overlay_resource->data}}}); in CreateResourceMapping()
167 if (auto overlay_resource = std::get_if<OverlayData::ResourceIdValue>(&value)) { in AddMapping() local171 target_map_.insert(std::make_pair(target_resource, overlay_resource->overlay_id)); in AddMapping()172 if (overlay_resource->rewrite_id) { in AddMapping()175 overlay_map_.insert(std::make_pair(overlay_resource->overlay_id, target_resource)); in AddMapping()
324 if (auto overlay_resource = std::get_if<ResourceId>(&mapping.second)) { in FromResourceMapping() local325 data->target_entries_.push_back({mapping.first, *overlay_resource}); in FromResourceMapping()
76 ResourceId overlay_resource, bool rewrite) { in MappingExists() argument93 if (*actual_overlay_resource != overlay_resource) { in MappingExists()94 return Error(R"(Expected id: "0x%02x" Actual id: "0x%02x")", overlay_resource, in MappingExists()99 auto overlay_iter = overlay_map.find(overlay_resource); in MappingExists()