Home
last modified time | relevance | path

Searched refs:DB_SUCC (Results 1 – 12 of 12) sorted by relevance

/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_cache_test.cpp55 ASSERT_EQ(result, DB_SUCC);
58 ASSERT_EQ(result, DB_SUCC);
65 ASSERT_EQ(result, DB_SUCC);
69 ASSERT_EQ(result, DB_SUCC);
72 ASSERT_EQ(result, DB_SUCC);
76 ASSERT_EQ(result, DB_SUCC);
78 ASSERT_EQ(result, DB_SUCC);
81 ASSERT_EQ(result, DB_SUCC);
116 ASSERT_EQ(result, DB_SUCC);
135 ASSERT_EQ(result, DB_SUCC);
[all …]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_cache.cpp54 return DB_SUCC; in Open()
60 return DB_SUCC; in Close()
76 return DB_SUCC; in CreateBlock()
81 …if (AppEventBlocksDao(store_).AddBlock(name) != DB_SUCC || store_->CreateBlockTable(name) != DB_SU… in CreateBlock()
85 return DB_SUCC; in CreateBlock()
94 return DB_SUCC; in DestroyBlock()
99 …if (AppEventBlocksDao(store_).RemoveBlock(name) != DB_SUCC || store_->DropBlockTable(name) != DB_S… in DestroyBlock()
103 return DB_SUCC; in DestroyBlock()
119 int result = DB_SUCC; in GetBlocksStat()
122 if (block.second->GetStat(statPair) != DB_SUCC) { in GetBlocksStat()
Dapp_event_block.cpp47 return DB_SUCC; in Take()
48 } else if (result > 0 && blockDao_->DeletePackageBySeq(seq) == DB_SUCC) { in Take()
Dapp_event_blocks_dao.cpp70 return DB_SUCC; in AddBlock()
90 return DB_SUCC; in RemoveBlock()
113 return DB_SUCC; in GetBlocks()
Dapp_event_store.cpp126 return DB_SUCC; in CreateBlockTable()
143 return DB_SUCC; in DropBlockTable()
173 return DB_SUCC; in DestroyDbStore()
182 return DB_SUCC; in DestroyDbStore()
Dapp_event_block_dao.cpp56 return DB_SUCC; in InsertPackage()
77 return DB_SUCC; in DeletePackageBySeq()
98 return DB_SUCC; in DeletePackageByNum()
159 return DB_SUCC; in CountPackages()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Ddata_share_test.cpp35 constexpr int DB_SUCC = 0; variable
85 EXPECT_EQ(ret, DB_SUCC);
91 EXPECT_EQ(ret, DB_SUCC);
93 EXPECT_EQ(ret, DB_SUCC);
109 EXPECT_EQ(result, DB_SUCC);
114 EXPECT_EQ(result, DB_SUCC);
117 EXPECT_EQ(result, DB_SUCC);
120 EXPECT_EQ(result, DB_SUCC);
123 EXPECT_EQ(result, DB_SUCC);
125 EXPECT_EQ(result, DB_SUCC);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_share_dao.cpp87 return DB_SUCC; in SaveSubscriberInfo()
99 return DB_SUCC; in SaveSubscriberInfo()
118 return DB_SUCC; in DeleteSubscriberInfo()
143 return DB_SUCC; in GetEventListByUid()
168 return DB_SUCC; in GetUidByBundleName()
197 return DB_SUCC; in GetTotalSubscriberInfo()
Ddata_publisher.cpp67 if (ret != DB_SUCC) { in AddSubscriber()
81 if (ret != DB_SUCC) { in AddSubscriber()
93 if (ret != DB_SUCC) { in RemoveSubscriber()
107 if (ret != DB_SUCC) { in RemoveSubscriber()
119 if (ret != DB_SUCC) { in InitSubscriber()
208 if (ret != DB_SUCC) { in HandleAppUninstallEvent()
213 if (ret != DB_SUCC) { in HandleAppUninstallEvent()
Ddata_share_store.cpp82 return DB_SUCC; in DropTable()
109 return DB_SUCC; in DestroyDbStore()
116 return DB_SUCC; in DestroyDbStore()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/
Dapp_event_cache_common.h23 constexpr int DB_SUCC = 0; variable
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Ddata_share_common.h46 constexpr int DB_SUCC = 0; variable