Home
last modified time | relevance | path

Searched refs:infoVec (Results 1 – 24 of 24) sorted by relevance

/base/security/dlp_permission_service/test/fuzztest/dlp_permission/getdlpfilevisitrecord_fuzzer/
Dgetdlpfilevisitrecord_fuzzer.cpp32 std::vector<VisitedDLPFileInfo> infoVec; in FuzzTest() local
33 DlpPermissionKit::GetDLPFileVisitRecord(infoVec); in FuzzTest()
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_manager.cpp146 void FaultLogManager::ReduceLogFileListSize(std::list<std::string> &infoVec, int32_t maxNum) const in ReduceLogFileListSize() argument
148 if ((maxNum < 0) || (infoVec.size() <= static_cast<uint32_t>(maxNum))) { in ReduceLogFileListSize()
152 auto begin = infoVec.begin(); in ReduceLogFileListSize()
154 infoVec.erase(begin, infoVec.end()); in ReduceLogFileListSize()
Dfaultlog_manager.h50 void ReduceLogFileListSize(std::list<std::string>& infoVec, int32_t maxNum) const;
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dvisit_record_file_manager.cpp95 std::vector<VisitedDLPFileInfo>& infoVec) in GetVisitRecordList() argument
101 int32_t res = visitRecordJsonManager_->GetVisitRecordList(bundleName, userId, infoVec); in GetVisitRecordList()
Dvisit_record_file_manager.h40 std::vector<VisitedDLPFileInfo>& infoVec);
Dvisit_record_json_manager.h43 std::vector<VisitedDLPFileInfo>& infoVec);
Dvisit_record_json_manager.cpp80 std::vector<VisitedDLPFileInfo>& infoVec) in GetVisitRecordList() argument
92 infoVec.emplace_back(info); in GetVisitRecordList()
/base/update/updater/services/ui/
Dupdater_ui_config.cpp61 void PrintInfoVec(const std::vector<UxPageInfo> &infoVec) in PrintInfoVec() argument
64 for (auto &iter : infoVec) { in PrintInfoVec()
/base/telephony/core_service/frameworks/js/sim/include/
Dnapi_sim.h79 std::vector<TelNumbersInfo> infoVec {};
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_permission_service_test.cpp598 std::vector<VisitedDLPFileInfo> infoVec; variable
599 int32_t res = visitRecordJsonManager_->GetVisitRecordList("test.bundleName", 100, infoVec);
611 res = visitRecordJsonManager_->GetVisitRecordList("test.bundleName", 100, infoVec);
613 res = visitRecordJsonManager_->GetVisitRecordList("test.bundleName1", 1001, infoVec);
619 res = visitRecordJsonManager_->GetVisitRecordList("test.bundleName1", 2000, infoVec);
715 std::vector<VisitedDLPFileInfo> infoVec; variable
716 int32_t res = visitRecordFileManager->GetVisitRecordList("test.bundleName", 100, infoVec);
727 res = visitRecordFileManager->GetVisitRecordList("test.bundleName", 100, infoVec);
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_permission_service.cpp204 std::vector<RetentionSandBoxInfo> infoVec; in InstallDlpSandbox() local
205 … auto res = RetentionFileManager::GetInstance().GetRetentionSandboxList(bundleName, infoVec, true); in InstallDlpSandbox()
213 for (auto iter = infoVec.begin(); iter != infoVec.end(); ++iter) { in InstallDlpSandbox()
663 int32_t DlpPermissionService::GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) in GetDLPFileVisitRecord() argument
678 …sult = VisitRecordFileManager::GetInstance().GetVisitRecordList(callerBundleName, userId, infoVec); in GetDLPFileVisitRecord()
Ddlp_permission_stub.cpp546 std::vector<VisitedDLPFileInfo> infoVec; in GetDLPFileVisitRecordInner() local
547 int32_t res = this->GetDLPFileVisitRecord(infoVec); in GetDLPFileVisitRecordInner()
555 size_t listNum = infoVec.size(); in GetDLPFileVisitRecordInner()
560 for (const auto& iter : infoVec) { in GetDLPFileVisitRecordInner()
Ddlp_permission_service.h78 int32_t GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) override;
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/
Ddlp_permission_proxy.h56 int32_t GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) override;
Ddlp_permission_kit.h89 static int32_t GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec);
Ddlp_permission_client.h64 int32_t GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec);
/base/security/dlp_permission_service/frameworks/dlp_permission/include/
Di_dlp_permission_service.h78 virtual int32_t GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) = 0;
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_kit.cpp233 int32_t DlpPermissionKit::GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) in GetDLPFileVisitRecord() argument
235 return DlpPermissionClient::GetInstance().GetDLPFileVisitRecord(infoVec); in GetDLPFileVisitRecord()
Ddlp_permission_client.cpp465 int32_t DlpPermissionClient::GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) in GetDLPFileVisitRecord() argument
481 return proxy->GetDLPFileVisitRecord(infoVec); in GetDLPFileVisitRecord()
Ddlp_permission_proxy.cpp744 int32_t DlpPermissionProxy::GetDLPFileVisitRecord(std::vector<VisitedDLPFileInfo>& infoVec) in GetDLPFileVisitRecord() argument
787 infoVec.emplace_back(*info); in GetDLPFileVisitRecord()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_permission_kit_test.cpp1259 std::vector<VisitedDLPFileInfo> infoVec; variable
1266 ASSERT_EQ(DLP_OK, DlpPermissionKit::GetDLPFileVisitRecord(infoVec));
1267 DLP_LOG_INFO(LABEL, "GetDLPFileVisitRecord size:%{public}zu", infoVec.size());
1268 ASSERT_TRUE(1 == infoVec.size());
1270 infoVec.clear();
1271 ASSERT_EQ(DLP_OK, DlpPermissionKit::GetDLPFileVisitRecord(infoVec));
1272 ASSERT_TRUE(0 == infoVec.size());
1275 …_EQ(DLP_SERVICE_ERROR_API_NOT_FOR_SANDBOX_ERROR, DlpPermissionKit::GetDLPFileVisitRecord(infoVec));
/base/security/dlp_permission_service/interfaces/kits/napi_common/include/
Dnapi_common.h302 napi_value RetentionSandboxInfoToJs(napi_env env, const std::vector<RetentionSandBoxInfo>& infoVec);
303 napi_value VisitInfoToJs(napi_env env, const std::vector<VisitedDLPFileInfo>& infoVec);
/base/telephony/core_service/frameworks/js/sim/src/
Dnapi_sim.cpp1983 std::vector<TelNumbersInfo> &dialNumbers = diallingNumbers->infoVec; in NativeQueryIccDiallingNumbers()
2003 for (size_t i = 0; i < diallingNumbers->infoVec.size(); i++) { in QueryIccDiallingNumbersCallback()
2004 napi_value val = DiallingNumbersConversion(env, diallingNumbers->infoVec.at(i)); in QueryIccDiallingNumbersCallback()
2044 if (diallingNumbersContext->infoVec.size() > 0) { in NativeAddIccDiallingNumbers()
2046 GetDiallingNumberInfo(telNumber, diallingNumbersContext->infoVec.at(0)); in NativeAddIccDiallingNumbers()
2083 diallingNumbers->infoVec.push_back(std::move(inputInfo)); in AddIccDiallingNumbers()
2100 if (diallingNumbers->infoVec.size() > 0) { in NativeDelIccDiallingNumbers()
2102 GetDiallingNumberInfo(telNumber, diallingNumbers->infoVec.at(0)); in NativeDelIccDiallingNumbers()
2138 diallingNumbers->infoVec.push_back(std::move(inputInfo)); in DelIccDiallingNumbers()
2156 if (diallingNumbers->infoVec.size() > 0) { in NativeUpdateIccDiallingNumbers()
[all …]
/base/security/dlp_permission_service/interfaces/kits/napi_common/src/
Dnapi_common.cpp1173 napi_value RetentionSandboxInfoToJs(napi_env env, const std::vector<RetentionSandBoxInfo>& infoVec) in RetentionSandboxInfoToJs() argument
1178 for (auto item : infoVec) { in RetentionSandboxInfoToJs()
1199 napi_value VisitInfoToJs(napi_env env, const std::vector<VisitedDLPFileInfo>& infoVec) in VisitInfoToJs() argument
1204 for (auto& item : infoVec) { in VisitInfoToJs()