Home
last modified time | relevance | path

Searched refs:GetElement (Results 1 - 25 of 221) sorted by relevance

123456789

/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() in ConnectEnterpriseAdminExtensionAbility()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Dcommon_event_listener.cpp76 HILOGI("PACKAGE_ADDED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent()
77 DmsBmStorage::GetInstance()->SaveStorageDistributeInfo(want.GetElement().GetBundleName()); in OnReceiveEvent()
80 HILOGI("PACKAGE_CHANGED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent()
81 DmsBmStorage::GetInstance()->SaveStorageDistributeInfo(want.GetElement().GetBundleName(), true); in OnReceiveEvent()
84 HILOGI("PACKAGE_REMOVED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent()
85 DmsBmStorage::GetInstance()->DeleteStorageDistributeInfo(want.GetElement().GetBundleName()); in OnReceiveEvent()
86 DMSContinueRecvMgr::GetInstance().NotifyPackageRemoved(want.GetElement().GetBundleName()); in OnReceiveEvent()
/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().GetBundleName()); in HWTEST_F()
96 EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetAbilityName(), want->GetElement().GetAbilityName()); in HWTEST_F()
129 EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(), want->GetElement().GetBundleName()); in HWTEST_F()
130 EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetAbilityName(), want->GetElement().GetAbilityName()); in HWTEST_F()
163 EXPECT_EQ(wantAgentInfo->GetWants().at(0)->GetElement().GetBundleName(), want->GetElement() in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/free_install_manager_test/
H A Dfree_install_manager_test.cpp93 std::string bundleName = (*it).want.GetElement().GetBundleName(); in HWTEST_F()
94 std::string abilityName = (*it).want.GetElement().GetAbilityName(); in HWTEST_F()
95 if (want.GetElement().GetBundleName().compare(bundleName) != 0 || in HWTEST_F()
96 want.GetElement().GetAbilityName().compare(abilityName) != 0) { in HWTEST_F()
148 std::string bundleName = (*it).want.GetElement().GetBundleName(); in HWTEST_F()
149 std::string abilityName = (*it).want.GetElement().GetAbilityName(); in HWTEST_F()
150 if (want.GetElement().GetBundleName().compare(bundleName) != 0 || in HWTEST_F()
151 want.GetElement().GetAbilityName().compare(abilityName) != 0) { in HWTEST_F()
184 std::string bundleName = (*it).want.GetElement().GetBundleName(); in HWTEST_F()
185 std::string abilityName = (*it).want.GetElement() in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dfree_install_manager.cpp126 RemoveFreeInstallInfo(info.want.GetElement().GetBundleName(), info.want.GetElement().GetAbilityName(), in StartFreeInstall()
221 std::string abilityName = (*it).want.GetElement().GetAbilityName(); in NotifyDmsCallback()
222 if (want.GetElement().GetAbilityName().compare(abilityName) == 0) { in NotifyDmsCallback()
267 std::string bundleName = freeInstallInfo.want.GetElement().GetBundleName(); in NotifyFreeInstallResult()
268 std::string abilityName = freeInstallInfo.want.GetElement().GetAbilityName(); in NotifyFreeInstallResult()
271 if (want.GetElement().GetBundleName().compare(bundleName) != 0 || in NotifyFreeInstallResult()
272 want.GetElement().GetAbilityName().compare(abilityName) != 0 || in NotifyFreeInstallResult()
297 std::string bundleName = freeInstallInfo.want.GetElement().GetBundleName(); in HandleOnFreeInstallSuccess()
298 std::string abilityName = freeInstallInfo.want.GetElement() in HandleOnFreeInstallSuccess()
[all...]
H A Dstart_ability_handler.cpp101 eventInfo.bundleName = want.GetElement().GetBundleName(); in BuildEventInfo()
102 eventInfo.moduleName = want.GetElement().GetModuleName(); in BuildEventInfo()
103 eventInfo.abilityName = want.GetElement().GetAbilityName(); in BuildEventInfo()
H A Dability_manager_client.cpp148 want.GetElement().GetURI().c_str(), userId); in StartAbility()
160 want.GetElement().GetURI().c_str(), userId); in StartAbility()
172 want.GetElement().GetAbilityName().c_str(), want.GetElement().GetBundleName().c_str(), intentId); in StartAbilityByInsightIntent()
184 want.GetElement().GetURI().c_str(), userId); in StartAbility()
196 want.GetElement().GetURI().c_str(), userId); in StartAbility()
209 want.GetElement().GetURI().c_str(), userId); in StartAbilityAsCaller()
222 want.GetElement().GetURI().c_str(), userId); in StartAbilityAsCaller()
234 want.GetElement().GetURI().c_str(), userId); in StartAbilityForResultAsCaller()
246 want.GetElement() in StartAbilityForResultAsCaller()
[all...]
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()
308 auto preLoadUIExtensionInfo = std::make_tuple(abilityRecord->GetWant().GetElement().GetAbilityName(), in AddPreloadUIExtensionRecord()
309 abilityRecord->GetWant().GetElement().GetBundleName(), in AddPreloadUIExtensionRecord()
310 abilityRecord->GetWant().GetElement().GetModuleName(), hostBundleName); in AddPreloadUIExtensionRecord()
312 hostBundleName.c_str(), abilityRecord->GetWant().GetElement().GetURI().c_str()); in AddPreloadUIExtensionRecord()
336 std::string abilityName = abilityRequest.want.GetElement().GetAbilityName(); in IsPreloadExtensionRecord()
337 std::string bundleName = abilityRequest.want.GetElement().GetBundleName(); in IsPreloadExtensionRecord()
338 std::string moduleName = abilityRequest.want.GetElement() in IsPreloadExtensionRecord()
[all...]
/foundation/ability/ability_runtime/test/unittest/trigger_Info_test/
H A Dtrigger_Info_test.cpp101 EXPECT_EQ(triggerInfo.want_->GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
102 EXPECT_EQ(triggerInfo.want_->GetElement().GetAbilityName(), "abilityName"); in HWTEST_F()
127 EXPECT_EQ(triggerInfo.want_->GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
128 EXPECT_EQ(triggerInfo.want_->GetElement().GetAbilityName(), "abilityName"); in HWTEST_F()
135 EXPECT_EQ(triggerInfo1.want_->GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
136 EXPECT_EQ(triggerInfo1.want_->GetElement().GetAbilityName(), "abilityName"); in HWTEST_F()
180 EXPECT_EQ(builder->want_->GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
181 EXPECT_EQ(builder->want_->GetElement().GetAbilityName(), "abilityName"); in HWTEST_F()
222 EXPECT_EQ(info->want_->GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
223 EXPECT_EQ(info->want_->GetElement() in HWTEST_F()
[all...]
/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp77 EffectJsonPtr imageEffect = root->GetElement(IMAGE_EFFECT); in HWTEST_F()
82 EffectJsonPtr filterObject = imageEffect->GetElement(FILTERS); in HWTEST_F()
93 EffectJsonPtr values = filters[0]->GetElement(VALUES); in HWTEST_F()
99 values = filters[1]->GetElement(VALUES); in HWTEST_F()
103 EffectJsonPtr name = imageEffect->GetElement(NAME); in HWTEST_F()
117 EffectJsonPtr imageEffect = root->GetElement(IMAGE_EFFECT); in HWTEST_F()
121 EffectJsonPtr values = filters[0]->GetElement(VALUES); in HWTEST_F()
131 EffectJsonPtr filtersObject = imageEffect->GetElement(FILTERS); in HWTEST_F()
283 EffectJsonPtr imageEffect = root->GetElement(IMAGE_EFFECT); in HWTEST_F()
285 EffectJsonPtr values = imageEffect->GetElement(VALUE in HWTEST_F()
[all...]
/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().GetAbilityName().c_str()); in ConnectAbility()
132 accountId, want.GetElement().GetURI().c_str(), callerName.c_str()); in StartAbilityWithAccount()
207 GetAbilityInfo() == nullptr ? "" : GetAbilityInfo()->name.c_str(), want.GetElement().GetAbilityName().c_str()); in DisconnectAbility()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dextension_test.cpp191 auto deviceId = extension_->launchWant_->GetElement().GetDeviceID(); in HWTEST_F()
192 auto bundleName = extension_->launchWant_->GetElement().GetBundleName(); in HWTEST_F()
193 auto abilityName = extension_->launchWant_->GetElement().GetAbilityName(); in HWTEST_F()
212 auto deviceId = extension_->lastRequestWant_->GetElement().GetDeviceID(); in HWTEST_F()
213 auto bundleName = extension_->lastRequestWant_->GetElement().GetBundleName(); in HWTEST_F()
214 auto abilityName = extension_->lastRequestWant_->GetElement().GetAbilityName(); in HWTEST_F()
295 auto deviceId = extension_->lastRequestWant_->GetElement().GetDeviceID(); in HWTEST_F()
296 auto bundleName = extension_->lastRequestWant_->GetElement().GetBundleName(); in HWTEST_F()
297 auto abilityName = extension_->lastRequestWant_->GetElement().GetAbilityName(); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_manager.cpp58 pluginTemplate.SetAbility(want.GetElement().GetBundleName() + "/" + want.GetElement().GetAbilityName()); in Request()
140 pluginTemplate.SetAbility(want.GetElement().GetBundleName() + "/" + want.GetElement().GetAbilityName()); 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()
/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()
/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Deffect_json_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()
235 auto element = GetElement(key); in GetArray()
/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()
/foundation/ability/ability_runtime/test/unittest/completed_dispatcher_test/
H A Dcompleted_dispatcher_test.cpp144 EXPECT_EQ(completedDispatcher.want_.GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
145 EXPECT_EQ(completedDispatcher.want_.GetElement().GetAbilityName(), "ability"); in HWTEST_F()
172 EXPECT_EQ(completedDispatcher.want_.GetElement().GetBundleName(), "bundleName"); in HWTEST_F()
173 EXPECT_EQ(completedDispatcher.want_.GetElement().GetAbilityName(), "ability"); in HWTEST_F()
/foundation/ability/ability_runtime/tools/test/mock/
H A Dmock_ability_manager_stub.cpp31 AppExecFwk::ElementName element = want.GetElement(); in StartAbility()
77 AppExecFwk::ElementName element = want.GetElement(); in StopServiceAbility()
/foundation/ability/ability_runtime/test/unittest/wants_info_test/
H A Dwants_info_test.cpp87 EXPECT_EQ(unInfo->want.GetElement().GetBundleName(), "com.ix.hiMusic"); in HWTEST_F()
88 EXPECT_EQ(unInfo->want.GetElement().GetAbilityName(), "MusicSAbility"); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/sender_info_test/
H A Dsender_info_test.cpp94 EXPECT_EQ(unInfo->want.GetElement().GetBundleName(), "com.ix.hiMusic"); in HWTEST_F()
95 EXPECT_EQ(unInfo->want.GetElement().GetAbilityName(), "MusicSAbility"); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
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()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
H A Ddefault_app_host_impl.cpp40 const ElementName& elementName = want.GetElement(); in SetDefaultApplication()
64 bool ret = dataMgr->GetElement(userId, elementName, element); in SetDefaultApplication()
66 LOG_E(BMS_TAG_DEFAULT, "GetElement failed"); in SetDefaultApplication()
/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/
H A Dconnection_manager.cpp62 AppExecFwk::ElementName connectReceiver = want.GetElement(); in ConnectAbilityInner()
124 if (!connectReceiver.GetElement().GetAbilityName().empty()) { in MatchConnection()
126 connectReceiver.GetElement().GetBundleName() == connection.first.connectReceiver.GetBundleName() && in MatchConnection()
127 connectReceiver.GetElement().GetModuleName() == connection.first.connectReceiver.GetModuleName() && in MatchConnection()
128 connectReceiver.GetElement().GetAbilityName() == connection.first.connectReceiver.GetAbilityName(); in MatchConnection()
132 connectReceiver.GetElement().GetBundleName() == connection.first.connectReceiver.GetBundleName() && in MatchConnection()
187 auto element = connectReceiver.GetElement(); in DisconnectAbility()

Completed in 16 milliseconds

123456789