Home
last modified time | relevance | path

Searched refs:CheckTableExist (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_decision_db_deps_mock.cpp94 int32_t CheckTableExist(DbContext *ctx, TableNameID id, bool *isExist) in CheckTableExist() function
96 return GetDecisionDbDepsInterface()->CheckTableExist(ctx, id, isExist); in CheckTableExist()
H A Dlnn_decision_db_deps_mock.h53 virtual int32_t CheckTableExist(DbContext *ctx, TableNameID id, bool *isExist);
92 MOCK_METHOD3(CheckTableExist, int32_t (DbContext *, TableNameID, bool *));
H A Dlnn_decision_db_test.cpp179 EXPECT_CALL(decisionDbMock, CheckTableExist(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
291 EXPECT_CALL(decisionDbMock, CheckTableExist(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
356 EXPECT_CALL(decisionDbMock, CheckTableExist(_, _, _)).WillRepeatedly(Return(SOFTBUS_ERR)); in HWTEST_F()
383 EXPECT_CALL(decisionDbMock, CheckTableExist(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
414 EXPECT_CALL(decisionDbMock, CheckTableExist(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/sqlite3utils_fuzzer/
H A Dsqlite3utils_fuzzer.cpp64 CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist); in Splite3UtilsSwitch()
/foundation/communication/dsoftbus/tests/core/common/utils/unittest/
H A Dsqlite3_utils_test.cpp142 EXPECT_EQ(CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist), SOFTBUS_OK); in HWTEST_F()
145 EXPECT_EQ(CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist), SOFTBUS_OK); in HWTEST_F()
148 EXPECT_EQ(CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist), SOFTBUS_OK); in HWTEST_F()
167 EXPECT_EQ(CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist), SOFTBUS_OK); in HWTEST_F()
170 EXPECT_EQ(CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist), SOFTBUS_OK); in HWTEST_F()
173 EXPECT_EQ(CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist), SOFTBUS_OK); in HWTEST_F()
578 EXPECT_EQ(CheckTableExist(ctxPtr, TABLE_TRUSTED_DEV_INFO, isExist), SOFTBUS_INVALID_PARAM); in HWTEST_F()
581 int32_t testid = CheckTableExist(ctxPtr, TABLE_TRUSTED_DEV_INFO, isExist); in HWTEST_F()
/foundation/communication/dsoftbus/core/common/include/
H A Dsqlite3_utils.h66 int32_t CheckTableExist(DbContext *ctx, TableNameID id, bool *isExist);
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/decision_db/src/
H A Dlnn_decision_db.c764 if (CheckTableExist(ctx, TABLE_TRUSTED_DEV_INFO, &isExist) != SOFTBUS_OK) { in InitTrustedDevInfoTable()
/foundation/communication/dsoftbus/core/common/utils/
H A Dsqlite3_utils.c314 int32_t CheckTableExist(DbContext *ctx, TableNameID id, bool *isExist) in CheckTableExist() function

Completed in 7 milliseconds