Home
last modified time | relevance | path

Searched refs:GetBoolean (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-about-primitive.md256 // GetBoolean注册回调
258 {.data = nullptr, .callback = GetBoolean},
261 // GetBoolean方法别名,供JS调用
266 static JSVM_Value GetBoolean(JSVM_Env env, JSVM_CallbackInfo info)
306 hilog.info(0x0000, 'JSVM', 'GetBoolean: %{public}s', result);
308 hilog.error(0x0000, 'JSVM', 'GetBoolean: %{public}s', error.message);
315 hilog.info(0x0000, 'JSVM', 'GetBoolean: %{public}s', result);
317 hilog.error(0x0000, 'JSVM', 'GetBoolean: %{public}s', error.message);
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_execute_callback.h47 static napi_value GetBoolean(napi_env env, napi_callback_info info);
61 bool GetBoolean();
H A Dwebview_javascript_execute_callback.cpp56 DECLARE_NAPI_FUNCTION("getBoolean", NapiJsMessageExt::GetBoolean), in InitJSExcute()
295 bool WebJsMessageExt::GetBoolean() in GetBoolean() function in OHOS::NWeb::WebJsMessageExt
298 return value_->GetBoolean(); in GetBoolean()
387 napi_value NapiJsMessageExt::GetBoolean(napi_env env, napi_callback_info info) in GetBoolean() function in OHOS::NWeb::NapiJsMessageExt
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/storage/
H A Dmock_storage.h47 bool GetBoolean(const std::string& key, bool& value) override in GetBoolean() function
78 bool GetBoolean(const std::string& key, bool& value) override in GetBoolean() function
/ohos5.0/base/web/webview/test/unittest/nweb_value_test/
H A Dnweb_value_test.cpp59 bool value = nwebValue->GetBoolean();
65 value = nwebValue->GetBoolean();
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dparameter_ex.cpp44 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean() function
78 return GetBoolean(KEY_DEVELOPER_MODE_STATE, false); in IsDeveloperMode()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/image_animator/
H A Dimage_animator_tdd_test.cpp351 EXPECT_FALSE(JSObject::GetBoolean(page, propStopped)); in ImageAnimatorTest003()
370 EXPECT_TRUE(JSObject::GetBoolean(page, propStopped)); in ImageAnimatorTest003()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-about-primitive.md256 // Register the GetBoolean callback.
258 {.data = nullptr, .callback = GetBoolean},
261 …tor named getBoolean and associate it with a callback. This allows the GetBoolean callback to be c…
266 static JSVM_Value GetBoolean(JSVM_Env env, JSVM_CallbackInfo info)
306 hilog.info(0x0000, 'JSVM', 'GetBoolean: %{public}s', result);
308 hilog.error(0x0000, 'JSVM', 'GetBoolean: %{public}s', error.message);
315 hilog.info(0x0000, 'JSVM', 'GetBoolean: %{public}s', result);
317 hilog.error(0x0000, 'JSVM', 'GetBoolean: %{public}s', error.message);
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Ddistributed_object_impl.cpp56 uint32_t DistributedObjectImpl::GetBoolean(const std::string &key, bool &value) in GetBoolean() function in OHOS::ObjectStore::DistributedObjectImpl
58 return flatObjectStore_->GetBoolean(sessionId_, key, value); in GetBoolean()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/resource/
H A Dresource_wrapper.h170 bool GetBoolean(uint32_t key) const in GetBoolean() function
174 return resourceAdapter_->GetBoolean(key); in GetBoolean()
177 return themeConstants_->GetBoolean(key); in GetBoolean()
/ohos5.0/base/hiviewdfx/hiview/base/utility/test/unittest/common/
H A Dsystem_service_ohos_test.cpp55 auto ret2 = Parameter::GetBoolean("TEST_KEY2", true);
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/
H A Dnetshare_exec.cpp43 …return NapiUtils::GetBoolean(context->GetEnv(), static_cast<bool>(context->GetSharingSupported())); in IsSharingSupportedCallback()
61 return NapiUtils::GetBoolean(context->GetEnv(), static_cast<bool>(context->GetSharing())); in IsSharingCallback()
H A Dnetshare_callback_observer.cpp86 napi_value boolean = NapiUtils::GetBoolean(env, *inputBoolean); in CreateSharingStateChangedParam()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/preference/
H A Dstorage_impl.h50 bool GetBoolean(const std::string& key, bool& value) override in GetBoolean() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/storage/
H A Dstorage.h44 virtual bool GetBoolean(const std::string& key, bool& value) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_javascript_result_callback.cpp40 return std::make_shared<WebJSValue>(argument->GetBoolean()); in GetWebJSValueHelper()
101 webViewValue->SetBoolean(webJSValue->GetBoolean()); in GetBasicTypeWebViewValue()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dparameter_ex.h33 bool GetBoolean(const std::string& key, const bool defaultValue);
/ohos5.0/foundation/distributeddatamgr/data_object/interfaces/innerkits/
H A Ddistributed_object.h99 virtual uint32_t GetBoolean(const std::string &key, bool &value) = 0;
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/
H A Ddistributed_object_impl.h32 uint32_t GetBoolean(const std::string &key, bool &value) override;
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dresource_manager_addon.cpp106 DECLARE_NAPI_FUNCTION("getBoolean", GetBoolean), in Init()
298 napi_value ResourceManagerAddon::GetBoolean(napi_env env, napi_callback_info info) in GetBoolean() function in OHOS::Global::Resource::ResourceManagerAddon
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_resource_adapter.h46 MOCK_CONST_METHOD1(GetBoolean, bool(uint32_t resId));
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DAnimationJS.cpp165 return ctx.GetBoolean(enabled); in GetEnabled()
204 return ctx.GetBoolean(running); in GetRunning()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/
H A Derrorcode-webview.md268 需要根据消息的类型调用相应的接口来获取消息的值。举例:如获取到的类型是BOOLEAN,则需要调用GetBoolean接口来获取布尔值。
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_util.cpp147 bool GetBoolean(const napi_env env, const napi_value value) in GetBoolean() function
165 bools.push_back(GetBoolean(env, element)); in GetBooleans()
474 result = GetBoolean(env, value) ? "true" : "false"; in ConvertToString()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp378 return GetBoolean(idItem, outValue); in GetBooleanById()
384 return GetBoolean(idItem, outValue); in GetBooleanByName()
387 RState ResourceManagerImpl::GetBoolean(const IdItem *idItem, bool &outValue) in GetBoolean() function in OHOS::Global::Resource::ResourceManagerImpl

1234