Searched refs:DeviceIdType (Results 1 – 13 of 13) sorted by relevance
/base/security/access_token/services/tokensyncmanager/src/device/ |
D | device_info_repository.cpp | 43 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()
|
D | device_info_manager.cpp | 32 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/ |
D | device_info_manager.h | 42 …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);
|
D | device_info_repository.h | 36 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…
|
D | device_info.h | 24 enum DeviceIdType { enum
|
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/ |
D | token_sync_service_test.cpp | 145 … 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/ |
D | delete_remote_token_command.cpp | 82 DeviceIdType::UNKNOWN, devInfo); in Execute()
|
D | update_remote_hap_token_command.cpp | 78 DeviceIdType::UNKNOWN, devInfo); in Execute()
|
D | sync_remote_native_token_command.cpp | 104 DeviceIdType::UNKNOWN, devInfo); in Finish()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | soft_bus_device_connection_listener.cpp | 85 … DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline()
|
D | soft_bus_manager.cpp | 225 …bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(deviceId, DeviceIdType::UNKNOWN, info… in OpenSession() 296 …bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(uuid, DeviceIdType::UNIVERSALLY_UNIQU… in GetUniversallyUniqueIdByNodeId()
|
D | remote_command_manager.cpp | 202 …bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(nodeId, DeviceIdType::UNKNOWN, devInf… in NotifyDeviceOffline()
|
/base/security/access_token/services/tokensyncmanager/src/service/ |
D | token_sync_manager_service.cpp | 92 …bool result = DeviceInfoRepository::GetInstance().FindDeviceInfo(deviceID, DeviceIdType::UNKNOWN, … in GetRemoteHapTokenInfo()
|