Home
last modified time | relevance | path

Searched refs:DeviceInfo (Results 1 – 24 of 24) sorted by relevance

/base/security/access_token/services/tokensyncmanager/include/device/
Ddevice_info_repository.h34 std::vector<DeviceInfo> ListDeviceInfo();
36 bool FindDeviceInfo(const std::string &nodeId, DeviceIdType type, DeviceInfo &deviceInfo);
38 void DeleteAllDeviceInfoExceptOne(const DeviceInfo deviceInfo);
40 void SaveDeviceInfo(const DeviceInfo deviceInfo);
54 bool FindDeviceInfoByDeviceIdLocked(const DeviceId deviceId, DeviceInfo &deviceInfo) const;
70 std::map<std::string, DeviceInfo> deviceInfoMap_;
Ddevice_info.h37 struct DeviceInfo { struct
Ddevice_info_manager.h42 …bool GetDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType, DeviceInfo &deviceInfo) c…
/base/security/access_token/services/tokensyncmanager/src/device/
Ddevice_info_manager.cpp32 const std::string &nodeId, DeviceIdType deviceIdType, DeviceInfo &deviceInfo) const in GetDeviceInfo()
39 DeviceInfo deviceInfo; in ExistDeviceInfo()
60 DeviceInfo localDeviceInfoOpt; in RemoveAllRemoteDeviceInfo()
72 DeviceInfo deviceInfo; in RemoveRemoteDeviceInfo()
89 DeviceInfo deviceInfo; in ConvertToUniversallyUniqueIdOrFetch()
112 DeviceInfo deviceInfo; in ConvertToUniqueDeviceIdOrFetch()
137 DeviceInfo info = (*iter); in ConvertToUniqueDeviceIdOrFetch()
156 DeviceInfo deviceInfo; in IsDeviceUniversallyUniqueId()
Ddevice_info_repository.cpp27 std::vector<DeviceInfo> DeviceInfoRepository::ListDeviceInfo() in ListDeviceInfo()
30 std::vector<DeviceInfo> deviceInfo; in ListDeviceInfo()
32 std::map<std::string, DeviceInfo>::iterator it; in ListDeviceInfo()
33 std::map<std::string, DeviceInfo>::iterator itEnd; in ListDeviceInfo()
43 bool DeviceInfoRepository::FindDeviceInfo(const std::string &nodeId, DeviceIdType type, DeviceInfo in FindDeviceInfo()
76 bool DeviceInfoRepository::FindDeviceInfoByDeviceIdLocked(const DeviceId deviceId, DeviceInfo &devi… in FindDeviceInfoByDeviceIdLocked()
115 void DeviceInfoRepository::DeleteAllDeviceInfoExceptOne(const DeviceInfo deviceInfo) in DeleteAllDeviceInfoExceptOne()
125 void DeviceInfoRepository::SaveDeviceInfo(const DeviceInfo deviceInfo) in SaveDeviceInfo()
151 DeviceInfo deviceInfo; in SaveDeviceInfo()
160 deviceInfoMap_.insert(std::pair<std::string, DeviceInfo>(deviceInfoKey, deviceInfo)); in SaveDeviceInfo()
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_database.h36 using DeviceInfo = DistributedKv::DeviceInfo; variable
109 bool GetLocalDeviceInfo(DeviceInfo &localInfo);
117 bool GetDeviceInfoList(std::vector<DeviceInfo> &deviceList);
Ddistributed_device_callback.h49 …const DistributedKv::DeviceInfo &info, const DistributedKv::DeviceChangeType &type) const override;
Ddistributed_notification_manager.h125 ErrCode GetLocalDeviceInfo(DistributedDatabase::DeviceInfo &deviceInfo);
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_distributed_kv_data_manager.cpp55 Status DistributedKvDataManager::GetLocalDevice(DeviceInfo &localDevice) in GetLocalDevice()
63 Status DistributedKvDataManager::GetDeviceList(std::vector<DeviceInfo> &deviceInfoList, DeviceFilte… in GetDeviceList()
65 DeviceInfo localDevice = { in GetDeviceList()
70 DeviceInfo remoteDevice = { in GetDeviceList()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Ddistributed_kv_data_manager.cpp55 Status DistributedKvDataManager::GetLocalDevice(DeviceInfo &localDevice) in GetLocalDevice()
63 Status DistributedKvDataManager::GetDeviceList(std::vector<DeviceInfo> &deviceInfoList, DeviceFilte… in GetDeviceList()
65 DeviceInfo remoteDevice = { in GetDeviceList()
/base/security/access_token/services/tokensyncmanager/src/service/
Dtoken_sync_manager_service.cpp91 DeviceInfo devInfo; in GetRemoteHapTokenInfo()
119 std::vector<DeviceInfo> devices = DeviceInfoRepository::GetInstance().ListDeviceInfo(); in DeleteRemoteHapTokenInfo()
121 for (const DeviceInfo& device : devices) { in DeleteRemoteHapTokenInfo()
144 std::vector<DeviceInfo> devices = DeviceInfoRepository::GetInstance().ListDeviceInfo(); in UpdateRemoteHapTokenInfo()
146 for (const DeviceInfo& device : devices) { in UpdateRemoteHapTokenInfo()
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_database_test.cpp112 DistributedKv::DeviceInfo deviceInfo;
192 DistributedDatabase::DeviceInfo deviceInfo;
204 std::vector<DistributedDatabase::DeviceInfo> deviceInfos;
216 std::vector<DistributedDatabase::DeviceInfo> deviceInfos;
Ddistributed_notification_manager_test.cpp239 DistributedDatabase::DeviceInfo deviceInfo;
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_device_callback.cpp28 const DistributedKv::DeviceInfo &info, const DistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
Ddistributed_screen_status_manager.cpp60 std::vector<DistributedKv::DeviceInfo> devInfoList; in OnDeviceDisconnected()
167 std::vector<DistributedKv::DeviceInfo> devInfoList; in CheckRemoteDevicesIsUsing()
218 DistributedKv::DeviceInfo localDevice; in SetLocalScreenStatus()
Ddistributed_database.cpp249 DistributedKv::DeviceInfo deviceInfo; in GetLocalDeviceId()
268 bool DistributedDatabase::GetLocalDeviceInfo(DeviceInfo &localInfo) in GetLocalDeviceInfo()
289 bool DistributedDatabase::GetDeviceInfoList(std::vector<DeviceInfo> &deviceList) in GetDeviceInfoList()
Ddistributed_notification_manager.cpp239 std::vector<DistributedDatabase::DeviceInfo> deviceList; in OnDeviceDisconnected()
409 ErrCode DistributedNotificationManager::GetLocalDeviceInfo(DistributedDatabase::DeviceInfo &deviceI… in GetLocalDeviceInfo()
/base/security/access_token/services/tokensyncmanager/src/command/
Ddelete_remote_token_command.cpp80 DeviceInfo devInfo; in Execute()
Dupdate_remote_hap_token_command.cpp76 DeviceInfo devInfo; in Execute()
Dsync_remote_native_token_command.cpp102 DeviceInfo devInfo; in Finish()
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_manager.cpp219 DeviceInfo info; in OpenSession()
290 DeviceInfo info; in GetUniversallyUniqueIdByNodeId()
Dremote_command_manager.cpp224 DeviceInfo devInfo; in NotifyDeviceOffline()
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/
Dtoken_sync_service_test.cpp1101 DeviceInfo deviceInfo;
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp2910 DistributedDatabase::DeviceInfo localDeviceInfo; in CheckDistributedNotificationType()
3070 DistributedDatabase::DeviceInfo localDeviceInfo; in OnDistributedDelete()