Home
last modified time | relevance | path

Searched refs:asSimple (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/identity/support/src/
Dcppbor.cpp123 return *asSimple() == *(other.asSimple()); in operator ==()
DIdentityCredentialSupport.cpp311 const cppbor::Bool* asBool = item->asSimple()->asBool(); in cborPrettyPrintInternal()
312 const cppbor::Null* asNull = item->asSimple()->asNull(); in cborPrettyPrintInternal()
1670 const cppbor::Simple* payloadAsSimple = (*array)[2]->asSimple(); in coseCheckEcDsaSignature()
1729 const cppbor::Simple* payloadAsSimple = (*array)[2]->asSimple(); in coseSignGetPayload()
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp562 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
579 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
596 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
613 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
629 EXPECT_NE(nullptr, item->asSimple()); in TEST()
633 EXPECT_EQ(BOOLEAN, item->asSimple()->simpleType()); in TEST()
634 EXPECT_NE(nullptr, item->asSimple()->asBool()); in TEST()
636 EXPECT_FALSE(item->asSimple()->asBool()->value()); in TEST()
648 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
664 EXPECT_EQ(nullptr, item->asSimple()); in TEST()
/hardware/interfaces/identity/aidl/default/
DIdentityCredential.cpp60 ((*arrayItem)[1]->asSimple() != nullptr ? ((*arrayItem)[1]->asSimple()->asBool()) in initialize()
451 const cppbor::Simple* simple = innerMapValueItem->asSimple(); in startRetrieval()
/hardware/interfaces/identity/aidl/vts/
DVtsHalIdentityEndToEndTest.cpp90 ((*arrayItem)[1]->asSimple() != nullptr ? ((*arrayItem)[1]->asSimple()->asBool()) in extractFromTestCredentialData()
/hardware/interfaces/identity/support/include/cppbor/
Dcppbor.h119 virtual const Simple* asSimple() const { return nullptr; } in asSimple() function
588 const Simple* asSimple() const override { return this; } in asSimple() function
658 if (T::kSimpleType != v->asSimple()->simpleType()) { in downcastItem()