Searched refs:Bool (Results 1 – 9 of 9) sorted by relevance
/hardware/interfaces/identity/support/tests/ |
D | cppbor_test.cpp | 108 EXPECT_EQ("\xf4"s, Bool(false).toString()); in TEST() 109 EXPECT_EQ("\xf5"s, Bool(true).toString()); in TEST() 462 EXPECT_NE(val, Bool(false)); in TEST() 475 EXPECT_NE(val, Bool(false)); in TEST() 489 EXPECT_NE(val, Bool(false)); in TEST() 503 EXPECT_NE(val, Bool(false)); in TEST() 508 TEST(EqualityTest, Bool) { in TEST() argument 509 Bool val(false); in TEST() 510 EXPECT_EQ(val, Bool(false)); in TEST() 517 EXPECT_NE(val, Bool(true)); in TEST() [all …]
|
D | IdentityCredentialSupportTest.cpp | 69 EXPECT_EQ("true", support::cborPrettyPrint(cppbor::Bool(true).encode())); in TEST() 71 EXPECT_EQ("false", support::cborPrettyPrint(cppbor::Bool(false).encode())); in TEST()
|
/hardware/interfaces/identity/support/include/cppbor/ |
D | cppbor.h | 62 class Bool; variable 590 virtual const Bool* asBool() const { return nullptr; }; in asBool() 598 class Bool : public Simple { 602 explicit Bool(bool v) : mValue(v) {} in Bool() function 604 bool operator==(const Bool& other) const& { return mValue == other.mValue; } 607 const Bool* asBool() const override { return this; } in asBool() 621 virtual std::unique_ptr<Item> clone() const override { return std::make_unique<Bool>(mValue); } in clone() 725 p = new Bool(v);
|
D | README.md | 40 * `Bool` is the only currently-implemented subclass of `Simple`. 56 * `bool` converts to `Bool`. 89 `Bool` value.
|
/hardware/interfaces/identity/aidl/vts/ |
D | VtsIdentityTestUtils.h | 72 valueCbor = cppbor::Bool(value).encode(); in TestEntryData()
|
D | VtsHalIdentityEndToEndTest.cpp | 89 const cppbor::Bool* testCredentialItem = in extractFromTestCredentialData()
|
/hardware/interfaces/identity/aidl/default/ |
D | IdentityCredential.cpp | 59 const cppbor::Bool* testCredentialItem = in initialize() 452 const cppbor::Bool* intentToRetainItem = in startRetrieval()
|
/hardware/interfaces/identity/support/src/ |
D | cppbor_parse.cpp | 79 std::unique_ptr<Item> item = std::make_unique<Bool>(value == TRUE); in handleBool()
|
D | IdentityCredentialSupport.cpp | 311 const cppbor::Bool* asBool = item->asSimple()->asBool(); in cborPrettyPrintInternal()
|