Home
last modified time | relevance | path

Searched refs:INVALID_TOKENID (Results 1 – 14 of 14) sorted by relevance

/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_deny_test.cpp65 ASSERT_NE(INVALID_TOKENID, g_testTokenId); in SetUp()
86 ASSERT_EQ(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID);
100 ASSERT_EQ(INVALID_TOKENID, localTokenId);
155 ASSERT_EQ(INVALID_TOKENID, tokenId);
296 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID);
337 ASSERT_EQ(INVALID_TOKENID, tokenID);
428 ASSERT_EQ(INVALID_TOKENID, AccessTokenKit::GetRemoteNativeTokenID(device, tokenId));
Daccesstoken_kit_test.cpp473 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID); in AllocTestToken()
541 ASSERT_NE(INVALID_TOKENID, tokenID);
563 ASSERT_NE(INVALID_TOKENID, tokenID);
582 ASSERT_NE(INVALID_TOKENID, tokenID);
604 ASSERT_NE(INVALID_TOKENID, tokenID);
623 ASSERT_NE(INVALID_TOKENID, tokenID);
643 ASSERT_NE(INVALID_TOKENID, tokenID);
663 ASSERT_NE(INVALID_TOKENID, tokenID);
698 ASSERT_NE(INVALID_TOKENID, tokenID);
720 ASSERT_NE(INVALID_TOKENID, tokenID);
[all …]
Dremote_token_kit_test.cpp122 ASSERT_NE(tokenId, INVALID_TOKENID); in NativeTokenGet()
197 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID); in AllocTestToken()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Daccesstoken_id_manager.cpp95 if (tokenId == INVALID_TOKENID) { in CreateAndRegisterTokenId()
97 return INVALID_TOKENID; in CreateAndRegisterTokenId()
107 tokenId = INVALID_TOKENID; in CreateAndRegisterTokenId()
Daccesstoken_info_manager.cpp193 AccessTokenID idRemoved = INVALID_TOKENID; in AddHapTokenInfo()
211 if (idRemoved != INVALID_TOKENID) { in AddHapTokenInfo()
1013 AccessTokenID tokenID = INVALID_TOKENID; in GetNativeTokenId()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/
Daccesstoken_kit_test.cpp65 ASSERT_EQ(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID);
79 ASSERT_EQ(INVALID_TOKENID, localTokenId);
146 ASSERT_EQ(INVALID_TOKENID, tokenId);
435 ASSERT_EQ(INVALID_TOKENID, AccessTokenKit::GetRemoteNativeTokenID(device, tokenId));
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h25 static const AccessTokenID INVALID_TOKENID = 0; variable
/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp299 ASSERT_NE(INVALID_TOKENID, tokenId);
337 ASSERT_NE(INVALID_TOKENID, tokenId);
370 ASSERT_NE(INVALID_TOKENID, tokenId);
402 ASSERT_NE(INVALID_TOKENID, tokenId);
439 ASSERT_NE(INVALID_TOKENID, tokenId);
458 ASSERT_NE(INVALID_TOKENID, tokenId);
473 ASSERT_NE(INVALID_TOKENID, tokenId);
Dprivacy_manager_service_test.cpp204 ASSERT_NE(INVALID_TOKENID, tokenId);
208 ASSERT_NE(INVALID_TOKENID, tokenId);
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_client.cpp309 return INVALID_TOKENID; in GetHapTokenID()
320 return INVALID_TOKENID; in AllocLocalTokenID()
380 return INVALID_TOKENID; in GetNativeTokenId()
469 return INVALID_TOKENID; in GetRemoteNativeTokenID()
Daccesstoken_manager_proxy.cpp664 return INVALID_TOKENID; in GetNativeTokenId()
669 return INVALID_TOKENID; in GetNativeTokenId()
676 return INVALID_TOKENID; in GetNativeTokenId()
682 return INVALID_TOKENID; in GetNativeTokenId()
687 return INVALID_TOKENID; in GetNativeTokenId()
Daccesstoken_kit.cpp320 return INVALID_TOKENID; in GetNativeTokenId()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_stub.cpp286 reply.WriteInt32(INVALID_TOKENID); in GetHapTokenIDInner()
300 reply.WriteInt32(INVALID_TOKENID); in AllocLocalTokenIDInner()
420 reply.WriteUint32(INVALID_TOKENID); in GetNativeTokenIdInner()
536 reply.WriteInt32(INVALID_TOKENID); in GetRemoteNativeTokenIDInner()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_manager.cpp170 if (tokenID == INVALID_TOKENID) { in VerifyAccessToken()