Searched refs:remoteID (Results 1 – 4 of 4) sorted by relevance
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | accesstoken_remote_token_manager.cpp | 44 AccessTokenID remoteID) in MapRemoteDeviceTokenToLocal() argument 46 if (!DataValidator::IsDeviceIdValid(deviceID) || !DataValidator::IsTokenIDValid(remoteID)) { in MapRemoteDeviceTokenToLocal() 48 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID); in MapRemoteDeviceTokenToLocal() 51 ATokenTypeEnum tokeType = AccessTokenIDManager::GetInstance().GetTokenIdTypeEnum(remoteID); in MapRemoteDeviceTokenToLocal() 54 LABEL, "token %{public}x type is invalid.", remoteID); in MapRemoteDeviceTokenToLocal() 57 int dlpType = AccessTokenIDManager::GetInstance().GetTokenIdDlpFlag(remoteID); in MapRemoteDeviceTokenToLocal() 64 if (device.MappingTokenIDPairMap_.count(remoteID) > 0) { in MapRemoteDeviceTokenToLocal() 65 mapID = device.MappingTokenIDPairMap_[remoteID]; in MapRemoteDeviceTokenToLocal() 68 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID, mapID); in MapRemoteDeviceTokenToLocal() 83 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID); in MapRemoteDeviceTokenToLocal() [all …]
|
D | accesstoken_info_manager.cpp | 753 AccessTokenID remoteID = hapSync.baseInfo.tokenID; in SetRemoteHapTokenInfo() local 754 …D mapID = AccessTokenRemoteTokenManager::GetInstance().GetDeviceMappingTokenID(deviceID, remoteID); in SetRemoteHapTokenInfo() 757 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID, mapID); in SetRemoteHapTokenInfo() 764 …pID = AccessTokenRemoteTokenManager::GetInstance().MapRemoteDeviceTokenToLocal(deviceID, remoteID); in SetRemoteHapTokenInfo() 767 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID); in SetRemoteHapTokenInfo() 778 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID, mapID); in SetRemoteHapTokenInfo() 782 ConstantCommon::EncryptDevId(deviceID).c_str(), remoteID, mapID); in SetRemoteHapTokenInfo() 795 AccessTokenID remoteID = nativeToken.baseInfo.tokenID; in SetRemoteNativeTokenInfo() local 797 ATokenTypeEnum type = AccessTokenIDManager::GetInstance().GetTokenIdTypeEnum(remoteID); in SetRemoteNativeTokenInfo() 804 encryptDevId.c_str(), remoteID); in SetRemoteNativeTokenInfo() [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/ |
D | accesstoken_remote_token_manager.h | 45 AccessTokenID MapRemoteDeviceTokenToLocal(const std::string& deviceID, AccessTokenID remoteID); 47 AccessTokenID GetDeviceMappingTokenID(const std::string& deviceID, AccessTokenID remoteID); 48 int RemoveDeviceMappingTokenID(const std::string& deviceID, AccessTokenID remoteID);
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 1927 AccessTokenID remoteID = 0; variable 1931 … AccessTokenRemoteTokenManager::GetInstance().MapRemoteDeviceTokenToLocal(deviceID, remoteID)); 1933 remoteID = 940572671; // 940572671 is max butt tokenId: 001 11 0 000000 11111111111111111111 1938 … AccessTokenRemoteTokenManager::GetInstance().MapRemoteDeviceTokenToLocal(deviceID, remoteID)); 1940 …remoteID = 537919487; // 537919487 is max hap tokenId: 001 00 0 000000 11111111111111111111, no ne… 1951 … AccessTokenRemoteTokenManager::GetInstance().MapRemoteDeviceTokenToLocal(deviceID, remoteID)); 1985 AccessTokenID remoteID = 0; variable 1989 … AccessTokenRemoteTokenManager::GetInstance().RemoveDeviceMappingTokenID(deviceID, remoteID)); 1992 remoteID = 123; // 123 is random input 1996 … AccessTokenRemoteTokenManager::GetInstance().RemoveDeviceMappingTokenID(deviceID, remoteID));
|