Searched refs:INVALID_TOKENID (Results 1 – 14 of 14) sorted by relevance
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | accesstoken_deny_test.cpp | 65 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));
|
D | accesstoken_kit_test.cpp | 473 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 …]
|
D | remote_token_kit_test.cpp | 122 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/ |
D | accesstoken_id_manager.cpp | 95 if (tokenId == INVALID_TOKENID) { in CreateAndRegisterTokenId() 97 return INVALID_TOKENID; in CreateAndRegisterTokenId() 107 tokenId = INVALID_TOKENID; in CreateAndRegisterTokenId()
|
D | accesstoken_info_manager.cpp | 193 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/ |
D | accesstoken_kit_test.cpp | 65 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/ |
D | access_token.h | 25 static const AccessTokenID INVALID_TOKENID = 0; variable
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_manager_test.cpp | 299 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);
|
D | privacy_manager_service_test.cpp | 204 ASSERT_NE(INVALID_TOKENID, tokenId); 208 ASSERT_NE(INVALID_TOKENID, tokenId);
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_client.cpp | 309 return INVALID_TOKENID; in GetHapTokenID() 320 return INVALID_TOKENID; in AllocLocalTokenID() 380 return INVALID_TOKENID; in GetNativeTokenId() 469 return INVALID_TOKENID; in GetRemoteNativeTokenID()
|
D | accesstoken_manager_proxy.cpp | 664 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()
|
D | accesstoken_kit.cpp | 320 return INVALID_TOKENID; in GetNativeTokenId()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_stub.cpp | 286 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/ |
D | permission_manager.cpp | 170 if (tokenID == INVALID_TOKENID) { in VerifyAccessToken()
|