Home
last modified time | relevance | path

Searched refs:UserDelegate (Results 1 - 7 of 7) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Duser_delegate.cpp16 #define LOG_TAG "UserDelegate"
36 std::vector<UserStatus> UserDelegate::GetLocalUserStatus() in GetLocalUserStatus()
47 std::set<std::string> UserDelegate::GetLocalUsers() in GetLocalUsers()
71 std::vector<DistributedData::UserStatus> UserDelegate::GetRemoteUserStatus(const std::string &deviceId) in GetRemoteUserStatus()
80 std::vector<UserStatus> UserDelegate::GetUsers(const std::string &deviceId) in GetUsers()
102 void UserDelegate::DeleteUsers(const std::string &deviceId) in DeleteUsers()
107 void UserDelegate::UpdateUsers(const std::string &deviceId, const std::vector<UserStatus> &userStatus) in UpdateUsers()
120 bool UserDelegate::InitLocalUserMeta() in InitLocalUserMeta()
145 UserDelegate &UserDelegate
[all...]
H A Duser_delegate.h31 class UserDelegate { class
37 API_EXPORT static UserDelegate &GetInstance();
50 explicit LocalUserObserver(UserDelegate &userDelegate);
59 UserDelegate &userDelegate_;
H A Dauth_delegate.cpp49 auto localUsers = UserDelegate::GetInstance().GetLocalUserStatus(); in CheckUsers()
50 auto peerUsers = UserDelegate::GetInstance().GetRemoteUserStatus(peerDeviceId); in CheckUsers()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/
H A Dsession_manager.cpp47 auto users = UserDelegate::GetInstance().GetRemoteUserStatus(targetDeviceId); in GetSession()
49 if (from.userId == UserDelegate::SYSTEM_USER) { in GetSession()
57 session.targetUserIds.push_back(UserDelegate::SYSTEM_USER); in GetSession()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/permission/src/
H A Dpermit_delegate.cpp76 std::set<std::string> activeUsers = UserDelegate::GetInstance().GetLocalUsers(); in SyncActivate()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_test.cpp382 * @tc.name: UserDelegate
383 * @tc.desc: UserDelegate test the return result of input with different values.
387 HWTEST_F(UserDelegateTest, UserDelegate, TestSize.Level0) in HWTEST_F()
389 std::shared_ptr<UserDelegate> userDelegate = std::make_shared<UserDelegate>(); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dkvstore_data_service.cpp361 UserDelegate::GetInstance().Init(executors_); in StartService()

Completed in 5 milliseconds