Home
last modified time | relevance | path

Searched refs:retentionSandBoxInfoVec (Results 1 - 20 of 20) sorted by relevance

/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/getretentionsandboxlist_fuzzer/
H A Dgetretentionsandboxlist_fuzzer.cpp36 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in FuzzTest() local
37 DlpPermissionKit::GetRetentionSandboxList(bundleName, retentionSandBoxInfoVec); in FuzzTest()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
H A Ddlp_permission_kit_test.cpp331 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in HWTEST_F() local
332 ASSERT_EQ(DLP_OK, DlpPermissionKit::GetRetentionSandboxList(DLP_MANAGER_APP, retentionSandBoxInfoVec)); in HWTEST_F()
333 ASSERT_TRUE(0 == retentionSandBoxInfoVec.size()); in HWTEST_F()
335 retentionSandBoxInfoVec.clear(); in HWTEST_F()
337 DlpPermissionKit::GetRetentionSandboxList(DLP_MANAGER_APP, retentionSandBoxInfoVec)); in HWTEST_F()
339 ASSERT_EQ(DLP_OK, DlpPermissionKit::GetRetentionSandboxList(DLP_MANAGER_APP, retentionSandBoxInfoVec)); in HWTEST_F()
340 ASSERT_TRUE(0 == retentionSandBoxInfoVec.size()); in HWTEST_F()
346 retentionSandBoxInfoVec.clear(); in HWTEST_F()
347 ASSERT_EQ(DLP_OK, DlpPermissionKit::GetRetentionSandboxList(DLP_MANAGER_APP, retentionSandBoxInfoVec)); in HWTEST_F()
348 ASSERT_TRUE(0 == retentionSandBoxInfoVec in HWTEST_F()
368 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; HWTEST_F() local
[all...]
H A Ddlp_permission_client_test.cpp84 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in HWTEST_F() local
86 int32_t ret = DlpPermissionClient::GetInstance().GetRetentionSandboxList(bundleName, retentionSandBoxInfoVec); in HWTEST_F()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dretention_file_manager.h43 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention);
H A Dretention_file_manager.cpp167 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention) in GetRetentionSandboxList()
173 return sandboxJsonManager_->GetRetentionSandboxList(bundleName, retentionSandBoxInfoVec, isRetention); in GetRetentionSandboxList()
166 GetRetentionSandboxList(const std::string& bundleName, std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention) GetRetentionSandboxList() argument
H A Dsandbox_json_manager.h59 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention);
H A Dsandbox_json_manager.cpp251 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention) in GetRetentionSandboxList()
278 retentionSandBoxInfoVec.emplace_back(info); in GetRetentionSandboxList()
250 GetRetentionSandboxList(const std::string& bundleName, std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention) GetRetentionSandboxList() argument
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
H A Ddlp_permission_service.h72 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) override;
90 bool RemoveRetentionInfo(std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, RetentionInfo& info);
H A Ddlp_permission_service.cpp625 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in CancelRetentionState() local
627 retentionSandBoxInfoVec, false); in CancelRetentionState()
632 if (!retentionSandBoxInfoVec.empty()) { in CancelRetentionState()
633 if (!RemoveRetentionInfo(retentionSandBoxInfoVec, info)) { in CancelRetentionState()
641 bool DlpPermissionService::RemoveRetentionInfo(std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, in RemoveRetentionInfo() argument
650 for (auto iter = retentionSandBoxInfoVec.begin(); iter != retentionSandBoxInfoVec.end(); ++iter) { in RemoveRetentionInfo()
689 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) in GetRetentionSandboxList()
702 return RetentionFileManager::GetInstance().GetRetentionSandboxList(callerBundleName, retentionSandBoxInfoVec, true); in GetRetentionSandboxList()
688 GetRetentionSandboxList(const std::string& bundleName, std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) GetRetentionSandboxList() argument
H A Ddlp_permission_stub.cpp519 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in GetRetentionSandboxListInner() local
520 int32_t result = GetRetentionSandboxList(bundleName, retentionSandBoxInfoVec); in GetRetentionSandboxListInner()
525 size_t infoVecSize = retentionSandBoxInfoVec.size(); in GetRetentionSandboxListInner()
530 for (const auto& info : retentionSandBoxInfoVec) { in GetRetentionSandboxListInner()
/base/security/dlp_permission_service/frameworks/dlp_permission/include/
H A Di_dlp_permission_service.h75 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) = 0;
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/
H A Ddlp_permission_client.h62 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec);
H A Ddlp_permission_kit.h88 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec);
H A Ddlp_permission_proxy.h54 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) override;
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
H A Ddlp_permission_kit.cpp192 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) in GetRetentionSandboxList()
194 return DlpPermissionClient::GetInstance().GetRetentionSandboxList(bundleName, retentionSandBoxInfoVec); in GetRetentionSandboxList()
191 GetRetentionSandboxList(const std::string& bundleName, std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) GetRetentionSandboxList() argument
H A Ddlp_permission_client.cpp465 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) in GetRetentionSandboxList()
481 return proxy->GetRetentionSandboxList(bundleName, retentionSandBoxInfoVec); in GetRetentionSandboxList()
464 GetRetentionSandboxList(const std::string& bundleName, std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) GetRetentionSandboxList() argument
H A Ddlp_permission_proxy.cpp673 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) in GetRetentionSandboxList()
718 retentionSandBoxInfoVec.push_back(*info); in GetRetentionSandboxList()
672 GetRetentionSandboxList(const std::string& bundleName, std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) GetRetentionSandboxList() argument
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Ddlp_permission_service_test.cpp1142 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in HWTEST_F() local
1144 bool ret = dlpPermissionService_->RemoveRetentionInfo(retentionSandBoxInfoVec, info); in HWTEST_F()
1243 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; in HWTEST_F() local
1246 retentionSandBoxInfoVec.push_back(retentionSandBoxInfo); in HWTEST_F()
1249 retentionSandBoxInfoVec.push_back(retentionSandBoxInfo1); in HWTEST_F()
1253 bool res = dlpPermissionService_->RemoveRetentionInfo(retentionSandBoxInfoVec, info); in HWTEST_F()
/base/security/dlp_permission_service/interfaces/kits/napi_common/include/
H A Dnapi_common.h241 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; member
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
H A Dnapi_dlp_permission.cpp1558 DlpPermissionKit::GetRetentionSandboxList(asyncContext->bundleName, asyncContext->retentionSandBoxInfoVec); in GetRetentionSandboxListExcute()
1568 resJs = RetentionSandboxInfoToJs(env, asyncContext->retentionSandBoxInfoVec); in GetRetentionSandboxListComplete()

Completed in 19 milliseconds