Home
last modified time | relevance | path

Searched refs:matchedFormIds (Results 1 - 13 of 13) sorted by relevance

/foundation/ability/form_fwk/test/fuzztest/formdatamgrfour_fuzzer/
H A Dformdatamgrfour_fuzzer.cpp49 std::set<int64_t> matchedFormIds; in DoSomethingInterestingWithMyAPI() local
50 matchedFormIds.insert(formId); in DoSomethingInterestingWithMyAPI()
55 noHostTempFormsMap.emplace(formIdKey, matchedFormIds); in DoSomethingInterestingWithMyAPI()
59 formDataMgr.GetNoHostInvalidTempForms(userId, callingUid, matchedFormIds, noHostTempFormsMap, foundFormsMap); in DoSomethingInterestingWithMyAPI()
61 formDataMgr.DeleteInvalidTempForms(userId, callingUid, matchedFormIds, foundFormsMap); in DoSomethingInterestingWithMyAPI()
62 formDataMgr.DeleteInvalidPublishForms(userId, bundleName, matchedFormIds); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formdbcacheannex_fuzzer/
H A Dformdbcacheannex_fuzzer.cpp65 std::set<int64_t> matchedFormIds; in DoSomethingInterestingWithMyAPI() local
66 matchedFormIds.insert(formId); in DoSomethingInterestingWithMyAPI()
67 formDbCache.GetNoHostInvalidDBForms(userId, callingUid, matchedFormIds, noHostFormDBList, foundFormsMap); in DoSomethingInterestingWithMyAPI()
69 formDbCache.DeleteInvalidDBForms(userId, callingUid, matchedFormIds, foundFormsMap); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formmgradapterthree_fuzzer/
H A Dformmgradapterthree_fuzzer.cpp47 std::vector<int64_t> matchedFormIds; in DoSomethingInterestingWithMyAPI() local
48 matchedFormIds.emplace_back(matchedFormId); in DoSomethingInterestingWithMyAPI()
49 eventMaps.emplace(bundleName, matchedFormIds); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/
H A Dfms_form_db_record_test.cpp320 std::set<int64_t> matchedFormIds; in HWTEST_F() local
323 FormDbCache::GetInstance().GetNoHostInvalidDBForms(userId1, callingUid2, matchedFormIds, in HWTEST_F()
327 FormDbCache::GetInstance().GetNoHostInvalidDBForms(userId2, callingUid1, matchedFormIds, in HWTEST_F()
331 FormDbCache::GetInstance().GetNoHostInvalidDBForms(userId2, callingUid2, matchedFormIds, in HWTEST_F()
335 FormDbCache::GetInstance().GetNoHostInvalidDBForms(userId2, callingUid2, matchedFormIds, in HWTEST_F()
342 FormDbCache::GetInstance().GetNoHostInvalidDBForms(userId2, callingUid2, matchedFormIds, in HWTEST_F()
365 std::set<int64_t> matchedFormIds; in HWTEST_F() local
367 EXPECT_EQ(ERR_OK, FormDbCache::GetInstance().DeleteInvalidDBForms(userId, callingUid, matchedFormIds, in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_message_event_test/
H A Dfms_form_mgr_message_event_test.cpp505 std::set<int64_t> matchedFormIds; in HWTEST_F() local
511 formDbCache.GetNoHostInvalidDBForms(userId, callingUid, matchedFormIds, noHostDBFormsMap, foundFormsMap); in HWTEST_F()
526 std::set<int64_t> matchedFormIds; in HWTEST_F() local
532 formDbCache.GetNoHostInvalidDBForms(userId, callingUid, matchedFormIds, noHostDBFormsMap, foundFormsMap); in HWTEST_F()
547 std::set<int64_t> matchedFormIds; in HWTEST_F() local
554 formDbCache.GetNoHostInvalidDBForms(userId, callingUid, matchedFormIds, noHostDBFormsMap, foundFormsMap); in HWTEST_F()
569 std::set<int64_t> matchedFormIds; in HWTEST_F() local
571 matchedFormIds.insert(formIds); in HWTEST_F()
579 formDbCache.GetNoHostInvalidDBForms(userId, callingUid, matchedFormIds, noHostDBFormsMap, foundFormsMap); in HWTEST_F()
594 std::set<int64_t> matchedFormIds; in HWTEST_F() local
619 std::set<int64_t> matchedFormIds; HWTEST_F() local
740 std::set<int64_t> matchedFormIds; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_db_cache.h125 * @param matchedFormIds The set of the valid forms.
129 void GetNoHostInvalidDBForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds,
146 * @param matchedFormIds The set of the valid forms.
150 ErrCode DeleteInvalidDBForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds,
H A Dform_data_mgr.h387 * @param matchedFormIds The set of the valid forms.
391 void GetNoHostInvalidTempForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds,
408 * @param matchedFormIds The set of the valid forms.
412 int32_t DeleteInvalidTempForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds,
/foundation/ability/form_fwk/services/src/
H A Dform_db_cache.cpp310 * @param matchedFormIds The set of the valid forms.
314 void FormDbCache::GetNoHostInvalidDBForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds, in GetNoHostInvalidDBForms() argument
327 if (matchedFormIds.find(formId) != matchedFormIds.end()) { in GetNoHostInvalidDBForms()
397 * @param matchedFormIds The set of the valid forms.
401 ErrCode FormDbCache::DeleteInvalidDBForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds, in DeleteInvalidDBForms() argument
408 GetNoHostInvalidDBForms(userId, callingUid, matchedFormIds, noHostDBFormsMap, foundFormsMap); in DeleteInvalidDBForms()
H A Dform_data_mgr.cpp276 std::vector<int64_t> matchedFormIds; in RecycleAllRecyclableForms() local
279 matchedFormIds.emplace_back(formId); in RecycleAllRecyclableForms()
282 if (!matchedFormIds.empty()) { in RecycleAllRecyclableForms()
284 itHostRecord->OnRecycleForms(matchedFormIds, want); in RecycleAllRecyclableForms()
298 std::vector<int64_t> matchedFormIds; in RecycleForms() local
301 matchedFormIds.emplace_back(formId); in RecycleForms()
304 if (!matchedFormIds.empty()) { in RecycleForms()
305 itHostRecord->OnRecycleForms(matchedFormIds, want); in RecycleForms()
1634 * @param matchedFormIds The set of the valid forms.
1638 void FormDataMgr::GetNoHostInvalidTempForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds, in GetNoHostInvalidTempForms() argument
1724 DeleteInvalidTempForms(int32_t userId, int32_t callingUid, std::set<int64_t> &matchedFormIds, std::map<int64_t, bool> &removedFormsMap) DeleteInvalidTempForms() argument
2566 std::vector<int64_t> matchedFormIds; EnableForms() local
[all...]
H A Dform_mgr_adapter.cpp2874 std::set<int64_t> matchedFormIds {}; in DeleteInvalidForms()
2877 matchedFormIds.emplace(matchedFormId); in DeleteInvalidForms()
2885 FormDbCache::GetInstance().DeleteInvalidDBForms(userId, callingUid, matchedFormIds, removedFormsMap); in DeleteInvalidForms()
2887 FormDataMgr::GetInstance().DeleteInvalidTempForms(userId, callingUid, matchedFormIds, removedFormsMap); in DeleteInvalidForms()
2902 FormDataMgr::GetInstance().DeleteInvalidPublishForms(userId, bundleName, matchedFormIds); in DeleteInvalidForms()
3227 std::vector<int64_t> matchedFormIds {}; in RegisterFormRouterProxy()
3241 matchedFormIds.push_back(formId); in RegisterFormRouterProxy()
3255 HILOG_DEBUG("The setup was sucessful, matchedFormIds:%{public}" PRId64 "", formId); in RegisterFormRouterProxy()
3259 if (matchedFormIds.empty()) { in RegisterFormRouterProxy()
3275 std::vector<int64_t> matchedFormIds {}; in UnregisterFormRouterProxy()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_share_mgr_test/
H A Dfms_form_share_mgr_test.cpp2595 int64_t matchedFormIds = 2; in HWTEST_F() local
2600 formDataMgr.formRecords_.emplace(matchedFormIds, formInfo); in HWTEST_F()
2724 std::set<int64_t> matchedFormIds; in HWTEST_F() local
2729 formDataMgr->GetNoHostInvalidTempForms(userId, callingUid, matchedFormIds, noHostTempFormsMap, foundFormsMap); in HWTEST_F()
2743 std::set<int64_t> matchedFormIds; in HWTEST_F() local
2755 formDataMgr->GetNoHostInvalidTempForms(userId, callingUid, matchedFormIds, noHostTempFormsMap, foundFormsMap); in HWTEST_F()
2769 std::set<int64_t> matchedFormIds; in HWTEST_F() local
2781 formDataMgr->GetNoHostInvalidTempForms(userId, callingUid, matchedFormIds, noHostTempFormsMap, foundFormsMap); in HWTEST_F()
2795 std::set<int64_t> matchedFormIds; in HWTEST_F() local
2807 formDataMgr->GetNoHostInvalidTempForms(userId, callingUid, matchedFormIds, noHostTempFormsMa in HWTEST_F()
2821 std::set<int64_t> matchedFormIds; HWTEST_F() local
2847 std::set<int64_t> matchedFormIds; HWTEST_F() local
2875 std::set<int64_t> matchedFormIds; HWTEST_F() local
2902 std::set<int64_t> matchedFormIds; HWTEST_F() local
2955 std::set<int64_t> matchedFormIds; HWTEST_F() local
2979 std::set<int64_t> matchedFormIds; HWTEST_F() local
2997 std::set<int64_t> matchedFormIds; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test.cpp1326 std::vector<int64_t> matchedFormIds; in HWTEST_F() local
1327 matchedFormIds.emplace_back(matchedFormId); in HWTEST_F()
1328 eventMaps.emplace(providerKey, matchedFormIds); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dfms_form_data_mgr_test.cpp4192 std::set<int64_t> matchedFormIds; in HWTEST_F() local
4194 auto result = formDataMgr_.DeleteInvalidTempForms(userId, callingUid, matchedFormIds, removedFormsMap); in HWTEST_F()

Completed in 31 milliseconds