Searched refs:DistributedDatabase (Results 1 – 10 of 10) sorted by relevance
30 DistributedDatabase::DistributedDatabase( in DistributedDatabase() function in OHOS::Notification::DistributedDatabase37 DistributedDatabase::~DistributedDatabase() in ~DistributedDatabase()40 void DistributedDatabase::GetKvDataManager() in GetKvDataManager()58 void DistributedDatabase::DeviceInitCallBack::OnRemoteDied() in OnRemoteDied()63 bool DistributedDatabase::CheckKvDataManager() in CheckKvDataManager()75 void DistributedDatabase::GetKvStore() in GetKvStore()119 bool DistributedDatabase::CheckKvStore() in CheckKvStore()132 bool DistributedDatabase::OnDeviceConnected() in OnDeviceConnected()260 bool DistributedDatabase::GetLocalDeviceId(std::string &deviceId) in GetLocalDeviceId()286 bool DistributedDatabase::GetLocalDeviceInfo(DeviceInfo &localInfo) in GetLocalDeviceInfo()[all …]
60 database_ = std::make_shared<DistributedDatabase>(databaseCb_, deviceCb_); in DistributedNotificationManager()249 std::vector<DistributedDatabase::Entry> entries; in OnDeviceDisconnected()271 std::vector<DistributedDatabase::DeviceInfo> deviceList; in OnDeviceDisconnected()440 std::vector<DistributedDatabase::Entry> entries; in GetCurrentDistributedNotification()470 ErrCode DistributedNotificationManager::GetLocalDeviceInfo(DistributedDatabase::DeviceInfo &deviceI… in GetLocalDeviceInfo()487 database_ = std::make_shared<DistributedDatabase>(databaseCb_, deviceCb_); in OnDistributedKvStoreDeathRecipient()
49 bool DistributedDatabase::OnDeviceConnected() in OnDeviceConnected()54 bool DistributedDatabase::GetEntriesFromDistributedDB(const std::string &prefixKey, std::vector<Ent… in GetEntriesFromDistributedDB()62 bool DistributedDatabase::GetDeviceInfoList(std::vector<DeviceInfo> &deviceList) in GetDeviceInfoList()67 bool DistributedDatabase::GetLocalDeviceId(std::string &deviceId) in GetLocalDeviceId()72 bool DistributedDatabase::PutToDistributedDB(const std::string &key, const std::string &value) in PutToDistributedDB()77 bool DistributedDatabase::GetLocalDeviceInfo(DeviceInfo &localInfo) in GetLocalDeviceInfo()82 bool DistributedDatabase::RecreateDistributedDB() in RecreateDistributedDB()
314 DistributedDatabase::DeviceInfo deviceInfo;
33 class DistributedDatabase : private DistributedFlowControl {44 DistributedDatabase(50 virtual ~DistributedDatabase();147 DISALLOW_COPY_AND_MOVE(DistributedDatabase);
126 ErrCode GetLocalDeviceInfo(DistributedDatabase::DeviceInfo &deviceInfo);170 std::shared_ptr<DistributedDatabase> database_ = nullptr;
40 std::shared_ptr<DistributedDatabase> database_;72 database_ = std::make_shared<DistributedDatabase>(databaseCallback_, deviceCallback_); in SetUp()146 std::vector<DistributedDatabase::Entry> entries;194 DistributedDatabase::DeviceInfo deviceInfo;206 std::vector<DistributedDatabase::DeviceInfo> deviceInfos;
236 DistributedDatabase::DeviceInfo deviceInfo;
52 std::shared_ptr<DistributedDatabase> database_;83 database_ = std::make_shared<DistributedDatabase>(databaseCallback_, deviceCallback_); in SetUp()
1089 DistributedDatabase::DeviceInfo localDeviceInfo; in OnDistributedDelete()1147 DistributedDatabase::DeviceInfo localDeviceInfo; in CheckDistributedNotificationType()