/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | dng_exif_metadata_accessor_test.cpp | 61 ASSERT_EQ(exifMetadata->GetValue("BitsPerSample", value), SUCCESS); in HWTEST_F() 63 ASSERT_EQ(exifMetadata->GetValue("Orientation", value), SUCCESS); in HWTEST_F() 65 ASSERT_EQ(exifMetadata->GetValue("ImageLength", value), SUCCESS); in HWTEST_F() 67 ASSERT_EQ(exifMetadata->GetValue("ImageWidth", value), SUCCESS); in HWTEST_F() 69 ASSERT_EQ(exifMetadata->GetValue("GPSLatitude", value), SUCCESS); in HWTEST_F() 71 ASSERT_EQ(exifMetadata->GetValue("GPSLongitude", value), SUCCESS); in HWTEST_F() 73 ASSERT_EQ(exifMetadata->GetValue("GPSLatitudeRef", value), SUCCESS); in HWTEST_F() 75 ASSERT_EQ(exifMetadata->GetValue("GPSLongitudeRef", value), SUCCESS); in HWTEST_F() 77 ASSERT_EQ(exifMetadata->GetValue("DateTimeOriginal", value), SUCCESS); in HWTEST_F() 79 ASSERT_EQ(exifMetadata->GetValue("ExposureTim in HWTEST_F() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | schema_meta.cpp | 29 if (!GetValue(node, GET_NAME(metaVersion), metaVersion)) { in Unmarshal() 32 GetValue(node, GET_NAME(version), version); in Unmarshal() 33 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal() 34 GetValue(node, GET_NAME(databases), databases); in Unmarshal() 61 GetValue(node, GET_NAME(name), name); in Unmarshal() 62 GetValue(node, GET_NAME(alias), alias); in Unmarshal() 63 GetValue(node, GET_NAME(tables), tables); in Unmarshal() 78 GetValue(node, GET_NAME(name), name); in Unmarshal() 79 GetValue(node, GET_NAME(sharedTableName), sharedTableName); in Unmarshal() 80 GetValue(nod in Unmarshal() [all...] |
H A D | cloud_extra_data.cpp | 29 GetValue(node, GET_NAME(traceId), traceId); in Unmarshal() 30 GetValue(node, GET_NAME(prepareTraceId), prepareTraceId); in Unmarshal() 46 GetValue(node, GET_NAME(accountId), accountId); in Unmarshal() 47 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal() 49 GetValue(node, GET_NAME(containerName), containerName); in Unmarshal() 50 GetValue(node, GET_NAME(databaseScopes), databaseScopes); in Unmarshal() 54 GetValue(node, GET_NAME(recordTypes), recordTypes); in Unmarshal() 59 GetValue(node, GET_NAME(context), data); in Unmarshal() 75 GetValue(node, GET_NAME(header), header); in Unmarshal() 76 GetValue(nod in Unmarshal() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/ |
H A D | checker_config.cpp | 31 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal() 32 GetValue(node, GET_NAME(appId), appId); in Unmarshal() 33 GetValue(node, GET_NAME(packageName), packageName); in Unmarshal() 34 GetValue(node, GET_NAME(base64Key), base64Key); in Unmarshal() 35 GetValue(node, GET_NAME(checker), checker); in Unmarshal() 52 GetValue(node, GET_NAME(checkers), checkers); in Unmarshal() 53 GetValue(node, GET_NAME(trusts), trusts); in Unmarshal() 54 GetValue(node, GET_NAME(distrusts), distrusts); in Unmarshal() 55 GetValue(node, GET_NAME(switches), switches); in Unmarshal() 56 GetValue(nod in Unmarshal() [all...] |
H A D | global_config.cpp | 37 GetValue(node, GET_NAME(processLabel), processLabel); in Unmarshal() 38 GetValue(node, GET_NAME(metaData), metaData); in Unmarshal() 39 GetValue(node, GET_NAME(version), version); in Unmarshal() 40 GetValue(node, GET_NAME(features), features); in Unmarshal() 41 GetValue(node, GET_NAME(components), components); in Unmarshal() 42 GetValue(node, GET_NAME(bundleChecker), bundleChecker); in Unmarshal() 43 GetValue(node, GET_NAME(networks), networks); in Unmarshal() 44 GetValue(node, GET_NAME(directory), directory); in Unmarshal() 45 GetValue(node, GET_NAME(backup), backup); in Unmarshal() 46 GetValue(nod in Unmarshal() [all...] |
H A D | backup_config.cpp | 31 GetValue(node, GET_NAME(rules), rules); in Unmarshal() 32 GetValue(node, GET_NAME(schedularDelay), schedularDelay); in Unmarshal() 33 GetValue(node, GET_NAME(schedularInternal), schedularInternal); in Unmarshal() 34 GetValue(node, GET_NAME(backupInternal), backupInternal); in Unmarshal() 35 GetValue(node, GET_NAME(backupNumber), backupNumber); in Unmarshal()
|
/foundation/distributeddatamgr/pasteboard/services/load/src/ |
H A D | config.cpp | 30 GetValue(node, GET_NAME(description), description); in Unmarshal() 31 GetValue(node, GET_NAME(lib), lib); in Unmarshal() 32 GetValue(node, GET_NAME(constructor), constructor); in Unmarshal() 33 GetValue(node, GET_NAME(destructor), destructor); in Unmarshal() 34 GetValue(node, GET_NAME(params), params); in Unmarshal() 52 auto ret = GetValue(node, GET_NAME(processLabel), processLabel); in Unmarshal() 53 ret = GetValue(node, GET_NAME(version), version) && ret; in Unmarshal() 54 GetValue(node, GET_NAME(features), features); in Unmarshal() 55 GetValue(node, GET_NAME(plugins), plugins); in Unmarshal() 56 GetValue(nod in Unmarshal() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/ |
H A D | js_util.h | 60 static napi_status GetValue(napi_env env, napi_value in, napi_value& out); 63 static napi_status GetValue(napi_env env, napi_value in, bool& out); 67 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 71 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 75 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 79 static napi_status GetValue(napi_env env, napi_value in, double& out); 83 static napi_status GetValue(napi_env env, napi_value in, std::string& out); 87 static napi_status GetValue(napi_env env, napi_value in, KvStoreVariant& out); 91 static napi_status GetValue(napi_env env, napi_value in, QueryVariant& out); 95 static napi_status GetValue(napi_en [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | rosen_render_bubble_progress.cpp | 42 subCirclePaint.setColor(Color(0xFF8A8A8A).GetValue()); in Paint() 46 subCircleBrush.SetColor(Color(0xFF8A8A8A).GetValue()); in Paint() 62 subCirclePaint.setColor(lightToDark_.GetValue()); in Paint() 64 subCirclePaint.setColor(darkToLight_.GetValue()); in Paint() 66 subCirclePaint.setColor(DARK_COLOR.GetValue()); in Paint() 68 subCirclePaint.setColor(LIGHT_COLOR.GetValue()); in Paint() 74 subCircleBrush.SetColor(lightToDark_.GetValue()); in Paint() 76 subCircleBrush.SetColor(darkToLight_.GetValue()); in Paint() 78 subCircleBrush.SetColor(DARK_COLOR.GetValue()); in Paint() 80 subCircleBrush.SetColor(LIGHT_COLOR.GetValue()); in Paint() [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | napi_data_utils.h | 43 static napi_status GetValue(napi_env env, napi_value in, bool &out); 47 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 51 static napi_status GetValue(napi_env env, napi_value in, int64_t &out); 55 static napi_status GetValue(napi_env env, napi_value in, float &out); 59 static napi_status GetValue(napi_env env, napi_value in, double &out); 63 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 67 static napi_status GetValue(napi_env env, napi_value in, std::vector<std::string> &out); 71 static napi_status GetValue(napi_env env, napi_value in, std::vector<uint8_t> &out); 75 static napi_status GetValue(napi_env env, napi_value in, std::map<std::string, int32_t> &out); 79 static napi_status GetValue(napi_en [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | ObjectApiTest.cpp | 65 EXPECT_EQ(test.First()->GetValue(), 1); in HWTEST_F() 66 EXPECT_EQ(test.Third()->GetValue(), 0); in HWTEST_F() 68 EXPECT_EQ(test.MyIntArray()->GetValue(), (BASE_NS::vector<int> { 1, 2 })); in HWTEST_F() 69 EXPECT_EQ(test.MyConstIntArray()->GetValue(), (BASE_NS::vector<int> { 1, 2, 3, 4, 5 })); in HWTEST_F() 70 test.First(GetValue(test.Third())); in HWTEST_F() 71 EXPECT_EQ(test.First()->GetValue(), 0); in HWTEST_F() 72 test.MyIntArray(test.MyConstIntArray()->GetValue()); in HWTEST_F() 73 EXPECT_EQ(test.MyIntArray()->GetValue(), (BASE_NS::vector<int> { 1, 2, 3, 4, 5 })); in HWTEST_F()
|
/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
H A D | napi_utils.h | 84 static napi_status GetValue(napi_env env, napi_value in, bool& out); 88 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 92 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 96 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 100 static napi_status GetValue(napi_env env, napi_value in, double& out); 104 static napi_status GetValue(napi_env env, napi_value in, std::string& out); 114 static napi_status GetValue(napi_env env, napi_value in, MMI::KeyEvent::KeyItem& out); 118 static napi_status GetValue(napi_env env, napi_value in, std::shared_ptr<MMI::KeyEvent>& out); 122 static napi_status GetValue(napi_env env, napi_value in, AbilityRuntime::WantAgent::WantAgent*& out); 126 static napi_status GetValue(napi_en [all...] |
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/ |
H A D | napi_data_utils.h | 43 static napi_status GetValue(napi_env env, napi_value in, bool &out); 47 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 51 static napi_status GetValue(napi_env env, napi_value in, int64_t &out); 55 static napi_status GetValue(napi_env env, napi_value in, float &out); 59 static napi_status GetValue(napi_env env, napi_value in, double &out); 63 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 67 static napi_status GetValue(napi_env env, napi_value in, std::vector<std::string> &out); 71 static napi_status GetValue(napi_env env, napi_value in, std::vector<uint8_t> &out); 75 static napi_status GetValue(napi_env env, napi_value in, std::map<std::string, int32_t> &out); 79 static napi_status GetValue(napi_en [all...] |
/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | render_property_test_ng.cpp | 115 EXPECT_EQ(json->GetValue("position")->GetString("x"), ""); in HWTEST_F() 116 EXPECT_EQ(json->GetValue("position")->GetString("y"), ""); in HWTEST_F() 117 EXPECT_EQ(json->GetValue("offset")->GetString("x"), ZERO_STRING); in HWTEST_F() 118 EXPECT_EQ(json->GetValue("offset")->GetString("y"), ZERO_STRING); in HWTEST_F() 119 EXPECT_EQ(json->GetValue("markAnchor")->GetString("x"), ZERO_STRING); in HWTEST_F() 120 EXPECT_EQ(json->GetValue("markAnchor")->GetString("y"), ZERO_STRING); in HWTEST_F() 139 EXPECT_EQ(jsonTest->GetValue("position")->GetString("x"), "10.00px"); in HWTEST_F() 140 EXPECT_EQ(jsonTest->GetValue("position")->GetString("y"), "20.00px"); in HWTEST_F() 141 EXPECT_EQ(jsonTest->GetValue("offset")->GetString("x"), "40.00px"); in HWTEST_F() 142 EXPECT_EQ(jsonTest->GetValue("offse in HWTEST_F() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | store_meta_data.cpp | 72 GetValue(node, GET_NAME(version), version); in Unmarshal() 73 GetValue(node, GET_NAME(isAutoSync), isAutoSync); in Unmarshal() 74 GetValue(node, GET_NAME(isBackup), isBackup); in Unmarshal() 75 GetValue(node, GET_NAME(isDirty), isDirty); in Unmarshal() 76 GetValue(node, GET_NAME(isEncrypt), isEncrypt); in Unmarshal() 77 GetValue(node, GET_NAME(isManualClean), isManualClean); in Unmarshal() 78 GetValue(node, GET_NAME(isSearchable), isSearchable); in Unmarshal() 79 GetValue(node, GET_NAME(isNeedCompress), isNeedCompress); in Unmarshal() 80 GetValue(node, GET_NAME(storeType), storeType); in Unmarshal() 81 GetValue(nod in Unmarshal() [all...] |
H A D | store_meta_data_local.cpp | 30 GetValue(node, GET_NAME(type), type); in Unmarshal() 31 GetValue(node, GET_NAME(valueUint), valueUint); in Unmarshal() 32 GetValue(node, GET_NAME(index), index); in Unmarshal() 76 GetValue(node, GET_NAME(isAutoSync), isAutoSync); in Unmarshal() 77 GetValue(node, GET_NAME(isBackup), isBackup); in Unmarshal() 78 GetValue(node, GET_NAME(isDirty), isDirty); in Unmarshal() 79 GetValue(node, GET_NAME(isEncrypt), isEncrypt); in Unmarshal() 80 GetValue(node, GET_NAME(dataDir), dataDir); in Unmarshal() 81 GetValue(node, GET_NAME(schema), schema); in Unmarshal() 82 GetValue(nod in Unmarshal() [all...] |
H A D | store_debug_info.cpp | 31 GetValue(node, GET_NAME(inode), inode); in Unmarshal() 32 GetValue(node, GET_NAME(size), size); in Unmarshal() 33 GetValue(node, GET_NAME(dev), dev); in Unmarshal() 34 GetValue(node, GET_NAME(mode), mode); in Unmarshal() 35 GetValue(node, GET_NAME(uid), uid); in Unmarshal() 36 GetValue(node, GET_NAME(gid), gid); in Unmarshal() 48 GetValue(node, GET_NAME(fileInfos), fileInfos); in Unmarshal()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/ |
H A D | IntfAnyTest.cpp | 138 EXPECT_TRUE(any.GetValue(v)); in HWTEST_F() 140 EXPECT_EQ(GetValue<uint32_t>(any), 1); in HWTEST_F() 143 EXPECT_EQ(GetValue<uint32_t>(any), 2); in HWTEST_F() 146 EXPECT_EQ(GetValue<float>(any), 0); in HWTEST_F() 150 EXPECT_EQ(GetValue<uint32_t>(other), 2); in HWTEST_F() 154 EXPECT_EQ(GetValue<uint32_t>(*c1), 0); in HWTEST_F() 157 EXPECT_EQ(GetValue<uint32_t>(*c2), 2); in HWTEST_F() 176 EXPECT_TRUE(any.GetValue(v)); in HWTEST_F() 178 EXPECT_EQ(GetValue<IObject::Ptr>(any), p); in HWTEST_F() 180 EXPECT_EQ(GetValue<IObjec in HWTEST_F() [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/ |
H A D | serializable.h | 48 return GetValue(ToJson(body), "", values); in Unmarshall() 54 API_EXPORT static bool GetValue(const json &node, const std::string &name, std::string &value); 55 API_EXPORT static bool GetValue(const json &node, const std::string &name, uint32_t &value); 56 API_EXPORT static bool GetValue(const json &node, const std::string &name, int32_t &value); 57 API_EXPORT static bool GetValue(const json &node, const std::string &name, int64_t &value); 58 API_EXPORT static bool GetValue(const json &node, const std::string &name, uint64_t &value); 59 API_EXPORT static bool GetValue(const json &node, const std::string &name, bool &value); 60 API_EXPORT static bool GetValue(const json &node, const std::string &name, std::vector<uint8_t> &value); 61 API_EXPORT static bool GetValue(const json &node, const std::string &name, Serializable &value); 75 static bool GetValue(cons function 93 static bool GetValue(const json &node, const std::string &name, std::vector<T> &values) GetValue() function [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_decoration_test.cpp | 47 std::string decorationStr = json->GetValue("decoration")->GetString(); in HWTEST_F() 54 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == in HWTEST_F() 57 EXPECT_TRUE(decorationJson->GetValue("color")->GetString() == Color::BLACK.ColorToString()); in HWTEST_F() 59 EXPECT_TRUE(decorationJson->GetValue("style")->GetString() == in HWTEST_F() 88 std::string decorationStr = json->GetValue("decoration")->GetString(); in HWTEST_F() 95 EXPECT_TRUE(decorationJson->GetValue("type")->GetString() == in HWTEST_F() 98 EXPECT_TRUE(decorationJson->GetValue("color")->GetString() == Color::BLACK.ColorToString()); in HWTEST_F() 100 EXPECT_TRUE(decorationJson->GetValue("style")->GetString() == in HWTEST_F() 129 std::string decorationStr = json->GetValue("decoration")->GetString(); in HWTEST_F() 136 EXPECT_TRUE(decorationJson->GetValue("typ in HWTEST_F() [all...] |
H A D | text_area_decoration_test.cpp | 222 std::string decorationStr = json->GetValue("decoration")->GetString(); in HWTEST_F() 229 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == in HWTEST_F() 232 EXPECT_TRUE(innerJson->GetValue("color")->GetString() == Color::BLACK.ColorToString()); in HWTEST_F() 234 EXPECT_TRUE(innerJson->GetValue("style")->GetString() == in HWTEST_F() 264 std::string decorationStr = json->GetValue("decoration")->GetString(); in HWTEST_F() 271 EXPECT_TRUE(innerJson->GetValue("type")->GetString() == in HWTEST_F() 274 EXPECT_TRUE(innerJson->GetValue("color")->GetString() == Color::BLACK.ColorToString()); in HWTEST_F() 276 EXPECT_TRUE(innerJson->GetValue("style")->GetString() == in HWTEST_F() 306 std::string decorationStr = json->GetValue("decoration")->GetString(); in HWTEST_F() 313 EXPECT_TRUE(innerJson->GetValue("typ in HWTEST_F() [all...] |
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/ |
H A D | js_util.h | 31 static napi_status GetValue(napi_env env, napi_value in, bool &out); 35 static napi_status GetValue(napi_env env, napi_value in, double &out); 39 static napi_status GetValue(napi_env env, napi_value in, std::string &out); 43 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 46 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 50 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 54 static napi_status GetValue(napi_env env, napi_value in, std::vector<std::string> &out); 58 static napi_status GetValue(napi_env env, napi_value in, std::vector<uint8_t> &out); 61 static napi_status GetValue(napi_env env, napi_value in, Assets &assets); 63 static napi_status GetValue(napi_en 118 static napi_status GetValue(napi_env env, napi_value jsValue, std::variant<Types...> &value) GetValue() function in OHOS::ObjectStore::final [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_config.cpp | 62 if (!config_->GetValue(SECTION_HOST, PROPERTY_DEVICE_NAME, name)) { in GetLocalName() 91 if (!config_->GetValue(SECTION_HOST, PROPERTY_CLASS_OF_DEVICE, cod)) { in GetLocalDeviceClass() 111 if (!config_->GetValue(SECTION_HOST, PROPERTY_IO_CAPABILITY, io)) { in GetIoCapability() 121 if (!config_->GetValue(SECTION_HOST, PROPERTY_DISCOVERABLE_TIMEOUT, time)) { in GetDiscoverableTimeout() 141 if (!config_->GetValue(SECTION_HOST, PROPERTY_LOCAL_PASSKEY, passkey)) { in GetLocalPasskey() 151 if (!config_->GetValue(SECTION_HOST, PROPERTY_SECURITY_MODE, securityMode)) { in GetSecurityMode() 171 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_DEVICE_NAME, name)) { in GetRemoteName() 181 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_ALIAS_NAME, name)) { in GetRemoteAlias() 191 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIST, subSection, PROPERTY_LINK_KEY, key)) { in GetRemoteLinkkey() 201 if (!config_->GetValue(SECTION_BREDR_PAIRED_LIS in GetRemoteDeviceType() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/test/unittest/color/ |
H A D | color_test.cpp | 76 ASSERT_EQ(color.GetValue(), platformColor.GetValue()); in HWTEST_F() 92 ASSERT_EQ(color.GetValue(), COLOR_ERROR.GetValue()); in HWTEST_F() 108 ASSERT_EQ(color.GetValue(), COLOR_ERROR.GetValue()); in HWTEST_F() 111 ASSERT_EQ(color.GetValue(), COLOR_ERROR.GetValue()); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/ |
H A D | js_util.h | 88 static StatusMsg GetValue(napi_env env, napi_value in, napi_value& out); 91 static StatusMsg GetValue(napi_env env, napi_value in, bool& out); 95 static StatusMsg GetValue(napi_env env, napi_value in, int32_t& out); 99 static StatusMsg GetValue(napi_env env, napi_value in, uint32_t& out); 103 static StatusMsg GetValue(napi_env env, napi_value in, int64_t& out); 107 static StatusMsg GetValue(napi_env env, napi_value in, double& out); 111 static StatusMsg GetValue(napi_env env, napi_value in, std::string& out); 115 static StatusMsg GetValue(napi_env env, napi_value in, KvStoreVariant& out); 119 static StatusMsg GetValue(napi_env env, napi_value in, QueryVariant& out); 123 static StatusMsg GetValue(napi_en [all...] |