/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/getretentionsandboxlist_fuzzer/ |
H A D | getretentionsandboxlist_fuzzer.cpp | 36 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 D | dlp_permission_kit_test.cpp | 331 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 D | dlp_permission_client_test.cpp | 84 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 D | retention_file_manager.h | 43 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention);
|
H A D | retention_file_manager.cpp | 167 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 D | sandbox_json_manager.h | 59 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, bool isRetention);
|
H A D | sandbox_json_manager.cpp | 251 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 D | dlp_permission_service.h | 72 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) override; 90 bool RemoveRetentionInfo(std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec, RetentionInfo& info);
|
H A D | dlp_permission_service.cpp | 625 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 D | dlp_permission_stub.cpp | 519 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 D | i_dlp_permission_service.h | 75 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) = 0;
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/ |
H A D | dlp_permission_client.h | 62 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec);
|
H A D | dlp_permission_kit.h | 88 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec);
|
H A D | dlp_permission_proxy.h | 54 std::vector<RetentionSandBoxInfo>& retentionSandBoxInfoVec) override;
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/ |
H A D | dlp_permission_kit.cpp | 192 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 D | dlp_permission_client.cpp | 465 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 D | dlp_permission_proxy.cpp | 673 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 D | dlp_permission_service_test.cpp | 1142 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 D | napi_common.h | 241 std::vector<RetentionSandBoxInfo> retentionSandBoxInfoVec; member
|
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/ |
H A D | napi_dlp_permission.cpp | 1558 DlpPermissionKit::GetRetentionSandboxList(asyncContext->bundleName, asyncContext->retentionSandBoxInfoVec); in GetRetentionSandboxListExcute() 1568 resJs = RetentionSandboxInfoToJs(env, asyncContext->retentionSandBoxInfoVec); in GetRetentionSandboxListComplete()
|