Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Ddistributed_object_impl.cpp137 RemovePrefix(assetValue); in GetAssetValue()
141 void DistributedObjectImpl::RemovePrefix(Asset &assetValue) in RemovePrefix() argument
143 assetValue.name = assetValue.name.substr(STRING_PREFIX_LEN); in RemovePrefix()
144 assetValue.uri = assetValue.uri.substr(STRING_PREFIX_LEN); in RemovePrefix()
145 assetValue.path = assetValue.path.substr(STRING_PREFIX_LEN); in RemovePrefix()
146 assetValue.createTime = assetValue.createTime.substr(STRING_PREFIX_LEN); in RemovePrefix()
147 assetValue.modifyTime = assetValue.modifyTime.substr(STRING_PREFIX_LEN); in RemovePrefix()
148 assetValue.size = assetValue.size.substr(STRING_PREFIX_LEN); in RemovePrefix()
149 assetValue.hash = assetValue.modifyTime + "_" + assetValue.size; in RemovePrefix()
154 Asset assetValue; in BindAssetStore() local
[all …]
H A Dasset_change_timer.cpp88 Asset assetValue; in HandleAssetChanges() local
89 if (!GetAssetValue(sessionId, assetKey, assetValue)) { in HandleAssetChanges()
119 assetValue.status = static_cast<uint32_t>(doubleStatus); in GetAssetValue()
125 (flatObjectStore_->GetString(sessionId, assetKey + URI_SUFFIX, assetValue.uri) == SUCCESS); in GetAssetValue()
135 assetValue.name = assetValue.name.substr(STRING_PREFIX_LEN); in GetAssetValue()
136 assetValue.uri = assetValue.uri.substr(STRING_PREFIX_LEN); in GetAssetValue()
137 assetValue.path = assetValue.path.substr(STRING_PREFIX_LEN); in GetAssetValue()
138 assetValue.createTime = assetValue.createTime.substr(STRING_PREFIX_LEN); in GetAssetValue()
139 assetValue.modifyTime = assetValue.modifyTime.substr(STRING_PREFIX_LEN); in GetAssetValue()
140 assetValue.size = assetValue.size.substr(STRING_PREFIX_LEN); in GetAssetValue()
[all …]
H A Dflat_object_store.cpp223 …jectStore::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()
/ohos5.0/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() argument
92 …tStoreManager::GetInstance()->OnAssetChanged(tokenId, bundleName, sessionId, deviceId, assetValue); in OnAssetChanged()
/ohos5.0/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);
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/
H A Dobject_service.h39 const std::string &deviceId, const ObjectStore::Asset &assetValue) = 0;
H A Dobject_service_proxy.h41 const std::string &deviceId, const ObjectStore::Asset &assetValue) override;
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/
H A Dobject_service_proxy.cpp63 const std::string &deviceId, const Asset &assetValue) in OnAssetChanged() argument
74 if (!ITypesUtil::Marshalling(assetValue, data)) { in OnAssetChanged()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedialibrary_napi_utils.cpp1529 napi_value assetValue = nullptr; in GetSharedPhotoAssets() local
1531 assetValue = MediaLibraryNapiUtils::GetNextRowObject(env, result, true); in GetSharedPhotoAssets()
1534 return assetValue; in GetSharedPhotoAssets()
1538 napi_value assetValue = MediaLibraryNapiUtils::GetNextRowObject(env, result, true); in GetSharedPhotoAssets() local
1539 if (assetValue == nullptr) { in GetSharedPhotoAssets()
1542 status = napi_set_element(env, value, elementIndex++, assetValue); in GetSharedPhotoAssets()
1577 napi_value assetValue = MediaLibraryNapiUtils::GetNextRowAlbumObject(env, result); in GetSharedAlbumAssets() local
1578 if (assetValue == nullptr) { in GetSharedAlbumAssets()
1581 status = napi_set_element(env, value, elementIndex++, assetValue); in GetSharedAlbumAssets()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp67 AssetValue assetValue{ in SetUp() local
77 assetValue_ = assetValue; in SetUp()