Home
last modified time | relevance | path

Searched refs:strValue (Results 1 - 25 of 97) sorted by relevance

1234

/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/src/
H A Ddlp_state_data.cpp71 std::u16string strValue; in ReadFromParcel() local
72 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
75 targetBundleName = Str16ToStr8(strValue); in ReadFromParcel()
77 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
80 targetModuleName = Str16ToStr8(strValue); in ReadFromParcel()
82 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
85 targetAbilityName = Str16ToStr8(strValue); in ReadFromParcel()
97 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
98 TAG_LOGW(AAFwkTag::CONNECTION, "read strValue failed"); in ReadFromParcel()
101 callerName = Str16ToStr8(strValue); in ReadFromParcel()
[all...]
H A Dconnection_data.cpp75 std::u16string strValue; in ReadFromParcel() local
76 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
79 extensionBundleName = Str16ToStr8(strValue); in ReadFromParcel()
81 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
84 extensionModuleName = Str16ToStr8(strValue); in ReadFromParcel()
86 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
89 extensionName = Str16ToStr8(strValue); in ReadFromParcel()
107 if (!parcel.ReadString16(strValue)) { in ReadFromParcel()
108 TAG_LOGW(AAFwkTag::CONNECTION, "read strValue failed"); in ReadFromParcel()
111 callerName = Str16ToStr8(strValue); in ReadFromParcel()
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dfault_data.cpp26 std::string strValue; in ReadFromParcel() local
27 if (!parcel.ReadString(strValue)) { in ReadFromParcel()
31 errorObject.name = strValue; in ReadFromParcel()
33 if (!parcel.ReadString(strValue)) { in ReadFromParcel()
37 errorObject.message = strValue; in ReadFromParcel()
39 if (!parcel.ReadString(strValue)) { in ReadFromParcel()
43 errorObject.stack = strValue; in ReadFromParcel()
52 if (!parcel.ReadString(strValue)) { in ReadFromParcel()
56 timeoutMarkers = strValue; in ReadFromParcel()
147 std::string strValue; in ReadFromParcel() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/
H A Djsi_interface_tdd_test.cpp280 char *strValue = JSI::ValueToString(str); in JSIInterfaceTest007() local
282 * @tc.expected: step2-step4. res1 = true, res2 = false and strValue = "test" in JSIInterfaceTest007()
284 if ((strValue != nullptr) && res1 && !res2 && !strcmp(strValue, "test")) { in JSIInterfaceTest007()
289 EXPECT_TRUE((strValue != nullptr) && res1 && !res2 && !strcmp(strValue, "test")); in JSIInterfaceTest007()
291 JSI::ReleaseString(strValue); in JSIInterfaceTest007()
400 JSIValue strValue = JSI::CreateString("Symbol description string"); in JSIInterfaceTest011() local
401 JSIValue symbol = JSI::CreateSymbol(strValue); in JSIInterfaceTest011()
422 JSI::ReleaseValueList(strValue, symbo in JSIInterfaceTest011()
588 JSIValue strValue = JSI::CreateString("test"); JSIInterfaceTest017() local
896 char *strValue = JSI::JSIValueToString(str); JSIInterfaceTest024() local
934 char *strValue = JSI::JSIValueToString(num); JSIInterfaceTest025() local
971 char *strValue = JSI::JSIValueToString(jsBool); JSIInterfaceTest026() local
1007 char *strValue = JSI::JSIValueToString(object); JSIInterfaceTest027() local
1050 char *strValue = JSI::JSIValueToString(array); JSIInterfaceTest028() local
1087 char *strValue = JSI::JSIValueToString(func); JSIInterfaceTest029() local
[all...]
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/
H A Daudio_haptic_common_napi.cpp72 std::string strValue = ""; in GetStringArgument() local
77 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, strValue, "GetStringArgument: no memory"); in GetStringArgument()
81 strValue = buffer; in GetStringArgument()
86 return strValue; in GetStringArgument()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/
H A Dringtone_common_napi.cpp28 std::string strValue = ""; in GetStringArgument() local
33 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, strValue, "no memory"); in GetStringArgument()
37 strValue = buffer; in GetStringArgument()
42 return strValue; in GetStringArgument()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Ddiv_component.cpp49 const char * const strValue = GetStyleStrValue(style); in ApplyPrivateStyle() local
50 if (strValue == nullptr) { in ApplyPrivateStyle()
55 NativeViewSetDirection(style, stylePropNameId, strValue, applyResult); in ApplyPrivateStyle()
60 const char * const strValue, bool& applyResult) in NativeViewSetDirection()
62 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in NativeViewSetDirection()
59 NativeViewSetDirection(const AppStyleItem* style, uint16_t stylePropNameId, const char * const strValue, bool& applyResult) NativeViewSetDirection() argument
H A Dimage_component.cpp90 const char * const strValue = GetStyleStrValue(style); in ApplyPrivateStyle() local
91 if (strValue == nullptr) { in ApplyPrivateStyle()
94 uint16_t mode = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in ApplyPrivateStyle()
H A Dlist_component.cpp76 const char * const strValue = GetStyleStrValue(style); in ApplyPrivateStyle() local
77 if (strValue == nullptr) { in ApplyPrivateStyle()
81 uint16_t valueId = KeyParser::ParseKeyId(strValue, GetStyleStrValueLen(style)); in ApplyPrivateStyle()
H A Dcomponent.cpp865 void Component::SetAnimationDuration(const AppStyleItem *styleItem, const char *strValue) in SetAnimationDuration() argument
868 || strValue == nullptr) { in SetAnimationDuration()
877 trans_->during = ParseToMilliseconds(strValue); in SetAnimationDuration()
880 void Component::SetAnimationTimingFunction(const char *strValue, size_t strLen) in SetAnimationTimingFunction() argument
882 if (strValue == nullptr) { in SetAnimationTimingFunction()
887 uint16_t animationTimingKeyId = KeyParser::ParseKeyId(strValue, strLen); in SetAnimationTimingFunction()
904 void Component::SetAnimationFillMode(const char *strValue, size_t strLen) in SetAnimationFillMode() argument
906 if (strValue == nullptr) { in SetAnimationFillMode()
911 uint16_t animationFillKeyId = KeyParser::ParseKeyId(strValue, strLen); in SetAnimationFillMode()
922 void Component::SetAnimationDelay(const AppStyleItem *styleItem, const char *strValue) in SetAnimationDelay() argument
937 SetAnimationIterationCount(const AppStyleItem *styleItem, const char *strValue) SetAnimationIterationCount() argument
967 const char * const strValue = GetStyleStrValue(styleItem); SetAnimationStyle() local
1490 const char * const strValue = GetStyleStrValue(styleItem); SetVisible() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_system_event_processer.cpp199 std::string strValue("bt_headset_nrec+"); in ProcessNoiseReductionEvent()
202 strValue.append("on"); in ProcessNoiseReductionEvent()
204 strValue.append("off"); in ProcessNoiseReductionEvent()
206 systemInterface_.SetAudioParameters(strValue); in ProcessNoiseReductionEvent()
211 std::string strValue("bt_wbs+"); in ProcessWideBandSpeechEvent()
214 strValue.append("on"); in ProcessWideBandSpeechEvent()
218 strValue.append("off"); in ProcessWideBandSpeechEvent()
221 strValue.clear(); in ProcessWideBandSpeechEvent()
224 systemInterface_.SetAudioParameters(strValue); in ProcessWideBandSpeechEvent()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp374 string strValue = ""; in HWTEST_F() local
378 valueObject.GetString(strValue); in HWTEST_F()
379 EXPECT_EQ("deviceId", strValue); in HWTEST_F()
430 string strValue = ""; in HWTEST_F() local
434 valueObject.GetString(strValue); in HWTEST_F()
435 EXPECT_EQ("123456", strValue); in HWTEST_F()
480 string strValue = ""; in HWTEST_F() local
484 valueObject.GetString(strValue); in HWTEST_F()
485 EXPECT_EQ("1234567", strValue); in HWTEST_F()
536 string strValue in HWTEST_F() local
592 string strValue = ""; HWTEST_F() local
688 string strValue = ""; HWTEST_F() local
738 string strValue = ""; HWTEST_F() local
1342 string strValue = "strValue"; HWTEST_F() local
1377 string strValue = "strValue"; HWTEST_F() local
1419 string strValue = "strValue"; HWTEST_F() local
1447 string strValue = "strValue"; HWTEST_F() local
1492 string strValue = ""; HWTEST_F() local
1510 string strValue = "strValue"; HWTEST_F() local
1553 string strValue = "strValue"; HWTEST_F() local
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb_data_share_adapter/unittest/
H A Drdb_data_share_adapter_test.cpp203 std::string strValue; in HWTEST_F() local
204 allDataTypes->GetString(1, strValue); in HWTEST_F()
205 EXPECT_EQ("hello", strValue); in HWTEST_F()
245 std::string strValue; in HWTEST_F() local
246 allDataTypes->GetString(1, strValue); in HWTEST_F()
247 EXPECT_EQ("hello", strValue); in HWTEST_F()
259 allDataTypes->GetString(1, strValue); in HWTEST_F()
260 EXPECT_EQ("hello world", strValue); in HWTEST_F()
344 std::string strValue; in HWTEST_F() local
345 allDataTypes->GetString(1, strValue); in HWTEST_F()
[all...]
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp496 std::string strValue = ""; in EntriesToTrustDeviceProfile() local
498 if (values.GetObject(DEVICE_ID, valueObject) && valueObject.GetString(strValue) == NativeRdb::E_OK) { in EntriesToTrustDeviceProfile()
499 profile.SetDeviceId(strValue); in EntriesToTrustDeviceProfile()
501 if (values.GetObject(DEVICE_ID_HASH, valueObject) && valueObject.GetString(strValue) == NativeRdb::E_OK) { in EntriesToTrustDeviceProfile()
502 profile.SetDeviceIdHash(strValue); in EntriesToTrustDeviceProfile()
515 std::string strValue = ""; in EntriesToAccessControlProfile() local
527 if (GetStringValue(values, SESSION_KEY, strValue)) { in EntriesToAccessControlProfile()
528 profile.SetSessionKey(strValue); in EntriesToAccessControlProfile()
548 if (GetStringValue(values, TRUST_DEVICE_ID, strValue)) { in EntriesToAccessControlProfile()
549 profile.SetTrustDeviceId(strValue); in EntriesToAccessControlProfile()
563 std::string strValue = ""; EntriesToAccesser() local
593 std::string strValue = ""; EntriesToAccessee() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_query.cpp126 auto strValue = std::get_if<std::string>(&ctxt->vv); in EqualTo() local
127 if (strValue != nullptr) { in EqualTo()
128 query.EqualTo(ctxt->field, *strValue); in EqualTo()
151 auto strValue = std::get_if<std::string>(&ctxt->vv); in NotEqualTo() local
152 if (strValue != nullptr) { in NotEqualTo()
153 query.NotEqualTo(ctxt->field, *strValue); in NotEqualTo()
176 auto strValue = std::get_if<std::string>(&ctxt->vv); in GreaterThan() local
177 if (strValue != nullptr) { in GreaterThan()
178 query.GreaterThan(ctxt->field, *strValue); in GreaterThan()
201 auto strValue in LessThan() local
226 auto strValue = std::get_if<std::string>(&ctxt->vv); GreaterThanOrEqualTo() local
251 auto strValue = std::get_if<std::string>(&ctxt->vv); LessThanOrEqualTo() local
[all...]
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_dhcpd.cpp202 std::string strValue = arg->value; in InitLeaseTime() local
203 config->leaseTime = static_cast<uint32_t>(OHOS::DHCP::CheckDataLegal(strValue)); in InitLeaseTime()
216 std::string strValue = arg->value; in InitRenewalTime() local
217 config->renewalTime = static_cast<uint32_t>(OHOS::DHCP::CheckDataLegal(strValue)); in InitRenewalTime()
231 std::string strValue = arg->value; in InitRebindingTime() local
232 config->rebindingTime = static_cast<uint32_t>(OHOS::DHCP::CheckDataLegal(strValue)); in InitRebindingTime()
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_value_parcel.cpp486 std::string strValue; in UnmarshallingStringValue() local
489 strValue = ""; in UnmarshallingStringValue()
491 strValue.resize(strLen); in UnmarshallingStringValue()
492 strValue.assign(startAddr + sizeof(uint8_t) + sizeof(size_t), startAddr + sizeof(uint8_t) + sizeof(size_t) + in UnmarshallingStringValue()
498 obj.valueStr = strValue; in UnmarshallingStringValue()
501 return std::make_pair(E_OK, PreferencesValue(strValue)); in UnmarshallingStringValue()
522 std::string strValue; in UnmarshallingStringArrayValue() local
524 strValue = ""; in UnmarshallingStringArrayValue()
526 strValue.resize(strLen); in UnmarshallingStringArrayValue()
527 strValue in UnmarshallingStringArrayValue()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_picker_base.cpp98 std::string strValue; in GetPickerDate() local
100 if (!std::getline(streamDate, strValue, PICKER_DATE_SPLITTER)) { in GetPickerDate()
103 outDate.SetYear(StringUtils::StringToInt(strValue)); in GetPickerDate()
104 if (!std::getline(streamDate, strValue, PICKER_DATE_SPLITTER)) { in GetPickerDate()
107 outDate.SetMonth(StringUtils::StringToInt(strValue)); in GetPickerDate()
108 if (!std::getline(streamDate, strValue, PICKER_DATE_SPLITTER)) { in GetPickerDate()
111 outDate.SetDay(StringUtils::StringToInt(strValue)); in GetPickerDate()
117 std::string strValue; in GetPickerTime() local
119 if (!std::getline(streamDate, strValue, PICKER_TIME_SPLITTER)) { in GetPickerTime()
122 outTime.SetHour(StringUtils::StringToInt(strValue)); in GetPickerTime()
165 std::string strValue = attr.second; SetSpecializedAttr() local
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_step_result_set_test.cpp35 std::string strValue; member
178 std::string strValue; in CheckResultSetData() local
183 int iRet = resultSet->GetString(columnIndex, strValue); in CheckResultSetData()
185 EXPECT_EQ(resultSetData.strValue, strValue); in CheckResultSetData()
571 std::string strValue; in HWTEST_F() local
572 int iRet = resultSet->GetString(0, strValue); in HWTEST_F()
577 iRet = resultSet->GetString(0, strValue); in HWTEST_F()
579 EXPECT_EQ("hello", strValue); in HWTEST_F()
580 iRet = resultSet->GetString(1, strValue); in HWTEST_F()
1645 std::string strValue; HWTEST_F() local
[all...]
/foundation/multimedia/media_foundation/tests/unittest/event_bean/
H A Devent_bean_inner_unit_test.cpp38 std::string strValue = "invalidValue"; member in OHOS::Media::EventBeanUT::EventBeanInnerUnitTest
113 eventBean_->UpdateStringMap(strKey, strValue); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_query.cpp138 auto strValue = std::get_if<std::string>(&ctxt->vv); in EqualTo() local
139 if (strValue != nullptr) { in EqualTo()
140 query.EqualTo(ctxt->field, *strValue); in EqualTo()
165 auto strValue = std::get_if<std::string>(&ctxt->vv); in NotEqualTo() local
166 if (strValue != nullptr) { in NotEqualTo()
167 query.NotEqualTo(ctxt->field, *strValue); in NotEqualTo()
192 auto strValue = std::get_if<std::string>(&ctxt->vv); in GreaterThan() local
193 if (strValue != nullptr) { in GreaterThan()
194 query.GreaterThan(ctxt->field, *strValue); in GreaterThan()
219 auto strValue in LessThan() local
246 auto strValue = std::get_if<std::string>(&ctxt->vv); GreaterThanOrEqualTo() local
273 auto strValue = std::get_if<std::string>(&ctxt->vv); LessThanOrEqualTo() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style_item.cpp183 const char *strValue = from.GetStrValue(); in CreateStyleItem() local
184 if (strValue != nullptr) { in CreateStyleItem()
185 SetStringValue(strValue); in CreateStyleItem()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_exif_test.cpp260 std::string strValue; in HWTEST_F() local
264 imageSource->GetImagePropertyString(index, key, strValue); in HWTEST_F()
265 ASSERT_EQ(strValue, "Top-left"); in HWTEST_F()
270 imageSource->GetImagePropertyString(index, key, strValue); in HWTEST_F()
271 ASSERT_EQ(strValue, "Bottom-right"); in HWTEST_F()
276 imageSource->GetImagePropertyString(index, key, strValue); in HWTEST_F()
277 ASSERT_EQ(strValue, "Right-top"); in HWTEST_F()
282 imageSource->GetImagePropertyString(index, key, strValue); in HWTEST_F()
283 ASSERT_EQ(strValue, "Left-bottom"); in HWTEST_F()
288 imageSource->GetImagePropertyString(index, key, strValue); in HWTEST_F()
311 std::string strValue; HWTEST_F() local
[all...]
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dnapi_param_utils.cpp65 std::string strValue = ""; in GetStringArgument() local
69 strValue.reserve(bufLength + 1); in GetStringArgument()
70 strValue.resize(bufLength); in GetStringArgument()
71 status = napi_get_value_string_utf8(env, value, strValue.data(), bufLength + 1, &bufLength); in GetStringArgument()
73 DRM_DEBUG_LOG("argument = %{public}s", strValue.c_str()); in GetStringArgument()
76 return strValue; in GetStringArgument()
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp196 std::string strValue = "strValue"; in EntriesToAccesserFuzzTest() local
199 values.PutString(ACCESSER_DEVICE_ID, strValue); in EntriesToAccesserFuzzTest()
201 values.PutString(ACCESSER_ACCOUNT_ID, strValue); in EntriesToAccesserFuzzTest()
203 values.PutString(ACCESSER_BUNDLE_NAME, strValue); in EntriesToAccesserFuzzTest()
332 std::string strValue = "strValue"; in GetStringValueFuzzTest() local
334 values.PutString(property, strValue); in GetStringValueFuzzTest()

Completed in 21 milliseconds

1234