/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/ |
H A D | distributed_object_impl.cpp | 137 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 D | asset_change_timer.cpp | 88 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 D | flat_object_store.cpp | 223 …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 D | object_service_stub.cpp | 62 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 D | object_service_impl.h | 51 const std::string &deviceId, const ObjectStore::Asset &assetValue) override;
|
H A D | object_service_impl.cpp | 85 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 D | distributed_object_impl.h | 43 uint32_t GetAssetValue(const std::string &assetKey, Asset &assetValue); 47 void RemovePrefix(Asset &assetValue);
|
H A D | asset_change_timer.h | 41 … bool GetAssetValue(const std::string &sessionId, const std::string &assetKey, Asset &assetValue);
|
H A D | flat_object_store.h | 86 … uint32_t BindAssetStore(const std::string &sessionId, AssetBindInfo &bindInfo, Asset &assetValue);
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/ |
H A D | object_service.h | 39 const std::string &deviceId, const ObjectStore::Asset &assetValue) = 0;
|
H A D | object_service_proxy.h | 41 const std::string &deviceId, const ObjectStore::Asset &assetValue) override;
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/ |
H A D | object_service_proxy.cpp | 63 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 D | medialibrary_napi_utils.cpp | 1529 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 D | object_manager_test.cpp | 67 AssetValue assetValue{ in SetUp() local 77 assetValue_ = assetValue; in SetUp()
|