Home
last modified time | relevance | path

Searched refs:ResTable_typeSpec (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp84 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
90 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
104 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
112 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
119 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
144 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
151 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
158 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
174 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
181 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value->flags); in TEST_F()
[all …]
DAttributeResolution_test.cpp84 const uint32_t public_flag = ResTable_typeSpec::SPEC_PUBLIC; in TEST()
115 const uint32_t public_flag = ResTable_typeSpec::SPEC_PUBLIC; in TEST_F()
220 const uint32_t public_flag = ResTable_typeSpec::SPEC_PUBLIC; in TEST_F()
DSplit_test.cpp168 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), specFlags); in TEST_F()
178 EXPECT_EQ(static_cast<uint32_t>(ResTable_config::CONFIG_LOCALE | ResTable_typeSpec::SPEC_PUBLIC), in TEST_F()
DAssetManager2_test.cpp251 EXPECT_EQ(ResTable_typeSpec::SPEC_PUBLIC | ResTable_config::CONFIG_LOCALE, *value); in TEST_F()
524 EXPECT_EQ(ResTable_typeSpec::SPEC_PUBLIC | ResTable_config::CONFIG_KEYBOARD, value.flags); in TEST_F()
537 EXPECT_EQ(ResTable_typeSpec::SPEC_PUBLIC | ResTable_config::CONFIG_COLOR_MODE, value.flags); in TEST_F()
573 EXPECT_EQ(static_cast<uint32_t>(ResTable_typeSpec::SPEC_PUBLIC), value.flags); in TEST_F()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp377 s->is_public = (type_spec_flags & android::ResTable_typeSpec::SPEC_PUBLIC) != 0; in FindByName()
379 (type_spec_flags & android::ResTable_typeSpec::SPEC_STAGED_API) != 0; in FindByName()
424 s->is_public = (*flags & android::ResTable_typeSpec::SPEC_PUBLIC) != 0; in FindById()
426 (*flags & android::ResTable_typeSpec::SPEC_STAGED_API) != 0; in FindById()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp548 ResTable_typeSpec* spec_header = in FlattenTypeSpec()
549 type_spec_writer.StartChunk<ResTable_typeSpec>(RES_TABLE_TYPE_SPEC_TYPE); in FlattenTypeSpec()
574 entry_config_masks |= util::HostToDevice32(ResTable_typeSpec::SPEC_PUBLIC); in FlattenTypeSpec()
577 entry_config_masks |= util::HostToDevice32(ResTable_typeSpec::SPEC_STAGED_API); in FlattenTypeSpec()
DBinaryResourceParser.cpp297 const ResTable_typeSpec* type_spec = ConvertTo<ResTable_typeSpec>(chunk); in ParseTypeSpec()
419 spec_flags->second & ResTable_typeSpec::SPEC_STAGED_API) { in ParseType()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp53 explicit TypeSpecBuilder(incfs::verified_map_ptr<ResTable_typeSpec> header) : header_(header) {} in TypeSpecBuilder()
68 incfs::verified_map_ptr<ResTable_typeSpec> header_;
509 const auto type_spec = child_chunk.header<ResTable_typeSpec>(); in Load()
DResourceTypes.cpp3600 const ResTable_typeSpec* typeSpec;
4992 *outTypeSpecFlags = ResTable_typeSpec::SPEC_PUBLIC; in identifierForName()
5009 *outTypeSpecFlags = ResTable_typeSpec::SPEC_PUBLIC; in identifierForName()
5104 *outTypeSpecFlags |= ResTable_typeSpec::SPEC_PUBLIC; in identifierForName()
5628 if ((specFlags&ResTable_typeSpec::SPEC_PUBLIC) == 0) { in stringToValue()
5801 if ((specFlags&ResTable_typeSpec::SPEC_PUBLIC) == 0) { in stringToValue()
6800 const ResTable_typeSpec* typeSpec = (const ResTable_typeSpec*)(chunk); in parsePackage()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h61 incfs::verified_map_ptr<ResTable_typeSpec> type_spec;
DResourceTypes.h1369 struct ResTable_typeSpec struct
/frameworks/base/tools/aapt/
DResourceTable.cpp2215 if (onlyPublic && (specFlags & ResTable_typeSpec::SPEC_PUBLIC) == 0) { in getResId()
3090 const size_t typeSpecSize = sizeof(ResTable_typeSpec) + sizeof(uint32_t)*N; in flatten()
3092 ResTable_typeSpec* tsHeader = (ResTable_typeSpec*) in flatten()
3107 + typeSpecStart + sizeof(ResTable_typeSpec)); in flatten()
3117 typeSpecFlags[ei] |= htodl(ResTable_typeSpec::SPEC_PUBLIC); in flatten()
4474 if ((specFlags & ResTable_typeSpec::SPEC_PUBLIC) == 0) { in getPublicAttributeSdkLevel()
DResource.cpp507 if ((specFlags&~ResTable_typeSpec::SPEC_PUBLIC) != 0 && false) { in validateAttr()
2376 isPublic = (typeSpecFlags&ResTable_typeSpec::SPEC_PUBLIC) != 0; in writeLayoutClasses()
2511 const bool pub = (typeSpecFlags&ResTable_typeSpec::SPEC_PUBLIC) != 0; in writeLayoutClasses()
2609 isPublic = (typeSpecFlags&ResTable_typeSpec::SPEC_PUBLIC) != 0; in writeTextLayoutClasses()