Home
last modified time | relevance | path

Searched refs:GetEntry (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize_test.cpp43 ResourceEntry* GetEntry(ResourceTable* table, const ResourceNameRef& res_name) { in GetEntry() function
783 EXPECT_THAT(GetEntry(&new_table, real_id_resource), IsNull()); in TEST()
788 EXPECT_THAT(GetEntry(&new_table, obfuscated_id_resource, in TEST()
790 EXPECT_THAT(GetEntry(&new_table, obfuscated_id_resource, in TEST()
800 entry = GetEntry(&new_table, obfuscated_integer_resource, integer_three_id); in TEST()
812 entry = GetEntry(&new_table, obfuscated_string_resource, string_test_id); in TEST()
820 entry = GetEntry(&new_table, obfuscated_layout_resource, layout_bar_id); in TEST()
867 EXPECT_THAT(GetEntry(&new_table, obfuscated_id_resource, id_one_id), IsNull()); in TEST()
871 EXPECT_THAT(GetEntry(&new_table, real_id_resource, id_two_id), IsNull()); in TEST()
872 EXPECT_THAT(GetEntry(&new_table, obfuscated_id_resource, id_two_id), NotNull()); in TEST()
[all …]
/aosp14/frameworks/base/libs/androidfw/tests/
H A DLoadedArsc_test.cpp71 ASSERT_TRUE(LoadedPackage::GetEntry(type.type, entry_index).has_value()); in TEST()
161 ASSERT_TRUE(LoadedPackage::GetEntry(type_spec->type_entries[0].type, entry_index).has_value()); in TEST()
343 ASSERT_TRUE(LoadedPackage::GetEntry(type.type, entry_index).has_value()); in TEST()
375 ASSERT_TRUE(LoadedPackage::GetEntry(type.type, entry_index).has_value()); in TEST_P()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DLoadedArsc.h170 GetEntry(incfs::verified_map_ptr<ResTable_type> type_chunk, uint16_t entry_index);
/aosp14/frameworks/base/libs/androidfw/
H A DLoadedArsc.cpp238 base::expected<incfs::verified_map_ptr<ResTable_entry>, NullOrIOError> LoadedPackage::GetEntry( in GetEntry() function in android::LoadedPackage