Home
last modified time | relevance | path

Searched refs:columnValue (Results 1 - 9 of 9) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_data_utils.cpp417 variant<int32_t, std::string, int64_t, double> columnValue = in SetProperty() local
421 prop.currentValue->str_ = make_shared<std::string>(get<std::string>(columnValue)); in SetProperty()
424 prop.currentValue->bin_.i32 = get<int32_t>(columnValue); in SetProperty()
429 make_shared<std::string>(MtpPacketTool::FormatDateTime(get<int64_t>(columnValue))); in SetProperty()
431 prop.currentValue->bin_.i64 = get<int64_t>(columnValue); in SetProperty()
475 variant<int32_t, std::string, int64_t, double> columnValue = in GetPropValueBySet() local
479 outPropValue.outStrVal = get<std::string>(columnValue); in GetPropValueBySet()
482 outPropValue.outIntVal = static_cast<uint64_t>(get<int32_t>(columnValue)); in GetPropValueBySet()
487 outPropValue.outStrVal = Strftime(timeFormat, get<int64_t>(columnValue)); in GetPropValueBySet()
489 outPropValue.outIntVal = static_cast<uint64_t>(get<int64_t>(columnValue)); in GetPropValueBySet()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_audio_operations_test/src/
H A Dmedialibrary_audio_operations_test.cpp461 void SetValuesBucketInUpdate(const string &columnKey, const string &columnValue, in SetValuesBucketInUpdate() argument
471 values.PutInt(columnKey, stoi(columnValue)); in SetValuesBucketInUpdate()
474 values.PutLong(columnKey, stol(columnValue)); in SetValuesBucketInUpdate()
477 values.PutString(columnKey, columnValue); in SetValuesBucketInUpdate()
480 values.PutDouble(columnKey, stod(columnValue)); in SetValuesBucketInUpdate()
487 static int32_t TestQueryAssetIntParams(int32_t intValue, const string &columnValue) in TestQueryAssetIntParams() argument
489 int32_t columnIntValue = atoi(columnValue.c_str()); in TestQueryAssetIntParams()
493 MEDIA_ERR_LOG("TestQueryAssetIntParams failed, intValue=%{public}d, columnValue=%{public}s", in TestQueryAssetIntParams()
494 intValue, columnValue.c_str()); in TestQueryAssetIntParams()
499 static int32_t TestQueryAssetLongParams(int64_t longValue, const string &columnValue) in TestQueryAssetLongParams() argument
511 TestQueryAssetDoubleParams(double doubleValue, const string &columnValue) TestQueryAssetDoubleParams() argument
523 TestQueryAssetStringParams(const string &stringValue, const string &columnValue) TestQueryAssetStringParams() argument
534 TestQueryAsset(const string &queryKey, const string &queryValue, const string &columnKey, const string &columnValue, MediaLibraryApi api) TestQueryAsset() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_clone_test/src/
H A Dmedialibrary_backup_clone_test.cpp662 std::string columnValue; in VerifyPortraitAlbumRestore() local
665 resultSet->GetString(index, columnValue); in VerifyPortraitAlbumRestore()
666 EXPECT_EQ(columnValue, "Test Portrait Album"); in VerifyPortraitAlbumRestore()
669 resultSet->GetString(index, columnValue); in VerifyPortraitAlbumRestore()
670 EXPECT_EQ(columnValue, "test_tag_id"); in VerifyPortraitAlbumRestore()
673 resultSet->GetString(index, columnValue); in VerifyPortraitAlbumRestore()
674 EXPECT_EQ(columnValue, "test_cover_uri"); in VerifyPortraitAlbumRestore()
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_utils.cpp1910 for (auto &columnValue : column) { in ParseQueryResult()
1911 err = resultSet->GetColumnIndex(columnValue, index); in ParseQueryResult()
1915 if (columnValue == MEDIA_DATA_DB_ID) { in ParseQueryResult()
1917 } else if (columnValue == MEDIA_DATA_DB_FILE_PATH) { in ParseQueryResult()
1919 } else if (columnValue == MEDIA_DATA_DB_DATE_ADDED) { in ParseQueryResult()
1921 } else if (columnValue == MEDIA_DATA_DB_NAME) { in ParseQueryResult()
1923 } else if (columnValue == MEDIA_DATA_DB_MEDIA_TYPE) { in ParseQueryResult()
1926 } else if (columnValue == MEDIA_DATA_DB_ORIENTATION) { in ParseQueryResult()
1928 } else if (columnValue == MEDIA_DATA_DB_POSITION) { in ParseQueryResult()
1932 } else if (columnValue in ParseQueryResult()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/
H A Dmedialibrary_photo_operations_test.cpp548 void SetValuesBucketInUpdate(const string &columnKey, const string &columnValue, in SetValuesBucketInUpdate() argument
558 values.PutInt(columnKey, stoi(columnValue)); in SetValuesBucketInUpdate()
561 values.PutLong(columnKey, stol(columnValue)); in SetValuesBucketInUpdate()
564 values.PutString(columnKey, columnValue); in SetValuesBucketInUpdate()
567 values.PutDouble(columnKey, stod(columnValue)); in SetValuesBucketInUpdate()
574 static int32_t TestQueryAssetIntParams(int32_t intValue, const string &columnValue) in TestQueryAssetIntParams() argument
576 int32_t columnIntValue = atoi(columnValue.c_str()); in TestQueryAssetIntParams()
580 MEDIA_ERR_LOG("TestQueryAssetIntParams failed, intValue=%{public}d, columnValue=%{public}s", in TestQueryAssetIntParams()
581 intValue, columnValue.c_str()); in TestQueryAssetIntParams()
586 static int32_t TestQueryAssetLongParams(int64_t longValue, const string &columnValue) in TestQueryAssetLongParams() argument
598 TestQueryAssetDoubleParams(double doubleValue, const string &columnValue) TestQueryAssetDoubleParams() argument
610 TestQueryAssetStringParams(const string &stringValue, const string &columnValue) TestQueryAssetStringParams() argument
621 TestQueryAsset(const string &queryKey, const string &queryValue, const string &columnKey, const string &columnValue, MediaLibraryApi api) TestQueryAsset() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_shape.cpp320 JSRef<JSVal> columnValue = info[1]; in SetBitmapMesh() local
322 if (!ParseJsInteger(columnValue, column)) { in SetBitmapMesh()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_view_abstract_ffi.cpp1260 newGradient.GetSweepGradient()->centerY = CalcDimension(center.columnValue, columnUnitType); in NewCjSweepGradient()
1263 double columnValue = center.columnValue * hundredPercent; in NewCjSweepGradient() local
1264 newGradient.GetSweepGradient()->centerY = CalcDimension(columnValue, DimensionUnit::PERCENT); in NewCjSweepGradient()
1303 newGradient.GetRadialGradient()->radialCenterY = CalcDimension(center.columnValue, columnUnitType); in NewCjRadialGradient()
1306 double columnValue = center.columnValue * hundredPercent; in NewCjRadialGradient() local
1307 newGradient.GetRadialGradient()->radialCenterY = CalcDimension(columnValue, DimensionUnit::PERCENT); in NewCjRadialGradient()
H A Dcj_view_abstract_ffi.h360 double columnValue; member
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedialibrary_napi_utils.cpp1220 string columnValue = GetStringValueByColumn(resultSet, columnName); in ParseAnalysisFace2JsonStr() local
1221 jsonObject[columnName] = columnValue; in ParseAnalysisFace2JsonStr()
1223 jsonObject[ALBUM_URI] = PhotoAlbumColumns::ANALYSIS_ALBUM_URI_PREFIX + tagIdToAlbumIdMap[columnValue]; in ParseAnalysisFace2JsonStr()

Completed in 19 milliseconds