Home
last modified time | relevance | path

Searched refs:value (Results 9301 - 9325 of 10207) sorted by relevance

1...<<371372373374375376377378379380>>...409

/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Djs_application_context_utils.cpp97 napi_value value = CreateJsBaseContext(env, bundleContext, true); in OnCreateBundleContext() local
98 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in OnCreateBundleContext()
217 napi_value value = CreateJsBaseContext(env, moduleContext, true); in CreateJsModuleContext() local
218 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.Context", &value, 1); in CreateJsModuleContext()
1539 napi_value value = CreateJsApplicationContext(env); in OnGetApplicationContext() local
1540 auto systemModule = JsRuntime::LoadSystemModuleByEngine(env, "application.ApplicationContext", &value, 1); in OnGetApplicationContext()
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_ui_extension_context.cpp95 bool CheckConnectionParam(napi_env env, napi_value value, sptr<JSUIExtensionConnection>& connection, AAFwk::Want& want) in CheckConnectionParam() argument
97 if (!CheckTypeForNapiValue(env, value, napi_object)) { in CheckConnectionParam()
101 connection->SetJsConnectionObject(value); in CheckConnectionParam()
1267 napi_ref value = nullptr; in SetJsConnectionObject() local
1268 napi_create_reference(env_, jsConnectionObject, 1, &value); in SetJsConnectionObject()
1269 jsConnectionObject_ = std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(value)); in SetJsConnectionObject()
H A Djs_ui_extension_content_session.cpp290 auto value = JsRuntime::LoadSystemModuleByEngine(env, "application.extensionWindow", &jsExtensionWindow, 1); in OnGetUIExtensionHostWindowProxy() local
291 if (value == nullptr) { in OnGetUIExtensionHostWindowProxy()
295 return value->GetNapiValue(); in OnGetUIExtensionHostWindowProxy()
314 auto value = JsRuntime::LoadSystemModuleByEngine(env, "application.extensionWindow", &jsExtensionWindow, 1); in OnGetUIExtensionWindowProxy() local
315 if (value == nullptr) { in OnGetUIExtensionWindowProxy()
319 return value->GetNapiValue(); in OnGetUIExtensionWindowProxy()
/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/
H A Dtabtitlebar.js382 value: PUBLIC_MORE,
1132 this.item = { value: '' };
1274 Image.create(this.item.value);
1299 this.tabTitleDialog = { value: '' };
1422 Image.create(this.tabTitleDialog.value);
1474 Image.create(this.tabTitleDialog.value);
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Dsheet_presentation_test_ng.cpp473 EXPECT_NE(sheetStyle.sheetType.value(), SheetType::SHEET_BOTTOM); in HWTEST_F()
483 EXPECT_EQ(sheetStyle.sheetType.value(), SheetType::SHEET_BOTTOM); in HWTEST_F()
572 EXPECT_NE(sheetStyle.sheetType.value(), SheetType::SHEET_CENTER); in HWTEST_F()
578 EXPECT_EQ(sheetStyle.sheetType.value(), SheetType::SHEET_CENTER); in HWTEST_F()
1248 EXPECT_EQ(renderContext->GetOuterBorderWidth().value(), BorderWidth); in HWTEST_F()
1250 EXPECT_EQ(renderContext->GetBorderWidth().value(), BorderWidth); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_overlay_test_ng.cpp619 options.value = INIT_VALUE_1; in HWTEST_F()
650 options.value = INIT_VALUE_1; in HWTEST_F()
1049 EXPECT_EQ(richEditorPattern->selectedType_.value(), TextSpanType::TEXT); in HWTEST_F()
1056 EXPECT_EQ(richEditorPattern->selectedType_.value(), TextSpanType::IMAGE); in HWTEST_F()
1060 EXPECT_EQ(richEditorPattern->selectedType_.value(), TextSpanType::MIXED); in HWTEST_F()
1131 textOptions.value = INIT_VALUE_2; in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/patternlock/
H A Dpatternlock_test_ng.cpp151 * @tc.desc: Set PatternLock value into PatternLockPaintProperty and get it.
290 * @tc.expected: step1. Check the return value of PatternLock pattern method CheckAutoReset in HWTEST_F()
367 * @tc.expected: step1. Check the return value of PatternLock pattern method CheckChoosePoint in HWTEST_F()
445 * @tc.expected: step3. Check the PatternLock pattern value in HWTEST_F()
469 * @tc.expected: step3. Check the PatternLock pattern value in HWTEST_F()
499 * @tc.expected: step3. Check the PatternLock pattern value in HWTEST_F()
527 * @tc.expected: step3. Check the PatternLock pattern value in HWTEST_F()
586 * @tc.expected: step3. Check the PatternLock pattern value in HWTEST_F()
851 EXPECT_EQ(pattern_->patternLockModifier_->challengeResult_.value(), NG::PatternLockChallengeResult::CORRECT); in HWTEST_F()
858 EXPECT_EQ(pattern_->patternLockModifier_->challengeResult_.value(), N in HWTEST_F()
[all...]
/foundation/barrierfree/accessibility/frameworks/aafwk/src/
H A Daccessible_ability_client_impl.cpp137 void AccessibleAbilityClientImpl::OnParameterChanged(const char *key, const char *value, void *context) in OnParameterChanged() argument
142 if (value == nullptr || std::strcmp(value, "true")) { in OnParameterChanged()
194 char value[CONFIG_PARAMETER_VALUE_SIZE] = "default"; in LoadSystemAbilitySuccess() local
195 int retSysParam = GetParameter(SYSTEM_PARAMETER_AAMS_SERVICE.c_str(), "false", value, CONFIG_PARAMETER_VALUE_SIZE); in LoadSystemAbilitySuccess()
201 if (retSysParam >= 0 && !std::strcmp(value, "true")) { in LoadSystemAbilitySuccess()
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_test_ng.cpp133 [this, getSize](const std::string& value, uint32_t idx) { CreateItemWithHeight(getSize(idx)); }; in CreateItemsInRepeat()
369 * @tc.steps: step1. compare waterFlow properties and expected value. in HWTEST_F()
370 * @tc.expected: waterFlow properties equals expected value. in HWTEST_F()
405 * @tc.steps: step1. compare waterFlow properties and expected value after change. in HWTEST_F()
406 * @tc.expected: waterFlow properties equals expected value after change. in HWTEST_F()
572 * @tc.steps: step2. set valid value. in HWTEST_F()
573 * @tc.expected: the value of layoutProperty_ is right. in HWTEST_F()
575 const std::string value = "1fr 1fr"; in HWTEST_F() local
577 model.SetColumnsTemplate(AceType::RawPtr(frameNode_), value); in HWTEST_F() local
578 model.SetRowsTemplate(AceType::RawPtr(frameNode_), value); in HWTEST_F() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_avrcp_ct_server.cpp1042 for (auto value : values) { in SetPlayerAppSettingCurrentValue()
1043 HILOGI("value: %{public}d", value); in SetPlayerAppSettingCurrentValue()
1044 myValues.push_back(static_cast<uint8_t>(value)); in SetPlayerAppSettingCurrentValue()
1086 for (auto value : values) { in GetPlayerAppSettingValueText()
1087 HILOGI("value: %{public}d", value); in GetPlayerAppSettingValueText()
1088 myValues.push_back(static_cast<uint8_t>(value)); in GetPlayerAppSettingValueText()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_install_driver_test.cpp1757 meta.value = "./test"; in HWTEST_F()
1763 meta.value = "../test"; in HWTEST_F()
1769 meta.value = "../test"; in HWTEST_F()
1775 meta.value = "/data"; in HWTEST_F()
1820 meta.value = "./"; in HWTEST_F()
1963 metadata.value = "./"; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_aot_test/
H A Dbms_data_aot_test.cpp172 * 2. verify function return value
187 * 2. verify function return value
203 * 2. verify function return value
219 * 2. verify function return value
235 * 2. verify function return value
253 * 2. verify function return value
272 * 2. verify function return value
292 * 2. verify function return value
341 * @tc.desc: 1. call InitState, expect get set value
342 * 1. call ResetState, expect get default value
1674 std::string value; HWTEST_F() local
1688 std::string value; HWTEST_F() local
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dproducer_surface_test.cpp346 * CaseDescription: 1. call GetQueueSize and get default value
348 * 3. call SetQueueSize again with abnormal value
681 auto func1 = [&ret1](const std::string& key, const std::string& value) { in HWTEST_F()
684 auto func2 = [&ret2](const std::string& key, const std::string& value) { in HWTEST_F()
745 (const std::string& key, const std::string& value) { in HWTEST_F()
1041 .value = 100, // for test in HWTEST_F()
1061 .value = 100, // for test in HWTEST_F()
1093 .value = 100, // 100 metaData value for test in HWTEST_F()
1178 uint8_t data = 10; // metaData value fo in HWTEST_F()
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
H A Dcamera_manager_napi.cpp68 void CacheNapiValue(napi_env env, const std::string& key, napi_value value) in CacheNapiValue() argument
71 napi_status status = napi_create_reference(env, value, 0, &ref); // 0 is weakref. in CacheNapiValue()
95 void CacheSupportedOutputCapability(napi_env env, const std::string& cameraId, int32_t mode, napi_value value) in CacheSupportedOutputCapability() argument
98 CacheNapiValue(env, key, value); in CacheSupportedOutputCapability()
112 void CacheSupportedCameras(napi_env env, const std::vector<sptr<CameraDevice>>& cameras, napi_value value) in CacheSupportedCameras() argument
124 CacheNapiValue(env, key, value); in CacheSupportedCameras()
1302 "invalid policyType value"); in MuteCameraPersist()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_fsm.c442 sessionKey.value, sizeof(sessionKey.value)) != EOK) { in SaveDeviceKey()
710 ret = AuthSessionSaveSessionKey(authFsm->authSeq, authFsm->info.normalizedKey->value, in RecoveryNormalizedDeviceKey()
1098 if (memcpy_s(sessionKey.value, sizeof(sessionKey.value), para->data, para->len) != EOK) { in HandleMsgSaveSessionKey()
1107 (void)CalcHKDF((uint8_t *)(&sessionKey.value), sessionKey.len, in HandleMsgSaveSessionKey()
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_ashmem.cpp613 int32_t value = 0; in WriteToAshmem() local
614 napi_get_value_int32(env, element, &value); in WriteToAshmem()
615 array.push_back(value); in WriteToAshmem()
668 int32_t value = 0; in WriteAshmem() local
669 napi_get_value_int32(env, element, &value); in WriteAshmem()
670 array.push_back(value); in WriteAshmem()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/
H A Dwifi_hdi_wpa_client.cpp648 char value[WIFI_HDI_MAX_STR_LENGTH +1] = {0}; in GetDeviceConfig() local
650 if (WIFI_HAL_OPT_OK != HdiWpaGetNetwork(networkId, param, value, valueLen, ifaceName)) { in GetDeviceConfig()
654 config.value = value; in GetDeviceConfig()
1350 const std::string &key, const std::string &value) const in ReqP2pSetSingleConfig()
1353 return HdiP2pSetSingleConfig(networkId, key.c_str(), value.c_str()); in ReqP2pSetSingleConfig()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dconnect.rs167 fn from(value: FieldRaw) -> Self { in from()
168 match value { in from()
355 fn from(value: &FieldType) -> Self { in from()
356 match value { in from()
372 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from()
373 let typ = match value { in try_from()
773 // wait for the return value from the cloud,
806 // wait for the return value from the cloud,
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_connection.cpp772 auto [errCode, value] = ExecuteForValue("PRAGMA wal_autocheckpoint"); in SetAutoCheckpoint()
778 if (static_cast<int64_t>(value) == targetValue) { in SetAutoCheckpoint()
782 std::tie(errCode, value) = ExecuteForValue("PRAGMA wal_autocheckpoint=" + std::to_string(targetValue)); in SetAutoCheckpoint()
1083 for (auto &[key, value] : newAssets) { in CompAssets()
1084 value.status = ValueObject::Asset::Status::STATUS_INSERT; in CompAssets()
1085 assets.insert(std::pair{ key, std::move(value) }); in CompAssets()
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_mine_softbus_listener.cpp443 .value = "1", in HWTEST_F()
458 .value = "", in HWTEST_F()
473 .value = "1", in HWTEST_F()
488 .value = "112341234", in HWTEST_F()
503 .value = "112341234", in HWTEST_F()
518 .value = "112341234", in HWTEST_F()
/test/xts/acts/distributeddatamgr/preferencesNdktestHvigor/entry/src/main/cpp/
H A Dnapi_init.cpp95 for (auto &[key, value] : intDataMap) { in SetAllValuesWithCheck()
96 OH_Preferences_SetInt(pref, key.c_str(), value); in SetAllValuesWithCheck()
100 for (auto &[key, value] : stringDataMap) { in SetAllValuesWithCheck()
101 OH_Preferences_SetString(pref, key.c_str(), value.c_str()); in SetAllValuesWithCheck()
107 for (auto &[key, value] : boolDataMap) { in SetAllValuesWithCheck()
108 OH_Preferences_SetBool(pref, key.c_str(), value); in SetAllValuesWithCheck()
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/
H A Dhdi_common_v1_3.cpp314 uint8_t value = entry.data.u8[0]; in SuperSlowMotionStatusCallback() local
316 if (value == OHOS_CONTROL_SLOW_MOTION_STATUS_DISABLE) { in SuperSlowMotionStatusCallback()
318 } else if (value == OHOS_CONTROL_SLOW_MOTION_STATUS_READY) { in SuperSlowMotionStatusCallback()
320 } else if (value == OHOS_CONTROL_SLOW_MOTION_STATUS_START) { in SuperSlowMotionStatusCallback()
322 } else if (value == OHOS_CONTROL_SLOW_MOTION_STATUS_RECORDING) { in SuperSlowMotionStatusCallback()
324 } else if (value == OHOS_CONTROL_SLOW_MOTION_STATUS_FINISH) { in SuperSlowMotionStatusCallback()
388 printf("capture colorSpaces value %d\n", colorSpaces); in CaptureByColorSpacesWithUpdateStreams()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_hipriv.c1010 oam_warning_log1(0, OAM_SF_CFG, "invalid value, %d", l_pwr); in wal_hipriv_set_regdomain_pwr()
2766 oam_warning_log0(0, OAM_SF_ANY, "{wal_hipriv_host_sleep_switch::invalid switch value}\r\n"); in wal_hipriv_host_sleep_switch()
2819 /* Enable/disable WOW events: hipriv "wlan0 wow <value>" 0:clear all events, Bit 0:Magic Packet Bit 1:NetPattern in wal_hipriv_set_wow()
2828 oam_warning_log0(0, OAM_SF_ANY, "{wal_hipriv_set_wow::invalid wow value}\r\n"); in wal_hipriv_set_wow()
2869 /* pc_param 指向'value', 将其取出放到ac_value中 */ in wal_hipriv_get_add_wow_pattern_param()
2871 oam_warning_log0(0, OAM_SF_ANY, "{wal_hipriv_set_wow_pattern::get value failed!}"); in wal_hipriv_get_add_wow_pattern_param()
2875 oam_warning_log0(0, OAM_SF_ANY, "{wal_hipriv_set_wow_pattern::invalid wow value}"); in wal_hipriv_get_add_wow_pattern_param()
2897 oam_warning_log0(0, OAM_SF_ANY, "{wal_hipriv_set_wow_pattern::invalid wow value}\r\n"); in wal_hipriv_get_add_wow_pattern_param()
2902 oam_warning_log0(0, OAM_SF_ANY, "{wal_hipriv_set_wow_pattern::invalid wow value}\r\n"); in wal_hipriv_get_add_wow_pattern_param()
2922 oam_warning_log0(0, OAM_SF_ANY, "{wal_get_add_wow_pattern_param::invalid wow value}"); in wal_get_add_wow_pattern_param()
3158 hi_u32 value; wal_hipriv_set_stbc_cap() local
5242 wal_hipriv_check_aifsn(wlan_cfgid_enum_uint16 cfg_id, hi_u32 value) wal_hipriv_check_aifsn() argument
5327 hi_u32 value = (hi_u32)oal_atoi(ac_arg_ptr); wal_hipriv_set_wmm_param() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties.cpp463 auto dirtyFlag = (rect != lastRect_.value()) || !(prevAbsMatrix == prevAbsMatrix_); in UpdateGeometryByParent()
476 parentMatrix = &(sandbox_->matrix_.value()); in UpdateGeometry()
493 dirtyFlag = dirtyFlag || rect != lastRect_.value(); in UpdateGeometry()
530 auto rootMat = rootMatrix.value(); in UpdateSandBoxMatrix()
542 Drawing::Matrix matrix = rootMatrix.value(); in UpdateSandBoxMatrix()
621 return cornerRadius_ ? cornerRadius_.value() : Vector4fZero; in GetCornerRadius()
3515 auto grayScale = grayScale_.value(); in GenerateColorFilter()
3528 auto brightness = brightness_.value(); in GenerateColorFilter()
3541 auto contrast = contrast_.value(); in GenerateColorFilter()
3555 auto saturate = saturate_.value(); in GenerateColorFilter()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_photo_operations.cpp267 string value = " (SELECT " + dateType + ", " + MediaColumn::MEDIA_ID + " FROM " + in AppendValidOrderClause() local
270 whereClause += " AND " + columnName + comparisonOperator + value; in AppendValidOrderClause()
512 ValueObject value; in SetPhotoSubTypeFromCmd() local
513 if (cmd.GetValueBucket().GetObject(PhotoColumn::PHOTO_SUBTYPE, value)) { in SetPhotoSubTypeFromCmd()
514 value.GetInt(subType); in SetPhotoSubTypeFromCmd()
522 ValueObject value; in SetCameraShotKeyFromCmd() local
523 if (cmd.GetValueBucket().GetObject(PhotoColumn::CAMERA_SHOT_KEY, value)) { in SetCameraShotKeyFromCmd()
524 value.GetString(cameraShotKey); in SetCameraShotKeyFromCmd()
532 ValueObject value; in GetCallingUid() local
533 if (cmd.GetValueBucket().GetObject(MEDIA_DATA_CALLING_UID, value)) { in GetCallingUid()
1274 ValueObject value; UpdateSystemRows() local
[all...]

Completed in 67 milliseconds

1...<<371372373374375376377378379380>>...409