Home
last modified time | relevance | path

Searched refs:asBool (Results 1 – 17 of 17) sorted by relevance

/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
H A DCommandInterceptor.java104 boolean enabled = asBool(tokens[1]); in gestureScale()
117 boolean enabled = asBool(tokens[1]); in jobProgressDialog()
132 boolean enabled = asBool(tokens[1]); in docDetails()
167 private final boolean asBool(String val) { in asBool() method in CommandInterceptor
/aosp12/system/keymaster/km_openssl/
H A Dattestation_record.cpp1548 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_eat_record()
1554 ASSERT_OR_RETURN_ERROR(simple_value->asBool(), KM_ERROR_INVALID_TAG); in parse_eat_record()
1555 *device_locked = simple_value->asBool()->value(); in parse_eat_record()
1560 ASSERT_OR_RETURN_ERROR((*array_value)[4]->asSimple()->asBool()->value() == false, in parse_eat_record()
1562 verified_or_self_signed = (*array_value)[0]->asSimple()->asBool()->value(); in parse_eat_record()
1564 (*array_value)[1]->asSimple()->asBool()->value(), in parse_eat_record()
1567 (*array_value)[2]->asSimple()->asBool()->value(), in parse_eat_record()
1570 (*array_value)[3]->asSimple()->asBool()->value(), in parse_eat_record()
1703 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values()
1709 if (value_item->asSimple() == nullptr || !value_item->asSimple()->asBool()->value()) { in parse_submod_values()
[all …]
/aosp12/packages/services/Car/cpp/evs/apps/default/
H A DConfigManager.cpp150 bool hflip = node.get("hflip", false).asBool(); in initialize()
151 bool vflip = node.get("vflip", false).asBool(); in initialize()
/aosp12/hardware/interfaces/identity/support/src/
H A Dcppbor.cpp141 return *asBool() == *(other.asBool()); in operator ==()
/aosp12/hardware/google/pixel/thermal/utils/
H A Dconfig_parser.cpp192 } else if (sensors[i]["Monitor"].asBool()) { in ParseSensorInfo()
201 } else if (sensors[i]["SendPowerHint"].asBool()) { in ParseSensorInfo()
225 is_virtual_sensor = sensors[i]["VirtualSensor"].asBool(); in ParseSensorInfo()
577 if (values[j]["HighPowerCheck"].asBool()) { in ParseSensorInfo()
582 if (values[j]["ThrottlingWithPowerLink"].asBool()) { in ParseSensorInfo()
819 is_virtual_power_rail = power_rails[i]["VirtualRails"].asBool(); in ParsePowerRailInfo()
/aosp12/frameworks/compile/slang/
H A Dslang_rs_reflection_cpp.h82 void genInitValue(const clang::APValue &Val, bool asBool = false);
H A Dslang_rs_reflection.h220 void genInitValue(const clang::APValue &Val, bool asBool);
H A Dslang_rs_reflection_cpp.cpp1014 void RSReflectionCpp::genInitValue(const clang::APValue &Val, bool asBool) { in genInitValue() argument
1018 if (asBool) { in genInitValue()
H A Dslang_rs_reflection.cpp1918 void RSReflectionJava::genInitValue(const clang::APValue &Val, bool asBool) { in genInitValue() argument
1922 if (asBool) { in genInitValue()
/aosp12/system/core/libprocessgroup/setup/
H A Dcgroup_map_write.cpp160 if (cgroup["NeedsActivation"].isBool() && cgroup["NeedsActivation"].asBool()) { in MergeCgroupToDescriptors()
164 if (cgroup["Optional"].isBool() && cgroup["Optional"].asBool()) { in MergeCgroupToDescriptors()
/aosp12/hardware/interfaces/identity/aidl/vts/
H A DTestCredentialTests.cpp152 ((*arrayItem)[1]->asSimple() != nullptr ? ((*arrayItem)[1]->asSimple()->asBool()) in TEST_P()
H A DEndToEndTests.cpp93 ((*arrayItem)[1]->asSimple() != nullptr ? ((*arrayItem)[1]->asSimple()->asBool()) in extractFromTestCredentialData()
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/
H A DHintManager.cc419 reset = nodes[i]["ResetOnInit"].asBool(); in ParseNodes()
430 hold_fd = nodes[i]["HoldFd"].asBool(); in ParseNodes()
/aosp12/hardware/interfaces/identity/aidl/default/common/
H A DIdentityCredential.cpp62 ((*arrayItem)[1]->asSimple() != nullptr ? ((*arrayItem)[1]->asSimple()->asBool()) in initialize()
506 (simple != nullptr) ? simple->asBool() : nullptr; in startRetrieval()
/aosp12/hardware/interfaces/identity/support/include/cppbor/
H A Dcppbor.h590 virtual const Bool* asBool() const { return nullptr; }; in asBool() function
607 const Bool* asBool() const override { return this; } in asBool() function
/aosp12/system/security/identity/
H A DCredentialData.cpp153 (simple != nullptr ? (simple->asBool()) : nullptr); in parseSacp()
/aosp12/hardware/interfaces/identity/support/tests/
H A Dcppbor_test.cpp634 EXPECT_NE(nullptr, item->asSimple()->asBool()); in TEST()
636 EXPECT_FALSE(item->asSimple()->asBool()->value()); in TEST()