Home
last modified time | relevance | path

Searched refs:boolVal (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/window_fuzzer/
H A Dwindow_fuzzer.cpp333 bool boolVal = false; in CheckWindowImplFunctionsPart1() local
335 window->SetFocusable(boolVal); in CheckWindowImplFunctionsPart1()
338 window->SetTouchable(boolVal); in CheckWindowImplFunctionsPart1()
379 window->SetFullScreen(boolVal); in CheckWindowImplFunctionsPart1()
408 bool boolVal = false; in CheckWindowImplFunctionsPart2() local
416 window->SetTransparent(boolVal); in CheckWindowImplFunctionsPart2()
419 window->SetBrightness(boolVal); in CheckWindowImplFunctionsPart2()
426 window->SetPrivacyMode(boolVal); in CheckWindowImplFunctionsPart2()
461 bool boolVal; in CheckWindowImplFunctionsPart3() local
500 bool boolVal; in CheckWindowImplFunctionsPart4() local
[all …]
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/windowagent_fuzzer/
H A Dwindow_agent_fuzzer.cpp53 bool boolVal; in CheckWindowAgentFunctionsPart1() local
56 startPos += GetObject<bool>(boolVal, data + startPos, size - startPos); in CheckWindowAgentFunctionsPart1()
58 agent->UpdateWindowRect(rect, boolVal, reason); in CheckWindowAgentFunctionsPart1()
67 agent->UpdateFocusStatus(boolVal); in CheckWindowAgentFunctionsPart1()
68 agent->NotifyForegroundInteractiveStatus(boolVal); in CheckWindowAgentFunctionsPart1()
116 bool boolVal; in CheckWindowAgentFunctionsPart2() local
117 startPos += GetObject<bool>(boolVal, data + startPos, size - startPos); in CheckWindowAgentFunctionsPart2()
118 agent->UpdateActiveStatus(boolVal); in CheckWindowAgentFunctionsPart2()
125 agent->UpdateZoomTransform(trans, boolVal); in CheckWindowAgentFunctionsPart2()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/
H A Ddetector_value.h26 bool boolVal; member
29 DetectorValue(int32_t intVal, int32_t timeVal, bool boolVal, const std::string &strVal) in DetectorValue()
30 : intVal(intVal), timeVal(timeVal), boolVal(boolVal), strVal(strVal) {} in DetectorValue()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dwork_status_test.cpp293 timerCondition->boolVal = true;
487 timerCondition->boolVal = true;
550 repeatCycle->boolVal = true;
566 repeatCycle->boolVal = false;
583 repeatCycle->boolVal = false;
602 repeatCycle->boolVal = false;
619 repeatCycle->boolVal = true;
648 repeatCycle1->boolVal = true;
653 repeatCycle2->boolVal = false;
670 repeatCycle1->boolVal = true;
[all …]
H A Dworkschedulerservice_test.cpp904 repeatCycle->boolVal = true;
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_status.cpp89 timeCondition->boolVal = workTimerCondition->boolVal; in WorkStatus()
90 if (!workTimerCondition->boolVal) { in WorkStatus()
119 if (type == WorkCondition::Type::GROUP && value && value->boolVal) { in OnConditionChanged()
159 if (conditionMap_.at(WorkCondition::Type::TIMER)->boolVal) { in UpdateTimerIfNeed()
177 if (conditionMap_.at(WorkCondition::Type::TIMER)->boolVal) { in NeedRemove()
325 if (conditionSet->boolVal != conditionCurrent->boolVal) { in IsChargerReady()
328 if (conditionSet->boolVal) { in IsChargerReady()
399 if (conditionSet->boolVal != conditionCurrent->boolVal) { in IsNapReady()
511 if (conditionMap_.at(WorkCondition::Type::TIMER)->boolVal) { in IsRepeating()
566 if (conditionMap_.at(WorkCondition::Type::TIMER)->boolVal) { in Dump()
[all …]
H A Dwork_queue.cpp75 value->boolVal = conditionVal->boolVal; in ParseCondition()
88 value->boolVal = conditionVal->boolVal; in ParseCondition()
94 value->boolVal = conditionVal->boolVal; in ParseCondition()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp66 chargerCondition->boolVal = isCharging; in RequestChargerType()
97 repeatCycle->boolVal = false; in RequestRepeatCycle()
105 repeatCycle->boolVal = true; in RequestRepeatCycle()
147 deepIdleCondition->boolVal = deepIdle; in RequestDeepIdle()
336 ret = ret && parcel.WriteBool(it.second->boolVal); in Marshalling()
348 ret = ret && parcel.WriteBool(it.second->boolVal); in Marshalling()
349 if (!it.second->boolVal) { in Marshalling()
510 conditions["isCharging"] = it.second->boolVal; in ParseConditionToJsonStr()
528 conditions["repeat"] = it.second->boolVal; in ParseConditionToJsonStr()
530 if (!it.second->boolVal) { in ParseConditionToJsonStr()
[all …]
/ohos5.0/base/update/updater/test/unittest/utils/json/
H A Dutils_json_test.cpp222 constexpr bool boolVal = false; variable
226 node["key"][idx++] = boolVal;
229 EXPECT_EQ(node["key"][--idx], boolVal);
246 constexpr bool boolVal = false; variable
247 node["key"] = boolVal;
248 EXPECT_EQ(node["key"], boolVal);
/ohos5.0/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()
59 preferencesUtil->ObtainBool(std::to_string(userId), boolVal); in FuzzScreenlockUtils()
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/pip_fuzzer/
H A Dpip_fuzzer.cpp74 bool boolVal = false; in DoSomethingInterestingWithMyAPI() local
75 startPos += GetObject(boolVal, data + startPos, size - startPos); in DoSomethingInterestingWithMyAPI()
76 controller->SetAutoStartEnabled(boolVal); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/systemabilitymgr/samgr/test/fuzztest/samgr_fuzzer/include/
H A Dfuzztest_utils.h34 bool boolVal = static_cast<bool>(*data); in BuildBoolFromData() local
35 return boolVal; in BuildBoolFromData()
/ohos5.0/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()
/ohos5.0/base/global/i18n/interfaces/js/kits/src/
H A Dvariable_convertor.cpp65 bool &boolVal) in GetBoolOptionValue() argument
86 napi_get_value_bool(env, optionValue, &boolVal); in GetBoolOptionValue()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_condition.h84 bool boolVal; member
/ohos5.0/base/global/i18n/interfaces/js/kits/include/
H A Dvariable_convertor.h33 …etBoolOptionValue(napi_env env, napi_value &options, const std::string &optionName, bool &boolVal);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_statement.cpp189 bool boolVal = false; in InnerBindBlobTypeArgs() local
190 arg.GetBool(boolVal); in InnerBindBlobTypeArgs()
191 ret = RdUtils::RdSqlBindInt64(stmtHandle_, index, boolVal ? 1 : 0); in InnerBindBlobTypeArgs()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_value_bucket_test.cpp105 bool boolVal = false; variable
106 valueObject.GetBool(boolVal);
107 EXPECT_EQ(true, boolVal);
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/
H A Dpicker_n_exporter.cpp108 const bool boolVal = pickerCallBack->want.GetBoolParam(key.c_str(), false); in MakeResultWithBool() local
109 HILOG_INFO("[picker]: %{public}s is %{public}d ", key.c_str(), boolVal); in MakeResultWithBool()
111 napi_get_boolean(env, boolVal, &nBoolVal); in MakeResultWithBool()
/ohos5.0/foundation/communication/ipc/ipc/test/serializer/
H A Dutils_serializer_test.cpp84 bool boolVal; in ReadTestData() local
85 bool result = ReadBool(io, &boolVal); in ReadTestData()
87 EXPECT_EQ(boolVal, data.boolTest); in ReadTestData()
192 bool boolVal; in ReadTestDataUnaligned() local
193 result = ReadBoolUnaligned(io, &boolVal); in ReadTestDataUnaligned()
194 EXPECT_EQ(boolVal, data.boolTest); in ReadTestDataUnaligned()
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account.cpp459 napi_value boolVal = nullptr; in CheckDataSyncEnabledInternal() local
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() local
1422 napi_get_boolean(env, context->isAccessible, &boolVal); in CheckAppAccess()
1423 … ProcessCallbackOrPromise(env, context, GenerateBusinessError(env, context->errCode), boolVal); in CheckAppAccess()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp332 condUnknown->boolVal = true;
/ohos5.0/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()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_parcel_test.cpp184 bool boolVal = true; in ReadTestDataWithTarget() local
185 result = parcel.ReadBool(boolVal); in ReadTestDataWithTarget()
187 EXPECT_EQ(boolVal, data.booltest); in ReadTestDataWithTarget()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/
H A Dparcel_benchmark_test.cpp228 bool boolVal = true; in ReadTestDataWithTarget() local
229 result = parcel.ReadBool(boolVal); in ReadTestDataWithTarget()
231 AssertEqual(boolVal, data.booltest, "boolVal did not equal data.booltest as expected.", state); in ReadTestDataWithTarget()

12