Searched refs:asBool (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 1575 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_eat_record() 1581 ASSERT_OR_RETURN_ERROR(simple_value->asBool(), KM_ERROR_INVALID_TAG); in parse_eat_record() 1582 *device_locked = simple_value->asBool()->value(); in parse_eat_record() 1587 ASSERT_OR_RETURN_ERROR((*array_value)[4]->asSimple()->asBool()->value() == false, in parse_eat_record() 1589 verified_or_self_signed = (*array_value)[0]->asSimple()->asBool()->value(); in parse_eat_record() 1591 (*array_value)[1]->asSimple()->asBool()->value(), in parse_eat_record() 1594 (*array_value)[2]->asSimple()->asBool()->value(), in parse_eat_record() 1597 (*array_value)[3]->asSimple()->asBool()->value(), in parse_eat_record() 1730 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values() 1736 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values() [all …]
|
/system/libcppbor/src/ |
D | cppbor.cpp | 240 const Bool* asBool = item->asSimple()->asBool(); in prettyPrintInternal() local 242 if (asBool != nullptr) { in prettyPrintInternal() 243 out.append(asBool->value() ? "true" : "false"); in prettyPrintInternal() 372 return *asBool() == *(other.asBool()); in operator ==()
|
/system/libcppbor/tests/ |
D | cppbor_test.cpp | 725 EXPECT_EQ(nullptr, item->asBool()); in TEST() 746 EXPECT_EQ(nullptr, item->asBool()); in TEST() 767 EXPECT_EQ(nullptr, item->asBool()); in TEST() 788 EXPECT_EQ(nullptr, item->asBool()); in TEST() 808 EXPECT_NE(nullptr, item->asBool()); in TEST() 816 EXPECT_NE(nullptr, item->asBool()); in TEST() 817 EXPECT_NE(nullptr, item->asSimple()->asBool()); in TEST() 821 EXPECT_FALSE(item->asBool()->value()); in TEST() 822 EXPECT_FALSE(item->asSimple()->asBool()->value()); in TEST() 835 EXPECT_EQ(nullptr, item->asBool()); in TEST() [all …]
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 168 if (cgroup["NeedsActivation"].isBool() && cgroup["NeedsActivation"].asBool()) { in MergeCgroupToDescriptors() 172 if (cgroup["Optional"].isBool() && cgroup["Optional"].asBool()) { in MergeCgroupToDescriptors()
|
/system/libcppbor/include/cppbor/ |
D | cppbor.h | 147 virtual Bool* asBool() { return nullptr; } in asBool() function 148 const Bool* asBool() const { return const_cast<Item*>(this)->asBool(); } in asBool() function 886 Bool* asBool() override { return this; } in asBool() function
|
/system/security/identity/ |
D | CredentialData.cpp | 154 (simple != nullptr ? (simple->asBool()) : nullptr); in parseSacp()
|