Home
last modified time | relevance | path

Searched refs:refStr (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_multistages_capture_test/src/
H A Dmedialibrary_multistages_photo_capture_test.cpp782 string refStr; variable
784 … auto refErr = imageSource->GetImagePropertyString(0, PHOTO_DATA_IMAGE_GPS_LONGITUDE_REF, refStr);
788 EXPECT_EQ(refStr, "E");
791 refErr = imageSource->GetImagePropertyString(0, PHOTO_DATA_IMAGE_GPS_LATITUDE_REF, refStr);
795 EXPECT_EQ(refStr, "N");
816 string refStr; variable
818 … auto refErr = imageSource->GetImagePropertyString(0, PHOTO_DATA_IMAGE_GPS_LONGITUDE_REF, refStr);
822 EXPECT_EQ(refStr, "W");
825 refErr = imageSource->GetImagePropertyString(0, PHOTO_DATA_IMAGE_GPS_LATITUDE_REF, refStr);
829 EXPECT_EQ(refStr, "S");
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dresource_manager_impl.cpp277 std::string refStr(value); in ResolveReference() local
279 isRef = IdItem::IsRef(refStr, resType, id); in ResolveReference()
281 outValue = refStr; in ResolveReference()
287 HILOG_ERROR("ref %s can't be array", refStr.c_str()); in ResolveReference()
292 HILOG_ERROR("ref %s id not found", refStr.c_str()); in ResolveReference()
297 … HILOG_ERROR("impossible. ref %s type mismatch, found type: %d", refStr.c_str(), idItem->resType_); in ResolveReference()
301 refStr = idItem->value_; in ResolveReference()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dresource_manager_impl.cpp424 std::string refStr(value); in ResolveReference() local
426 isRef = IdItem::IsRef(refStr, resType, id); in ResolveReference()
428 outValue = refStr; in ResolveReference()
434 RESMGR_HILOGD(RESMGR_TAG, "ref %{public}s can't be array", refStr.c_str()); in ResolveReference()
439 RESMGR_HILOGE(RESMGR_TAG, "ref %s id not found", refStr.c_str()); in ResolveReference()
449 refStr = idItem->value_; in ResolveReference()
796 std::string refStr(value); in ProcessReference() local
798 isRef = IdItem::IsRef(refStr, resType, id); in ProcessReference()
805 RESMGR_HILOGD(RESMGR_TAG, "ref %{public}s can't be array", refStr.c_str()); in ProcessReference()
811 RESMGR_HILOGE(RESMGR_TAG, "ref %s id not found", refStr.c_str()); in ProcessReference()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata_extractor.cpp333 string refStr; in ExtractLocationMetadata() local
336 …nt32_t refErr = imageSource->GetImagePropertyString(0, PHOTO_DATA_IMAGE_GPS_LONGITUDE_REF, refStr); in ExtractLocationMetadata()
338 tempLocation = GetLongitudeLatitude(propertyStr, refStr); in ExtractLocationMetadata()
343 refErr = imageSource->GetImagePropertyString(0, PHOTO_DATA_IMAGE_GPS_LATITUDE_REF, refStr); in ExtractLocationMetadata()
345 tempLocation = GetLongitudeLatitude(propertyStr, refStr); in ExtractLocationMetadata()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_receiver_napi.cpp835 static bool CheckOnParam0(napi_env env, napi_value value, const std::string& refStr) in CheckOnParam0() argument
854 if (strValue.compare(refStr) != 0) { in CheckOnParam0()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_creator_napi.cpp714 static bool CheckOnParam0(napi_env env, napi_value value, const std::string& refStr) in CheckOnParam0() argument
735 if (strValue.compare(refStr) != 0) { in CheckOnParam0()
H A Dimage_receiver_napi.cpp837 static bool CheckOnParam0(napi_env env, napi_value value, const std::string& refStr) in CheckOnParam0() argument
856 if (strValue.compare(refStr) != 0) { in CheckOnParam0()