Home
last modified time | relevance | path

Searched refs:GetDBRecord (Results 1 - 11 of 11) sorted by relevance

/foundation/ability/form_fwk/services/include/
H A Dform_db_cache.h69 ErrCode GetDBRecord(const int64_t formId, FormRecord &record) const;
77 ErrCode GetDBRecord(const int64_t formId, FormDBInfo &record) const;
/foundation/ability/form_fwk/test/fuzztest/formdbcacheannex_fuzzer/
H A Dformdbcacheannex_fuzzer.cpp44 formDbCache.GetDBRecord(formId, record); in DoSomethingInterestingWithMyAPI()
46 formDbCache.GetDBRecord(formId, records); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/
H A Dfms_form_db_record_test.cpp136 * @tc.desc: Verify functionName GetDBRecord.
148 EXPECT_EQ(ERR_OK, FormDbCache::GetInstance().GetDBRecord(0, record)); in HWTEST_F()
160 EXPECT_EQ(ERR_OK, FormDbCache::GetInstance().GetDBRecord(1, record)); in HWTEST_F()
189 EXPECT_EQ(ERR_OK, FormDbCache::GetInstance().GetDBRecord(0, record)); in HWTEST_F()
200 EXPECT_EQ(ERR_OK, FormDbCache::GetInstance().GetDBRecord(1, record)); in HWTEST_F()
238 EXPECT_EQ(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, FormDbCache::GetInstance().GetDBRecord(formId, formDbInfo)); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_db_cache.cpp182 ErrCode FormDbCache::GetDBRecord(const int64_t formId, FormRecord &record) const in GetDBRecord() function in OHOS::AppExecFwk::FormDbCache
208 ErrCode FormDbCache::GetDBRecord(const int64_t formId, FormDBInfo &record) const in GetDBRecord() function in OHOS::AppExecFwk::FormDbCache
374 int errCode = GetDBRecord(formId, dbInfo); in BatchDeleteNoHostDBForms()
446 if (GetDBRecord(formId, dbInfo) != ERR_OK) { in IsHostOwner()
H A Dform_event_util.cpp514 int errCode = FormDbCache::GetInstance().GetDBRecord(formId, dbInfo); in BatchDeleteNoHostDBForms()
524 int errCode = FormDbCache::GetInstance().GetDBRecord(formId, dbInfo); in BatchDeleteNoHostDBForms()
H A Dform_data_mgr.cpp2096 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(dbInfo.formId, dbRecord); in GetUnusedFormInstancesByFilter()
2216 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(formId, dbRecord); in GetUnusedFormInstanceById()
2294 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(dbInfo.formId, dbRecord); in GetUnusedFormInfos()
2364 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(dbInfo.formId, dbRecord); in GetUnusedFormInfos()
H A Dform_mgr_adapter.cpp464 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(formId, dbInfo); in DeleteForm()
548 if (FormDbCache::GetInstance().GetDBRecord(matchedFormId, dbRecord) != ERR_OK) { in ReleaseForm()
610 if (FormDbCache::GetInstance().GetDBRecord(formId, dbRecord) != ERR_OK) { in HandleDeleteForm()
1454 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(formId, dbRecord); in AllotFormById()
1541 ErrCode getDbRet = FormDbCache::GetInstance().GetDBRecord(formId, dbRecord); in AllotFormBySpecificId()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dmock_form_db_cache.cpp69 ErrCode FormDbCache::GetDBRecord(const int64_t formId, FormRecord &record) const in GetDBRecord() function in OHOS::AppExecFwk::FormDbCache
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dmock_form_db_cache.cpp92 ErrCode FormDbCache::GetDBRecord(const int64_t formId, FormDBInfo &record) const in GetDBRecord() function in OHOS::AppExecFwk::FormDbCache
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_message_event_test/
H A Dfms_form_mgr_message_event_test.cpp364 * @tc.desc: test GetDBRecord function.
365 * @tc.type: GetDBRecord
376 EXPECT_EQ(ERR_OK, formDbCache.GetDBRecord(formIds, record)); in HWTEST_F()
382 * @tc.desc: test GetDBRecord function.
383 * @tc.type: GetDBRecord
394 EXPECT_EQ(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, formDbCache.GetDBRecord(formIds, record)); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_sys_event_receiver_test/
H A Dfms_form_sys_event_receiver_test.cpp233 EXPECT_NE(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, FormDbCache::GetInstance().GetDBRecord(formId, tempFormDBInfo)); in HWTEST_F()

Completed in 17 milliseconds