/base/security/access_token/services/tokensyncmanager/src/device/ |
H A D | device_info_repository.cpp | 52 bool DeviceInfoRepository::FindDeviceInfo(const std::string &nodeId, DeviceIdType type, DeviceInfo &deviceInfo)
in FindDeviceInfo() 63 const std::string &nodeId, const DeviceIdType type, DeviceId &deviceId) const
in FindDeviceIdByNodeIdLocked() 65 if (type == DeviceIdType::NETWORK_ID) {
in FindDeviceIdByNodeIdLocked() 67 } else if (type == DeviceIdType::UNIVERSALLY_UNIQUE_ID) {
in FindDeviceIdByNodeIdLocked() 69 } else if (type == DeviceIdType::UNIQUE_DISABILITY_ID) {
in FindDeviceIdByNodeIdLocked() 71 } else if (type == DeviceIdType::UNKNOWN) {
in FindDeviceIdByNodeIdLocked() 151 DeleteDeviceInfo(networkId, DeviceIdType::NETWORK_ID);
in SaveDeviceInfo() 152 DeleteDeviceInfo(universallyUniqueId, DeviceIdType::UNIVERSALLY_UNIQUE_ID);
in SaveDeviceInfo() 153 DeleteDeviceInfo(uniqueDeviceId, DeviceIdType::UNIQUE_DISABILITY_ID);
in SaveDeviceInfo() 172 void DeviceInfoRepository::DeleteDeviceInfo(const std::string &nodeId, const DeviceIdType typ [all...] |
H A D | device_info_manager.cpp | 39 const std::string &nodeId, DeviceIdType deviceIdType, DeviceInfo &deviceInfo) const in GetDeviceInfo() 44 bool DeviceInfoManager::ExistDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType) const in ExistDeviceInfo() 69 localDevice, DeviceIdType::UNIQUE_DISABILITY_ID, localDeviceInfoOpt)) { in RemoveAllRemoteDeviceInfo() 74 void DeviceInfoManager::RemoveRemoteDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType) in RemoveRemoteDeviceInfo() 97 if (!(DeviceInfoRepository::GetInstance().FindDeviceInfo(nodeId, DeviceIdType::UNKNOWN, deviceInfo))) { in ConvertToUniversallyUniqueIdOrFetch() 120 if (DeviceInfoRepository::GetInstance().FindDeviceInfo(nodeId, DeviceIdType::UNKNOWN, deviceInfo)) { in ConvertToUniqueDeviceIdOrFetch() 164 if (DeviceInfoRepository::GetInstance().FindDeviceInfo(nodeId, DeviceIdType::UNIVERSALLY_UNIQUE_ID, deviceInfo)) { in IsDeviceUniversallyUniqueId()
|
/base/security/access_token/services/tokensyncmanager/include/device/ |
H A D | device_info_manager.h | 38 * @param deviceIdType Device id type {@link DeviceIdType} 42 bool GetDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType, DeviceInfo &deviceInfo) const; 48 * @param deviceIdType Device id type {@link DeviceIdType} 51 bool ExistDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType) const; 74 * @param deviceIdType Device id type {@link DeviceIdType} 76 void RemoveRemoteDeviceInfo(const std::string &nodeId, DeviceIdType deviceIdType);
|
H A 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 &deviceId) const;
|
H A D | device_info.h | 24 enum DeviceIdType { enum
|
/base/security/access_token/services/tokensyncmanager/test/unittest/ |
H A D | token_sync_service_test.cpp | 150 DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline() 947 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID; in HWTEST_F() 974 DeviceIdType type = DeviceIdType::UNIQUE_DISABILITY_ID; in HWTEST_F() 987 DeviceIdType deviceIdType = DeviceIdType::UNKNOWN; in HWTEST_F() 1012 deviceIdType = DeviceIdType::UNIQUE_DISABILITY_ID; in HWTEST_F() 1021 DeviceIdType type = DeviceIdType in HWTEST_F() [all...] |
/base/security/access_token/services/tokensyncmanager/src/command/ |
H A D | update_remote_hap_token_command.cpp | 83 DeviceIdType::UNKNOWN, devInfo);
in Execute()
|
H A D | delete_remote_token_command.cpp | 87 DeviceIdType::UNKNOWN, devInfo);
in Execute()
|
/base/security/access_token/services/tokensyncmanager/test/coverage/ |
H A D | token_sync_service_coverage_test.cpp | 145 DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | soft_bus_device_connection_listener.cpp | 99 DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID);
in OnDeviceOffline()
|
H A D | soft_bus_manager.cpp | 376 bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(deviceId, DeviceIdType::UNKNOWN, info);
in BindService() 475 bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(uuid, DeviceIdType::UNIVERSALLY_UNIQUE_ID, info);
in GetUniversallyUniqueIdByNodeId()
|
H A D | remote_command_manager.cpp | 214 bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(nodeId, DeviceIdType::UNKNOWN, devInfo); in NotifyDeviceOffline()
|
/base/security/access_token/services/tokensyncmanager/src/service/ |
H A D | token_sync_manager_service.cpp | 94 bool result = DeviceInfoRepository::GetInstance().FindDeviceInfo(deviceID, DeviceIdType::UNKNOWN, devInfo); in GetRemoteHapTokenInfo()
|