/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | app_installation_optimized_test.cpp | 196 GTEST_LOG_(INFO) << "tokenID :" << fullTokenId.tokenIdExStruct.tokenID; 198 ASSERT_EQ(RET_SUCCESS, AccessTokenKit::DeleteToken(fullTokenId.tokenIdExStruct.tokenID)); 199 ASSERT_NE(RET_SUCCESS, AccessTokenKit::DeleteToken(fullTokenId.tokenIdExStruct.tokenID)); 217 GTEST_LOG_(INFO) << "tokenID :" << fullTokenId.tokenIdExStruct.tokenID; 220 fullTokenId.tokenIdExStruct.tokenID, CERT_PERMISSION); 223 … res = AccessTokenKit::GetReqPermissions(fullTokenId.tokenIdExStruct.tokenID, permStatList, true); 228 ASSERT_EQ(RET_SUCCESS, AccessTokenKit::DeleteToken(fullTokenId.tokenIdExStruct.tokenID)); 248 fullTokenId.tokenIdExStruct.tokenID, MICROPHONE_PERMISSION); 252 fullTokenId.tokenIdExStruct.tokenID, MICROPHONE_PERMISSION, flag); 254 ASSERT_EQ(RET_SUCCESS, AccessTokenKit::DeleteToken(fullTokenId.tokenIdExStruct.tokenID)); [all …]
|
D | accesstoken_location_request_test.cpp | 179 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 210 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 241 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 272 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 304 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 335 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 367 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 399 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 437 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 475 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; [all …]
|
D | accesstoken_kit_extension_test.cpp | 716 AccessTokenID tokenID = tokenIDEx.tokenIdExStruct.tokenID; 764 AccessTokenID tokenID = tokenIDEx.tokenIdExStruct.tokenID; 820 AccessTokenID tokenID = tokenIDEx.tokenIdExStruct.tokenID; 865 AccessTokenID tokenID = tokenIDEx.tokenIdExStruct.tokenID; 894 AccessTokenID tokenID = tokenIDEx.tokenIdExStruct.tokenID; 943 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID); 945 ATokenTypeEnum ret = AccessTokenKit::GetTokenTypeFlag(tokenIdEx.tokenIdExStruct.tokenID); 948 int res = AccessTokenKit::DeleteToken(tokenIdEx.tokenIdExStruct.tokenID); 1089 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 1174 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; [all …]
|
D | accesstoken_deny_test.cpp | 107 ASSERT_EQ(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID); 146 tokenIdEx.tokenIdExStruct.tokenID = 123; 359 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID); 376 ASSERT_EQ(RET_SUCCESS, AccessTokenKit::DeleteToken(tokenIdEx.tokenIdExStruct.tokenID));
|
D | accesstoken_kit_test.cpp | 294 return tokenIdEx.tokenIdExStruct.tokenID; in AllocTestToken() 593 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 1178 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 1587 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 1827 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 2435 EXPECT_NE(INVALID_TOKENID, tokenIdEx.tokenIdExStruct.tokenID); in GetDlpFlagTest() 2436 ret = AccessTokenKit::GetHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID, hapTokenInfoRes); in GetDlpFlagTest() 2440 EXPECT_EQ(AccessTokenKit::GetHapDlpFlag(tokenIdEx.tokenIdExStruct.tokenID), 0); in GetDlpFlagTest() 2442 EXPECT_EQ(AccessTokenKit::GetHapDlpFlag(tokenIdEx.tokenIdExStruct.tokenID), 1); in GetDlpFlagTest() 2444 ret = AccessTokenKit::DeleteToken(tokenIdEx.tokenIdExStruct.tokenID); in GetDlpFlagTest() [all …]
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 213 …fo = AccessTokenInfoManager::GetInstance().GetHapTokenInfoInner(tokenIdEx.tokenIdExStruct.tokenID); 219 … ret = AccessTokenInfoManager::GetInstance().RemoveHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID); 223 …fo = AccessTokenInfoManager::GetInstance().GetHapTokenInfoInner(tokenIdEx.tokenIdExStruct.tokenID); 247 ASSERT_NE(tokenIdEx.tokenIdExStruct.tokenID, tokenIdEx1.tokenIdExStruct.tokenID); 251 …o = AccessTokenInfoManager::GetInstance().GetHapTokenInfoInner(tokenIdEx1.tokenIdExStruct.tokenID); 258 …ret = AccessTokenInfoManager::GetInstance().RemoveHapTokenInfo(tokenIdEx1.tokenIdExStruct.tokenID); 521 …result = AccessTokenInfoManager::GetInstance().GetHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID, … 528 …result = AccessTokenInfoManager::GetInstance().GetHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID, … 530 …result = AccessTokenInfoManager::GetInstance().RemoveHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenI… 545 …AccessTokenInfoManager::GetInstance().GetHapPermissionPolicySet(tokenIdEx.tokenIdExStruct.tokenID); [all …]
|
D | permission_manager_test.cpp | 344 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 399 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 453 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 530 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 588 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 645 AccessTokenID tokenID = tokenIdEx.tokenIdExStruct.tokenID; 685 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; 968 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; 973 … ret = AccessTokenInfoManager::GetInstance().RemoveHapTokenInfo(tokenIdEx.tokenIdExStruct.tokenID); 1006 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; [all …]
|
/base/security/access_token/test/fuzztest/innerkits/accesstoken/updatehaptoken_fuzzer/ |
D | updatehaptoken_fuzzer.cpp | 35 .tokenIdExStruct.tokenID = static_cast<AccessTokenID>(size), in UpdateHapTokenFuzzTest() 36 .tokenIdExStruct.tokenAttr = static_cast<AccessTokenAttr>(size), in UpdateHapTokenFuzzTest()
|
/base/accesscontrol/sandbox_manager/test/fuzztest/common/ |
D | alloc_token.cpp | 97 g_mockToken = tokenIdEx.tokenIdExStruct.tokenID; in AllocToken() 98 SetSelfTokenID(tokenIdEx.tokenIdExStruct.tokenID); in AllocToken()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_common_test.cpp | 162 tokenId = tokenIdEx.tokenIdExStruct.tokenID; in AllocHapTest() 175 tokenId = tokenIdEx.tokenIdExStruct.tokenID; in AllocHapTestWithUserIdDiff() 188 tokenId = tokenIdEx.tokenIdExStruct.tokenID; in AllocHapTestWithIndexDiff()
|
/base/telephony/core_service/test/unittest/ui_client/ |
D | ui_client_test.cpp | 138 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken() 181 AccessTokenKit::DeleteToken(currentIDEx.tokenIdExStruct.tokenID); in UnRegisterSimAccountCallback() 221 AccessTokenKit::DeleteToken(currentIDEx.tokenIdExStruct.tokenID); in UnRegisterImsRegInfoCallback() 265 AccessTokenKit::DeleteToken(currentIDEx.tokenIdExStruct.tokenID); in RemoveStateObserver()
|
/base/telephony/cellular_data/test/ |
D | data_access_token.cpp | 87 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in DataAccessToken()
|
/base/security/access_token/test/fuzztest/innerkits/accesstoken/allochaptoken_fuzzer/ |
D | allochaptoken_fuzzer.cpp | 68 return tokenIdEx.tokenIdExStruct.tokenID != 0; in AllocHapTokenFuzzTest()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/querydlpfileaccess_fuzzer/ |
D | querydlpfileaccess_fuzzer.cpp | 73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/setretentionstate_fuzzer/ |
D | setretentionstate_fuzzer.cpp | 73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | access_token.h | 140 } tokenIdExStruct; member
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/querydlpfileaccessstub_fuzzer/ |
D | querydlpfileaccessstub_fuzzer.cpp | 73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/setretentionstatestub_fuzzer/ |
D | setretentionstatestub_fuzzer.cpp | 73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
|
/base/telephony/core_service/services/network_search/test/ |
D | test.h | 128 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken()
|
/base/telephony/sms_mms/test/unittest/ |
D | access_mms_token.h | 116 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessMmsToken()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | security_token.cpp | 146 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in SecurityToken()
|
/base/telephony/sms_mms/test/gtest/ |
D | sms_mms_gtest.h | 169 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessMmsToken()
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | permission_deny_test.cpp | 61 g_testTokenId = tokenIDEx.tokenIdExStruct.tokenID; in SetUp()
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.h | 159 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken()
|
/base/telephony/cellular_call/test/unittest/satellitetest/ |
D | satellite_test.h | 117 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken()
|