Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/ndk/
Dibinder.cpp45 static const void* kId = "ABBinder"; variable
51 CHECK_EQ(nullptr, binder->attachObject(kId, kValue, nullptr /*cookie*/, clean)); in attach()
54 return binder != nullptr && binder->findObject(kId) == kValue; in has()
61 static const void* kId = "ABpBinder"; variable
66 CHECK(id == kId) << id << " " << obj << " " << cookie; in clean()
252 static_cast<ABpBinderTag::Value*>(remote()->findObject(ABpBinderTag::kId)); in onLastStrongRef()
271 auto* value = static_cast<ABpBinderTag::Value*>(binder->findObject(ABpBinderTag::kId)); in lookupOrCreateFromBinder()
275 binder->attachObject(ABpBinderTag::kId, static_cast<void*>(value), in lookupOrCreateFromBinder()
/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()
DResourceParser.cpp608 ResourceNamedTypeWithDefaultName(ResourceType::kId).ToResourceNamedType(); in ParseResource()
627 } else if (!ref || ref->name.value().type.type != ResourceType::kId) { in ParseResource()
959 if (parsed_type->type == ResourceType::kId) { in ParsePublic()
1489 Reference(ResourceNameRef({}, ResourceNamedTypeWithDefaultName(ResourceType::kId), in ParseEnumOrFlagItem()
DResourceUtils.cpp183 if (create && name.type.type != ResourceType::kId) { in ParseReference()
741 if (type == ResourceType::kId) { in ParseBinaryResValue()
DResource.h55 kId, enumerator
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp49 if (create && name.type.type == ResourceType::kId) { in Visit()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp778 "com.app.test", ResourceType::kId, "one"); in TEST()
782 "com.app.test", ResourceType::kId, "0_resource_name_obfuscated"); in TEST()
848 options.name_collapse_exemptions.insert(ResourceName({}, ResourceType::kId, "one")); in TEST()
859 EXPECT_THAT(GetEntry(&new_table, ResourceName("com.app.test", ResourceType::kId, "one"), in TEST()
862 "com.app.test", ResourceType::kId, "0_resource_name_obfuscated"); in TEST()
866 "com.app.test", ResourceType::kId, "two"); in TEST()
DProtoDeserialize.cpp957 case pb::Item::kId: { in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/test/
DBuilders.cpp193 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.cpp591 case ResourceType::kId: in ParseMapEntry()
DTableFlattener_test.cpp628 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()