Home
last modified time | relevance | path

Searched refs:kId (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/ftl/
Dmixins_test.cpp65 constexpr Id kId{1234}; variable
80 static_assert(kId == Id(1234));
81 static_assert(kId != Id(123));
/frameworks/base/tools/aapt2/
DResource.cpp73 case ResourceType::kId: in to_string()
120 {"id", ResourceType::kId},
DResource_test.cpp77 EXPECT_EQ(*type, ResourceType::kId); in TEST()
191 type = ResourceNamedTypeWithDefaultName(ResourceType::kId); in TEST()
192 EXPECT_THAT(type, Eq(ResourceNamedType("id", ResourceType::kId))); in TEST()
DResourceUtils_test.cpp97 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kId, "foo"))); in TEST()
107 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kId, "foo"))); in TEST()
116 std::unique_ptr<Item> item = ResourceUtils::ParseBinaryResValue(ResourceType::kId, in TEST()
DResourceUtils.cpp180 if (create && name.type.type != ResourceType::kId) { in ParseReference()
735 if (type == ResourceType::kId) { in ParseBinaryResValue()
DResourceParser.cpp605 ResourceNamedTypeWithDefaultName(ResourceType::kId).ToResourceNamedType(); in ParseResource()
624 } else if (!ref || ref->name.value().type.type != ResourceType::kId) { in ParseResource()
954 if (parsed_type->type == ResourceType::kId) { in ParsePublic()
1486 Reference(ResourceNameRef({}, ResourceNamedTypeWithDefaultName(ResourceType::kId), in ParseEnumOrFlagItem()
DResource.h55 kId, enumerator
/frameworks/native/libs/binder/ndk/
Dibinder.cpp44 static const void* kId = "ABBinder"; variable
50 CHECK_EQ(nullptr, binder->attachObject(kId, kValue, nullptr /*cookie*/, clean)); in attach()
53 return binder != nullptr && binder->findObject(kId) == kValue; in has()
60 static const void* kId = "ABpBinder"; variable
68 CHECK(id == kId) << id << " " << obj << " " << cookie; in clean()
275 auto* value = static_cast<ABpBinderTag::Value*>(binder->findObject(ABpBinderTag::kId)); in lookupOrCreateFromBinder()
279 binder->attachObject(ABpBinderTag::kId, static_cast<void*>(value), in lookupOrCreateFromBinder()
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp50 if (create && name.type.type == ResourceType::kId) { in Visit()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp782 "com.app.test", ResourceType::kId, "one"); in TEST()
786 "com.app.test", ResourceType::kId, "0_resource_name_obfuscated"); in TEST()
852 options.name_collapse_exemptions.insert(ResourceName({}, ResourceType::kId, "one")); in TEST()
863 EXPECT_THAT(GetEntry(&new_table, ResourceName("com.app.test", ResourceType::kId, "one"), in TEST()
866 "com.app.test", ResourceType::kId, "0_resource_name_obfuscated"); in TEST()
870 "com.app.test", ResourceType::kId, "two"); in TEST()
DProtoDeserialize.cpp964 case pb::Item::kId: { in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp182 Attribute::Symbol{Reference(ResourceName({}, ResourceType::kId, name)), value}); in AddItem()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp454 if (context_->GetMinSdkVersion() < SDK_O && name.type.type == ResourceType::kId && in ProcessResource()
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp597 case ResourceType::kId: in ParseMapEntry()
DTableFlattener_test.cpp771 options.name_collapse_exemptions.insert(ResourceName({}, ResourceType::kId, "one")); in TEST_F()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp210 if (name.type.type == ResourceType::kId && symbol->id) { in FindByName()