/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-jsvm-about-primitive.md | 256 // 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 D | webview_javascript_execute_callback.h | 47 static napi_value GetBoolean(napi_env env, napi_callback_info info); 61 bool GetBoolean();
|
H A D | webview_javascript_execute_callback.cpp | 56 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 D | mock_storage.h | 47 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 D | nweb_value_test.cpp | 59 bool value = nwebValue->GetBoolean(); 65 value = nwebValue->GetBoolean();
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | parameter_ex.cpp | 44 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 D | image_animator_tdd_test.cpp | 351 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 D | use-jsvm-about-primitive.md | 256 // 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 D | distributed_object_impl.cpp | 56 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 D | resource_wrapper.h | 170 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 D | system_service_ohos_test.cpp | 55 auto ret2 = Parameter::GetBoolean("TEST_KEY2", true);
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/ |
H A D | netshare_exec.cpp | 43 …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 D | netshare_callback_observer.cpp | 86 napi_value boolean = NapiUtils::GetBoolean(env, *inputBoolean); in CreateSharingStateChangedParam()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/preference/ |
H A D | storage_impl.h | 50 bool GetBoolean(const std::string& key, bool& value) override in GetBoolean() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/storage/ |
H A D | storage.h | 44 virtual bool GetBoolean(const std::string& key, bool& value) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_javascript_result_callback.cpp | 40 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 D | parameter_ex.h | 33 bool GetBoolean(const std::string& key, const bool defaultValue);
|
/ohos5.0/foundation/distributeddatamgr/data_object/interfaces/innerkits/ |
H A D | distributed_object.h | 99 virtual uint32_t GetBoolean(const std::string &key, bool &value) = 0;
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/ |
H A D | distributed_object_impl.h | 32 uint32_t GetBoolean(const std::string &key, bool &value) override;
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | resource_manager_addon.cpp | 106 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 D | mock_resource_adapter.h | 46 MOCK_CONST_METHOD1(GetBoolean, bool(uint32_t resId));
|
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | AnimationJS.cpp | 165 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 D | errorcode-webview.md | 268 需要根据消息的类型调用相应的接口来获取消息的值。举例:如获取到的类型是BOOLEAN,则需要调用GetBoolean接口来获取布尔值。
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_util.cpp | 147 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 D | resource_manager_impl.cpp | 378 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
|