Home
last modified time | relevance | path

Searched refs:GetHapTokenID (Results 1 – 25 of 83) sorted by relevance

1234

/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp156 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, in TearDown()
159 tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms2.userID, g_InfoParms2.bundleName, in TearDown()
263 …AccessTokenID tokenId1 = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleNam…
266 …AccessTokenID tokenId2 = AccessTokenKit::GetHapTokenID(g_InfoParms2.userID, g_InfoParms2.bundleNam…
297 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
330 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
358 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
386 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
418 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
437 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
[all …]
/base/notification/common_event_service/services/src/
Daccess_token_helper.cpp71 AccessTokenID AccessTokenHelper::GetHapTokenID(int userID, in GetHapTokenID() function in OHOS::EventFwk::AccessTokenHelper
74 return AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); in GetHapTokenID()
/base/security/access_token/test/fuzztest/access_token/gethaptokenid_fuzzer/
Dgethaptokenid_fuzzer.cpp35 int32_t result = AccessTokenKit::GetHapTokenID(userID, testName, instIndex); in GetHapTokenIDFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/unregisterdlpsandboxchangecallback_fuzzer/
Dunregisterdlpsandboxchangecallback_fuzzer.cpp39 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in UnRegisterDlpSandboxChangeCallbackFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/isindlpsandbox_fuzzer/
Disindlpsandbox_fuzzer.cpp39 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in IsInDlpSandboxFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpgatheringpolicy_fuzzer/
Dgetdlpgatheringpolicy_fuzzer.cpp39 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in GetDlpGatheringPolicyFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfileaccess_fuzzer/
Dquerydlpfileaccess_fuzzer.cpp39 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in QueryDlpFileAccessFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpsupportfiletype_fuzzer/
Dgetdlpsupportfiletype_fuzzer.cpp39 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in GetDlpSupportFileTypeFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpfilevisitrecord_fuzzer/
Dgetdlpfilevisitrecord_fuzzer.cpp39 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in GetDlpFileVisitRecordFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfilecopyablebytokenid_fuzzer/
Dquerydlpfilecopyablebytokenid_fuzzer.cpp40 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in QueryDlpFileCopyableByTokenIdFuzzTest()
/base/notification/common_event_service/services/include/
Daccess_token_helper.h38 …static AccessToken::AccessTokenID GetHapTokenID(int userID, const std::string& bundleName, int ins…
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getretentionsandboxlist_fuzzer/
Dgetretentionsandboxlist_fuzzer.cpp43 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in GetRetentionSandboxListFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/uninstalldlpsandbox_fuzzer/
Duninstalldlpsandbox_fuzzer.cpp41 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in UninstallDlpSandboxFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/registerdlpsandboxchangecallback_fuzzer/
Dregisterdlpsandboxchangecallback_fuzzer.cpp49 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in RegisterRegisterDlpSandboxChangeCallbackFuzzer()
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Daccesstoken_kit.h44 …static AccessTokenID GetHapTokenID(int32_t userID, const std::string& bundleName, int32_t instInde… in GetHapTokenID() function
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/registeropendlpfilecallback_fuzzer/
Dregisteropendlpfilecallback_fuzzer.cpp48 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in RegisterRegisterOpenDlpFileCallbackFuzzer()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/cancelretentionstate_fuzzer/
Dcancelretentionstate_fuzzer.cpp43 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in CancelRetentionStateFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/unregisteropendlpfilecallback_fuzzer/
Dunregisteropendlpfilecallback_fuzzer.cpp48 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in UnRegisterUnregisterOpenDlpFileCallbackFuzzer()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/setretentionstate_fuzzer/
Dsetretentionstate_fuzzer.cpp43 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in SetRetentionStateFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getsandboxexternalauthorization_fuzzer/
Dgetsandboxexternalauthorization_fuzzer.cpp43 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in GetSandboxExternalAuthorizationFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/parsecert_fuzzer/
Dparsecert_fuzzer.cpp42 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in ParseCertFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/isindlpsandboxstub_fuzzer/
Disindlpsandboxstub_fuzzer.cpp44 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in IsInDlpSandboxFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/unregisterdlpsandboxchangecallbackstub_fuzzer/
Dunregisterdlpsandboxchangecallbackstub_fuzzer.cpp44 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in UnRegisterDlpSandboxChangeCallbackFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpgatheringpolicystub_fuzzer/
Dgetdlpgatheringpolicystub_fuzzer.cpp44 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id =… in GetDlpGatheringPolicyFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/installdlpsandbox_fuzzer/
Dinstalldlpsandbox_fuzzer.cpp43 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(100, "com.ohos.dlpmanager", 0); // user_id … in InstallDlpSandboxFuzzTest()

1234