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/
H A Ddevice_info_repository.cpp52 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 Ddevice_info_manager.cpp39 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 Ddevice_info_manager.h38 * @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 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 &deviceId) const;
H A Ddevice_info.h24 enum DeviceIdType { enum
/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp150 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 Dupdate_remote_hap_token_command.cpp83 DeviceIdType::UNKNOWN, devInfo); in Execute()
H A Ddelete_remote_token_command.cpp87 DeviceIdType::UNKNOWN, devInfo); in Execute()
/base/security/access_token/services/tokensyncmanager/test/coverage/
H A Dtoken_sync_service_coverage_test.cpp145 DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline()
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_device_connection_listener.cpp99 DeviceInfoManager::GetInstance().RemoveRemoteDeviceInfo(networkId, DeviceIdType::NETWORK_ID); in OnDeviceOffline()
H A Dsoft_bus_manager.cpp376 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 Dremote_command_manager.cpp214 bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(nodeId, DeviceIdType::UNKNOWN, devInfo); in NotifyDeviceOffline()
/base/security/access_token/services/tokensyncmanager/src/service/
H A Dtoken_sync_manager_service.cpp94 bool result = DeviceInfoRepository::GetInstance().FindDeviceInfo(deviceID, DeviceIdType::UNKNOWN, devInfo); in GetRemoteHapTokenInfo()

Completed in 7 milliseconds