Searched refs:res_id (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/services/net/java/android/net/netlink/ |
H A D | StructNfGenMsg.java | 38 final public short res_id; // N.B.: this is big endian in the kernel field in class:StructNfGenMsg 43 res_id = (short) 0; 49 byteBuffer.putShort(res_id);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 328 bool ResourceTable::AddResourceWithId(const ResourceNameRef& name, const ResourceId& res_id, argument 331 return AddResourceImpl(name, res_id, config, product, std::move(value), ResourceNameValidator, 388 bool ResourceTable::AddResourceImpl(const ResourceNameRef& name, const ResourceId& res_id, argument 402 if (res_id.is_valid_dynamic() && package->id && package->id.value() != res_id.package_id()) { 403 diag->Error(DiagMessage(source) << "trying to add resource '" << name << "' with ID " << res_id 410 if (res_id.is_valid_dynamic() && type->id && type->id.value() != res_id.type_id()) { 412 << "trying to add resource '" << name << "' with ID " << res_id << " but type '" 418 if (res_id 466 SetVisibilityWithId(const ResourceNameRef& name, const Visibility& visibility, const ResourceId& res_id, IDiagnostics* diag) argument 471 SetVisibilityWithIdMangled(const ResourceNameRef& name, const Visibility& visibility, const ResourceId& res_id, IDiagnostics* diag) argument 477 SetVisibilityImpl(const ResourceNameRef& name, const Visibility& visibility, const ResourceId& res_id, NameValidator name_validator, IDiagnostics* diag) argument [all...] |
H A D | ResourceTable.h | 189 bool AddResourceWithId(const ResourceNameRef& name, const ResourceId& res_id, 215 const ResourceId& res_id, IDiagnostics* diag); 217 const ResourceId& res_id, IDiagnostics* diag); 279 bool AddResourceImpl(const ResourceNameRef& name, const ResourceId& res_id, 289 const ResourceId& res_id, NameValidator name_validator, 298 bool SetSymbolStateImpl(const ResourceNameRef& name, const ResourceId& res_id,
|
H A D | Resource.h | 142 ResourceId(uint32_t res_id); // NOLINT(implicit) 226 inline ResourceId::ResourceId(uint32_t res_id) : id(res_id) {} argument 267 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceId& res_id) { argument 268 return out << res_id.to_string();
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 303 ResourceId res_id; local 319 res_id = table.identifierForName(real_entry16.data(), real_entry16.size(), type16.data(), 322 if (res_id.is_valid()) { 327 if (!res_id.is_valid()) { 333 s = LookupAttributeInTable(table, res_id); 336 s->id = res_id; 337 s->is_dynamic = table.isResourceDynamic(res_id.id);
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | BinaryResourceParser.cpp | 358 const ResourceId res_id(package->id.value(), type->id, static_cast<uint16_t>(it.index())); 374 << res_id << ") with configuration '" << config << "'"); 378 if (!table_->AddResourceWithIdMangled(name, res_id, config, {}, std::move(resource_value), 383 const uint32_t type_spec_flags = entry_type_spec_flags_[res_id]; 390 if (!table_->SetVisibilityWithIdMangled(name, visibility, res_id, diag_)) { 405 entry_type_spec_flags_.erase(res_id); 410 auto cache_iter = id_index_.find(res_id); 412 id_index_.insert({res_id, name});
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 148 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/xml/ |
H A D | XmlDom.cpp | 239 uint32_t res_id = parser->getAttributeNameResID(i); local 240 if (res_id > 0) { 241 attr.compiled_attribute = AaptAttribute(::aapt::Attribute(), {res_id});
|
Completed in 223 milliseconds