Home
last modified time | relevance | path

Searched refs:DistributedObject (Results 1 – 25 of 50) sorted by relevance

12

/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/
Ddistributed_objectstore_impl.h37 uint32_t Get(const std::string &sessionId, DistributedObject **object) override;
38 DistributedObject *CreateObject(const std::string &sessionId) override;
39 DistributedObject *CreateObject(const std::string &sessionId, uint32_t &status) override;
41 uint32_t Watch(DistributedObject *object, std::shared_ptr<ObjectWatcher> watcher) override;
42 uint32_t UnWatch(DistributedObject *object) override;
47 DistributedObject *CacheObject(const std::string &sessionId, FlatObjectStore *flatObjectStore);
50 std::map<DistributedObject *, std::shared_ptr<WatcherProxy>> watchers_;
52 std::vector<DistributedObject *> objects_ {};
Dclient_adaptor.h26 static sptr<OHOS::DistributedObject::IObjectService> GetObjectService();
45 class ObjectStoreDataServiceProxy : public IRemoteProxy<OHOS::DistributedObject::IKvStoreDataServi…
/foundation/distributeddatamgr/data_object/interfaces/innerkits/
Ddistributed_objectstore.h51 virtual DistributedObject *CreateObject(const std::string &sessionId) = 0;
62 virtual DistributedObject *CreateObject(const std::string &sessionId, uint32_t &status) = 0;
72 virtual uint32_t Get(const std::string &sessionId, DistributedObject **object) = 0;
91 …virtual uint32_t Watch(DistributedObject *object, std::shared_ptr<ObjectWatcher> objectWatcher) = …
100 virtual uint32_t UnWatch(DistributedObject *object) = 0;
Ddistributed_object.h31 class DistributedObject {
33 virtual ~DistributedObject(){}; in ~DistributedObject()
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/adaptor/
Djs_object_wrapper.h28 JSObjectWrapper(DistributedObjectStore *objectStore, DistributedObject *object);
30 DistributedObject *GetObject();
42 DistributedObject *object_;
Djs_watcher.h60 … std::weak_ptr<JSWatcher> watcher, DistributedObjectStore *objectStore, DistributedObject *object);
70 DistributedObject *object_;
89 JSWatcher(const napi_env env, DistributedObjectStore *objectStore, DistributedObject *object);
Djs_distributedobject.h26 DistributedObject *object;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
Dobject_data_listener.cpp23 namespace DistributedObject { namespace
46 DistributedObject::ObjectStoreManager::GetInstance()->NotifyChange(changedData); in OnChange()
Dobject_data_listener.h22 namespace DistributedObject {
Dobject_common.h19 namespace DistributedObject {
Dobject_asset_loader.h24 namespace DistributedObject {
Dobject_snapshot.h23 namespace DistributedObject {
Dobject_asset_machine.h23 namespace DistributedObject {
Dobject_service_stub.h22 namespace OHOS::DistributedObject {
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
Dclient_adaptor.cpp29 using KvStoreCode = OHOS::DistributedObject::ObjectStoreService::KvStoreServiceInterfaceCode;
31 sptr<OHOS::DistributedObject::IObjectService> ClientAdaptor::GetObjectService() in GetObjectService()
47 return iface_cast<DistributedObject::IObjectService>(remote); in GetObjectService()
121 : IRemoteProxy<DistributedObject::IKvStoreDataService>(impl) in ObjectStoreDataServiceProxy()
Ddistributed_object_store_impl.cpp38 DistributedObject *DistributedObjectStoreImpl::CacheObject( in CacheObject()
65 DistributedObject *DistributedObjectStoreImpl::CreateObject(const std::string &sessionId) in CreateObject()
86 DistributedObject *DistributedObjectStoreImpl::CreateObject(const std::string &sessionId, uint32_t … in CreateObject()
125 uint32_t DistributedObjectStoreImpl::Get(const std::string &sessionId, DistributedObject **object) in Get()
139 uint32_t DistributedObjectStoreImpl::Watch(DistributedObject *object, std::shared_ptr<ObjectWatcher… in Watch()
170 uint32_t DistributedObjectStoreImpl::UnWatch(DistributedObject *object) in UnWatch()
Dflat_object_store.cpp213 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in BindAssetStore()
420 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in SaveObject()
442 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in RevokeSaveObject()
465 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in ResumeObject()
487 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in SubscribeDataChange()
509 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in UnregisterDataChange()
524 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in DeleteSnapshot()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/
Dobject_store_test.cpp134 DistributedObject *object = objectStore->CreateObject(sessionId);
151 DistributedObject *object = objectStore->CreateObject(sessionId);
168 DistributedObject *object = objectStore->CreateObject(sessionId);
171 DistributedObject *object2 = objectStore->CreateObject(sessionId);
191 DistributedObject *object = objectStore->CreateObject(sessionId, status);
211 DistributedObject *object = objectStore->CreateObject("");
225 DistributedObject *object = objectStore.CreateObject(sessionId, status);
246 DistributedObject *object = objectStore->CreateObject(sessionId, status);
266 DistributedObject *object = objectStore->CreateObject(sessionId);
269 DistributedObject *Object1 = nullptr;
[all …]
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/
Ddistributeddata_object_store_ipc_interface_code.h21 namespace OHOS::DistributedObject {
Diobject_service.h25 namespace OHOS::DistributedObject {
Dobject_callback.h24 namespace DistributedObject {
Dobject_callback_stub.h23 namespace DistributedObject {
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/
Djs_object_wrapper.cpp20 JSObjectWrapper::JSObjectWrapper(DistributedObjectStore *objectStore, DistributedObject *object) in JSObjectWrapper()
35 DistributedObject *JSObjectWrapper::GetObject() in GetObject()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/fuzztest/objectstore_fuzzer/
Dobjectstore_fuzzer.cpp27 static DistributedObject *object_ = nullptr;
46 DistributedObject *object = nullptr; in SetUpTestCase()
268 DistributedObject *object = nullptr; in CreateObjectV9Fuzz()
298 DistributedObject *object = objectStore_->CreateObject(SESSIONID, status); in GetFuzz()
303 DistributedObject *object2 = nullptr; in GetFuzz()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/objectservicestub_fuzzer/
Dobjectservicestub_fuzzer.cpp26 using namespace OHOS::DistributedObject;

12