Home
last modified time | relevance | path

Searched refs:boolVal (Results 1 - 7 of 7) sorted by relevance

/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockutils_fuzzer/
H A Dscreenlockutils_fuzzer.cpp57 bool boolVal = 0; in FuzzScreenlockUtils() local
58 preferencesUtil->SaveBool(std::to_string(userId), boolVal); in FuzzScreenlockUtils() local
59 preferencesUtil->ObtainBool(std::to_string(userId), boolVal); in FuzzScreenlockUtils() local
/base/update/updater/test/unittest/utils/json/
H A Dutils_json_test.cpp222 constexpr bool boolVal = false; in HWTEST_F() local
226 node["key"][idx++] = boolVal; in HWTEST_F()
229 EXPECT_EQ(node["key"][--idx], boolVal); in HWTEST_F()
246 constexpr bool boolVal = false; in HWTEST_F() local
247 node["key"] = boolVal; in HWTEST_F()
248 EXPECT_EQ(node["key"], boolVal); in HWTEST_F()
/base/update/updater/test/fuzztest/updaterutils_fuzzer/
H A Dupdater_utils_fuzzer.cpp305 constexpr bool boolVal = false; in TestJsonNodeOperation() local
309 node["key"][idx++] = boolVal; in TestJsonNodeOperation()
329 constexpr bool boolVal = false; in TestJsonNodeValueBoolChange() local
330 node["key"] = boolVal; in TestJsonNodeValueBoolChange()
/base/global/i18n/interfaces/js/kits/include/
H A Dvariable_convertor.h33 static bool GetBoolOptionValue(napi_env env, napi_value &options, const std::string &optionName, bool &boolVal);
/base/global/i18n/interfaces/js/kits/src/
H A Dvariable_convertor.cpp65 bool &boolVal) in GetBoolOptionValue()
86 napi_get_value_bool(env, optionValue, &boolVal); in GetBoolOptionValue()
64 GetBoolOptionValue(napi_env env, napi_value &options, const std::string &optionName, bool &boolVal) GetBoolOptionValue() argument
/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account.cpp459 napi_value boolVal = nullptr; in CheckDataSyncEnabledInternal()
460 napi_get_boolean(env, asyncContext->result, &boolVal); in CheckDataSyncEnabledInternal()
463 ProcessCallbackOrPromise(env, asyncContext, err, boolVal); in CheckDataSyncEnabledInternal()
1177 napi_value boolVal = nullptr; in CheckAuthTokenVisibilityCompleteCB() local
1178 napi_get_boolean(env, asyncContext->isVisible, &boolVal); in CheckAuthTokenVisibilityCompleteCB()
1181 ProcessCallbackOrPromise(env, asyncContext, err, boolVal); in CheckAuthTokenVisibilityCompleteCB()
1421 napi_value boolVal = nullptr; in CheckAppAccess()
1422 napi_get_boolean(env, context->isAccessible, &boolVal); in CheckAppAccess()
1423 ProcessCallbackOrPromise(env, context, GenerateBusinessError(env, context->errCode), boolVal); in CheckAppAccess()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_result_callback.cpp553 bool boolVal; in ParseBasicTypeNapiValue2NwebValue() local
554 s = napi_get_value_bool(env, value, &boolVal); in ParseBasicTypeNapiValue2NwebValue()
556 nwebValue->SetBoolean(boolVal); in ParseBasicTypeNapiValue2NwebValue()

Completed in 9 milliseconds