Home
last modified time | relevance | path

Searched refs:BOOLEAN (Results 1 - 25 of 35) sorted by relevance

12

/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_value.h48 BOOLEAN, member in OHOS::NWeb::NWebValue::Type
70 explicit NWebValue(const bool& value) : type_(Type::BOOLEAN), data_(value) {} in NWebValue()
88 case Type::BOOLEAN: in NWebValue()
137 case Type::BOOLEAN: in operator =()
171 case Type::BOOLEAN: in operator =()
206 case Type::BOOLEAN: in operator ==()
252 return GetType() == Type::BOOLEAN; in IsBoolean()
287 validateType(Type::BOOLEAN); in GetBoolean()
293 validateType(Type::BOOLEAN); in SetBoolean()
/base/account/os_account/interfaces/innerkits/common/include/
H A Diaccount_info.h36 BOOLEAN, member in OHOS::AccountSA::JsonType
49 case JsonType::BOOLEAN: in GetDataByType()
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_info.cpp333 jsonObject, jsonObjectEnd, IS_OS_ACCOUNT_VERIFIED, isVerified_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
343 jsonObject, jsonObjectEnd, IS_ACTIVATED, isActivated_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
345 jsonObject, jsonObjectEnd, IS_ACCOUNT_COMPLETED, isCreateCompleted_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
347 jsonObject, jsonObjectEnd, TO_BE_REMOVED, toBeRemoved_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
353 jsonObject, jsonObjectEnd, IS_FOREGROUND, isForeground_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
355 jsonObject, jsonObjectEnd, IS_LOGGED_IN, isLoggedIn_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
357 jsonObject, jsonObjectEnd, IS_DATA_REMOVABLE, isDataRemovable_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson()
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_javascript_execute_callback.cpp34 case NWebValue::Type::BOOLEAN: in ConvertToJsType()
35 jsMessageType = JsMessageType::BOOLEAN; in ConvertToJsType()
H A Dwebview_message_ffi.cpp235 if (webMessageExt->GetType() != static_cast<int32_t>(WebMessageType::BOOLEAN)) { in FfiOHOSWebMessageExtImplGetBoolean()
440 if (webMessageExt->GetType() != static_cast<int32_t>(WebMessageType::BOOLEAN)) { in FfiOHOSWebMessageExtImplSetBoolean()
653 if (webJsMessageExt->GetType() != static_cast<int32_t>(JsMessageType::BOOLEAN)) { in FfiOHOSJsMessageExtImplGetBoolean()
/base/web/webview/interfaces/kits/cj/include/
H A Dwebview_controller_impl.h59 BOOLEAN, member in OHOS::Webview::CoreSecurityLevel::WebMessageType
297 case WebMessageType::BOOLEAN: { in SetType()
298 nwebType = NWeb::NWebValue::Type::BOOLEAN; in SetType()
336 case NWeb::NWebValue::Type::BOOLEAN: { in ConvertNwebType2JsType()
337 jsType = WebMessageType::BOOLEAN; in ConvertNwebType2JsType()
390 data_->SetType(NWeb::NWebValue::Type::BOOLEAN); in SetBoolean()
H A Dwebview_javascript_execute_callback.h32 BOOLEAN, member in OHOS::Webview::JsMessageType
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_common.h72 BOOLEAN = 12, enumerator
/base/web/webview/test/unittest/nweb_value_test/
H A Dnweb_value_test.cpp56 nwebValue->SetType(NWebValue::Type::BOOLEAN); in HWTEST_F()
61 EXPECT_EQ(NWebValue::Type::BOOLEAN, type); in HWTEST_F()
/base/global/resource_management/interfaces/inner_api/include/
H A Dres_common.h92 BOOLEAN = 12, enumerator
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_file_operator.cpp175 OHOS::AccountSA::JsonType::BOOLEAN); in GetIsMultiOsAccountEnable()
189 OHOS::AccountSA::JsonType::BOOLEAN); in IsAllowedCreateAdmin()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_execute_callback.cpp39 DECLARE_NAPI_STATIC_PROPERTY("BOOLEAN", NapiParseUtils::ToInt32Value(env, in InitJSExcute()
40 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()
H A Dwebview_javascript_execute_callback.h32 BOOLEAN, member in OHOS::NWeb::JsMessageType
H A Dwebview_controller.h60 BOOLEAN, member in OHOS::NWeb::ResourceType
73 BOOLEAN, member in OHOS::NWeb::ResourceType::WebMessageType
492 data_->SetType(NWebValue::Type::BOOLEAN); in SetBoolean()
H A Dwebview_controller.cpp2075 case WebMessageType::BOOLEAN: { in SetType()
2076 nwebType = NWebValue::Type::BOOLEAN; in SetType()
2114 case NWebValue::Type::BOOLEAN: { in ConvertNwebType2JsType()
2115 jsType = WebMessageType::BOOLEAN; in ConvertNwebType2JsType()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dres_desc_test.cpp92 EXPECT_EQ(ResType::BOOLEAN, resType); in HWTEST_F()
H A Dhap_resource_test.cpp244 idv = pResource->GetIdValuesByName(std::string("boolean_ref"), ResType::BOOLEAN); in HWTEST_F()
H A Dresource_manager_test_common.cpp513 int id = GetResId(boolean1, ResType::BOOLEAN); in TestGetBooleanById()
519 id = GetResId(booleanRef, ResType::BOOLEAN); in TestGetBooleanById()
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dres_desc_test.cpp92 EXPECT_EQ(ResType::BOOLEAN, resType); in HWTEST_F()
H A Dhap_resource_test.cpp240 idv = pResource->GetIdValuesByName(std::string("boolean_ref"), ResType::BOOLEAN); in HWTEST_F()
H A Dresource_manager_test.cpp1032 int id = GetResId("boolean_1", ResType::BOOLEAN); in HWTEST_F()
1038 id = GetResId("boolean_ref", ResType::BOOLEAN); in HWTEST_F()
1576 id = GetResId("boolean_1", ResType::BOOLEAN); in HWTEST_F()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp383 const IdItem *idItem = hapManager_->FindResourceByName(name, ResType::BOOLEAN); in GetBooleanByName()
389 if (idItem == nullptr || idItem->resType_ != ResType::BOOLEAN) { in GetBoolean()
H A Dres_desc.cpp133 resTypeStrList.insert(make_pair(ResType::BOOLEAN, std::string("boolean"))); in Init()
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_desc.cpp208 resTypeStrList.insert(make_pair(ResType::BOOLEAN, std::string("boolean"))); in Init()
/base/web/webview/interfaces/kits/napi/common/
H A Dnapi_parse_utils.cpp433 { NWebValue::Type::BOOLEAN, ConvertToNapiHandlerOfBoolean }, in ConvertNWebToNapiValue()

Completed in 19 milliseconds

12