/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | permission_deny_test.cpp | 58 AccessTokenIDEx tokenIDEx = AccessTokenKit::AllocHapToken(g_InfoParms, g_PolicyPrams); in SetUp() local 60 g_FullTokenId = tokenIDEx.tokenIDEx; in SetUp() 61 g_testTokenId = tokenIDEx.tokenIdExStruct.tokenID; in SetUp()
|
D | privacy_kit_test.cpp | 199 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); in SetUp() 270 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); in SetTokenID() 527 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 528 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 714 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 715 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1076 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1077 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1098 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1099 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); [all …]
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | accesstoken_deny_test.cpp | 65 ASSERT_NE(INVALID_TOKENID, g_testTokenIDEx.tokenIDEx); in SetUp() 67 EXPECT_EQ(0, SetSelfTokenID(g_testTokenIDEx.tokenIDEx)); in SetUp() 294 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 302 EXPECT_EQ(0, SetSelfTokenID(g_testTokenIDEx.tokenIDEx)); 306 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx));
|
D | accesstoken_kit_extension_test.cpp | 1696 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1697 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1724 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1725 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1917 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1918 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1950 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1951 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1967 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1968 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); [all …]
|
D | accesstoken_kit_test.cpp | 727 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 728 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 747 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 748 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 979 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 980 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 998 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 999 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); 1112 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 1113 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx)); [all …]
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | privacy_manager_service_test.cpp | 394 ASSERT_NE(g_tokenID.tokenIDEx, static_cast<AccessTokenID>(0)); 395 SetSelfTokenID(g_tokenID.tokenIDEx); // set self tokenID to system app 479 ASSERT_NE(g_tokenID.tokenIDEx, static_cast<AccessTokenID>(0)); 480 SetSelfTokenID(g_tokenID.tokenIDEx); // set self tokenID to system app 523 ASSERT_NE(g_tokenID.tokenIDEx, static_cast<AccessTokenID>(0)); 524 SetSelfTokenID(g_tokenID.tokenIDEx); // set self tokenID to system app 637 ASSERT_NE(g_tokenID.tokenIDEx, static_cast<AccessTokenID>(0)); 638 SetSelfTokenID(g_tokenID.tokenIDEx); // set self tokenID to system app 772 ASSERT_NE(g_tokenID.tokenIDEx, static_cast<AccessTokenID>(0)); 773 SetSelfTokenID(g_tokenID.tokenIDEx); // set self tokenID to system app [all …]
|
D | sensitive_manager_test.cpp | 246 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx); 247 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx));
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | access_token.h | 106 unsigned long long tokenIDEx; member
|
/base/telephony/sms_mms/test/gtest/ |
D | sms_mms_gtest.h | 117 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessMmsToken()
|
/base/telephony/sms_mms/test/unittest/ |
D | access_mms_token.h | 117 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessMmsToken()
|
/base/telephony/core_service/services/network_search/test/ |
D | test.h | 129 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_proxy.cpp | 401 res.tokenIDEx = 0; in AllocHapToken() 405 res.tokenIDEx = 0; in AllocHapToken() 414 res.tokenIDEx = 0; in AllocHapToken() 421 res.tokenIDEx = 0; in AllocHapToken() 427 res.tokenIDEx = result; in AllocHapToken() 526 tokenIdEx.tokenIDEx = reply.ReadUint64(); in GetHapTokenID() 527 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}llu", tokenIdEx.tokenIDEx); in GetHapTokenID()
|
/base/account/os_account/frameworks/account_iam/test/unittest/src/ |
D | account_iam_client_test.cpp | 694 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 695 SetSelfTokenID(tokenIdEx.tokenIDEx); 744 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 745 SetSelfTokenID(tokenIdEx.tokenIDEx); 790 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 791 SetSelfTokenID(tokenIdEx.tokenIDEx); 840 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 841 SetSelfTokenID(tokenIdEx.tokenIDEx);
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.h | 160 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | network_search_test.h | 169 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
|
D | sim_test_util.h | 150 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
|
/base/security/access_token/ |
D | README_zh.md | 68 …apTokenIDEx(int32_t userID, const std::string& bundleName, int32_t instIndex); | 查询指定应用的tokenIDEx |
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
D | os_account_manager_module_test.cpp | 2148 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 2149 SetSelfTokenID(tokenIdEx.tokenIDEx); 2197 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 2198 SetSelfTokenID(tokenIdEx.tokenIDEx); 2237 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 2238 SetSelfTokenID(tokenIdEx.tokenIDEx); 2287 ASSERT_NE(INVALID_TOKEN_ID, tokenIdEx.tokenIDEx); 2288 SetSelfTokenID(tokenIdEx.tokenIDEx);
|
/base/inputmethod/imf/test/unittest/cpp_test/common/src/ |
D | tdd_util.cpp | 114 return tokenInfo.tokenIDEx; in AllocTestTokenID()
|
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/ |
D | net_proxy_adapter_test.cpp | 166 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
D | ims_test.h | 119 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_associated_data_test.cpp | 107 SetSelfTokenID(tokenIdEx.tokenIDEx); in SetUpTestCase()
|
/base/time/time_service/test/unittest/service_test/src/ |
D | time_service_test.cpp | 149 SetSelfTokenID(tokenIdEx.tokenIDEx); in AddPermission() 156 SetSelfTokenID(tokenIdEx.tokenIDEx); in DeletePermission()
|
D | time_client_test.cpp | 117 SetSelfTokenID(tokenIdEx.tokenIDEx); in AddPermission() 124 SetSelfTokenID(tokenIdEx.tokenIDEx); in DeletePermission()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_stub.cpp | 289 reply.WriteUint64(res.tokenIDEx); in AllocHapTokenInner() 323 reply.WriteUint64(tokenIdEx.tokenIDEx); in GetHapTokenIDInner()
|