Home
last modified time | relevance | path

Searched refs:ERR_TOKENID_NOT_EXIST (Results 1 – 12 of 12) sorted by relevance

/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token_error.h53 ERR_TOKENID_NOT_EXIST, enumerator
/base/security/access_token/interfaces/innerkits/privacy/include/
Dprivacy_error.h50 ERR_TOKENID_NOT_EXIST, enumerator
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp242 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in GetDefPermissions()
258 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in GetReqPermissions()
350 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in GetPermissionFlag()
380 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in UpdateTokenPermissionState()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Daccesstoken_info_manager.cpp191 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in AddHapTokenInfo()
229 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in AddNativeTokenInfo()
269 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in GetHapTokenInfo()
304 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in GetNativeTokenInfo()
483 return ERR_TOKENID_NOT_EXIST; in CheckNativeDCap()
598 return AccessTokenError::ERR_TOKENID_NOT_EXIST; in UpdateHapToken()
/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp421 ASSERT_EQ(ERR_TOKENID_NOT_EXIST,
444 …ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PermissionRecordManager::GetInstance().StartUsingPe…
845 …ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PermissionRecordManager::GetInstance().StartUsingPe…
870 …ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PermissionRecordManager::GetInstance().StopUsingPer…
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Dpermission_manager_test.cpp936 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, PermissionManager::GetInstance().GetDefPermissions(0, result));
974 …ASSERT_EQ(ERR_TOKENID_NOT_EXIST, PermissionManager::GetInstance().GetReqPermissions(0, result, tru…
1097 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, PermissionManager::GetInstance().GetPermissionFlag(tokenID,
Daccesstoken_info_manager_test.cpp500 ASSERT_EQ(result, ERR_TOKENID_NOT_EXIST);
670 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, ret);
1223 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, ret);
1328 …ASSERT_EQ(ERR_TOKENID_NOT_EXIST, AccessTokenInfoManager::GetInstance().AddNativeTokenInfo(info)); …
Dnative_token_receptor_test.cpp622 ASSERT_EQ(ret, ERR_TOKENID_NOT_EXIST);
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dprivacy_kit_test.cpp318 ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST,
370 ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PrivacyKit::AddPermissionUsedRecord(
1209 …ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PrivacyKit::StartUsingPermission(1, "ohos.permissio…
1371 …ASSERT_EQ(PrivacyError::ERR_TOKENID_NOT_EXIST, PrivacyKit::StopUsingPermission(tokenId, "ohos.perm…
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp508 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, ret);
623 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, ret);
1395 ASSERT_EQ(AccessTokenError::ERR_TOKENID_NOT_EXIST, ret);
2130 EXPECT_EQ(ret, AccessTokenError::ERR_TOKENID_NOT_EXIST); in GetDlpFlagTest()
2739 ASSERT_EQ(ERR_TOKENID_NOT_EXIST, ret);
2771 ASSERT_EQ(ret, AccessTokenError::ERR_TOKENID_NOT_EXIST);
/base/security/access_token/services/privacymanager/src/record/
Dpermission_record_manager.cpp92 return PrivacyError::ERR_TOKENID_NOT_EXIST; in GetPermissionRecord()
664 return PrivacyError::ERR_TOKENID_NOT_EXIST; in StopUsingPermission()
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp59 case ERR_TOKENID_NOT_EXIST: in GetJsErrorCode()