Home
last modified time | relevance | path

Searched refs:formRecord (Results 1 – 25 of 65) sorted by relevance

123

/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/
H A Dfms_form_data_proxy_record_test.cpp80 FormRecord formRecord; variable
104 FormRecord formRecord; variable
127 FormRecord formRecord; variable
145 FormRecord formRecord; variable
163 FormRecord formRecord; variable
181 FormRecord formRecord; variable
203 FormRecord formRecord; variable
225 FormRecord formRecord; variable
247 FormRecord formRecord; variable
268 FormRecord formRecord; variable
[all …]
H A Dmock_form_data_mgr.cpp41 bool FormDataMgr::GetFormRecord(const int64_t formId, FormRecord &formRecord) const in GetFormRecord()
44 formRecord.bundleName = "com.form.provider.service"; in GetFormRecord()
45 formRecord.formId = formId; in GetFormRecord()
46 formRecord.isEnableUpdate = true; in GetFormRecord()
47 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_test/
H A Dfms_form_render_mgr_test.cpp69 FormRecord formRecord; variable
86 FormRecord formRecord; variable
105 FormRecord formRecord; variable
107 formRecord.formId = 1;
125 FormRecord formRecord; variable
127 formRecord.formId = 1;
277 FormRecord formRecord; variable
301 FormRecord formRecord; variable
330 FormRecord formRecord; variable
349 FormRecord formRecord; variable
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_inner_test/
H A Dfms_form_render_mgr_inner_test.cpp88 FormRecord formRecord; variable
105 FormRecord formRecord; variable
125 FormRecord formRecord; variable
143 FormRecord formRecord; variable
144 formRecord.formId = 1;
163 FormRecord formRecord; variable
164 formRecord.formId = 1;
186 FormRecord formRecord; variable
187 formRecord.formId = 1;
208 FormRecord formRecord; variable
[all …]
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp40 formRecord.modulePkgNameMap.clear(); in UpdateRecordByBundleInfo()
61 formRecord.hapSourceDirs.clear(); in UpdateRecordByBundleInfo()
102 for (FormRecord& formRecord : formInfos) { in HandleProviderUpdated()
104 int64_t formId = formRecord.formId; in HandleProviderUpdated()
119 if (formRecord.formTempFlag) { in HandleProviderUpdated()
257 …FormBmsHelper::GetInstance().NotifyModuleNotRemovable(formRecord.bundleName, formRecord.moduleName… in ProviderFormUpdated()
283 UpdateFormRecord(packForm, formRecord); in ProviderFormUpdated()
562 if (!formRecord.isEnableUpdate || (formRecord.updateDuration <= 0)) { in HandleAdditionalInfoChanged()
580 formRecord.formSrc = formInfo.src; in UpdateFormRecord()
593 FormDataMgr::GetInstance().UpdateFormRecord(formRecord.formId, formRecord); in UpdateFormRecord()
[all …]
H A Dform_render_mgr_inner.cpp130 FormDataMgr::GetInstance().UpdateFormRecord(formRecord.formId, formRecord); in CheckIfFormRecycled()
181 … FormCacheMgr::GetInstance().AddData(formRecord.formId, formRecord.formProviderInfo.GetFormData()); in UpdateRenderingForm()
196 if (!formRecord.enableForm) { in UpdateRenderingForm()
197 FormDataMgr::GetInstance().UpdateFormRecord(formRecord.formId, formRecord); in UpdateRenderingForm()
205 std::string recordUid = std::to_string(formRecord.providerUserId) + formRecord.bundleName; in UpdateRenderingForm()
294 std::string recordUid = std::to_string(formRecord.providerUserId) + formRecord.bundleName; in StopRenderingForm()
374 std::string uid = std::to_string(formRecord.providerUserId) + formRecord.bundleName; in ReleaseRenderer()
730 FormRecord formRecord; in RecoverForms() local
742 std::string uid = std::to_string(formRecord.providerUserId) + formRecord.bundleName; in RecoverForms()
779 FormRecord formRecord; in UpdateFormSize() local
[all …]
H A Dform_render_mgr.cpp84 …HILOG_INFO("formId:%{public}" PRId64 ", formUserId:%{public}d", formRecord.formId, formRecord.user… in RenderForm()
90 if (formRecord.formId <= 0) { in RenderForm()
97 std::string recordUid = std::to_string(formRecord.providerUserId) + formRecord.bundleName; in RenderForm()
103 if (formRecord.privacyLevel > 0) { in RenderForm()
105 return sandboxInners_[formRecord.userId]->RenderForm(formRecord, want, hostToken); in RenderForm()
108 return renderInners_[formRecord.userId]->RenderForm(formRecord, want, hostToken); in RenderForm()
117 FormRecord formRecord; in UpdateRenderingForm() local
125 if (formRecord.privacyLevel > 0) { in UpdateRenderingForm()
325 if (formRecord.privacyLevel > 0) { in StopRenderingForm()
489 FormRecord formRecord; in IsNeedRender() local
[all …]
H A Dform_provider_mgr.cpp56 FormRecord formRecord; in AcquireForm() local
70 if (formRecord.isInited) { in AcquireForm()
71 if (IsFormCached(formRecord)) { in AcquireForm()
82 formRecord.isInited = true; in AcquireForm()
83 formRecord.needRefresh = false; in AcquireForm()
314 formRecord.bundleName.c_str(), formRecord.abilityName.c_str()); in NotifyProviderFormDelete()
316 formRecord.bundleName, formRecord.abilityName); in NotifyProviderFormDelete()
322 want.SetElementName(formRecord.bundleName, formRecord.abilityName); in NotifyProviderFormDelete()
380 FormRecord formRecord; in UpdateForm() local
413 formRecord.isInited = true; in UpdateForm()
[all …]
H A Dform_render_connection.cpp35 …const FormRecord &formRecord, const WantParams &wantParams) : formRecord_(formRecord), wantParams_… in FormRenderConnection() argument
37 SetFormId(formRecord.formId); in FormRenderConnection()
38 SetProviderKey(formRecord.bundleName, formRecord.abilityName); in FormRenderConnection()
103 void FormRenderConnection::UpdateFormRecord(const FormRecord &formRecord) in UpdateFormRecord() argument
105 formRecord_ = formRecord; in UpdateFormRecord()
H A Dform_data_mgr.cpp531 formRecord = info->second; in GetFormRecord()
1245 FormRecord formRecord; in HandleUpdateHostFormFlag() local
1693 if (!formRecord.formTempFlag || (userId != formRecord.providerUserId)) { in GetNoHostInvalidTempForms()
1697 … auto iter = std::find(formRecord.formUserUids.begin(), formRecord.formUserUids.end(), callingUid); in GetNoHostInvalidTempForms()
1709 FormIdKey formIdKey(formRecord.bundleName, formRecord.abilityName); in GetNoHostInvalidTempForms()
1990 FormRecord formRecord; in CheckInvalidForm() local
2029 FormRecord formRecord; in GetRunningFormInfosByFormId() local
2220 FormRecord formRecord; in GetFormInstanceById() local
2230 formRecord = info->second; in GetFormInstanceById()
2293 FormRecord formRecord; in GetFormInstanceById() local
[all …]
H A Dform_mgr_adapter.cpp797 FormRecord formRecord; in UpdateForm() local
1186 FormRecord formRecord; in CastTempForm() local
1297 if (formRecord.isEnableUpdate && formRecord.updateDuration > 0 && in DumpFormInfoByBundleName()
1337 FormRecord formRecord; in DumpFormInfoByFormId() local
1345 if (formRecord.isEnableUpdate && formRecord.updateDuration > 0 && in DumpFormInfoByFormId()
1666 if (!formRecord.isEnableUpdate || formRecord.formTempFlag) { in AddFormTimer()
1668 formRecord.isEnableUpdate, formRecord.formTempFlag); in AddFormTimer()
1672 if (formRecord.updateDuration > 0 && !formRecord.isDataProxy) { in AddFormTimer()
1684 if (formRecord.updateAtHour >= 0 && formRecord.updateAtMin >= 0) { in AddFormTimer()
1686 formRecord.updateAtHour, formRecord.updateAtMin, formRecord.providerUserId); in AddFormTimer()
[all …]
H A Dform_data_proxy_mgr.cpp43 FormRecord formRecord; in SubscribeFormData() local
44 if (!FormDataMgr::GetInstance().GetFormRecord(formId, formRecord)) { in SubscribeFormData()
49 if (!formRecord.isDataProxy) { in SubscribeFormData()
66 …if (FormBmsHelper::GetInstance().GetApplicationInfo(formRecord.bundleName, FormUtil::GetCurrentAcc… in SubscribeFormData()
72 formRecord.bundleName, formRecord.uiSyntax, appInfo.accessTokenId, formRecord.uid); in SubscribeFormData()
H A Dform_share_mgr.cpp58 FormRecord formRecord; in ShareForm() local
71 formId, formRecord.bundleName, formRecord.abilityName, deviceId, requestCode); in ShareForm()
77 want.SetElementName(formRecord.bundleName, formRecord.abilityName); in ShareForm()
457 FormRecord formRecord; in HandleProviderShareData() local
472 formShareInfo.formId = formRecord.formId; in HandleProviderShareData()
473 formShareInfo.formName = formRecord.formName; in HandleProviderShareData()
474 formShareInfo.bundleName = formRecord.bundleName; in HandleProviderShareData()
475 formShareInfo.moduleName = formRecord.moduleName; in HandleProviderShareData()
476 formShareInfo.abilityName = formRecord.abilityName; in HandleProviderShareData()
477 formShareInfo.formTempFlag = formRecord.formTempFlag; in HandleProviderShareData()
[all …]
H A Dform_db_cache.cpp318 for (auto &formRecord: formDBInfos_) { in GetNoHostInvalidDBForms() local
319 int64_t formId = formRecord.formId; in GetNoHostInvalidDBForms()
321 … auto iter = std::find(formRecord.formUserUids.begin(), formRecord.formUserUids.end(), callingUid); in GetNoHostInvalidDBForms()
322 if (iter == formRecord.formUserUids.end()) { in GetNoHostInvalidDBForms()
330 if (formRecord.providerUserId != userId) { in GetNoHostInvalidDBForms()
335 formRecord.formUserUids.erase(iter); in GetNoHostInvalidDBForms()
336 if (formRecord.formUserUids.empty()) { in GetNoHostInvalidDBForms()
337 FormIdKey formIdKey(formRecord.bundleName, formRecord.abilityName); in GetNoHostInvalidDBForms()
348 SaveFormInfoNolock(formRecord); in GetNoHostInvalidDBForms()
349 …FormBmsHelper::GetInstance().NotifyModuleNotRemovable(formRecord.bundleName, formRecord.moduleName… in GetNoHostInvalidDBForms()
H A Dform_task_mgr.cpp820 int64_t formId = formRecord.formId; in PostRenderForm()
854 FormJsInfo formJsInfo = CreateFormJsInfo(formRecord.formId, formRecord); in RenderForm()
857 if (!formRecord.isVisible) { in RenderForm()
884 formLastRecoverTimes.erase(formRecord.formId); in PostStopRenderingForm()
901 FormJsInfo formJsInfo = CreateFormJsInfo(formRecord.formId, formRecord); in StopRenderingForm()
961 for (const auto &formRecord : formRecords) { in ReloadForm() local
962 FormJsInfo formJsInfo = CreateFormJsInfo(formRecord.formId, formRecord); in ReloadForm()
1028 FormRecord formRecord; in SetVisibleChange() local
1035 …want.SetParam(Constants::FORM_SUPPLY_UID, std::to_string(formRecord.providerUserId) + formRecord.b… in SetVisibleChange()
1202 FormRecord formRecord; in RecycleForm() local
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_render_connection_test/
H A Dfms_form_render_connection_test.cpp58 FormRecord formRecord; variable
60 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams);
77 FormRecord formRecord; variable
79 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams);
97 FormRecord formRecord; variable
99 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams);
117 FormRecord formRecord; variable
137 FormRecord formRecord; variable
157 FormRecord formRecord; variable
177 FormRecord formRecord; variable
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dmock_form_data_mgr.cpp82 FormRecord formRecord; in GetFormRecord() local
83 formRecord.bundleName = "com.form.provider.service"; in GetFormRecord()
84 formRecord.formId = 1; in GetFormRecord()
86 formRecord.formTempFlag = false; in GetFormRecord()
87 formRecord.isEnableUpdate = true; in GetFormRecord()
88 formRecord.updateDuration = UPDATE_DURATION * Constants::TIME_CONVERSION; in GetFormRecord()
90 formRecord.formTempFlag = true; in GetFormRecord()
92 formInfos.emplace_back(formRecord); in GetFormRecord()
99 formRecord.bundleName = "com.form.provider.service"; in GetFormRecord()
100 formRecord.formId = 1; in GetFormRecord()
[all …]
/ohos5.0/foundation/ability/form_fwk/services/include/
H A Dform_db_info.h52 userId = formRecord.userId; in FormDBInfo()
53 providerUserId = formRecord.providerUserId; in FormDBInfo()
54 formName = formRecord.formName; in FormDBInfo()
55 bundleName = formRecord.bundleName; in FormDBInfo()
56 moduleName = formRecord.moduleName; in FormDBInfo()
57 abilityName = formRecord.abilityName; in FormDBInfo()
58 formUserUids = formRecord.formUserUids; in FormDBInfo()
59 formLocation = formRecord.formLocation; in FormDBInfo()
60 isThemeForm = formRecord.isThemeForm; in FormDBInfo()
61 enableForm = formRecord.enableForm; in FormDBInfo()
[all …]
H A Dform_render_mgr.h44 …const FormRecord &formRecord, const WantParams &wantParams, const sptr<IRemoteObject> &hostToken =…
57 ErrCode StopRenderingForm(int64_t formId, const FormRecord &formRecord,
70 …AddConnection(int64_t formId, sptr<FormRenderConnection> connection, const FormRecord &formRecord);
72 void RemoveConnection(int64_t formId, const FormRecord &formRecord);
78 … AddRenderDeathRecipient(const sptr<IRemoteObject> &renderRemoteObj, const FormRecord &formRecord);
90 … ErrCode ReleaseRenderer(int64_t formId, const FormRecord &formRecord, const std::string &compId);
H A Dform_render_mgr_inner.h43 const FormRecord &formRecord, Want &want, const sptr<IRemoteObject> &hostToken = nullptr);
45 ErrCode UpdateRenderingForm(FormRecord &formRecord, const FormProviderData &formProviderData,
48 ErrCode StopRenderingForm(int64_t formId, const FormRecord &formRecord,
69 … ErrCode ReleaseRenderer(int64_t formId, const FormRecord &formRecord, const std::string &compId);
110 void CheckIfFormRecycled(FormRecord &formRecord, Want& want) const;
112 ErrCode GetConnectionAndRenderForm(FormRecord &formRecord, Want &want);
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dmock_form_data_mgr.cpp248 formRecord.userId = 0; in GetFormRecord()
250 formRecord.formUserUids.push_back(callingUid); in GetFormRecord()
256 formRecord.bundleName = "bundleName"; in GetFormRecord()
257 formRecord.moduleName = "moduleName"; in GetFormRecord()
258 formRecord.abilityName = "abilityName"; in GetFormRecord()
259 formRecord.formName = "formName"; in GetFormRecord()
260 formRecord.specification = 0; in GetFormRecord()
261 formRecord.formVisibleNotify = true; in GetFormRecord()
262 formRecord.uid = 0; in GetFormRecord()
360 FormHostRecord formRecord = {}; in GetFormHostRecord() local
[all …]
H A Dfms_form_mgr_adapter_test.cpp692 FormRecord formRecord; variable
708 FormRecord formRecord; variable
725 FormRecord formRecord; variable
729 formRecord.updateAtHour = 0;
730 formRecord.updateAtMin = 0;
744 FormRecord formRecord; variable
1214 FormRecord formRecord; variable
1231 FormRecord formRecord; variable
1254 FormRecord formRecord; variable
1521 FormRecord formRecord; variable
[all …]
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formrendermgrinner_fuzzer/
H A Dformrendermgrinner_fuzzer.cpp43 FormRecord formRecord; in DoSomethingInterestingWithMyAPI() local
46 formRenderMgrInner.RenderForm(formRecord, want, hostToken); in DoSomethingInterestingWithMyAPI()
50 formRenderMgrInner.UpdateRenderingForm(formRecord, formProviderData, wantParams, mergeData); in DoSomethingInterestingWithMyAPI()
53 formRenderMgrInner.StopRenderingForm(formId, formRecord, compId); in DoSomethingInterestingWithMyAPI()
55 formRecords.emplace_back(formRecord); in DoSomethingInterestingWithMyAPI()
60 …sptr<FormRenderConnection> connection = new (std::nothrow) FormRenderConnection(formRecord, wantPa… in DoSomethingInterestingWithMyAPI()
69 formRenderMgrInner.ReleaseRenderer(formId, formRecord, compId); in DoSomethingInterestingWithMyAPI()
84 formRenderMgrInner.CheckIfFormRecycled(formRecord, want); in DoSomethingInterestingWithMyAPI()
85 formRenderMgrInner.GetConnectionAndRenderForm(formRecord, want); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formrendermgr_fuzzer/
H A Dformrendermgr_fuzzer.cpp44 FormRecord formRecord; in DoSomethingInterestingWithMyAPI() local
47 formRenderMgr.RenderForm(formRecord, wantParams, hostToken); in DoSomethingInterestingWithMyAPI()
53 formRecords.emplace_back(formRecord); in DoSomethingInterestingWithMyAPI()
58 formRenderMgr.StopRenderingForm(formId, formRecord, compId); in DoSomethingInterestingWithMyAPI()
62 …sptr<FormRenderConnection> connection = new (std::nothrow) FormRenderConnection(formRecord, wantPa… in DoSomethingInterestingWithMyAPI()
63 formRenderMgr.AddConnection(formId, connection, formRecord); in DoSomethingInterestingWithMyAPI()
67 formRenderMgr.AddRenderDeathRecipient(remoteObject, formRecord); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formdatamgrthree_fuzzer/
H A Dformdatamgrthree_fuzzer.cpp45 FormRecord formRecord; in DoSomethingInterestingWithMyAPI() local
46 formDataMgr.UpdateHostForm(formId, formRecord); in DoSomethingInterestingWithMyAPI()
71 formDataMgr.ParseUpdateConfig(formRecord, info); in DoSomethingInterestingWithMyAPI()
73 formDataMgr.ParseIntervalConfig(formRecord, configDuration); in DoSomethingInterestingWithMyAPI()
74 formDataMgr.ParseAtTimerConfig(formRecord, info); in DoSomethingInterestingWithMyAPI()
75 formDataMgr.IsFormCached(formRecord); in DoSomethingInterestingWithMyAPI()

123