mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 14:30:21 +00:00
Description: NodeDeivceInfoKey ->NodeDeviceInfoKey. Feature or Bugfix:Feature Binary Source: No
Signed-off-by: libaoping <libaoping1@h-partners.com>
This commit is contained in:
parent
2b61f30d1a
commit
c5efb64373
@ -59,7 +59,7 @@ public:
|
||||
private:
|
||||
DISALLOW_COPY_AND_MOVE(DnetworkAdapter);
|
||||
|
||||
std::string GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeivceInfoKey keyType);
|
||||
std::string GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeviceInfoKey keyType);
|
||||
static void OnNodeOnline(NodeBasicInfo* info);
|
||||
static void OnNodeOffline(NodeBasicInfo* info);
|
||||
static void OnNodeBasicInfoChanged(NodeBasicInfoType type, NodeBasicInfo* info);
|
||||
|
@ -176,15 +176,15 @@ std::shared_ptr<NodeBasicInfo> DnetworkAdapter::GetLocalBasicInfo()
|
||||
|
||||
std::string DnetworkAdapter::GetUdidByNetworkId(const std::string& networkId)
|
||||
{
|
||||
return GetUuidOrUdidByNetworkId(networkId, NodeDeivceInfoKey::NODE_KEY_UDID);
|
||||
return GetUuidOrUdidByNetworkId(networkId, NodeDeviceInfoKey::NODE_KEY_UDID);
|
||||
}
|
||||
|
||||
std::string DnetworkAdapter::GetUuidByNetworkId(const std::string& networkId)
|
||||
{
|
||||
return GetUuidOrUdidByNetworkId(networkId, NodeDeivceInfoKey::NODE_KEY_UUID);
|
||||
return GetUuidOrUdidByNetworkId(networkId, NodeDeviceInfoKey::NODE_KEY_UUID);
|
||||
}
|
||||
|
||||
std::string DnetworkAdapter::GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeivceInfoKey keyType)
|
||||
std::string DnetworkAdapter::GetUuidOrUdidByNetworkId(const std::string& networkId, NodeDeviceInfoKey keyType)
|
||||
{
|
||||
if (networkId.empty()) {
|
||||
return std::string();
|
||||
|
Loading…
Reference in New Issue
Block a user