Home
last modified time | relevance | path

Searched refs:assetValue (Results 1 - 14 of 14) sorted by relevance

/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Ddistributed_object_impl.cpp118 uint32_t DistributedObjectImpl::GetAssetValue(const std::string &assetKey, Asset &assetValue) in GetAssetValue() argument
123 assetValue.status = static_cast<uint32_t>(assetStatus); in GetAssetValue()
125 status = GetString(assetKey + NAME_SUFFIX, assetValue.name); in GetAssetValue()
127 status = GetString(assetKey + URI_SUFFIX, assetValue.uri); in GetAssetValue()
129 status = GetString(assetKey + PATH_SUFFIX, assetValue.path); in GetAssetValue()
131 status = GetString(assetKey + CREATE_TIME_SUFFIX, assetValue.createTime); in GetAssetValue()
133 status = GetString(assetKey + MODIFY_TIME_SUFFIX, assetValue.modifyTime); in GetAssetValue()
135 status = GetString(assetKey + SIZE_SUFFIX, assetValue.size); in GetAssetValue()
137 RemovePrefix(assetValue); in GetAssetValue()
141 void DistributedObjectImpl::RemovePrefix(Asset &assetValue) in RemovePrefix() argument
154 Asset assetValue; BindAssetStore() local
[all...]
H A Dasset_change_timer.cpp88 Asset assetValue; in HandleAssetChanges() local
89 if (!GetAssetValue(sessionId, assetKey, assetValue)) { in HandleAssetChanges()
90 LOG_ERROR("GetAssetValue assetValue is not complete, sessionId: %{public}s, assetKey: %{public}s", in HandleAssetChanges()
107 int32_t res = proxy->OnAssetChanged(flatObjectStore_->GetBundleName(), sessionId, deviceId, assetValue); in HandleAssetChanges()
115 bool AssetChangeTimer::GetAssetValue(const std::string &sessionId, const std::string &assetKey, Asset &assetValue) in GetAssetValue() argument
119 assetValue.status = static_cast<uint32_t>(doubleStatus); in GetAssetValue()
123 (flatObjectStore_->GetString(sessionId, assetKey + NAME_SUFFIX, assetValue.name) == SUCCESS); in GetAssetValue()
125 (flatObjectStore_->GetString(sessionId, assetKey + URI_SUFFIX, assetValue.uri) == SUCCESS); in GetAssetValue()
127 (flatObjectStore_->GetString(sessionId, assetKey + PATH_SUFFIX, assetValue.path) == SUCCESS); in GetAssetValue()
129 (flatObjectStore_->GetString(sessionId, assetKey + CREATE_TIME_SUFFIX, assetValue in GetAssetValue()
[all...]
H A Dflat_object_store.cpp223 uint32_t FlatObjectStore::BindAssetStore(const std::string &sessionId, AssetBindInfo &bindInfo, Asset &assetValue) in BindAssetStore() argument
231 int32_t status = proxy->BindAssetStore(bundleName_, sessionId, assetValue, bindInfo); in BindAssetStore()
236 assetValue.name.c_str()); in BindAssetStore()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/
H A Ddistributed_object_impl.h43 uint32_t GetAssetValue(const std::string &assetKey, Asset &assetValue);
47 void RemovePrefix(Asset &assetValue);
H A Dasset_change_timer.h41 bool GetAssetValue(const std::string &sessionId, const std::string &assetKey, Asset &assetValue);
H A Dflat_object_store.h86 uint32_t BindAssetStore(const std::string &sessionId, AssetBindInfo &bindInfo, Asset &assetValue);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_service_stub.cpp62 ObjectStore::Asset assetValue; in OnAssetChangedOnRemote() local
63 if (!ITypesUtil::Unmarshalling(assetValue, data)) { in OnAssetChangedOnRemote()
64 ZLOGE("Unmarshal assetValue fail, asset name: %{public}s", assetValue.name.c_str()); in OnAssetChangedOnRemote()
67 int32_t status = OnAssetChanged(bundleName, sessionId, deviceId, assetValue); in OnAssetChangedOnRemote()
H A Dobject_service_impl.h51 const std::string &deviceId, const ObjectStore::Asset &assetValue) override;
H A Dobject_service_impl.cpp85 const std::string &deviceId, const ObjectStore::Asset &assetValue) in OnAssetChanged()
92 status = ObjectStoreManager::GetInstance()->OnAssetChanged(tokenId, bundleName, sessionId, deviceId, assetValue); in OnAssetChanged()
84 OnAssetChanged(const std::string &bundleName, const std::string &sessionId, const std::string &deviceId, const ObjectStore::Asset &assetValue) OnAssetChanged() argument
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/
H A Dobject_service_proxy.h41 const std::string &deviceId, const ObjectStore::Asset &assetValue) override;
H A Dobject_service.h39 const std::string &deviceId, const ObjectStore::Asset &assetValue) = 0;
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/
H A Dobject_service_proxy.cpp63 const std::string &deviceId, const Asset &assetValue) in OnAssetChanged()
74 if (!ITypesUtil::Marshalling(assetValue, data)) { in OnAssetChanged()
75 ZLOGE("Marshalling failed assetValue"); in OnAssetChanged()
62 OnAssetChanged(const std::string &bundleName, const std::string &sessionId, const std::string &deviceId, const Asset &assetValue) OnAssetChanged() argument
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp69 AssetValue assetValue{ in SetUp()
79 assetValue_ = assetValue; in SetUp()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_napi.cpp2546 napi_value assetValue = MediaLibraryNapiUtils::GetNextRowObject(env, result, true); in GetSharedPhotoAssets() local
2547 if (assetValue == nullptr) { in GetSharedPhotoAssets()
2550 status = napi_set_element(env, value, elementIndex++, assetValue); in GetSharedPhotoAssets()
2584 napi_value assetValue = MediaLibraryNapiUtils::GetNextRowAlbumObject(env, result); in GetSharedAlbumAssets() local
2585 if (assetValue == nullptr) { in GetSharedAlbumAssets()
2588 status = napi_set_element(env, value, elementIndex++, assetValue); in GetSharedAlbumAssets()

Completed in 21 milliseconds