Lines Matching refs:table
220 const android::ResTable& table = assets_.getResources(false); in GetAssignedPackageIds() local
221 const size_t package_count = table.getBasePackageCount(); in GetAssignedPackageIds()
223 package_map[table.getBasePackageId(i)] = in GetAssignedPackageIds()
224 util::Utf16ToUtf8(android::StringPiece16(table.getBasePackageName(i).string())); in GetAssignedPackageIds()
230 const android::ResTable& table, ResourceId id) { in LookupAttributeInTable() argument
233 ssize_t count = table.lockBag(id.id, &entry); in LookupAttributeInTable()
235 table.unlockBag(entry); in LookupAttributeInTable()
266 if (!table.getResourceName(map_entry.name.ident, false, &entry_name)) { in LookupAttributeInTable()
267 table.unlockBag(entry); in LookupAttributeInTable()
283 table.unlockBag(entry); in LookupAttributeInTable()
289 const android::ResTable& table = assets_.getResources(false); in FindByName() local
296 ResourceId res_id = table.identifierForName( in FindByName()
305 s = LookupAttributeInTable(table, res_id); in FindByName()
318 static Maybe<ResourceName> GetResourceName(const android::ResTable& table, in GetResourceName() argument
321 if (!table.getResourceName(id.id, true, &res_name)) { in GetResourceName()
334 const android::ResTable& table = assets_.getResources(false); in FindById() local
335 Maybe<ResourceName> maybe_name = GetResourceName(table, id); in FindById()
341 table.getResourceFlags(id.id, &type_spec_flags); in FindById()
345 s = LookupAttributeInTable(table, id); in FindById()