Home
last modified time | relevance | path

Searched refs:IsDeviceIdValid (Results 1 – 11 of 11) sorted by relevance

/base/security/access_token/services/tokensyncmanager/src/device/
Ddevice_info_manager.cpp46 if (!DataValidator::IsDeviceIdValid(networkId) || in AddDeviceInfo()
47 !DataValidator::IsDeviceIdValid(universallyUniqueId) || in AddDeviceInfo()
48 … !DataValidator::IsDeviceIdValid(uniqueDeviceId) || deviceName.empty() || deviceType.empty()) { in AddDeviceInfo()
69 if (!DataValidator::IsDeviceIdValid(nodeId)) { in RemoveRemoteDeviceInfo()
85 if (!DataValidator::IsDeviceIdValid(nodeId)) { in ConvertToUniversallyUniqueIdOrFetch()
108 if (!DataValidator::IsDeviceIdValid(nodeId)) { in ConvertToUniqueDeviceIdOrFetch()
152 if (!DataValidator::IsDeviceIdValid(nodeId)) { in IsDeviceUniversallyUniqueId()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Daccesstoken_remote_token_manager.cpp45 if (!DataValidator::IsDeviceIdValid(deviceID) || !DataValidator::IsTokenIDValid(remoteID)) { in MapRemoteDeviceTokenToLocal()
92 if (!DataValidator::IsDeviceIdValid(deviceID)) { in GetDeviceAllRemoteTokenID()
114 if (!DataValidator::IsDeviceIdValid(deviceID) || !DataValidator::IsTokenIDValid(remoteID)) { in GetDeviceMappingTokenID()
134 if (!DataValidator::IsDeviceIdValid(deviceID) || !DataValidator::IsTokenIDValid(remoteID)) { in RemoveDeviceMappingTokenID()
Daccesstoken_info_manager.cpp699 …if (!DataValidator::IsDeviceIdValid(deviceID) || !DataValidator::IsDeviceIdValid(hapSync.baseInfo.… in IsRemoteHapTokenValid()
770 if (!DataValidator::IsDeviceIdValid(deviceID)) { in SetRemoteNativeTokenInfo()
834 if (!DataValidator::IsDeviceIdValid(deviceID)) { in DeleteRemoteToken()
870 if ((!DataValidator::IsDeviceIdValid(deviceID)) || (tokenID == 0) || in GetRemoteNativeTokenID()
881 if (!DataValidator::IsDeviceIdValid(deviceID)) { in DeleteRemoteDeviceTokens()
915 if (!DataValidator::IsDeviceIdValid(remoteDeviceID)) { in AllocLocalTokenID()
Dhap_token_info_inner.cpp134 if (!DataValidator::IsDeviceIdValid(tokenInfoBasic_.deviceID)) { in RestoreHapTokenBasicInfo()
/base/security/access_token/frameworks/common/include/
Ddata_validator.h41 static bool IsDeviceIdValid(const std::string& deviceId);
/base/security/access_token/services/tokensyncmanager/src/remote/
Dremote_command_manager.cpp152 if (!DataValidator::IsDeviceIdValid(nodeId)) { in NotifyDeviceOnline()
208 if (!DataValidator::IsDeviceIdValid(nodeId)) { in NotifyDeviceOffline()
276 if (!DataValidator::IsDeviceIdValid(udid)) { in GetExecutorChannel()
Dsoft_bus_manager.cpp279 if (!DataValidator::IsDeviceIdValid(nodeId)) { in GetUniversallyUniqueIdByNodeId()
309 if (!DataValidator::IsDeviceIdValid(nodeId)) { in GetUniqueDeviceIdByNodeId()
/base/security/access_token/frameworks/common/src/
Ddata_validator.cpp67 bool DataValidator::IsDeviceIdValid(const std::string& deviceId) in IsDeviceIdValid() function in OHOS::Security::AccessToken::DataValidator
/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_kit.cpp86 if (!DataValidator::IsTokenIDValid(tokenID) && !DataValidator::IsDeviceIdValid(deviceID)) { in RemovePermissionUsedRecords()
/base/security/access_token/services/tokensyncmanager/src/service/
Dtoken_sync_manager_service.cpp87 if (!DataValidator::IsDeviceIdValid(deviceID) || tokenID == 0) { in GetRemoteHapTokenInfo()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Ddata_translator.cpp101 if (!DataValidator::IsDeviceIdValid(devID)) { in TranslationIntoPermissionStateFull()