Home
last modified time | relevance | path

Searched refs:tokenIDEx (Results 1 – 25 of 34) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dpermission_deny_test.cpp58 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()
Dprivacy_kit_test.cpp199 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/
Daccesstoken_deny_test.cpp65 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));
Daccesstoken_kit_extension_test.cpp1696 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 …]
Daccesstoken_kit_test.cpp727 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/
Dprivacy_manager_service_test.cpp394 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 …]
Dsensitive_manager_test.cpp246 ASSERT_NE(INVALID_TOKENID, tokenIdEx.tokenIDEx);
247 EXPECT_EQ(0, SetSelfTokenID(tokenIdEx.tokenIDEx));
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h106 unsigned long long tokenIDEx; member
/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.h117 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessMmsToken()
/base/telephony/sms_mms/test/unittest/
Daccess_mms_token.h117 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessMmsToken()
/base/telephony/core_service/services/network_search/test/
Dtest.h129 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_proxy.cpp401 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/
Daccount_iam_client_test.cpp694 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/
Dstate_registry_test.h160 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test.h169 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
Dsim_test_util.h150 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
/base/security/access_token/
DREADME_zh.md68 …apTokenIDEx(int32_t userID, const std::string& bundleName, int32_t instIndex); | 查询指定应用的tokenIDEx |
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp2148 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/
Dtdd_util.cpp114 return tokenInfo.tokenIDEx; in AllocTestTokenID()
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/
Dnet_proxy_adapter_test.cpp166 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
/base/telephony/cellular_call/test/unittest/imstest/
Dims_test.h119 SetSelfTokenID(tokenIdEx.tokenIDEx); in AccessToken()
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_associated_data_test.cpp107 SetSelfTokenID(tokenIdEx.tokenIDEx); in SetUpTestCase()
/base/time/time_service/test/unittest/service_test/src/
Dtime_service_test.cpp149 SetSelfTokenID(tokenIdEx.tokenIDEx); in AddPermission()
156 SetSelfTokenID(tokenIdEx.tokenIDEx); in DeletePermission()
Dtime_client_test.cpp117 SetSelfTokenID(tokenIdEx.tokenIDEx); in AddPermission()
124 SetSelfTokenID(tokenIdEx.tokenIDEx); in DeletePermission()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_stub.cpp289 reply.WriteUint64(res.tokenIDEx); in AllocHapTokenInner()
323 reply.WriteUint64(tokenIdEx.tokenIDEx); in GetHapTokenIDInner()

12