/ohos5.0/base/security/security_guard/services/risk_classify/model_manager/src/ |
H A D | db_operate.cpp | 42 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 D | risk_event_rdb_helper.h | 34 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 D | security_guard_database_manager_test.cpp | 179 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 D | database_manager.h | 38 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 D | database_manager.h | 40 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 D | i_db_operate.h | 31 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 D | db_operate.h | 31 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 D | i_db_operate.h | 31 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 D | database_manager.cpp | 109 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 D | database_helper.cpp | 106 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 D | database_helper.h | 33 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 D | database_manager.h | 37 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 D | database_helper.h | 33 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 D | database_manager.h | 39 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 D | sg_collect_service.map | 36 OHOS::Security::SecurityGuard::DatabaseManager::QueryEventByEventId*;
|
/ohos5.0/base/security/security_guard/services/data_collect/sa/ |
H A D | data_collect_manager_service.cpp | 227 …(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 D | security_guard_data_collect_test.cpp | 231 ret = helper.QueryEventByEventId(eventIds, events); 234 ret = helper.QueryEventByEventId(eventIds, events);
|
/ohos5.0/base/security/security_guard/test/unittest/data_collect/sa/ |
H A D | security_guard_data_collect_sa_test.cpp | 162 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(_, _, _))
|