Home
last modified time | relevance | path

Searched refs:hostBundleName (Results 1 - 25 of 47) sorted by relevance

12

/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dextension_record_manager.h89 int32_t CreateExtensionRecord(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName,
93 const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, bool &isLoaded);
106 int32_t GetOrCreateExtensionRecord(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName,
123 int32_t GetHostBundleNameForExtensionId(int32_t extensionRecordId, std::string& hostBundleName);
146 const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, bool &isLoaded);
148 int32_t GetExtensionRecord(const int32_t extensionRecordId, const std::string &hostBundleName,
H A Dui_extension_record_factory.h30 int32_t PreCheck(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName) override;
H A Dextension_record.h54 int32_t RegisterStateObserver(const std::string &hostBundleName);
H A Dextension_record_factory.h63 * @param hostBundleName Indicates the bundle name of the host.
66 virtual int32_t PreCheck(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName);
H A Dability_connect_manager.h108 * @param hostBundleName, the caller application bundle name.
111 int PreloadUIExtensionAbilityInner(const AbilityRequest &abilityRequest, std::string &hostBundleName);
117 * @param hostBundleName, the caller application bundle name.
120 int PreloadUIExtensionAbilityLocked(const AbilityRequest &abilityRequest, std::string &hostBundleName);
126 * @param hostBundleName, the caller application bundle name.
614 const std::string &hostBundleName, std::shared_ptr<AbilityRecord> &extensionRecord, bool &isLoaded);
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dextension_record_manager.cpp93 const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, bool &isLoaded) in GetExtensionRecord()
102 it->second->hostBundleName_.c_str(), hostBundleName.c_str()); in GetExtensionRecord()
103 if (it->second->hostBundleName_ == hostBundleName) { in GetExtensionRecord()
155 const std::string &hostBundleName, std::shared_ptr<AAFwk::AbilityRecord> &abilityRecord, bool &isLoaded) in GetOrCreateExtensionRecord()
165 auto result = IsPreloadExtensionRecord(abilityRequest, hostBundleName, extensionRecord, isLoaded); in GetOrCreateExtensionRecord()
170 auto extensionRecordMapKey = std::make_tuple(abilityName, bundleName, moduleName, hostBundleName); in GetOrCreateExtensionRecord()
173 int32_t ret = GetOrCreateExtensionRecordInner(abilityRequest, hostBundleName, extensionRecord, isLoaded); in GetOrCreateExtensionRecord()
283 int32_t ExtensionRecordManager::GetHostBundleNameForExtensionId(int32_t extensionRecordId, std::string &hostBundleName) in GetHostBundleNameForExtensionId() argument
291 hostBundleName = extensionRecord->hostBundleName_; in GetHostBundleNameForExtensionId()
307 auto hostBundleName in AddPreloadUIExtensionRecord() local
92 GetExtensionRecord(const int32_t extensionRecordId, const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, bool &isLoaded) GetExtensionRecord() argument
154 GetOrCreateExtensionRecord(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName, std::shared_ptr<AAFwk::AbilityRecord> &abilityRecord, bool &isLoaded) GetOrCreateExtensionRecord() argument
332 IsPreloadExtensionRecord(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, bool &isLoaded) IsPreloadExtensionRecord() argument
412 GetOrCreateExtensionRecordInner(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, bool &isLoaded) GetOrCreateExtensionRecordInner() argument
511 CreateExtensionRecord(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName, std::shared_ptr<ExtensionRecord> &extensionRecord, int32_t &extensionRecordId) CreateExtensionRecord() argument
[all...]
H A Dui_extension_ability_connect_info.cpp23 hostBundleName = parcel.ReadString(); in ReadFromParcel()
47 if (!parcel.WriteString(hostBundleName)) { in Marshalling()
48 TAG_LOGE(AAFwkTag::ABILITYMGR, "write hostBundleName failed"); in Marshalling()
H A Dextension_record.cpp71 int32_t ExtensionRecord::RegisterStateObserver(const std::string &hostBundleName) in RegisterStateObserver() argument
76 preLoadUIExtStateObserver_, {hostBundleName})); in RegisterStateObserver()
H A Dui_extension_record_factory.cpp46 const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName) in PreCheck()
48 return ExtensionRecordFactory::PreCheck(abilityRequest, hostBundleName); in PreCheck()
45 PreCheck( const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName) PreCheck() argument
H A Dextension_record_factory.cpp54 int32_t ExtensionRecordFactory::PreCheck(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName) in PreCheck() argument
61 if (hostBundleName != abilityRequest.abilityInfo.applicationName) { in PreCheck()
/foundation/ability/ability_runtime/test/unittest/ui_extension_ability_test/ui_extension_preload_test/
H A Dui_extension_preload_test.cpp60 std::string hostBundleName = "com.ohos.uiextensionuser"; in HWTEST_F() local
61 auto ret = AbilityManagerClient::GetInstance()->PreloadUIExtensionAbility(providerWant, hostBundleName, in HWTEST_F()
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Drunning_form_info.cpp32 hostBundleName = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
79 // write hostBundleName in Marshalling()
80 if (!parcel.WriteString16(Str8ToStr16(hostBundleName))) { in Marshalling()
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dui_extension_ability_connect_info.h32 std::string hostBundleName = ""; // The bundleName of uiextensionability user. member in OHOS::AbilityRuntime::UIExtensionAbilityConnectInfo
/foundation/ability/form_fwk/services/include/
H A Dform_event_report.h35 std::string hostBundleName = ""; member
63 std::string hostBundleName = ""; member
H A Dform_observer_record.h61 void SetBindHostBundle(const std::string &hostBundleName) in SetBindHostBundle() argument
63 bindHostBundle = hostBundleName; in SetBindHostBundle()
H A Dform_host_record.h193 * @param hostBundleName Host bundle name.
195 void SetHostBundleName(const std::string &hostBundleName);
H A Dform_data_mgr.h583 * @param hostBundleName the bundle name of form host.
587 ErrCode HandleFormAddObserver(const std::string hostBundleName, const int64_t formId);
591 * @param hostBundleName the bundle name of form host.
595 ErrCode HandleFormRemoveObserver(const std::string hostBundleName, const RunningFormInfo runningFormInfo);
704 * @param hostBundleName the bundle name of form host.
/foundation/ability/form_fwk/test/fuzztest/formhostrecord_fuzzer/
H A Dformhostrecord_fuzzer.cpp77 std::string hostBundleName(data, size); in DoSomethingInterestingWithMyAPI()
78 formHostRecord.SetHostBundleName(hostBundleName); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Drunning_form_info.h41 std::string hostBundleName; member
/foundation/ability/form_fwk/test/fuzztest/formiteminfo_fuzzer/
H A Dformiteminfo_fuzzer.cpp64 std::string hostBundleName(data, size); in DoSomethingInterestingWithMyAPI()
65 formItemInfo.SetHostBundleName(hostBundleName); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/services/src/
H A Dform_host_record.cpp317 * @param hostBundleName Host bundle name.
319 void FormHostRecord::SetHostBundleName(const std::string &hostBundleName) in SetHostBundleName() argument
321 hostBundleName_ = hostBundleName; in SetHostBundleName()
H A Dform_event_report.cpp115 EVENT_KEY_HOST_BUNDLE_NAME, eventInfo.hostBundleName); in SendFormEvent()
125 EVENT_KEY_HOST_BUNDLE_NAME, eventInfo.hostBundleName); in SendFormEvent()
156 EVENT_KEY_HOST_BUNDLE_NAME, eventInfo.hostBundleName); in SendSecondFormEvent()
H A Dform_data_mgr.cpp2003 runningFormInfo.hostBundleName = formHostRecords.begin()->GetHostBundleName(); in GetRunningFormInfosByFormId()
2011 ErrCode FormDataMgr::HandleFormAddObserver(const std::string hostBundleName, const int64_t formId) in HandleFormAddObserver() argument
2022 FormObserverRecord::GetInstance().onFormAdd(hostBundleName, runningFormInfo); in HandleFormAddObserver()
2026 ErrCode FormDataMgr::HandleFormRemoveObserver(const std::string hostBundleName, const RunningFormInfo runningFormInfo) in HandleFormRemoveObserver() argument
2032 FormObserverRecord::GetInstance().onFormRemove(hostBundleName, runningFormInfo); in HandleFormRemoveObserver()
2304 FormBmsHelper::GetInstance().GetBundleNameByUid(*dbRecord.formUserUids.begin(), info.hostBundleName); in GetUnusedFormInfos()
2332 info.hostBundleName = formHostRecords.begin()->GetHostBundleName(); in GetRunningFormInfos()
2354 std::string hostBundleName = ""; in GetUnusedFormInfos() local
2355 auto ret = FormBmsHelper::GetInstance().GetBundleNameByUid(uid, hostBundleName); in GetUnusedFormInfos()
2360 if (hostBundleName ! in GetUnusedFormInfos()
2396 auto hostBundleName = formHostRecords.begin()->GetHostBundleName(); GetRunningFormInfosByBundleName() local
[all...]
H A Dform_item_info.cpp258 * @param hostBundleName Host bundle Name.
260 void FormItemInfo::SetHostBundleName(const std::string &hostBundleName) in SetHostBundleName() argument
262 hostBundleName_ = hostBundleName; in SetHostBundleName()
H A Dform_dump_mgr.cpp138 formInfo += " hostBundleName [" + formHostRecord.GetHostBundleName() + "]\n"; in DumpFormHostInfo()
221 if (info.hostBundleName == formHostBundleName) { in AppendRunningFormInfos()
317 countMap[info.hostBundleName]++; in DumpRunningFormInfos()
321 infosResult += "hostBundleName [ " + infoPair.first + " ]\n"; in DumpRunningFormInfos()

Completed in 15 milliseconds

12