Home
last modified time | relevance | path

Searched refs:tokenIdExStruct (Results 1 – 25 of 57) sorted by relevance

123

/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dapp_installation_optimized_test.cpp196 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 …]
Daccesstoken_location_request_test.cpp179 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 …]
Daccesstoken_kit_extension_test.cpp716 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 …]
Daccesstoken_deny_test.cpp107 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));
Daccesstoken_kit_test.cpp294 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/
Daccesstoken_info_manager_test.cpp213 …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 …]
Dpermission_manager_test.cpp344 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/
Dupdatehaptoken_fuzzer.cpp35 .tokenIdExStruct.tokenID = static_cast<AccessTokenID>(size), in UpdateHapTokenFuzzTest()
36 .tokenIdExStruct.tokenAttr = static_cast<AccessTokenAttr>(size), in UpdateHapTokenFuzzTest()
/base/accesscontrol/sandbox_manager/test/fuzztest/common/
Dalloc_token.cpp97 g_mockToken = tokenIdEx.tokenIdExStruct.tokenID; in AllocToken()
98 SetSelfTokenID(tokenIdEx.tokenIdExStruct.tokenID); in AllocToken()
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_common_test.cpp162 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/
Dui_client_test.cpp138 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/
Ddata_access_token.cpp87 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in DataAccessToken()
/base/security/access_token/test/fuzztest/innerkits/accesstoken/allochaptoken_fuzzer/
Dallochaptoken_fuzzer.cpp68 return tokenIdEx.tokenIdExStruct.tokenID != 0; in AllocHapTokenFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/querydlpfileaccess_fuzzer/
Dquerydlpfileaccess_fuzzer.cpp73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/setretentionstate_fuzzer/
Dsetretentionstate_fuzzer.cpp73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h140 } tokenIdExStruct; member
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/querydlpfileaccessstub_fuzzer/
Dquerydlpfileaccessstub_fuzzer.cpp73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/setretentionstatestub_fuzzer/
Dsetretentionstatestub_fuzzer.cpp73 AccessTokenID tokenId = tokenIdEx.tokenIdExStruct.tokenID; in InitTokenId()
/base/telephony/core_service/services/network_search/test/
Dtest.h128 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken()
/base/telephony/sms_mms/test/unittest/
Daccess_mms_token.h116 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessMmsToken()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsecurity_token.cpp146 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in SecurityToken()
/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.h169 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessMmsToken()
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dpermission_deny_test.cpp61 g_testTokenId = tokenIDEx.tokenIdExStruct.tokenID; in SetUp()
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_test.h159 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken()
/base/telephony/cellular_call/test/unittest/satellitetest/
Dsatellite_test.h117 accessID_ = tokenIdEx.tokenIdExStruct.tokenID; in AccessToken()

123