/ohos5.0/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
H A D | hap_token_info_inner.cpp | 43 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 D | data_validator.cpp | 127 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 D | mock_accesstoken_kit.cpp | 32 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 D | bundleinstallerproxy_fuzzer.cpp | 45 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 D | hap_info_parcel.cpp | 27 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.dlpType)); in Marshalling() 44 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.dlpType), hapInfoParcel); in Unmarshalling()
|
H A D | hap_token_info_parcel.cpp | 30 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 D | hap_token_info.h | 65 int dlpType; variable 110 int dlpType; variable
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | access_token_helper.cpp | 67 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 D | access_token_helper.cpp | 64 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 D | bundle_permission_mgr.h | 64 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 D | sync_remote_hap_token_command.cpp | 46 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 D | bundle_sandbox_app_helper.cpp | 162 …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 D | bundle_permission_mgr.cpp | 287 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 D | mock_sandbox_init.cpp | 53 .dlpType = 1, in InitTokenId()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client.cpp | 146 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 D | mock_access_token_kit.cpp | 71 info.dlpType = EventFwk::g_mockDlpType; in GetHapTokenInfo()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
H A D | mock_accesstoken_kit.cpp | 72 info.dlpType = Notification::g_mockDlpType; in GetHapTokenInfo()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_permission_mgr.cpp | 658 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 D | bundle_sandbox_installer.h | 39 …ErrCode InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, const int32_t &us…
|
H A D | bundle_sandbox_app_helper.h | 51 …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 D | data_validator.h | 53 static bool IsDlpTypeValid(int dlpType);
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/ |
H A D | mock_access_token.cpp | 31 .dlpType = DLP_COMMON, in mockSystemApp()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/ |
H A D | bundle_mgr_helper_test.cpp | 519 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 D | clone_app_permission_test.cpp | 42 .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 D | querydlpfileaccessstub_fuzzer.cpp | 65 .dlpType = 1, in InitTokenId()
|