Home
last modified time | relevance | path

Searched refs:GetElement (Results 1 – 25 of 261) sorted by relevance

1234567891011

/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/extension_manager/src/
H A Dextension_manager_client.cpp102 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str()); in ConnectServiceExtensionAbility()
106 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectServiceExtensionAbility()
118 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str()); in ConnectServiceExtensionAbility()
122 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectServiceExtensionAbility()
134 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str()); in ConnectEnterpriseAdminExtensionAbility()
138 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectEnterpriseAdminExtensionAbility()
150 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str()); in ConnectExtensionAbility()
155 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectExtensionAbility()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dfree_install_manager.cpp125 …RemoveFreeInstallInfo(info.want.GetElement().GetBundleName(), info.want.GetElement().GetAbilityNam… in StartFreeInstall()
358 if (info.want.GetElement().GetAbilityName().empty()) { in StartAbilityByFreeInstall()
379 if (info.want.GetElement().GetAbilityName().empty()) { in StartAbilityByPreInstall()
407 if (info.want.GetElement().GetAbilityName().empty()) { in StartAbilityByConvertedWant()
448 want.SetElement(launchWant.GetElement()); in UpdateElementName()
484 std::string wantDeviceId = want.GetElement().GetDeviceID(); in ConnectFreeInstall()
553 want.GetElement().GetModuleName().c_str()); in PostUpgradeAtomicServiceTask()
554 … std::string nameKey = want.GetElement().GetBundleName() + want.GetElement().GetModuleName(); in PostUpgradeAtomicServiceTask()
594 if ((*it).want.GetElement().GetBundleName() == bundleName && in RemoveFreeInstallInfo()
721 RemoveFreeInstallInfo(want.GetElement().GetBundleName(), want.GetElement().GetAbilityName(), in NotifyInsightIntentFreeInstallResult()
[all …]
H A Dability_manager_client.cpp165 … want.GetElement().GetAbilityName().c_str(), want.GetElement().GetBundleName().c_str(), intentId); in StartAbilityByInsightIntent()
294 … want.GetElement().GetAbilityName().c_str(), want.GetElement().GetBundleName().c_str(), userId); in StartExtensionAbility()
368 … want.GetElement().GetAbilityName().c_str(), want.GetElement().GetBundleName().c_str(), userId); in StopExtensionAbility()
515 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectAbility()
526 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectAbility()
537 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); in ConnectUIServiceExtesnionAbility()
549 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), in ConnectDataShareExtensionAbility()
555 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), in ConnectDataShareExtensionAbility()
567 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str()); in ConnectExtensionAbility()
583 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), in ConnectUIExtensionAbility()
[all …]
H A Dstart_ability_handler.cpp102 eventInfo.bundleName = want.GetElement().GetBundleName(); in BuildEventInfo()
103 eventInfo.moduleName = want.GetElement().GetModuleName(); in BuildEventInfo()
104 eventInfo.abilityName = want.GetElement().GetAbilityName(); in BuildEventInfo()
H A Dextension_record_manager.cpp167 std::string abilityName = abilityRequest.want.GetElement().GetAbilityName(); in GetOrCreateExtensionRecord()
168 std::string bundleName = abilityRequest.want.GetElement().GetBundleName(); in GetOrCreateExtensionRecord()
169 std::string moduleName = abilityRequest.want.GetElement().GetModuleName(); in GetOrCreateExtensionRecord()
301 abilityRecord->GetWant().GetElement().GetBundleName(), in AddPreloadUIExtensionRecord()
302 abilityRecord->GetWant().GetElement().GetModuleName(), hostBundleName); in AddPreloadUIExtensionRecord()
304 hostBundleName.c_str(), abilityRecord->GetWant().GetElement().GetURI().c_str()); in AddPreloadUIExtensionRecord()
328 std::string abilityName = abilityRequest.want.GetElement().GetAbilityName(); in IsPreloadExtensionRecord()
329 std::string bundleName = abilityRequest.want.GetElement().GetBundleName(); in IsPreloadExtensionRecord()
330 std::string moduleName = abilityRequest.want.GetElement().GetModuleName(); in IsPreloadExtensionRecord()
705 callerAbilityRecord->GetWant().GetElement().GetURI().c_str(), callerAbilityRecord->GetPid(), in GetCallerTokenList()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/free_install_manager_test/
H A Dfree_install_manager_test.cpp93 std::string bundleName = (*it).want.GetElement().GetBundleName();
94 std::string abilityName = (*it).want.GetElement().GetAbilityName();
95 if (want.GetElement().GetBundleName().compare(bundleName) != 0 ||
96 want.GetElement().GetAbilityName().compare(abilityName) != 0) {
148 std::string bundleName = (*it).want.GetElement().GetBundleName();
150 if (want.GetElement().GetBundleName().compare(bundleName) != 0 ||
184 std::string bundleName = (*it).want.GetElement().GetBundleName();
187 if (want.GetElement().GetBundleName().compare(bundleName) == 0 &&
218 std::string bundleName = (*it).want.GetElement().GetBundleName();
221 if (want.GetElement().GetBundleName().compare(bundleName) == 0 &&
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/want_agent_info_test/
H A Dwant_agent_info_test.cpp95 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(), want->GetElement().GetBun…
96 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetAbilityName(), want->GetElement().GetAb…
129 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(), want->GetElement().GetBun…
130 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetAbilityName(), want->GetElement().GetAb…
163 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(), want->GetElement().GetBun…
164 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetAbilityName(), want->GetElement().GetAb…
174 EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(),
175 wantAgentInfo1.GetWants().at(0)->GetElement().GetBundleName());
177 wantAgentInfo1.GetWants().at(0)->GetElement().GetAbilityName());
284 …EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(), want->GetElement().GetBun…
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/trigger_Info_test/
H A Dtrigger_Info_test.cpp101 EXPECT_EQ(triggerInfo.want_->GetElement().GetBundleName(), "bundleName");
102 EXPECT_EQ(triggerInfo.want_->GetElement().GetAbilityName(), "abilityName");
127 EXPECT_EQ(triggerInfo.want_->GetElement().GetBundleName(), "bundleName");
128 EXPECT_EQ(triggerInfo.want_->GetElement().GetAbilityName(), "abilityName");
135 EXPECT_EQ(triggerInfo1.want_->GetElement().GetBundleName(), "bundleName");
136 EXPECT_EQ(triggerInfo1.want_->GetElement().GetAbilityName(), "abilityName");
180 EXPECT_EQ(builder->want_->GetElement().GetBundleName(), "bundleName");
181 EXPECT_EQ(builder->want_->GetElement().GetAbilityName(), "abilityName");
222 EXPECT_EQ(info->want_->GetElement().GetBundleName(), "bundleName");
223 EXPECT_EQ(info->want_->GetElement().GetAbilityName(), "abilityName");
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Dcommon_event_listener.cpp77 HILOGI("PACKAGE_ADDED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent()
78 … DmsBmStorage::GetInstance()->SaveStorageDistributeInfo(want.GetElement().GetBundleName()); in OnReceiveEvent()
81 HILOGI("PACKAGE_CHANGED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent()
82 … DmsBmStorage::GetInstance()->SaveStorageDistributeInfo(want.GetElement().GetBundleName(), true); in OnReceiveEvent()
85 HILOGI("PACKAGE_REMOVED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent()
86 … DmsBmStorage::GetInstance()->DeleteStorageDistributeInfo(want.GetElement().GetBundleName()); in OnReceiveEvent()
87 … DMSContinueRecvMgr::GetInstance().NotifyPackageRemoved(want.GetElement().GetBundleName()); in OnReceiveEvent()
H A Ddistributed_sched_service.cpp455 std::string deviceId = want.GetElement().GetDeviceID(); in StartRemoteAbility()
503 std::string deviceId = want.GetElement().GetDeviceID(); in StartAbilityFromRemote()
535 if (want.GetElement().GetBundleName().empty() && want.GetElement().GetAbilityName().empty()) { in SendResultFromRemote()
926 std::string deviceId = want.GetElement().GetDeviceID(); in DealDSchedEventResult()
962 … GetAnonymStr(want.GetElement().GetDeviceID()).c_str(), want.GetElement().GetBundleName().c_str(), in StartContinuation()
963 want.GetElement().GetAbilityName().c_str()); in StartContinuation()
1582 session.AddElement(want.GetElement()); in SaveCallerComponent()
1589 session.AddElement(want.GetElement()); in SaveCallerComponent()
2862 std::string deviceId = want.GetElement().GetDeviceID(); in StartRemoteFreeInstall()
3104 std::string bundleName = want.GetElement().GetBundleName(); in RegisterAppStateObserver()
[all …]
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp77 EffectJsonPtr imageEffect = root->GetElement(IMAGE_EFFECT);
82 EffectJsonPtr filterObject = imageEffect->GetElement(FILTERS);
93 EffectJsonPtr values = filters[0]->GetElement(VALUES);
99 values = filters[1]->GetElement(VALUES);
103 EffectJsonPtr name = imageEffect->GetElement(NAME);
117 EffectJsonPtr imageEffect = root->GetElement(IMAGE_EFFECT);
121 EffectJsonPtr values = filters[0]->GetElement(VALUES);
131 EffectJsonPtr filtersObject = imageEffect->GetElement(FILTERS);
283 EffectJsonPtr imageEffect = root->GetElement(IMAGE_EFFECT);
285 EffectJsonPtr values = imageEffect->GetElement(VALUES);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_manager.cpp58 …pluginTemplate.SetAbility(want.GetElement().GetBundleName() + "/" + want.GetElement().GetAbilityNa… in Request()
140 …pluginTemplate.SetAbility(want.GetElement().GetBundleName() + "/" + want.GetElement().GetAbilityNa… in OnPushCallBack()
186 … want.GetElement().GetBundleName() + "/" + want.GetElement().GetAbilityName()); in OnReturnRequest()
271 if (want.GetElement().GetBundleName().empty()) { in GetPackagePath()
279 if (want.GetElement().GetAbilityName().empty()) { in GetPackagePath()
282 … want.GetElement().GetBundleName(), AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo); in GetPackagePath()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/
H A Dservice_extension_context.cpp33 TAG_LOGD(AAFwkTag::APPKIT, "ability:%{public}s", want.GetElement().GetAbilityName().c_str()); in StartAbility()
44 TAG_LOGD(AAFwkTag::APPKIT, "ability:%{public}s", want.GetElement().GetAbilityName().c_str()); in StartAbility()
57 want.GetElement().GetAbilityName().c_str()); in StartAbilityAsCaller()
71 want.GetElement().GetAbilityName().c_str()); in StartAbilityAsCaller()
118 …GetAbilityInfo() == nullptr ? "" : GetAbilityInfo()->name.c_str(), want.GetElement().GetAbilityNam… in ConnectAbility()
132 accountId, want.GetElement().GetURI().c_str(), callerName.c_str()); in StartAbilityWithAccount()
207 …GetAbilityInfo() == nullptr ? "" : GetAbilityInfo()->name.c_str(), want.GetElement().GetAbilityNam… in DisconnectAbility()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Djson_helper.cpp102 EffectJsonPtr EffectJson::GetElement(const std::string &key) in GetElement() function in OHOS::Media::Effect::EffectJson
121 auto element = GetElement(key); in GetInt()
139 auto element = GetElement(key); in GetUInt()
157 auto element = GetElement(key); in GetFloat()
175 auto element = GetElement(key); in GetDouble()
193 auto element = GetElement(key); in GetBool()
211 auto element = GetElement(key); in GetString()
236 auto element = GetElement(key); in GetArray()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dextension_test.cpp191 auto deviceId = extension_->launchWant_->GetElement().GetDeviceID();
192 auto bundleName = extension_->launchWant_->GetElement().GetBundleName();
193 auto abilityName = extension_->launchWant_->GetElement().GetAbilityName();
212 auto deviceId = extension_->lastRequestWant_->GetElement().GetDeviceID();
213 auto bundleName = extension_->lastRequestWant_->GetElement().GetBundleName();
214 auto abilityName = extension_->lastRequestWant_->GetElement().GetAbilityName();
295 auto deviceId = extension_->lastRequestWant_->GetElement().GetDeviceID();
296 auto bundleName = extension_->lastRequestWant_->GetElement().GetBundleName();
297 auto abilityName = extension_->lastRequestWant_->GetElement().GetAbilityName();
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/
H A Dconnection_manager.cpp60 AppExecFwk::ElementName connectReceiver = want.GetElement(); in ConnectAbilityInner()
122 if (!connectReceiver.GetElement().GetAbilityName().empty()) { in MatchConnection()
124 …connectReceiver.GetElement().GetBundleName() == connection.first.connectReceiver.GetBundleName() && in MatchConnection()
125 …connectReceiver.GetElement().GetModuleName() == connection.first.connectReceiver.GetModuleName() && in MatchConnection()
126 …connectReceiver.GetElement().GetAbilityName() == connection.first.connectReceiver.GetAbilityName(); in MatchConnection()
130 …connectReceiver.GetElement().GetBundleName() == connection.first.connectReceiver.GetBundleName() && in MatchConnection()
185 auto element = connectReceiver.GetElement(); in DisconnectAbility()
H A Dability_context_impl.cpp212 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), accountId); in StartAbilityWithAccount()
278 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), accountId); in StartUIServiceExtensionAbility()
290 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), accountId); in StartServiceExtensionAbility()
302 … want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), accountId); in StopServiceExtensionAbility()
398 …abilityInfo_ == nullptr ? "" : abilityInfo_->name.c_str(), want.GetElement().GetAbilityName().c_st… in ConnectAbility()
436 …abilityInfo_ == nullptr ? "" : abilityInfo_->name.c_str(), want.GetElement().GetAbilityName().c_st… in DisconnectAbility()
934 if (iter.second.GetElement().GetBundleName() == want.GetElement().GetBundleName() && in IsUIExtensionExist()
935 iter.second.GetElement().GetModuleName() == want.GetElement().GetModuleName() && in IsUIExtensionExist()
936 iter.second.GetElement().GetAbilityName() == want.GetElement().GetAbilityName()) { in IsUIExtensionExist()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Dcontrol_interceptor.cpp51 controlWant->SetParam(INTERCEPT_BUNDLE_NAME, param.want.GetElement().GetBundleName()); in DoProcess()
52 controlWant->SetParam(INTERCEPT_ABILITY_NAME, param.want.GetElement().GetAbilityName()); in DoProcess()
53 controlWant->SetParam(INTERCEPT_MODULE_NAME, param.want.GetElement().GetModuleName()); in DoProcess()
H A Dextension_control_interceptor.cpp58 callerAbilityInfo.extensionTypeName, param.want.GetElement().GetURI())) { in DoProcess()
73 callerAbilityInfo.bundleName == param.want.GetElement().GetBundleName()) { in GetCallerAbilityInfo()
94 …StartAbilityUtils::startAbilityInfo->abilityInfo.name == param.want.GetElement().GetAbilityName())… in GetTargetAbilityInfo()
H A Ddisposed_rule_interceptor.cpp146 std::string moduleName = want.GetElement().GetModuleName(); in CheckDisposedRule()
147 std::string abilityName = want.GetElement().GetAbilityName(); in CheckDisposedRule()
269 disposedRule.want->SetParam(INTERCEPT_BUNDLE_NAME, want.GetElement().GetBundleName()); in SetInterceptInfo()
270 disposedRule.want->SetParam(INTERCEPT_ABILITY_NAME, want.GetElement().GetAbilityName()); in SetInterceptInfo()
271 disposedRule.want->SetParam(INTERCEPT_MODULE_NAME, want.GetElement().GetModuleName()); in SetInterceptInfo()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/completed_dispatcher_test/
H A Dcompleted_dispatcher_test.cpp144 EXPECT_EQ(completedDispatcher.want_.GetElement().GetBundleName(), "bundleName");
145 EXPECT_EQ(completedDispatcher.want_.GetElement().GetAbilityName(), "ability");
172 EXPECT_EQ(completedDispatcher.want_.GetElement().GetBundleName(), "bundleName");
173 EXPECT_EQ(completedDispatcher.want_.GetElement().GetAbilityName(), "ability");
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/common/
H A Dability_manager_adapter.cpp71 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility()
76 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility()
93 AppExecFwk::ElementName element = want.GetElement(); in ConnectAbility()
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/DemoAbility/
H A Ddemo_ability_test.cpp43 EXPECT_STREQ(std::string("abilityName").c_str(), want.GetElement().GetAbilityName().c_str()); in OnStart()
122 EXPECT_STREQ(std::string("abilityName").c_str(), want.GetElement().GetAbilityName().c_str()); in OnConnect()
130 EXPECT_STREQ(std::string("abilityName").c_str(), want.GetElement().GetAbilityName().c_str()); in OnDisconnect()
136 EXPECT_STREQ(std::string("abilityName").c_str(), want.GetElement().GetAbilityName().c_str()); in OnCommand()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_chart_bridge.cpp36 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetAttrOptionsAxis()
79 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetAttrOptionsSeriesPoint()
132 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetChartAttrOptionsSeriesLineStyle()
176 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetChartAttrOptionsSeriesLoop()
217 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetChartAttrOptionsSeries()
326 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in ParseAttrDataStyle()
408 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetAttrDataset()
444 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in ParseAttrSegment()
484 shared_ptr<JsValue> key = propertyNames->GetElement(runtime, i); in GetAttrOptionsObject()
H A Djsi_input_bridge.cpp35 const auto& key = properties->GetElement(runtime, i); in GetInputOption()
66 const auto& itemKey = properties->GetElement(runtime, i); in ParseInputOptions()

1234567891011