/ohos5.0/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().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 D | free_install_manager.cpp | 125 …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 D | ability_manager_client.cpp | 165 … 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 D | start_ability_handler.cpp | 102 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 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() 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 D | free_install_manager_test.cpp | 93 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 D | want_agent_info_test.cpp | 95 …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 D | trigger_Info_test.cpp | 101 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 D | common_event_listener.cpp | 77 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 D | distributed_sched_service.cpp | 455 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 D | TestJsonHelper.cpp | 77 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 D | plugin_component_manager.cpp | 58 …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 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().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 D | 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() 236 auto element = GetElement(key); in GetArray()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | extension_test.cpp | 191 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 D | connection_manager.cpp | 60 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 D | ability_context_impl.cpp | 212 … 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 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()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/completed_dispatcher_test/ |
H A D | completed_dispatcher_test.cpp | 144 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 D | ability_manager_adapter.cpp | 71 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 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_chart_bridge.cpp | 36 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 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()
|