/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/ |
H A D | stage_app_info.cpp | 34 iconId_ = root->GetUInt("iconId", 0); in Parse() 35 labelId_ = root->GetUInt("labelId", 0); in Parse() 36 minAPIVersion_ = root->GetUInt("minAPIVersion", 0); in Parse() 37 targetAPIVersion_ = root->GetUInt("targetAPIVersion", 0); in Parse() 38 versionCode_ = root->GetUInt("versionCode", 0); in Parse()
|
H A D | stage_hap_module_info.cpp | 41 labelId_ = item->GetUInt("labelId", 0); in Parse()
|
/foundation/arkui/ace_engine/adapter/preview/external/ability/fa/ |
H A D | fa_app_info.cpp | 27 minAPIVersion_ = apiVersion->GetUInt("compatible", 0); in Parse() 29 targetAPIVersion_ = apiVersion->GetUInt("target", 0); in Parse() 37 versionCode_ = versionInfo->GetUInt("code", 0); in Parse()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_picker_pattern.cpp | 624 auto newYear = json->GetUInt("year") * 10 + number; in HandleYearKeyWaitingEvent() 638 auto maxDay = PickerDate::GetMaxDay(newYear, json->GetUInt("month")); in HandleYearKeyWaitingEvent() 639 if (json->GetUInt("day") > maxDay) { in HandleYearKeyWaitingEvent() 708 auto newMonth = json->GetUInt("month") * 10 + number; in HandleMonthKeyEvent() 717 auto maxDay = PickerDate::GetMaxDay(json->GetUInt("year"), newMonth); in HandleMonthKeyEvent() 718 if (json->GetUInt("day") > maxDay) { in HandleMonthKeyEvent() 763 auto newDay = json->GetUInt("day") * 10 + number; in HandleDayKeyEvent() 768 if (newDay <= PickerDate::GetMaxDay(json->GetUInt("year"), json->GetUInt("month"))) { in HandleDayKeyEvent() 847 auto newYear = json->GetUInt("yea in HandleTaskCallback() [all...] |
H A D | calendar_dialog_pattern.cpp | 1201 auto entryYear = entryJson->GetUInt("year"); in HandleEntryChange() 1202 auto entryMonth = entryJson->GetUInt("month"); in HandleEntryChange() 1203 auto entryDay = entryJson->GetUInt("day"); in HandleEntryChange() 1206 if (entryYear != calendarJson->GetUInt("year") || entryMonth != calendarJson->GetUInt("month")) { in HandleEntryChange()
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestJsonHelper.cpp | 126 ASSERT_EQ(values->GetUInt(UINT_TEST), 20); in HWTEST_F() 245 ASSERT_EQ(uintValues[0]->GetUInt(), uintValue); in HWTEST_F() 303 ASSERT_EQ(values->GetUInt(UINT_TEST), uintValue); in HWTEST_F() 332 ASSERT_EQ(stringKeyJsonPtr->GetUInt(), 0); in HWTEST_F() 333 ASSERT_EQ(stringKeyJsonPtr->GetUInt(INT_TEST, UINT32_MAX), UINT32_MAX); in HWTEST_F() 343 ASSERT_EQ(root->GetUInt(STRING_TEST, UINT32_MAX), UINT32_MAX); in HWTEST_F()
|
H A D | TestUtils.cpp | 195 ASSERT_EQ(stringKeyJsonPtr->GetUInt(), 0); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | node_object_test.cpp | 85 * @tc.desc: Put(const char* key, size_t value)/GetUInt(const std::string& key, uint32_t defaultVal) 105 * @tc.steps: step3. GetUInt(const std::string& key, uint32_t defaultVal) in HWTEST_F() 111 uint32_t ret2 = nodeObject->GetUInt(key2, defaultVal); in HWTEST_F() 116 uint32_t ret3 = nodeObject->GetUInt(key3, defaultVal); in HWTEST_F()
|
H A D | json_util_test.cpp | 99 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F() 108 EXPECT_FALSE(intValue->GetUInt() == -1); in HWTEST_F() 128 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F() 137 EXPECT_TRUE(uintValue->GetUInt() == uintNum); in HWTEST_F() 157 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F() 166 EXPECT_TRUE(doubleValue->GetUInt() == uintNum); in HWTEST_F() 1221 * @tc.desc: Check json util int64_t GetUInt/GetInt/GetString 1236 int64_t ret3 = jsonValue->GetUInt(key, 0); in HWTEST_F() 1246 int64_t ret4 = jsonValue->GetUInt(key, 0); in HWTEST_F() 1257 int64_t ret5 = jsonValue->GetUInt(keyPu in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar_picker/ |
H A D | calendar_picker_test_ng.cpp | 1187 EXPECT_EQ(json->GetUInt("year"), 802); in HWTEST_F() 1188 EXPECT_EQ(json->GetUInt("month"), 2); in HWTEST_F() 1189 EXPECT_EQ(json->GetUInt("day"), 28); in HWTEST_F() 1198 EXPECT_EQ(json->GetUInt("year"), 802); in HWTEST_F() 1199 EXPECT_EQ(json->GetUInt("month"), 3); in HWTEST_F() 1200 EXPECT_EQ(json->GetUInt("day"), 1); in HWTEST_F() 1229 EXPECT_EQ(json->GetUInt("year"), 800); in HWTEST_F() 1230 EXPECT_EQ(json->GetUInt("month"), 11); in HWTEST_F() 1231 EXPECT_EQ(json->GetUInt("day"), 30); in HWTEST_F() 1260 EXPECT_EQ(json->GetUInt("yea in HWTEST_F() [all...] |
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | effect_json_helper.h | 51 IMAGE_EFFECT_EXPORT uint32_t GetUInt(const std::string &key, uint32_t defaultValue = 0); 59 IMAGE_EFFECT_EXPORT uint32_t GetUInt();
|
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | serializeable_object.h | 35 virtual uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const = 0;
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_xcomponent_bridge.cpp | 218 uint32_t surfaceWidth = surfaceSizePara->GetUInt("surfaceWidth", 0); in JsSetXComponentSurfaceSize() 219 uint32_t surfaceHeight = surfaceSizePara->GetUInt("surfaceHeight", 0); in JsSetXComponentSurfaceSize()
|
/foundation/arkui/ace_engine/frameworks/base/json/ |
H A D | json_util.h | 54 uint32_t GetUInt() const; 55 uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const override;
|
H A D | node_object.h | 32 uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const override;
|
H A D | json_util.cpp | 92 uint32_t JsonValue::GetUInt() const in GetUInt() function in OHOS::Ace::JsonValue 567 uint32_t JsonValue::GetUInt(const std::string& key, uint32_t defaultVal) const in GetUInt() function in OHOS::Ace::JsonValue 571 return value->GetUInt(); in GetUInt()
|
H A D | node_object.cpp | 76 uint32_t NodeObject::GetUInt(const std::string& key, uint32_t defaultVal) const in GetUInt() function in OHOS::Ace::NodeObject
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_textpicker_ffi.cpp | 47 ffiClickInfo.index = index->GetUInt(); in TextPickerDialogEvent() 69 ffiClickInfo.index = index->GetUInt(); in TextPickerDialogEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_appinfo.cpp | 95 versionCode_ = root->GetUInt("versionCode"); in AppInfoParse()
|
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | effect_json_helper.cpp | 129 uint32_t EffectJson::GetUInt() in GetUInt() function in OHOS::Media::Effect::EffectJson 137 uint32_t EffectJson::GetUInt(const std::string &key, uint32_t defaultValue) in GetUInt() function in OHOS::Media::Effect::EffectJson 144 return element->GetUInt(); in GetUInt()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | stage_card_parser.cpp | 68 updateDuration_ = formConfig->GetUInt("updateDuration", 1); in Parse()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_grid_column.cpp | 126 span = spanValue->GetUInt(); in ParseSpanAndOffset()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/ |
H A D | button_declaration.cpp | 260 uint32_t progress = progressValue->GetUInt(); in CallSpecializedMethod()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 9179 result = resourceWrapper->GetDimension(resId->GetUInt()); in ParseJsonDimension() 9212 auto id = resId->GetUInt(); in ParseJsonDouble() 9215 auto type = resType->GetUInt(); in ParseJsonDouble() 9245 result = Color(ColorAlphaAdapt(jsonValue->GetUInt())); in ParseJsonColor() 9268 result = resourceWrapper->GetColor(resId->GetUInt()); in ParseJsonColor()
|