/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | extension_record_manager.h | 89 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 D | ui_extension_record_factory.h | 30 int32_t PreCheck(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName) override;
|
H A D | extension_record.h | 54 int32_t RegisterStateObserver(const std::string &hostBundleName);
|
H A D | extension_record_factory.h | 63 * @param hostBundleName Indicates the bundle name of the host. 66 virtual int32_t PreCheck(const AAFwk::AbilityRequest &abilityRequest, const std::string &hostBundleName);
|
H A D | ability_connect_manager.h | 108 * @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 D | extension_record_manager.cpp | 93 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 D | ui_extension_ability_connect_info.cpp | 23 hostBundleName = parcel.ReadString(); in ReadFromParcel() 47 if (!parcel.WriteString(hostBundleName)) { in Marshalling() 48 TAG_LOGE(AAFwkTag::ABILITYMGR, "write hostBundleName failed"); in Marshalling()
|
H A D | extension_record.cpp | 71 int32_t ExtensionRecord::RegisterStateObserver(const std::string &hostBundleName) in RegisterStateObserver() argument 76 preLoadUIExtStateObserver_, {hostBundleName})); in RegisterStateObserver()
|
H A D | ui_extension_record_factory.cpp | 46 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 D | extension_record_factory.cpp | 54 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 D | ui_extension_preload_test.cpp | 60 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 D | running_form_info.cpp | 32 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 D | ui_extension_ability_connect_info.h | 32 std::string hostBundleName = ""; // The bundleName of uiextensionability user. member in OHOS::AbilityRuntime::UIExtensionAbilityConnectInfo
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_event_report.h | 35 std::string hostBundleName = ""; member 63 std::string hostBundleName = ""; member
|
H A D | form_observer_record.h | 61 void SetBindHostBundle(const std::string &hostBundleName) in SetBindHostBundle() argument 63 bindHostBundle = hostBundleName; in SetBindHostBundle()
|
H A D | form_host_record.h | 193 * @param hostBundleName Host bundle name. 195 void SetHostBundleName(const std::string &hostBundleName);
|
H A D | form_data_mgr.h | 583 * @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 D | formhostrecord_fuzzer.cpp | 77 std::string hostBundleName(data, size); in DoSomethingInterestingWithMyAPI() 78 formHostRecord.SetHostBundleName(hostBundleName); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | running_form_info.h | 41 std::string hostBundleName; member
|
/foundation/ability/form_fwk/test/fuzztest/formiteminfo_fuzzer/ |
H A D | formiteminfo_fuzzer.cpp | 64 std::string hostBundleName(data, size); in DoSomethingInterestingWithMyAPI() 65 formItemInfo.SetHostBundleName(hostBundleName); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_host_record.cpp | 317 * @param hostBundleName Host bundle name. 319 void FormHostRecord::SetHostBundleName(const std::string &hostBundleName) in SetHostBundleName() argument 321 hostBundleName_ = hostBundleName; in SetHostBundleName()
|
H A D | form_event_report.cpp | 115 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 D | form_data_mgr.cpp | 2003 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 D | form_item_info.cpp | 258 * @param hostBundleName Host bundle Name. 260 void FormItemInfo::SetHostBundleName(const std::string &hostBundleName) in SetHostBundleName() argument 262 hostBundleName_ = hostBundleName; in SetHostBundleName()
|
H A D | form_dump_mgr.cpp | 138 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()
|