/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/ |
H A D | js_util.h | 63 static napi_status GetValue(napi_env env, napi_value in, Asset &asset);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | icloud_sync_storage_interface.h | 142 virtual int FillCloudAssetForDownload(const std::string &tableName, VBucket &asset, bool isDownloadSuccess) = 0;
|
H A D | storage_proxy.h | 99 int FillCloudAssetForDownload(const std::string &tableName, VBucket &asset, bool isDownloadSuccess);
|
/foundation/filemanagement/dfs_service/test/unittests/distributed_file_inner/asset/ |
H A D | asset_recv_callback_stub_test.cpp | 15 #include <asset/asset_recv_callback_stub.h> 21 #include "asset/asset_callback_interface_code.h"
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | runtime_context_impl.cpp | 1114 int RuntimeContextImpl::AssetToBlob(const Asset &asset, std::vector<uint8_t> &blob) 1120 blob = dataTranslate_->AssetToBlob(asset); 1134 int RuntimeContextImpl::BlobToAsset(const std::vector<uint8_t> &blob, Asset &asset) 1140 asset = dataTranslate_->BlobToAsset(blob);
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_album_change_request_napi.cpp | 428 "The previous addAssets operation has contained the same asset"); in JSAddAssets() 455 "The previous removeAssets operation has contained the same asset"); in JSRemoveAssets() 492 "The previous moveAssets operation has contained the same asset"); in JSMoveAssets() 525 "The previous recoverAssets operation has contained the same asset"); in JSRecoverAssets() 558 "The previous deleteAssets operation has contained the same asset"); in JSDeleteAssets() 585 napi_value asset = nullptr; in GetAssetsIdArray() local 586 CHECK_ARGS(env, napi_get_element(env, arg, i, &asset), JS_INNER_FAIL); in GetAssetsIdArray() 587 if (asset == nullptr) { in GetAssetsIdArray() 588 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "Failed to get asset element"); in GetAssetsIdArray() 593 CHECK_ARGS(env, napi_unwrap(env, asset, reinterpret_cas in GetAssetsIdArray() [all...] |
H A D | photo_album_napi.cpp | 635 napi_value asset = nullptr; in GetAssetsIdArray() local 636 CHECK_ARGS(env, napi_get_element(env, arg, i, &asset), JS_INNER_FAIL); in GetAssetsIdArray() 637 if (asset == nullptr) { in GetAssetsIdArray() 638 NapiError::ThrowError(env, JS_ERR_PARAMETER_INVALID, "Failed to get asset element"); in GetAssetsIdArray() 643 CHECK_ARGS(env, napi_unwrap(env, asset, reinterpret_cast<void **>(&obj)), JS_INNER_FAIL); in GetAssetsIdArray() 645 NapiError::ThrowError(env, JS_ERR_PARAMETER_INVALID, "Failed to get asset napi object"); in GetAssetsIdArray() 649 NAPI_INFO_LOG("Skip invalid asset, mediaType: %{public}d", obj->GetMediaType()); in GetAssetsIdArray() 978 // sort by hidden time desc if is hidden asset in ParseArgsGetPhotoAssets() 1080 NAPI_ERR_LOG("Failed to get file asset napi object"); in JSPhotoAccessGetPhotoAssetsExecuteSync() 1185 // The input should be an array of asset ur in TrashAlbumParseArgs() [all...] |
H A D | medialibrary_napi_utils.cpp | 279 NAPI_ERR_LOG("asset fileId is invalid"); in GetFileIdFromPhotoUri() 1299 NAPI_ERR_LOG("Fail to query file asset!"); in TransferUri() 1331 shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, const shared_ptr<FileAsset> &asset) in CreateValueByIndex() 1344 asset->GetMemberMap().emplace(name, stringVal); in CreateValueByIndex() 1349 asset->GetMemberMap().emplace(name, integerVal); in CreateValueByIndex() 1354 asset->GetMemberMap().emplace(name, longVal); in CreateValueByIndex() 1359 asset->GetMemberMap().emplace(name, doubleVal); in CreateValueByIndex() 1568 NapiError::ThrowError(env, JS_ERR_PARAMETER_INVALID, "Failed to get asset napi object"); in GetUriArrayFromAssets() 1572 NAPI_INFO_LOG("Skip invalid asset, mediaType: %{public}d", obj->GetMediaType()); in GetUriArrayFromAssets() 1330 CreateValueByIndex(napi_env env, int32_t index, string name, shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, const shared_ptr<FileAsset> &asset) CreateValueByIndex() argument
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_save_cloud_data_test.cpp | 82 void SetCloudSchema(PrimaryKeyType pkType, bool nullable, bool asset = false) in SetCloudSchema() 91 if (asset) { in SetCloudSchema() 181 Asset asset; in PrepareDataBaseForAsset() local 182 asset.name = "123"; in PrepareDataBaseForAsset() 183 asset.status = static_cast<uint32_t>(AssetStatus::ABNORMAL); in PrepareDataBaseForAsset() 185 Bytes bytes = translate.AssetToBlob(asset); in PrepareDataBaseForAsset() 1373 * @tc.desc: Test get data with abnormal asset
|
H A D | distributeddb_cloud_check_sync_test.cpp | 365 Asset asset = g_cloudAsset; in InsertCloudTableRecord() local 366 asset.name = asset.name + std::to_string(i); in InsertCloudTableRecord() 367 assetIsNull ? data.insert_or_assign("assert", Nil()) : data.insert_or_assign("assert", asset); in InsertCloudTableRecord() 380 asset.name = g_cloudAsset.name + std::to_string(j); in InsertCloudTableRecord() 381 assets.push_back(asset); in InsertCloudTableRecord() 2521 * @tc.desc: Test the consistency flag of no asset table 2619 * @tc.desc: Test the status after compensated sync the no asset table 2631 * @tc.desc: Test the status after normal sync the no asset table
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_tools_unit_test.cpp | 1414 Asset asset; in InsertCloudRecord() local 1415 asset.name = assetNameBegin + "_" + std::to_string(j); in InsertCloudRecord() 1416 asset.status = AssetStatus::INSERT; in InsertCloudRecord() 1417 asset.hash = "DEC"; in InsertCloudRecord() 1418 asset.assetId = std::to_string(j); in InsertCloudRecord() 1419 assets.push_back(asset); in InsertCloudRecord()
|
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_medialibrary_napi_utils.cpp | 1076 shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, const shared_ptr<FileAsset> &asset) in CreateValueByIndex() 1089 asset->GetMemberMap().emplace(name, stringVal); in CreateValueByIndex() 1094 asset->GetMemberMap().emplace(name, integerVal); in CreateValueByIndex() 1099 asset->GetMemberMap().emplace(name, longVal); in CreateValueByIndex() 1104 asset->GetMemberMap().emplace(name, doubleVal); in CreateValueByIndex() 1075 CreateValueByIndex(napi_env env, int32_t index, string name, shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, const shared_ptr<FileAsset> &asset) CreateValueByIndex() argument
|
/third_party/skia/modules/skshaper/src/ |
H A D | SkShaper_harfbuzz.cpp | 330 HBBlob stream_to_blob(std::unique_ptr<SkStreamAsset> asset) { argument 331 size_t size = asset->getLength(); 333 if (const void* base = asset->getMemoryBase()) { 335 HB_MEMORY_MODE_READONLY, asset.release(), 340 asset->read(ptr, size);
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_update_test.cpp | 296 * @tc.desc: test RdbStore update asset 322 .asset{ .version = 1, in HWTEST_F() 335 * @tc.desc: test RdbStore update asset 368 .asset{ .version = 0, .name = "123", .uri = "my test path", .createTime = "12", .modifyTime = "12" } }); in HWTEST_F() 375 * @tc.desc: test RdbStore update asset 408 .asset{ .version = 0, in HWTEST_F()
|
/third_party/gn/src/gn/ |
H A D | function_toolchain.cc | 306 "compile_xcassets": [iOS, macOS] Tool to compile asset catalogs. 794 asset catalog) that needs to be compiled to a single output. The following 798 Expands to the list of .xcassets to use as input to compile the asset 803 compiled asset catalog. Usually corresponds to the product_type
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | storage_proxy.cpp | 415 int StorageProxy::FillCloudAssetForDownload(const std::string &tableName, VBucket &asset, bool isDownloadSuccess) in FillCloudAssetForDownload() argument 425 return store_->FillCloudAssetForDownload(tableName, asset, isDownloadSuccess); in FillCloudAssetForDownload()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_executor.h | 426 void UpdateLocalAssetId(const VBucket &vBucket, const std::string &fieldName, Asset &asset); 430 int BindAssetToBlobStatement(const Asset &asset, int index, sqlite3_stmt *&stmt);
|
/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/ |
H A D | sendable_medialibrary_napi_utils.h | 231 std::shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, const std::shared_ptr<FileAsset> &asset);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
H A D | relational_sync_able_storage.h | 177 int FillCloudAssetForDownload(const std::string &tableName, VBucket &asset, bool isDownloadSuccess) override;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_manager_test.cpp | 60 Asset asset{ in SetUp() 67 asset_ = asset; in SetUp()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_cloud_interfaces_set_cloud_schema_test.cpp | 51 "asset BLOB," \ 60 "asset BLOB);"; 67 "asset BLOB," \ 93 {"photo", TYPE_INDEX<Bytes>}, {"asset", TYPE_INDEX<Asset>} 98 {"photo", TYPE_INDEX<Bytes>}, {"asset", TYPE_INDEX<Asset>} 104 {"asset", TYPE_INDEX<Asset>} 246 " (cloud_owner, cloud_privilege, id, name, height, married, photo, age, asset) VALUES ('A', " + in InsertLocalSharedTableRecords() 251 " (cloud_owner, cloud_privilege, id, name, height, married, photo, asset) VALUES ('A', 'true', '" + in InsertLocalSharedTableRecords() 1285 std::string sql = "SELECT asset from " + g_sharedTableName1; in HWTEST_F() 1293 Asset asset; in HWTEST_F() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dca_lbr.c | 1159 int ff_dca_lbr_parse(DCALbrDecoder *s, const uint8_t *data, DCAExssAsset *asset) in ff_dca_lbr_parse() argument 1175 bytestream2_init(&gb, data + asset->lbr_offset, asset->lbr_size); in ff_dca_lbr_parse()
|
/foundation/multimedia/media_library/interfaces/kits/js/include/napi/ |
H A D | medialibrary_napi_utils.h | 477 std::shared_ptr<NativeRdb::AbsSharedResultSet> &resultSet, const std::shared_ptr<FileAsset> &asset);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_cloud_kv_store.cpp | 367 int SqliteCloudKvStore::FillCloudAssetForDownload(const std::string &tableName, VBucket &asset, bool isDownloadSuccess) in FillCloudAssetForDownload() argument
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1350 int RelationalSyncAbleStorage::FillCloudAssetForDownload(const std::string &tableName, VBucket &asset, in FillCloudAssetForDownload() argument 1357 LOGE("the transaction has not been started when fill asset for download."); in FillCloudAssetForDownload() 1363 LOGE("Get cloud schema failed when fill cloud asset, %d", errCode); in FillCloudAssetForDownload() 1366 errCode = transactionHandle_->FillCloudAssetForDownload(tableSchema, asset, isDownloadSuccess); in FillCloudAssetForDownload() 1368 LOGE("fill cloud asset for download failed.%d", errCode); in FillCloudAssetForDownload() 1420 LOGE("Failed to fill version or cloud asset, opType:%d ret:%d.", opType, errCode); in FillCloudLogAndAsset() 1870 LOGE("get table schema failed when fill log and asset. %d", errCode); in FillCloudLogAndAssetInner()
|