/base/security/dlp_permission_service/frameworks/dlp_permission/src/ |
D | dlp_policy_parcel.cpp | 114 static bool ReadParcel(Parcel& in, DlpPolicyParcel* policyParcel) in ReadParcel() argument 131 policyParcel->policyParams_.authUsers_.emplace_back(authUserInfoParcel->authUserInfo_); in ReadParcel() 133 if (!(in.ReadBool(policyParcel->policyParams_.supportEveryone_))) { in ReadParcel() 142 policyParcel->policyParams_.everyonePerm_ = static_cast<DLPFileAccess>(perm); in ReadParcel() 143 if (!(in.ReadString(policyParcel->policyParams_.ownerAccount_))) { in ReadParcel() 147 if (!(in.ReadString(policyParcel->policyParams_.ownerAccountId_))) { in ReadParcel() 156 policyParcel->policyParams_.ownerAccountType_ = static_cast<DlpAccountType>(res); in ReadParcel() 157 return ReadAesParam(policyParcel->policyParams_, in); in ReadParcel() 162 DlpPolicyParcel* policyParcel = new (std::nothrow) DlpPolicyParcel(); in Unmarshalling() local 163 if (policyParcel == nullptr) { in Unmarshalling() [all …]
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
D | dlp_permission_async_proxy.cpp | 78 DlpPolicyParcel policyParcel; in OnParseDlpCertificate() local 79 policyParcel.policyParams_.CopyPermissionPolicy(policy); in OnParseDlpCertificate() 80 if (!data.WriteParcelable(&policyParcel)) { in OnParseDlpCertificate()
|
D | dlp_permission_service.cpp | 140 const sptr<DlpPolicyParcel>& policyParcel, sptr<IDlpPermissionCallback>& callback) in GenerateDlpCertificate() argument 147 if (!policyParcel->policyParams_.IsValid()) { in GenerateDlpCertificate() 152 …int32_t res = DlpPermissionSerializer::GetInstance().SerializeDlpPermission(policyParcel->policyPa… in GenerateDlpCertificate() 158 jsonObj.dump(), policyParcel->policyParams_.ownerAccount_, in GenerateDlpCertificate() 159 policyParcel->policyParams_.ownerAccountType_, callback); in GenerateDlpCertificate()
|
D | dlp_permission_service.h | 54 const sptr<DlpPolicyParcel>& policyParcel, sptr<IDlpPermissionCallback>& callback) override;
|
D | dlp_permission_stub.cpp | 98 sptr<DlpPolicyParcel> policyParcel = data.ReadParcelable<DlpPolicyParcel>(); in GenerateDlpCertificateInner() local 99 if (policyParcel == nullptr) { in GenerateDlpCertificateInner() 116 int32_t res = this->GenerateDlpCertificate(policyParcel, callback); in GenerateDlpCertificateInner()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/ |
D | dlp_permission_async_stub.cpp | 109 sptr<DlpPolicyParcel> policyParcel = data.ReadParcelable<DlpPolicyParcel>(); in OnParseDlpCertificateStub() local 110 if (policyParcel == nullptr) { in OnParseDlpCertificateStub() 122 this->OnParseDlpCertificate(result, policyParcel->policyParams_, cert); in OnParseDlpCertificateStub()
|
D | dlp_permission_client.cpp | 82 sptr<DlpPolicyParcel> policyParcel = new (std::nothrow) DlpPolicyParcel(); in GenerateDlpCertificate() local 83 if (policyParcel == nullptr) { in GenerateDlpCertificate() 87 policyParcel->policyParams_.CopyPermissionPolicy(policy); in GenerateDlpCertificate() 95 return proxy->GenerateDlpCertificate(policyParcel, asyncStub); in GenerateDlpCertificate()
|
D | dlp_permission_proxy.cpp | 39 const sptr<DlpPolicyParcel>& policyParcel, sptr<IDlpPermissionCallback>& callback) in GenerateDlpCertificate() argument 47 if (!data.WriteParcelable(policyParcel)) { in GenerateDlpCertificate()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
D | dlp_permission_service_test.cpp | 559 sptr<DlpPolicyParcel> policyParcel = new (std::nothrow) DlpPolicyParcel(); variable 560 ASSERT_TRUE(!(policyParcel == nullptr)); 571 res = data.WriteParcelable(policyParcel); 581 res = stub->GenerateDlpCertificate(policyParcel, callback2); 585 res = stub->GenerateDlpCertificate(policyParcel, callback3); 801 sptr<DlpPolicyParcel> policyParcel = new (std::nothrow) DlpPolicyParcel(); variable 806 int32_t res = dlpPermissionService_->GenerateDlpCertificate(policyParcel, callback); 817 policyParcel->policyParams_ = policy; 818 res = dlpPermissionService_->GenerateDlpCertificate(policyParcel, callback); 831 sptr<DlpPolicyParcel> policyParcel = new (std::nothrow) DlpPolicyParcel(); variable [all …]
|
/base/security/access_token/frameworks/accesstoken/include/ |
D | i_accesstoken_manager.h | 58 …cessTokenIDEx AllocHapToken(const HapInfoParcel& hapInfo, const HapPolicyParcel& policyParcel) = 0; 67 int32_t apiVersion, const HapPolicyParcel& policyParcel) = 0;
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_proxy.h | 57 …AccessTokenIDEx AllocHapToken(const HapInfoParcel& hapInfo, const HapPolicyParcel& policyParcel) o… 60 const HapPolicyParcel& policyParcel) override;
|
D | accesstoken_manager_proxy.cpp | 394 const HapInfoParcel& hapInfo, const HapPolicyParcel& policyParcel) in AllocHapToken() argument 404 if (!data.WriteParcelable(&policyParcel)) { in AllocHapToken() 621 …isSystemApp, const std::string& appIDDesc, int32_t apiVersion, const HapPolicyParcel& policyParcel) in UpdateHapToken() argument 638 if (!data.WriteParcelable(&policyParcel)) { in UpdateHapToken()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/ |
D | dlp_permission_proxy.h | 34 const sptr<DlpPolicyParcel>& policyParcel, sptr<IDlpPermissionCallback>& callback) override;
|
/base/security/dlp_permission_service/frameworks/dlp_permission/include/ |
D | i_dlp_permission_service.h | 39 const sptr<DlpPolicyParcel>& policyParcel, sptr<IDlpPermissionCallback>& callback) = 0;
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/service/ |
D | accesstoken_manager_service.h | 63 … const std::string& appIDDesc, int32_t apiVersion, const HapPolicyParcel& policyParcel) override;
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 314 …isSystemApp, const std::string& appIDDesc, int32_t apiVersion, const HapPolicyParcel& policyParcel) in UpdateHapToken() argument 319 policyParcel.hapPolicyParameter); in UpdateHapToken()
|
D | accesstoken_manager_stub.cpp | 352 sptr<HapPolicyParcel> policyParcel = data.ReadParcelable<HapPolicyParcel>(); in UpdateHapTokenInner() local 353 if (policyParcel == nullptr) { in UpdateHapTokenInner() 358 …nt32_t result = this->UpdateHapToken(tokenIdEx, isSystemApp, appIDDesc, apiVersion, *policyParcel); in UpdateHapTokenInner()
|