Home
last modified time | relevance | path

Searched refs:BOOLEAN (Results 1 – 25 of 29) sorted by relevance

12

/base/web/webview/ohos_nweb/include/
Dnweb_value.h47 BOOLEAN, enumerator
68 explicit NWebValue(const bool& value) : type_(Type::BOOLEAN), data_(value) in NWebValue()
85 case Type::BOOLEAN: in NWebValue()
132 case Type::BOOLEAN:
166 case Type::BOOLEAN:
201 case Type::BOOLEAN:
247 return GetType() == Type::BOOLEAN; in IsBoolean()
282 validateType(Type::BOOLEAN); in GetBoolean()
288 validateType(Type::BOOLEAN); in SetBoolean()
/base/account/os_account/interfaces/innerkits/common/include/
Diaccount_info.h36 BOOLEAN, enumerator
49 case JsonType::BOOLEAN: in GetDataByType()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.h57 BOOLEAN, enumerator
70 BOOLEAN, enumerator
307 case WebMessageType::BOOLEAN: { in SetType()
308 nwebType = NWebValue::Type::BOOLEAN; in SetType()
346 case NWebValue::Type::BOOLEAN: { in ConvertNwebType2JsType()
347 jsType = WebMessageType::BOOLEAN; in ConvertNwebType2JsType()
400 data_->SetType(NWebValue::Type::BOOLEAN); in SetBoolean()
Dwebview_javascript_execute_callback.cpp40 static_cast<int32_t>(JsMessageType::BOOLEAN))), in InitJSExcute()
250 case NWebValue::Type::BOOLEAN: in ConvertToJsType()
251 jsMessageType = JsMessageType::BOOLEAN; in ConvertToJsType()
400 if (webJsMessageExt->GetType() != static_cast<int32_t>(JsMessageType::BOOLEAN)) { in GetBoolean()
Dwebview_javascript_execute_callback.h32 BOOLEAN, enumerator
Dwebview_javascript_result_callback.cpp363 case NWebValue::Type::BOOLEAN: in ParseBasicTypeNwebValue2NapiValue()
540 nwebValue->SetType(NWebValue::Type::BOOLEAN); in ParseBasicTypeNapiValue2NwebValue()
/base/web/webview/test/unittest/nweb_value_test/
Dnweb_value_test.cpp56 nwebValue->SetType(NWebValue::Type::BOOLEAN);
61 EXPECT_EQ(NWebValue::Type::BOOLEAN, type);
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp252 …sonObject, jsonObjectEnd, IS_OS_ACCOUNT_VERIFIED, isVerified_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
262 jsonObject, jsonObjectEnd, IS_ACTIVATED, isActivated_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
264 …ject, jsonObjectEnd, IS_ACCOUNT_COMPLETED, isCreateCompleted_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
266 jsonObject, jsonObjectEnd, TO_BE_REMOVED, toBeRemoved_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dres_common.h72 BOOLEAN = 12, enumerator
/base/global/resource_management/interfaces/inner_api/include/
Dres_common.h92 BOOLEAN = 12, enumerator
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_file_operator.cpp160 OHOS::AccountSA::JsonType::BOOLEAN); in GetIsMultiOsAccountEnable()
174 OHOS::AccountSA::JsonType::BOOLEAN); in IsAllowedCreateAdmin()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dres_desc_test.cpp92 EXPECT_EQ(ResType::BOOLEAN, resType);
Dhap_resource_test.cpp240 idv = pResource->GetIdValuesByName(std::string("boolean_ref"), ResType::BOOLEAN);
Dresource_manager_test.cpp1032 int id = GetResId("boolean_1", ResType::BOOLEAN);
1038 id = GetResId("boolean_ref", ResType::BOOLEAN);
1576 id = GetResId("boolean_1", ResType::BOOLEAN);
Dresource_manager_performance_test.cpp751 int id = GetResId("boolean_1", ResType::BOOLEAN);
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dres_desc_test.cpp92 EXPECT_EQ(ResType::BOOLEAN, resType);
Dresource_manager_test_common.cpp381 int id = GetResId(boolean1, ResType::BOOLEAN); in TestGetBooleanById()
387 id = GetResId(booleanRef, ResType::BOOLEAN); in TestGetBooleanById()
Dhap_resource_test.cpp245 idv = pResource->GetIdValuesByName(std::string("boolean_ref"), ResType::BOOLEAN);
Dresource_manager_performance_test.cpp763 int id = GetResId("boolean_1", ResType::BOOLEAN);
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_desc.cpp133 resTypeStrList.insert(make_pair(ResType::BOOLEAN, std::string("boolean"))); in Init()
Dresource_manager_impl.cpp383 const IdItem *idItem = hapManager_->FindResourceByName(name, ResType::BOOLEAN); in GetBooleanByName()
389 if (idItem == nullptr || idItem->resType_ != ResType::BOOLEAN) { in GetBoolean()
/base/global/resource_management/frameworks/resmgr/src/
Dres_desc.cpp208 resTypeStrList.insert(make_pair(ResType::BOOLEAN, std::string("boolean"))); in Init()
Dresource_manager_impl.cpp479 const IdItem *idItem = hapManager_->FindResourceByName(name, ResType::BOOLEAN); in GetBooleanByName()
493 if (idItem == nullptr || idItem->resType_ != ResType::BOOLEAN) { in GetBoolean()
/base/web/webview/interfaces/kits/napi/common/
Dnapi_parse_utils.cpp411 { NWebValue::Type::BOOLEAN, ConvertToNapiHandlerOfBoolean }, in ConvertNWebToNapiValue()
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp619 jsonObject, jsonObjectEnd, SYNC_ENABLE, syncEnable_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()

12