Home
last modified time | relevance | path

Searched refs:asset (Results 76 - 100 of 177) sorted by relevance

12345678

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Dcloud_db_sync_utils_test.cpp93 Asset asset = g_cloudAsset1; in InsertCloudTableRecord() local
94 asset.name = asset.name + std::to_string(i); in InsertCloudTableRecord()
95 assetIsNull ? data.insert_or_assign("asset", Nil()) : data.insert_or_assign("asset", asset); in InsertCloudTableRecord()
124 Asset asset = g_cloudAsset2; in UpdateCloudTableRecord() local
125 asset.name = asset.name + std::to_string(i); in UpdateCloudTableRecord()
126 assetIsNull ? data.insert_or_assign("asset", Ni in UpdateCloudTableRecord()
[all...]
H A Dvirtual_cloud_data_translate.h26 std::vector<uint8_t> AssetToBlob(const Asset &asset) override;
H A Dvirtual_cloud_db.cpp644 auto &asset = std::get<Asset>(recordData.second); in AddAssetIdForExtend() local
645 if (asset.flag == static_cast<uint32_t>(DistributedDB::AssetOpType::INSERT)) { in AddAssetIdForExtend()
646 asset.assetId = "10"; in AddAssetIdForExtend()
648 extend[recordData.first] = asset; in AddAssetIdForExtend()
660 for (auto &asset : assets) { in AddAssetsIdInner()
661 if (asset.flag == static_cast<uint32_t>(DistributedDB::AssetOpType::INSERT)) { in AddAssetsIdInner()
662 asset.assetId = "10"; in AddAssetsIdInner()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/ipc/
H A Dcloud_sync_service.cpp635 LOGE("get asset downloader failed"); in DownloadFile()
639 Asset asset; in DownloadFile() local
640 asset.assetName = assetInfoObj.assetName; in DownloadFile()
642 asset.uri = GetHmdfsPath(assetInfoObj.uri, userId); in DownloadFile()
643 if (asset.uri.empty()) { in DownloadFile()
649 DownloadAssetInfo assetsToDownload{assetInfoObj.recordType, assetInfoObj.recordId, {}, asset, {}}; in DownloadFile()
667 LOGE("get asset downloader failed"); in DownloadFiles()
673 Asset asset; in DownloadFiles() local
674 asset.assetName = obj.assetName; in DownloadFiles()
675 asset in DownloadFiles()
[all...]
/foundation/multimedia/ringtone_library/interfaces/inner_api/native/
H A Dringtone_fetch_result.h64 void SetRingtoneAsset(std::unique_ptr<T>& asset, std::shared_ptr<NativeRdb::ResultSet> &resultSet);
66 void GetObjectFromResultSet(std::unique_ptr<T>& asset, std::shared_ptr<NativeRdb::ResultSet> &resultSet);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dextension_util.h47 static DBAsset ConvertAsset(OhCloudExtCloudAsset *asset);
63 static void ConvertAssetLeft(OhCloudExtCloudAsset *asset, DBAsset &dbAsset);
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp492 auto asset = assetManager->GetAsset(fileFullPath); in LoadCustomStyle() local
493 ThemeConstants::LoadFile(asset); in LoadCustomStyle()
531 void ThemeConstants::LoadFile(const RefPtr<Asset>& asset) in LoadFile() argument
533 if (!asset) { in LoadFile()
537 auto fileSize = asset->GetSize(); in LoadFile()
541 const auto& fileData = asset->GetData(); in LoadFile()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/common/
H A Dvalue_proxy.h58 Asset(DistributedData::Asset asset);
59 Asset(CommonType::AssetValue asset);
60 Asset(NativeRdb::AssetValue asset);
61 Asset(DistributedDB::Asset asset);
68 static uint32_t ConvertToDataStatus(const DistributedDB::Asset &asset);
77 explicit TempAsset(DistributedDB::Asset asset);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dasset.rs248 let asset = receive
251 results.push(Ok(asset))
300 let asset = receive
303 results.push(Ok(asset))
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_service_stub.cpp64 ZLOGE("Unmarshal assetValue fail, asset name: %{public}s", assetValue.name.c_str()); in OnAssetChangedOnRemote()
79 ObjectStore::Asset asset; in ObjectStoreBindAssetOnRemote() local
81 if (!ITypesUtil::Unmarshal(data, bundleName, sessionId, asset, bindInfo)) { in ObjectStoreBindAssetOnRemote()
84 asset.name.c_str(), bindInfo.storeName.c_str()); in ObjectStoreBindAssetOnRemote()
88 int32_t status = BindAssetStore(bundleName, sessionId, asset, bindInfo); in ObjectStoreBindAssetOnRemote()
/third_party/skia/tools/skqp/src/
H A Djni_skqp.cpp35 if (AAsset* asset = AAssetManager_open(gAAssetManager, path, AASSET_MODE_STREAMING)) { in open_asset_data()
36 if (size_t size = SkToSizeT(AAsset_getLength(asset))) { in open_asset_data()
38 int ret = AAsset_read(asset, data->writable_data(), size); in open_asset_data()
43 AAsset_close(asset); in open_asset_data()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_asset_loader.cpp57 for (auto& asset : assets) { in PostEvent()
58 auto* downLoadAssets = Traits::get_if<DistributedData::Assets>(&asset.second); in PostEvent()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
H A DNDKExtractor.cpp27 int32_t NDKExtractor::decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties) { in decode() argument
31 // open asset as file descriptor in decode()
33 int fd = AAsset_openFileDescriptor(asset, &start, &length); in decode()
H A DNDKExtractor.h29 static int32_t decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties);
/foundation/distributeddatamgr/data_object/interfaces/jskits/
H A Ddistributed_data_object.js198 let asset = object[key];
201 asset[subKey] = data[subKey];
207 let asset = {};
209 Object.defineProperty(asset, subKey, {
220 return asset;
/third_party/skia/tools/sk_app/android/
H A Dsurface_glue_android.cpp43 AAsset* asset = AAssetManager_open(gAAssetManager, path.c_str(), AASSET_MODE_STREAMING); in config_resource_mgr()
44 if (!asset) { in config_resource_mgr()
47 size_t size = SkToSizeT(AAsset_getLength(asset)); in config_resource_mgr()
49 (void)AAsset_read(asset, data->writable_data(), size); in config_resource_mgr()
50 AAsset_close(asset); in config_resource_mgr()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_sqlite_shared_result_set_test.cpp225 Asset asset; in HWTEST_F() local
226 rstSet->GetAsset(5, asset); in HWTEST_F()
227 EXPECT_EQ(asset.version, 1); in HWTEST_F()
228 EXPECT_EQ(asset.name, "name1"); in HWTEST_F()
229 EXPECT_EQ(asset.uri, "uri1"); in HWTEST_F()
230 EXPECT_EQ(asset.status, Asset::STATUS_INSERT); in HWTEST_F()
235 * @tc.desc: normal testcase of SqliteSharedResultSet for asset and assets
261 Asset asset; in HWTEST_F() local
262 rstSet->GetAsset(5, asset); in HWTEST_F()
263 EXPECT_EQ(asset in HWTEST_F()
[all...]
H A Dcommon.h32 AssetValue asset; member
/third_party/ffmpeg/libavformat/
H A Dimfdec.c181 * @param base_url the url of the asset map XML file, if any (can be NULL).
195 IMFAssetLocator *asset = NULL; in parse_imf_asset_map_from_xml_dom() local
201 av_log(s, AV_LOG_ERROR, "Unable to parse asset map XML - missing root node\n"); in parse_imf_asset_map_from_xml_dom()
206 av_log(s, AV_LOG_ERROR, "Unable to parse asset map XML - wrong root node name[%s] type[%d]\n", in parse_imf_asset_map_from_xml_dom()
211 /* parse asset locators */ in parse_imf_asset_map_from_xml_dom()
213 av_log(s, AV_LOG_ERROR, "Unable to parse asset map XML - missing AssetList node\n"); in parse_imf_asset_map_from_xml_dom()
224 av_log(s, AV_LOG_ERROR, "Cannot allocate IMF asset locators\n"); in parse_imf_asset_map_from_xml_dom()
234 asset = &(asset_map->assets[asset_map->asset_count]); in parse_imf_asset_map_from_xml_dom()
236 if (ff_imf_xml_read_uuid(ff_imf_xml_get_child_element_by_name(asset_element, "Id"), asset->uuid)) { in parse_imf_asset_map_from_xml_dom()
237 av_log(s, AV_LOG_ERROR, "Could not parse UUID from asset i in parse_imf_asset_map_from_xml_dom()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddb_common.cpp818 DistributedDB::Asset asset = assets.at(i); in RemoveDuplicateAssetsData() local
819 auto it = indexMap.find(asset.name); in RemoveDuplicateAssetsData()
821 indexMap[asset.name] = i; in RemoveDuplicateAssetsData()
828 indexMap[asset.name] = i; in RemoveDuplicateAssetsData()
831 if (asset.assetId.empty()) { in RemoveDuplicateAssetsData()
833 indexMap[asset.name] = prevIndex; in RemoveDuplicateAssetsData()
838 if (ConvertToUInt(asset.modifyTime, modifyTime) && ConvertToUInt(prevAsset.modifyTime, prevModifyTime) && in RemoveDuplicateAssetsData()
839 !asset.modifyTime.empty() && !prevAsset.modifyTime.empty()) { in RemoveDuplicateAssetsData()
841 indexMap[asset.name] = modifyTime > prevModifyTime ? i : prevIndex; in RemoveDuplicateAssetsData()
845 indexMap[asset in RemoveDuplicateAssetsData()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_cloud_interfaces_relational_remove_device_data_test.cpp147 Asset asset = g_localAsset; in InsertUserTableRecord() local
148 asset.name = asset.name + std::to_string(i); in InsertUserTableRecord()
149 RuntimeContext::GetInstance()->AssetToBlob(asset, assetBlob); in InsertUserTableRecord()
165 Asset asset = g_localAsset; in InsertUserTableRecord() local
166 asset.name = g_localAsset.name + std::to_string(i); in InsertUserTableRecord()
167 assets.push_back(asset); in InsertUserTableRecord()
168 asset.name = g_localAsset.name + std::to_string(i + 1); in InsertUserTableRecord()
169 assets.push_back(asset); in InsertUserTableRecord()
203 Asset asset in InsertCloudTableRecord() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_asset_loader_test.cpp46 Asset asset{ in SetUp()
53 asset_ = asset; in SetUp()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dabs_shared_result_set.cpp266 ValueObject::Asset asset; in GetCustomerValue() local
267 RawDataParser::ParserRawData(data, size, asset); in GetCustomerValue()
268 value = std::move(asset); in GetCustomerValue()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp128 LOGE("set asset field failed, errCode = %d", errCode); in GetInfoByStatement()
343 LOGE("[Storage Executor] failed to clean asset id when clean cloud data, %d", errCode); in DoCleanLogs()
497 LOGE("Get select asset statement failed, %d", errCode); in GetAssetOnTable()
512 Asset asset; in GetAssetOnTable() local
513 errCode = RuntimeContext::GetInstance()->BlobToAsset(blobValue, asset); in GetAssetOnTable()
515 LOGE("Transfer blob to asset failed, %d", errCode); in GetAssetOnTable()
518 assets.push_back(asset); in GetAssetOnTable()
521 Asset asset; in GetAssetOnTable() local
522 assets.push_back(asset); in GetAssetOnTable()
558 for (const auto &asset in GetCloudAssetsOnTable()
1282 Asset asset; IsNeedUpdateAssetIdInner() local
1552 Asset asset; PutVBucketByType() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/
H A Dicloud_data_translate.h30 virtual std::vector<uint8_t> AssetToBlob(const Asset &asset) = 0;

Completed in 22 milliseconds

12345678