/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/window_fuzzer/ |
H A D | window_fuzzer.cpp | 333 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 D | window_agent_fuzzer.cpp | 53 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 D | detector_value.h | 26 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 D | work_status_test.cpp | 293 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 D | workschedulerservice_test.cpp | 904 repeatCycle->boolVal = true;
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_status.cpp | 89 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 D | work_queue.cpp | 75 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 D | work_info.cpp | 66 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 D | utils_json_test.cpp | 222 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 D | screenlockutils_fuzzer.cpp | 57 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 D | pip_fuzzer.cpp | 74 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 D | fuzztest_utils.h | 34 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 D | updater_utils_fuzzer.cpp | 305 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 D | variable_convertor.cpp | 65 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 D | work_condition.h | 84 bool boolVal; member
|
/ohos5.0/base/global/i18n/interfaces/js/kits/include/ |
H A D | variable_convertor.h | 33 …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 D | rd_statement.cpp | 189 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 D | rdb_value_bucket_test.cpp | 105 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 D | picker_n_exporter.cpp | 108 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 D | utils_serializer_test.cpp | 84 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 D | napi_app_account.cpp | 459 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 D | workinfo_test.cpp | 332 condUnknown->boolVal = true;
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_javascript_result_callback.cpp | 553 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 D | utils_parcel_test.cpp | 184 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 D | parcel_benchmark_test.cpp | 228 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()
|