Home
last modified time | relevance | path

Searched refs:GetSelfTokenID (Results 1 – 25 of 89) sorted by relevance

1234

/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_permission_kit_test.cpp80 g_selfTokenId = GetSelfTokenID(); in TestRecordProcessInfo()
98 static_cast<unsigned int>(GetSelfTokenID()), tokenId); in TestSetSelfTokenId()
116 AccessTokenID tmpTokenId = GetSelfTokenID(); in TestGetTokenId()
133 AccessTokenID tmpTokenId = GetSelfTokenID(); in TestGetAppUid()
162 AccessTokenID tokenId = GetSelfTokenID(); in TestInstallDlpSandbox()
174 AccessTokenID tokenId = GetSelfTokenID(); in TestUninstallDlpSandbox()
315 AccessTokenID selfTokenId = GetSelfTokenID();
360 AccessTokenID tokenId = GetSelfTokenID();
361 …ABEL, "SetRetentionState02 tokenId from %{public}u", static_cast<unsigned int>(GetSelfTokenID()));
394 AccessTokenID tokenId = GetSelfTokenID();
[all …]
/base/security/access_token/interfaces/innerkits/token_setproc/include/
Dtoken_setproc.h24 uint64_t GetSelfTokenID();
/base/customization/enterprise_device_management/test/unittest/src/
Dutils.cpp68 selfTokenId_ = GetSelfTokenID(); in SetEdmInitialEnv()
94 return Utils::ROOT_UID == geteuid() && selfTokenId_ == GetSelfTokenID(); in IsOriginalUTEnv()
/base/security/code_signature/test/unittest/utils/include/
Daccess_token_setter.h33 uint64_t tokenId = GetSelfTokenID(); in NativeTokenSet()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpgatheringpolicy_fuzzer/
Dgetdlpgatheringpolicy_fuzzer.cpp38 int selfTokenId = GetSelfTokenID(); in GetDlpGatheringPolicyFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/unregisterdlpsandboxchangecallback_fuzzer/
Dunregisterdlpsandboxchangecallback_fuzzer.cpp38 int selfTokenId = GetSelfTokenID(); in UnRegisterDlpSandboxChangeCallbackFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/isindlpsandbox_fuzzer/
Disindlpsandbox_fuzzer.cpp38 int selfTokenId = GetSelfTokenID(); in IsInDlpSandboxFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfileaccess_fuzzer/
Dquerydlpfileaccess_fuzzer.cpp38 int selfTokenId = GetSelfTokenID(); in QueryDlpFileAccessFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpsupportfiletype_fuzzer/
Dgetdlpsupportfiletype_fuzzer.cpp38 int selfTokenId = GetSelfTokenID(); in GetDlpSupportFileTypeFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpfilevisitrecord_fuzzer/
Dgetdlpfilevisitrecord_fuzzer.cpp38 int selfTokenId = GetSelfTokenID(); in GetDlpFileVisitRecordFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfilecopyablebytokenid_fuzzer/
Dquerydlpfilecopyablebytokenid_fuzzer.cpp39 int selfTokenId = GetSelfTokenID(); in QueryDlpFileCopyableByTokenIdFuzzTest()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_client.cpp200 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in QueryDlpFileAccess()
230 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in IsInDlpSandbox()
329 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in RegisterOpenDlpFileCallback()
362 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in UnRegisterOpenDlpFileCallback()
407 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in SetRetentionState()
438 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in GetRetentionSandboxList()
468 if (CheckSandboxFlag(GetSelfTokenID(), sandboxFlag) != DLP_OK) { in GetDLPFileVisitRecord()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getretentionsandboxlist_fuzzer/
Dgetretentionsandboxlist_fuzzer.cpp42 int selfTokenId = GetSelfTokenID(); in GetRetentionSandboxListFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/unregisteropendlpfilecallback_fuzzer/
Dunregisteropendlpfilecallback_fuzzer.cpp47 int selfTokenId = GetSelfTokenID(); in UnRegisterUnregisterOpenDlpFileCallbackFuzzer()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/registerdlpsandboxchangecallback_fuzzer/
Dregisterdlpsandboxchangecallback_fuzzer.cpp48 int selfTokenId = GetSelfTokenID(); in RegisterRegisterDlpSandboxChangeCallbackFuzzer()
/base/account/os_account/frameworks/common/utils/src/
Daccount_permission_manager.cpp44 fullTokenId = IPCSkeleton::GetSelfTokenID(); in CheckSystemApp()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/registeropendlpfilecallback_fuzzer/
Dregisteropendlpfilecallback_fuzzer.cpp47 int selfTokenId = GetSelfTokenID(); in RegisterRegisterOpenDlpFileCallbackFuzzer()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/uninstalldlpsandbox_fuzzer/
Duninstalldlpsandbox_fuzzer.cpp40 int selfTokenId = GetSelfTokenID(); in UninstallDlpSandboxFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/cancelretentionstate_fuzzer/
Dcancelretentionstate_fuzzer.cpp42 int selfTokenId = GetSelfTokenID(); in CancelRetentionStateFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/setretentionstate_fuzzer/
Dsetretentionstate_fuzzer.cpp42 int selfTokenId = GetSelfTokenID(); in SetRetentionStateFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/parsecert_fuzzer/
Dparsecert_fuzzer.cpp41 int selfTokenId = GetSelfTokenID(); in ParseCertFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getsandboxexternalauthorization_fuzzer/
Dgetsandboxexternalauthorization_fuzzer.cpp42 int selfTokenId = GetSelfTokenID(); in GetSandboxExternalAuthorizationFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/unregisterdlpsandboxchangecallbackstub_fuzzer/
Dunregisterdlpsandboxchangecallbackstub_fuzzer.cpp43 int selfTokenId = GetSelfTokenID(); in UnRegisterDlpSandboxChangeCallbackFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/installdlpsandbox_fuzzer/
Dinstalldlpsandbox_fuzzer.cpp42 int selfTokenId = GetSelfTokenID(); in InstallDlpSandboxFuzzTest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpsupportfiletypestub_fuzzer/
Dgetdlpsupportfiletypestub_fuzzer.cpp43 int selfTokenId = GetSelfTokenID(); in GetDlpSupportFileTypeFuzzTest()

1234