Home
last modified time | relevance | path

Searched refs:QueryEventByEventId (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/base/security/security_guard/services/risk_classify/model_manager/src/
H A Ddb_operate.cpp42 int DbOperate::QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) in QueryEventByEventId() function in OHOS::Security::SecurityGuard::DbOperate
44 return DatabaseManager::GetInstance().QueryEventByEventId(eventId, events); in QueryEventByEventId()
47 int DbOperate::QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events) in QueryEventByEventId() function in OHOS::Security::SecurityGuard::DbOperate
49 return DatabaseManager::GetInstance().QueryEventByEventId(table_, eventIds, events); in QueryEventByEventId()
/ohos5.0/base/security/security_guard/test/unittest/mock/data_collect/
H A Drisk_event_rdb_helper.h34 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) = 0;
35 …virtual int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events) = 0;
61 MOCK_METHOD2(QueryEventByEventId, int(int64_t eventId, std::vector<SecEvent> &events));
62 …MOCK_METHOD2(QueryEventByEventId, int(std::vector<int64_t> &eventIds, std::vector<SecEvent> &event…
/ohos5.0/base/security/security_guard/test/unittest/data_collect/database_manager/
H A Dsecurity_guard_database_manager_test.cpp179 EXPECT_CALL(RiskEventRdbHelper::GetInstance(), QueryEventByEventId(
185 int ret = DatabaseManager::GetInstance().QueryEventByEventId(eventId, events);
187 ret = DatabaseManager::GetInstance().QueryEventByEventId(eventId, events);
189 ret = DatabaseManager::GetInstance().QueryEventByEventId(eventId, events);
195 EXPECT_CALL(RiskEventRdbHelper::GetInstance(), QueryEventByEventId(
199 int ret = DatabaseManager::GetInstance().QueryEventByEventId("audit_event", eventIds, events);
201 ret = DatabaseManager::GetInstance().QueryEventByEventId("risk_event", eventIds, events);
203 ret = DatabaseManager::GetInstance().QueryEventByEventId("", eventIds, events);
H A Ddatabase_manager.h38 int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events);
39 …int QueryEventByEventId(std::string table, std::vector<int64_t> &eventIds, std::vector<SecEvent> &…
/ohos5.0/base/security/security_guard/test/unittest/mock/database_manager/
H A Ddatabase_manager.h40 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) = 0;
41 virtual int QueryEventByEventId(std::string table, std::vector<int64_t> &eventIds,
71 MOCK_METHOD2(QueryEventByEventId, int(int64_t eventId, std::vector<SecEvent> &events));
72 MOCK_METHOD3(QueryEventByEventId, int(std::string table, std::vector<int64_t> &eventIds,
/ohos5.0/base/security/security_guard/services/risk_classify/model_manager/include/
H A Di_db_operate.h31 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) = 0;
32 …virtual int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events) = 0;
H A Ddb_operate.h31 int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) override;
32 int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events) override;
/ohos5.0/base/security/security_guard/test/unittest/risk_classify/include/
H A Di_db_operate.h31 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) = 0;
32 …virtual int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events) = 0;
/ohos5.0/base/security/security_guard/services/data_collect/store/src/
H A Ddatabase_manager.cpp109 int DatabaseManager::QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) in QueryEventByEventId() function in OHOS::Security::SecurityGuard::DatabaseManager
113 return RiskEventRdbHelper::GetInstance().QueryEventByEventId(eventId, events); in QueryEventByEventId()
118 int DatabaseManager::QueryEventByEventId(std::string table, std::vector<int64_t> &eventIds, in QueryEventByEventId() function in OHOS::Security::SecurityGuard::DatabaseManager
122 return RiskEventRdbHelper::GetInstance().QueryEventByEventId(eventIds, events); in QueryEventByEventId()
H A Ddatabase_helper.cpp106 int DatabaseHelper::QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events) in QueryEventByEventId() function in OHOS::Security::SecurityGuard::DatabaseHelper
113 int DatabaseHelper::QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &even… in QueryEventByEventId() function in OHOS::Security::SecurityGuard::DatabaseHelper
/ohos5.0/base/security/security_guard/services/data_collect/store/include/
H A Ddatabase_helper.h33 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events);
34 virtual int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events);
H A Ddatabase_manager.h37 int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events);
38 …int QueryEventByEventId(std::string table, std::vector<int64_t> &eventIds, std::vector<SecEvent> &…
/ohos5.0/base/security/security_guard/test/unittest/data_collect/include/
H A Ddatabase_helper.h33 virtual int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events);
34 virtual int QueryEventByEventId(std::vector<int64_t> &eventIds, std::vector<SecEvent> &events);
H A Ddatabase_manager.h39 int QueryEventByEventId(int64_t eventId, std::vector<SecEvent> &events);
40 …int QueryEventByEventId(std::string table, std::vector<int64_t> &eventIds, std::vector<SecEvent> &…
/ohos5.0/base/security/security_guard/services/data_collect/
H A Dsg_collect_service.map36 OHOS::Security::SecurityGuard::DatabaseManager::QueryEventByEventId*;
/ohos5.0/base/security/security_guard/services/data_collect/sa/
H A Ddata_collect_manager_service.cpp227 …(void) DatabaseManager::GetInstance().QueryEventByEventId(RISK_TABLE, condition.riskEvent, events); in GetSecEventsFromConditions()
361 (void) DatabaseManager::GetInstance().QueryEventByEventId(ruler.GetEventId(), events); in QueryEventByRuler()
/ohos5.0/base/security/security_guard/test/unittest/data_collect/src/
H A Dsecurity_guard_data_collect_test.cpp231 ret = helper.QueryEventByEventId(eventIds, events);
234 ret = helper.QueryEventByEventId(eventIds, events);
/ohos5.0/base/security/security_guard/test/unittest/data_collect/sa/
H A Dsecurity_guard_data_collect_sa_test.cpp162 EXPECT_CALL(DatabaseManager::GetInstance(), QueryEventByEventId(_, _, _))
222 …EXPECT_CALL(DatabaseManager::GetInstance(), QueryEventByEventId(_, _)).WillRepeatedly(Return(true)…
305 EXPECT_CALL(DatabaseManager::GetInstance(), QueryEventByEventId(_, _, _))
330 EXPECT_CALL(DatabaseManager::GetInstance(), QueryEventByEventId(_, _, _))