Home
last modified time | relevance | path

Searched refs:enhanceList (Results 1 – 8 of 8) sorted by relevance

/base/security/access_token/services/privacymanager/src/seccomp/
Dprivacy_sec_comp_enhance_agent.cpp108 …ivacySecCompEnhanceAgent::DepositSecCompEnhance(const std::vector<SecCompEnhanceData>& enhanceList) in DepositSecCompEnhance() argument
111 secCompEnhanceData_.assign(enhanceList.begin(), enhanceList.end()); in DepositSecCompEnhance()
112 …NFO(LABEL, "Deposit sec comp enhance size %{public}u.", static_cast<uint32_t>(enhanceList.size())); in DepositSecCompEnhance()
117 …2_t PrivacySecCompEnhanceAgent::RecoverSecCompEnhance(std::vector<SecCompEnhanceData>& enhanceList) in RecoverSecCompEnhance() argument
122 enhanceList.assign(secCompEnhanceData_.begin(), secCompEnhanceData_.end()); in RecoverSecCompEnhance()
/base/security/access_token/services/privacymanager/include/seccomp/
Dprivacy_sec_comp_enhance_agent.h42 int32_t DepositSecCompEnhance(const std::vector<SecCompEnhanceData>& enhanceList);
43 int32_t RecoverSecCompEnhance(std::vector<SecCompEnhanceData>& enhanceList);
/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_kit.cpp145 int32_t PrivacyKit::DepositSecCompEnhance(const std::vector<SecCompEnhanceData>& enhanceList) in DepositSecCompEnhance() argument
147 return PrivacyManagerClient::GetInstance().DepositSecCompEnhance(enhanceList); in DepositSecCompEnhance()
150 int32_t PrivacyKit::RecoverSecCompEnhance(std::vector<SecCompEnhanceData>& enhanceList) in RecoverSecCompEnhance() argument
152 return PrivacyManagerClient::GetInstance().RecoverSecCompEnhance(enhanceList); in RecoverSecCompEnhance()
Dprivacy_manager_client.h61 int32_t DepositSecCompEnhance(const std::vector<SecCompEnhanceData>& enhanceList);
62 int32_t RecoverSecCompEnhance(std::vector<SecCompEnhanceData>& enhanceList);
Dprivacy_manager_client.cpp282 …2_t PrivacyManagerClient::DepositSecCompEnhance(const std::vector<SecCompEnhanceData>& enhanceList) in DepositSecCompEnhance() argument
290 for (const auto& data : enhanceList) { in DepositSecCompEnhance()
298 int32_t PrivacyManagerClient::RecoverSecCompEnhance(std::vector<SecCompEnhanceData>& enhanceList) in RecoverSecCompEnhance() argument
311 std::transform(parcelList.begin(), parcelList.end(), std::back_inserter(enhanceList), in RecoverSecCompEnhance()
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_service.cpp153 std::vector<SecCompEnhanceData> enhanceList; in DepositSecCompEnhance() local
155 enhanceParcelList.end(), std::back_inserter(enhanceList), in DepositSecCompEnhance()
158 return PrivacySecCompEnhanceAgent::GetInstance().DepositSecCompEnhance(enhanceList); in DepositSecCompEnhance()
163 std::vector<SecCompEnhanceData> enhanceList; in RecoverSecCompEnhance() local
164 PrivacySecCompEnhanceAgent::GetInstance().RecoverSecCompEnhance(enhanceList); in RecoverSecCompEnhance()
165 for (const auto& enhance : enhanceList) { in RecoverSecCompEnhance()
/base/security/access_token/interfaces/innerkits/privacy/include/
Dprivacy_kit.h147 static int32_t DepositSecCompEnhance(const std::vector<SecCompEnhanceData>& enhanceList);
153 static int32_t RecoverSecCompEnhance(std::vector<SecCompEnhanceData>& enhanceList);
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/
Dprivacy_kit_test.cpp1653 std::vector<SecCompEnhanceData> enhanceList; variable
1654 enhanceList.emplace_back(data);
1655 enhanceList.emplace_back(data1);
1657 ASSERT_EQ(RET_SUCCESS, PrivacyKit::DepositSecCompEnhance(enhanceList));