Searched refs:res_id (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/
H A DResourceTable.cpp310 const ResourceId& res_id,
315 return AddResourceImpl(name, res_id, config, product, std::move(value), ValidateName,
365 bool ResourceTable::AddResourceImpl(const ResourceNameRef& name, const ResourceId& res_id, argument
383 if (res_id.is_valid_dynamic() && package->id && package->id.value() != res_id.package_id()) {
385 << "trying to add resource '" << name << "' with ID " << res_id
392 if (res_id.is_valid_dynamic() && type->id && type->id.value() != res_id.type_id()) {
394 << "trying to add resource '" << name << "' with ID " << res_id
401 if (res_id
309 AddResource(const ResourceNameRef& name, const ResourceId& res_id, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
443 SetSymbolState(const ResourceNameRef& name, const ResourceId& res_id, const Symbol& symbol, IDiagnostics* diag) argument
448 SetSymbolStateAllowMangled(const ResourceNameRef& name, const ResourceId& res_id, const Symbol& symbol, IDiagnostics* diag) argument
455 SetSymbolStateImpl(const ResourceNameRef& name, const ResourceId& res_id, const Symbol& symbol, NameValidator name_validator, IDiagnostics* diag) argument
[all...]
H A DResourceTable.h201 bool AddResource(const ResourceNameRef& name, const ResourceId& res_id,
227 bool SetSymbolState(const ResourceNameRef& name, const ResourceId& res_id,
230 bool SetSymbolStateAllowMangled(const ResourceNameRef& name, const ResourceId& res_id,
285 bool AddResourceImpl(const ResourceNameRef& name, const ResourceId& res_id,
294 bool SetSymbolStateImpl(const ResourceNameRef& name, const ResourceId& res_id,
H A DResource.h140 ResourceId(uint32_t res_id); // NOLINT(implicit)
212 inline ResourceId::ResourceId(uint32_t res_id) : id(res_id) {} argument
252 const ResourceId& res_id) {
256 << res_id.id;
251 operator <<(::std::ostream& out, const ResourceId& res_id) argument
/frameworks/base/cmds/idmap/
H A Dinspect.cpp148 status_t resource_metadata(const AssetManager& am, uint32_t res_id, argument
152 if (!rt.getResourceName(res_id, false, &data)) {
153 printe("failed to get resource name id=0x%08x\n", res_id);
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp370 const ResourceId res_id(package->id.value(), type->id,
388 << " (" << res_id << ") with configuration '"
393 if (!table_->AddResourceAllowMangled(name, res_id, config, {}, std::move(resource_value),
402 if (!table_->SetSymbolStateAllowMangled(name, res_id, symbol, context_->GetDiagnostics())) {
409 auto cache_iter = id_index_.find(res_id);
411 id_index_.insert({res_id, name});
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp296 ResourceId res_id = table.identifierForName( local
299 if (!res_id.is_valid()) {
305 s = LookupAttributeInTable(table, res_id);
308 s->id = res_id;

Completed in 257 milliseconds