Home
last modified time | relevance | path

Searched refs:dlpType (Results 1 – 25 of 54) sorted by relevance

123

/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
H A Dhap_token_info_inner.cpp43 tokenInfoBasic_.dlpType = 0; in HapTokenInfoInner()
60 tokenInfoBasic_.dlpType = info.dlpType; in HapTokenInfoInner()
122 outGenericValues.Put(TokenFiledConst::FIELD_DLP_TYPE, tokenInfoBasic_.dlpType); in TranslationIntoGenericValues()
144 tokenInfoBasic_.dlpType = inGenericValues.GetInt(TokenFiledConst::FIELD_DLP_TYPE); in RestoreHapTokenBasicInfo()
241 return tokenInfoBasic_.dlpType; in GetDlpType()
317 info.append(R"( "dlpType": )" + std::to_string(tokenInfoBasic_.dlpType) + ",\n"); in ToString()
/ohos5.0/base/security/access_token/frameworks/common/src/
H A Ddata_validator.cpp127 bool DataValidator::IsDlpTypeValid(int dlpType) in IsDlpTypeValid() argument
129 return ((dlpType == DLP_COMMON) || (dlpType == DLP_READ) || (dlpType == DLP_FULL_CONTROL)); in IsDlpTypeValid()
/ohos5.0/base/notification/common_event_service/test/mock/
H A Dmock_accesstoken_kit.cpp32 hapTokenInfoRes.dlpType = DlpType::DLP_COMMON; in GetHapTokenInfo()
34 hapTokenInfoRes.dlpType = DlpType::DLP_READ; in GetHapTokenInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerproxy_fuzzer/
H A Dbundleinstallerproxy_fuzzer.cpp45 int32_t dlpType = reinterpret_cast<uintptr_t>(data); in DoSomethingInterestingWithMyAPI() local
48 bundleinstallerProxy.InstallSandboxApp(bundleName, dlpType, userId, appIndex); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/security/access_token/frameworks/accesstoken/src/
H A Dhap_info_parcel.cpp27 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.dlpType)); in Marshalling()
44 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.dlpType), hapInfoParcel); in Unmarshalling()
H A Dhap_token_info_parcel.cpp30 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.dlpType)); in Marshalling()
55 …RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.dlpType), hapTokenInfoParcel); in Unmarshalling()
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/include/
H A Dhap_token_info.h65 int dlpType; variable
110 int dlpType; variable
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Daccess_token_helper.cpp67 if (info.dlpType == DlpType::DLP_READ || info.dlpType == DlpType::DLP_FULL_CONTROL) { in IsDlpHap()
/ohos5.0/base/notification/common_event_service/services/src/
H A Daccess_token_helper.cpp64 return (info.dlpType == DlpType::DLP_READ || info.dlpType == DlpType::DLP_FULL_CONTROL); in IsDlpHap()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_permission_mgr.h64 const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx);
123 const int32_t userId, const int32_t dlpType);
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/command/
H A Dsync_remote_hap_token_command.cpp46 hapTokenInfo_.baseInfo.dlpType = 0; in SyncRemoteHapTokenCommand()
61 hapTokenInfo_.baseInfo.dlpType = 0; in SyncRemoteHapTokenCommand()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_app_helper.cpp162 …de BundleSandboxAppHelper::InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, in InstallSandboxApp() argument
168 return installer->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_permission_mgr.cpp287 const int32_t userId, const int32_t dlpType) in CreateHapInfoParams() argument
294 const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx) in InitHapToken() argument
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/
H A Dmock_sandbox_init.cpp53 .dlpType = 1, in InitTokenId()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp146 ErrCode BundleMgrClient::InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t … in InstallSandboxApp() argument
153 return impl_->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
/ohos5.0/base/notification/common_event_service/services/test/unittest/mock/
H A Dmock_access_token_kit.cpp71 info.dlpType = EventFwk::g_mockDlpType; in GetHapTokenInfo()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_accesstoken_kit.cpp72 info.dlpType = Notification::g_mockDlpType; in GetHapTokenInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_permission_mgr.cpp658 const int32_t userId, const int32_t dlpType) in CreateHapInfoParams() argument
665 hapInfo.dlpType = dlpType; in CreateHapInfoParams()
673 const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx) in InitHapToken() argument
676 AccessToken::HapInfoParams hapInfo = CreateHapInfoParams(innerBundleInfo, userId, dlpType); in InitHapToken()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/sandbox_app/
H A Dbundle_sandbox_installer.h39 …ErrCode InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, const int32_t &us…
H A Dbundle_sandbox_app_helper.h51 …ErrCode InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, const int32_t &us…
/ohos5.0/base/security/access_token/frameworks/common/include/
H A Ddata_validator.h53 static bool IsDlpTypeValid(int dlpType);
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_access_token.cpp31 .dlpType = DLP_COMMON, in mockSystemApp()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp519 int32_t dlpType = 1; variable
522 auto ret = bundleMgrHelper->InstallSandboxApp(bundleName, dlpType, userId, appIndex);
534 int32_t dlpType = 1; variable
537 auto ret = bundleMgrHelper->InstallSandboxApp(bundleName, dlpType, userId, appIndex);
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
H A Dclone_app_permission_test.cpp42 .dlpType = DLP_COMMON,
50 .dlpType = DLP_COMMON,
58 .dlpType = DLP_COMMON,
66 .dlpType = DLP_FULL_CONTROL,
74 .dlpType = DLP_READ,
125 .dlpType = DLP_COMMON, in SetUpTestCase()
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/querydlpfileaccessstub_fuzzer/
H A Dquerydlpfileaccessstub_fuzzer.cpp65 .dlpType = 1, in InitTokenId()

123