/foundation/ability/form_fwk/services/include/ |
H A D | form_db_cache.h | 69 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 D | formdbcacheannex_fuzzer.cpp | 44 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 D | fms_form_db_record_test.cpp | 136 * @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 D | form_db_cache.cpp | 182 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 D | form_event_util.cpp | 514 int errCode = FormDbCache::GetInstance().GetDBRecord(formId, dbInfo); in BatchDeleteNoHostDBForms() 524 int errCode = FormDbCache::GetInstance().GetDBRecord(formId, dbInfo); in BatchDeleteNoHostDBForms()
|
H A D | form_data_mgr.cpp | 2096 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 D | form_mgr_adapter.cpp | 464 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 D | mock_form_db_cache.cpp | 69 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 D | mock_form_db_cache.cpp | 92 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 D | fms_form_mgr_message_event_test.cpp | 364 * @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 D | fms_form_sys_event_receiver_test.cpp | 233 EXPECT_NE(ERR_APPEXECFWK_FORM_NOT_EXIST_ID, FormDbCache::GetInstance().GetDBRecord(formId, tempFormDBInfo)); in HWTEST_F()
|