/foundation/ability/ability_runtime/interfaces/inner_api/extension_manager/src/ |
H A D | extension_manager_client.cpp | 102 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 D | common_event_listener.cpp | 76 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 D | want_agent_info_test.cpp | 95 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 D | free_install_manager_test.cpp | 93 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 D | free_install_manager.cpp | 126 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 D | start_ability_handler.cpp | 101 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 D | ability_manager_client.cpp | 148 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 D | extension_record_manager.cpp | 167 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 D | trigger_Info_test.cpp | 101 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 D | TestJsonHelper.cpp | 77 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 D | service_extension_context.cpp | 33 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 D | extension_test.cpp | 191 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 D | plugin_component_manager.cpp | 58 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 D | control_interceptor.cpp | 51 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 D | extension_control_interceptor.cpp | 58 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 D | disposed_rule_interceptor.cpp | 146 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 D | effect_json_helper.cpp | 102 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 D | demo_ability_test.cpp | 43 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 D | completed_dispatcher_test.cpp | 144 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 D | mock_ability_manager_stub.cpp | 31 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 D | wants_info_test.cpp | 87 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 D | sender_info_test.cpp | 94 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 D | jsi_input_bridge.cpp | 35 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 D | default_app_host_impl.cpp | 40 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 D | connection_manager.cpp | 62 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()
|