Home
last modified time | relevance | path

Searched refs:DeviceIdType (Results 1 – 13 of 13) sorted by relevance

/base/security/access_token/services/tokensyncmanager/src/device/
Ddevice_info_repository.cpp43 bool DeviceInfoRepository::FindDeviceInfo(const std::string &nodeId, DeviceIdType type, DeviceInfo … in FindDeviceInfo()
54 const std::string &nodeId, const DeviceIdType type, DeviceId &deviceId) const in FindDeviceIdByNodeIdLocked()
56 if (type == DeviceIdType::NETWORK_ID) { in FindDeviceIdByNodeIdLocked()
58 } else if (type == DeviceIdType::UNIVERSALLY_UNIQUE_ID) { in FindDeviceIdByNodeIdLocked()
60 } else if (type == DeviceIdType::UNIQUE_DISABILITY_ID) { in FindDeviceIdByNodeIdLocked()
62 } else if (type == DeviceIdType::UNKNOWN) { in FindDeviceIdByNodeIdLocked()
142 DeleteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in SaveDeviceInfo()
143 DeleteDeviceInfo(universallyUniqueId, DeviceIdType::UNIVERSALLY_UNIQUE_ID); in SaveDeviceInfo()
144 DeleteDeviceInfo(uniqueDeviceId, DeviceIdType::UNIQUE_DISABILITY_ID); in SaveDeviceInfo()
163 void DeviceInfoRepository::DeleteDeviceInfo(const std::string &nodeId, const DeviceIdType type) in DeleteDeviceInfo()
Ddevice_info_manager.cpp32 const std::string &nodeId, DeviceIdType deviceIdType, DeviceInfo &deviceInfo) const in GetDeviceInfo()
37 bool DeviceInfoManager::ExistDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType) const in ExistDeviceInfo()
62 localDevice, DeviceIdType::UNIQUE_DISABILITY_ID, localDeviceInfoOpt)) { in RemoveAllRemoteDeviceInfo()
67 void DeviceInfoManager::RemoveRemoteDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType) in RemoveRemoteDeviceInfo()
90 …if (!(DeviceInfoRepository::GetInstance().FindDeviceInfo(nodeId, DeviceIdType::UNKNOWN, deviceInfo… in ConvertToUniversallyUniqueIdOrFetch()
113 …if (DeviceInfoRepository::GetInstance().FindDeviceInfo(nodeId, DeviceIdType::UNKNOWN, deviceInfo))… in ConvertToUniqueDeviceIdOrFetch()
157 …if (DeviceInfoRepository::GetInstance().FindDeviceInfo(nodeId, DeviceIdType::UNIVERSALLY_UNIQUE_ID… in IsDeviceUniversallyUniqueId()
/base/security/access_token/services/tokensyncmanager/include/device/
Ddevice_info_manager.h42 …bool GetDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType, DeviceInfo &deviceInfo) c…
51 bool ExistDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType) const;
76 void RemoveRemoteDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType);
Ddevice_info_repository.h36 bool FindDeviceInfo(const std::string &nodeId, DeviceIdType type, DeviceInfo &deviceInfo);
47 void DeleteDeviceInfo(const std::string &nodeId, const DeviceIdType type);
52 …bool FindDeviceIdByNodeIdLocked(const std::string &nodeId, const DeviceIdType type, DeviceId &devi…
Ddevice_info.h24 enum DeviceIdType { enum
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/
Dtoken_sync_service_test.cpp145 … DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline()
1071 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID;
1098 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID;
1111 DeviceIdType deviceIdType = DeviceIdType::UNKNOWN;
1136 deviceIdType = DeviceIdType::UNIQUE_DISABILITY_ID;
1145 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID;
1178 DeviceIdType deviceIdType = DeviceIdType::UNIQUE_DISABILITY_ID;
1182 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID;
1215 DeviceIdType deviceIdType = DeviceIdType::UNIQUE_DISABILITY_ID;
1219 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID;
[all …]
/base/security/access_token/services/tokensyncmanager/src/command/
Ddelete_remote_token_command.cpp82 DeviceIdType::UNKNOWN, devInfo); in Execute()
Dupdate_remote_hap_token_command.cpp78 DeviceIdType::UNKNOWN, devInfo); in Execute()
Dsync_remote_native_token_command.cpp104 DeviceIdType::UNKNOWN, devInfo); in Finish()
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_device_connection_listener.cpp85 … DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline()
Dsoft_bus_manager.cpp225 …bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(deviceId, DeviceIdType::UNKNOWN, info… in OpenSession()
296 …bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(uuid, DeviceIdType::UNIVERSALLY_UNIQU… in GetUniversallyUniqueIdByNodeId()
Dremote_command_manager.cpp202 …bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(nodeId, DeviceIdType::UNKNOWN, devInf… in NotifyDeviceOffline()
/base/security/access_token/services/tokensyncmanager/src/service/
Dtoken_sync_manager_service.cpp92 …bool result = DeviceInfoRepository::GetInstance().FindDeviceInfo(deviceID, DeviceIdType::UNKNOWN, … in GetRemoteHapTokenInfo()