/foundation/ability/form_fwk/services/include/ |
H A D | form_db_info.h | 36 Constants::FormLocation formLocation; member 59 formLocation = formRecord.formLocation; in FormDBInfo() 112 if (formLocation != formDBInfo.formLocation) { in Compare() 149 formDBInfo_.formLocation = formDBInfo.formLocation; in InnerFormInfo() 167 formDBInfo_.formLocation = innerFormInfo.formDBInfo_.formLocation; in InnerFormInfo() 185 formDBInfo_.formLocation in InnerFormInfo() [all...] |
H A D | form_dump_mgr.h | 114 void AppendFormLocation(Constants::FormLocation formLocation, std::string &infosResult) const;
|
H A D | form_record.h | 78 Constants::FormLocation formLocation; member in OHOS::AppExecFwk::FormRecord
|
H A D | form_db_cache.h | 158 * @param formLocation The form location. 161 ErrCode UpdateFormLocation(const int64_t formId, const int32_t formLocation);
|
H A D | form_item_info.h | 386 * @brief Get the formLocation of formInfo. 387 * @return formLocation. 392 * @brief set the formLocation. 393 * @param formLocation The FormLocation. 395 void SetFormLocation(Constants::FormLocation formLocation);
|
H A D | form_data_mgr.h | 703 * @param formLocation The form location. 707 ErrCode UpdateFormLocation(const int64_t &formId, const int32_t &formLocation);
|
H A D | form_mgr_service.h | 615 * @brief Update formLocation with formId. 617 * @param formLocation The FormLocation. 620 ErrCode UpdateFormLocation(const int64_t &formId, const int32_t &formLocation) override;
|
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | running_form_info.cpp | 36 formLocation = static_cast<Constants::FormLocation>(parcel.ReadInt32()); in ReadFromParcel() 94 // write formLocation in Marshalling() 95 if (!parcel.WriteInt32(static_cast<int32_t>(formLocation))) { in Marshalling()
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | running_form_info.h | 42 Constants::FormLocation formLocation; member
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_db_cache.cpp | 194 record.formLocation = dbInfo.formLocation; in GetDBRecord() 459 ErrCode FormDbCache::UpdateFormLocation(const int64_t formId, const int32_t formLocation) in UpdateFormLocation() argument 465 itRecord->formLocation = (Constants::FormLocation)formLocation; in UpdateFormLocation()
|
H A D | form_db_info.cpp | 31 const std::string INNER_FORM_INFO_FORM_LOCATION = "formLocation"; 49 jsonObject[INNER_FORM_INFO_FORM_LOCATION] = (int)formDBInfo_.formLocation; in ToJson() 87 formDBInfo_.formLocation, JsonType::NUMBER, false, parseResult, ArrayType::NOT_ARRAY); in FromJson()
|
H A D | form_dump_mgr.cpp | 259 AppendFormLocation(info.formLocation, infosResult); in AppendRunningFormInfos() 267 void FormDumpMgr::AppendFormLocation(Constants::FormLocation formLocation, std::string &infosResult) const in AppendFormLocation() argument 269 infosResult += " formLocation "; in AppendFormLocation() 270 switch (formLocation) { in AppendFormLocation()
|
H A D | form_item_info.cpp | 582 void FormItemInfo::SetFormLocation(Constants::FormLocation formLocation) in SetFormLocation() argument 584 formLocation_ = formLocation; in SetFormLocation()
|
H A D | form_data_mgr.cpp | 193 newRecord.formLocation = formInfo.GetFormLocation(); in CreateFormRecord() 1968 runningFormInfo.formLocation = formRecord.formLocation; in FillBasicRunningFormInfoByFormRecord() 2469 ErrCode FormDataMgr::UpdateFormLocation(const int64_t &formId, const int32_t &formLocation) in UpdateFormLocation() argument 2474 HILOG_INFO("form info not find, formId:%{public}" PRId64 " formLocation:%{public}d", in UpdateFormLocation() 2475 formId, formLocation); in UpdateFormLocation() 2478 info->second.formLocation = (Constants::FormLocation)formLocation; in UpdateFormLocation() 2479 HILOG_INFO("success, formId:%{public}" PRId64 " formLocation:%{public}d", in UpdateFormLocation() 2480 formId, formLocation); in UpdateFormLocation() [all...] |
H A D | form_mgr_adapter.cpp | 1379 int formLocation = want.GetParams().GetIntParam(Constants::FORM_LOCATION_KEY, in GetFormConfigInfo() local 1381 if (formLocation < static_cast<int32_t>(Constants::FormLocation::OTHER) || in GetFormConfigInfo() 1382 formLocation > static_cast<int32_t>(Constants::FormLocation::AI_SUGGESTION)) { in GetFormConfigInfo() 1383 HILOG_ERROR("formLocation not FormLocation enum,formLocation = %{public}d", formLocation); in GetFormConfigInfo() 1386 formConfigInfo.SetFormLocation((Constants::FormLocation)formLocation); in GetFormConfigInfo() 1395 HILOG_DEBUG("GetFormConfigInfo end,formLocation = %{public}d,enable is %{public}d", in GetFormConfigInfo() 1396 formLocation, isFormBundleForbidden); in GetFormConfigInfo() 1408 if (record.formLocation ! in CheckUpdateFormRecord() 3762 UpdateFormLocation(const int64_t &formId, const int32_t &formLocation) UpdateFormLocation() argument [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/ |
H A D | fms_form_db_record_test.cpp | 407 int32_t formLocation = 1; in HWTEST_F() local 409 EXPECT_EQ(ERR_OK, FormDbCache::GetInstance().UpdateFormLocation(formId, formLocation)); in HWTEST_F() 411 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_FORM_ID, FormDbCache::GetInstance().UpdateFormLocation(formId, formLocation)); in HWTEST_F()
|
/foundation/ability/form_fwk/interfaces/kits/native/include/ |
H A D | form_mgr.h | 628 * @brief Update formLocation with formId. 630 * @param formLocation The FormLocation. 633 ErrCode UpdateFormLocation(const int64_t &formId, const int32_t &formLocation);
|
/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_form_mgr_proxy.h | 92 MOCK_METHOD2(UpdateFormLocation, ErrCode(const int64_t &formId, const int32_t &formLocation));
|
H A D | mock_form_mgr_service.h | 110 MOCK_METHOD2(UpdateFormLocation, ErrCode(const int64_t &formId, const int32_t &formLocation));
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | mock_form_mgr_adapter.cpp | 279 int FormMgrAdapter::UpdateFormLocation(const int64_t &formId, const int32_t &formLocation) in UpdateFormLocation() argument
|
H A D | fms_form_mgr_service_test2.cpp | 618 int32_t formLocation = 1; in HWTEST_F() local 619 EXPECT_EQ(ERR_OK, formMgrService.UpdateFormLocation(formId, formLocation)); in HWTEST_F()
|
/foundation/ability/form_fwk/frameworks/js/napi/form_host/ |
H A D | js_form_host.cpp | 1748 int32_t formLocation = INVALID_FORM_LOCATION; in OnUpdateFormLocation() local 1749 if (napi_get_value_int32(env, argv[PARAM1], &formLocation) == napi_ok) { in OnUpdateFormLocation() 1750 if (formLocation < static_cast<int32_t>(Constants::FormLocation::OTHER) || in OnUpdateFormLocation() 1751 formLocation > static_cast<int32_t>(Constants::FormLocation::AI_SUGGESTION)) { in OnUpdateFormLocation() 1752 HILOG_ERROR("formLocation not FormLocation enum"); in OnUpdateFormLocation() 1753 NapiFormUtil::ThrowParamTypeError(env, "formLocation", "FormLocation enum"); in OnUpdateFormLocation() 1757 HILOG_ERROR("formLocation not number"); in OnUpdateFormLocation() 1758 NapiFormUtil::ThrowParamTypeError(env, "formLocation", "number"); in OnUpdateFormLocation() 1761 HILOG_INFO("formLocation:%{public}s", std::to_string(formLocation) in OnUpdateFormLocation() [all...] |
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/ |
H A D | form_mgr_proxy_test.cpp | 816 int32_t formLocation = 1; in HWTEST_F() local 817 EXPECT_EQ(formMgrProxy->UpdateFormLocation(formId, formLocation), ERR_OK); in HWTEST_F()
|
/foundation/ability/form_fwk/frameworks/js/napi/formUtil/ |
H A D | napi_form_util.cpp | 493 napi_set_named_property(env, result, "formLocation", CreateJsValue(env, (int32_t)runningFormInfo.formLocation)); in ParseRunningFormInfoIntoNapi() 581 napi_set_named_property(env, objContext, "formLocation", CreateJsValue(env, (int32_t)runningFormInfo.formLocation)); in CreateRunningFormInfo()
|
/foundation/ability/form_fwk/test/unittest/fms_form_db_info_test/ |
H A D | fms_form_db_info_test.cpp | 59 info.formLocation = Constants::FormLocation::SCREEN_LOCK; in CreateDbInfo()
|