/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/ |
H A D | target_ability_info.cpp | 30 const char* JSON_KEY_TARGETINFO = "targetInfo"; 105 void to_json(nlohmann::json &jsonObject, const TargetInfo &targetInfo) in to_json() argument 108 {JSON_KEY_TRANSACTID, targetInfo.transactId}, in to_json() 109 {Constants::BUNDLE_NAME, targetInfo.bundleName}, in to_json() 110 {Constants::MODULE_NAME, targetInfo.moduleName}, in to_json() 111 {Constants::ABILITY_NAME, targetInfo.abilityName}, in to_json() 112 {JSON_KEY_ACTION, targetInfo.action}, in to_json() 113 {JSON_KEY_URI, targetInfo.uri}, in to_json() 114 {JSON_KEY_TYPE, targetInfo.type}, in to_json() 115 {JSON_KEY_FLAGS, targetInfo in to_json() 126 from_json(const nlohmann::json &jsonObject, TargetInfo &targetInfo) from_json() argument 307 TargetInfo *targetInfo = new (std::nothrow) TargetInfo(); Unmarshalling() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/distributed_manager/ |
H A D | bundle_distributed_manager.cpp | 60 AppExecFwk::TargetInfo targetInfo; in ConvertTargetAbilityInfo() local 61 targetInfo.transactId = std::to_string(this->GetTransactId()); in ConvertTargetAbilityInfo() 62 targetInfo.bundleName = bundleName; in ConvertTargetAbilityInfo() 63 targetInfo.moduleName = moduleName; in ConvertTargetAbilityInfo() 64 targetInfo.abilityName = abilityName; in ConvertTargetAbilityInfo() 65 targetAbilityInfo.targetInfo = targetInfo; in ConvertTargetAbilityInfo() 134 targetAbilityInfo.targetInfo.bundleName, 0, userId, applicationInfo)) { in CheckAbilityEnableInstall() 135 APP_LOGE("fail get bundleName %{public}s", targetAbilityInfo.targetInfo.bundleName.c_str()); in CheckAbilityEnableInstall() 149 auto ret = queryAbilityParamsMap_.emplace(targetAbilityInfo.targetInfo in CheckAbilityEnableInstall() 196 const std::string targetInfo = GetJsonStrFromInfo(targetAbilityInfo); QueryRpcIdByAbilityToServiceCenter() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/ |
H A D | bundle_connect_ability_mgr.cpp | 232 targetAbilityInfo->targetInfo.callingAppIds.emplace_back(innerBundleInfo.GetBaseBundleInfo().appId); in GetPreloadList() 234 targetAbilityInfo->targetInfo.preloadModuleNames.emplace_back(item); in GetPreloadList() 252 sptr<TargetInfo> targetInfo = new(std::nothrow) TargetInfo(); in ProcessPreload() local 253 if (targetInfo == nullptr) { in ProcessPreload() 254 LOG_E(BMS_TAG_DEFAULT, "targetInfo is nullptr"); in ProcessPreload() 262 targetAbilityInfo->targetInfo = *targetInfo; in ProcessPreload() 270 targetAbilityInfo->targetInfo.transactId = std::to_string(this->GetTransactId()); in ProcessPreload() 271 targetAbilityInfo->targetInfo.bundleName = bundleName; in ProcessPreload() 272 targetAbilityInfo->targetInfo in ProcessPreload() 934 sptr<TargetInfo> targetInfo = new(std::nothrow) TargetInfo(); CheckIsModuleNeedUpdate() local 1046 sptr<TargetInfo> targetInfo = new(std::nothrow) TargetInfo(); QueryAbilityInfo() local 1082 sptr<TargetInfo> targetInfo = new(std::nothrow) TargetInfo(); SilentInstall() local 1141 sptr<TargetInfo> targetInfo = new(std::nothrow) TargetInfo(); UpgradeAtomicService() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/ |
H A D | bms_bundle_free_install_base_test.cpp | 244 TargetInfo targetInfo; in HWTEST_F() local 245 targetInfo.bundleName = Constants::BUNDLE_NAME; in HWTEST_F() 249 auto ret = targetInfo.Marshalling(parcel); in HWTEST_F() 263 TargetInfo targetInfo; in HWTEST_F() local 264 targetInfo.bundleName = Constants::BUNDLE_NAME; in HWTEST_F() 265 targetInfo.moduleName = Constants::MODULE_NAME; in HWTEST_F() 266 targetInfo.abilityName = Constants::ABILITY_NAME; in HWTEST_F() 267 targetInfo.flags = REASON_FLAG; in HWTEST_F() 268 targetInfo.reasonFlag = REASON_FLAG; in HWTEST_F() 274 to_json(jsonObject, targetInfo); in HWTEST_F() [all...] |
H A D | bms_bundle_free_install_test.cpp | 1192 targetAbilityInfo.targetInfo.transactId, freeInstallParams); in HWTEST_F() 1194 EXPECT_EQ(targetAbilityInfo.targetInfo.transactId, ""); in HWTEST_F() 1285 EXPECT_EQ(targetAbilityInfo->targetInfo.bundleName, BUNDLE_NAME); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | gesture_impl.cpp | 34 ArkUIGestureEventTargetInfo targetInfo = {}; member 251 *info = reinterpret_cast<ArkUI_GestureEventTargetInfo*>(&gestureRecognizer->targetInfo); in OH_ArkUI_GetGestureEventTargetInfo() 257 auto* targetInfo = reinterpret_cast<ArkUIGestureEventTargetInfo*>(info); in OH_ArkUI_GestureEventTargetInfo_IsScrollBegin() local 258 if (!targetInfo) { in OH_ArkUI_GestureEventTargetInfo_IsScrollBegin() 264 ->gestureEventTargetInfoIsScrollBegin(targetInfo, ret); in OH_ArkUI_GestureEventTargetInfo_IsScrollBegin() 269 auto* targetInfo = reinterpret_cast<ArkUIGestureEventTargetInfo*>(info); in OH_ArkUI_GestureEventTargetInfo_IsScrollEnd() local 270 if (!targetInfo) { in OH_ArkUI_GestureEventTargetInfo_IsScrollEnd() 276 ->gestureEventTargetInfoIsScrollEnd(targetInfo, ret); in OH_ArkUI_GestureEventTargetInfo_IsScrollEnd() 502 recognizer->targetInfo.uiNode = reinterpret_cast<void*>(node->uiNodeHandle); in AddGestureToNode() 510 recognizer->targetInfo in RemoveGestureFromNode() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/ |
H A D | bms_bundle_kit_service_base_test.cpp | 493 EXPECT_EQ(targetAbilityInfo.targetInfo.bundleName, bundleName); in HWTEST_F() 494 EXPECT_EQ(targetAbilityInfo.targetInfo.moduleName, moduleName); in HWTEST_F() 495 EXPECT_EQ(targetAbilityInfo.targetInfo.abilityName, abilityName); in HWTEST_F() 513 EXPECT_EQ(targetAbilityInfo.targetInfo.bundleName, nullString); in HWTEST_F() 514 EXPECT_EQ(targetAbilityInfo.targetInfo.moduleName, nullString); in HWTEST_F() 515 EXPECT_EQ(targetAbilityInfo.targetInfo.abilityName, nullString); in HWTEST_F() 858 targetAbilityInfo.targetInfo.abilityName = abilityName; in HWTEST_F() 859 targetAbilityInfo.targetInfo.moduleName = moduleName; in HWTEST_F() 860 targetAbilityInfo.targetInfo.bundleName = bundleName; in HWTEST_F() 884 targetAbilityInfo.targetInfo in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/free_install/ |
H A D | target_ability_info.h | 57 TargetInfo targetInfo; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/distributed_manager/ |
H A D | bundle_distributed_manager.h | 42 bool QueryRpcIdByAbilityToServiceCenter(const TargetAbilityInfo &targetInfo);
|
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/ |
H A D | audio_policy_service_second_unit_test.cpp | 1036 StreamPropInfo targetInfo; in HWTEST_F() local 1040 server->audioPolicyService_.UpdateStreamCommonInfo(moduleInfo, targetInfo, sourceType); in HWTEST_F() 1043 server->audioPolicyService_.UpdateStreamCommonInfo(moduleInfo, targetInfo, sourceType); in HWTEST_F() 1073 SourceInfo targetInfo; in HWTEST_F() local 1075 server->audioPolicyService_.RectifyModuleInfo(moduleInfo, moduleInfoList, targetInfo); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_serializer.h | 83 void to_json(nlohmann::json &jsonObject, const TargetInfo &targetInfo); 84 void from_json(const nlohmann::json &jsonObject, TargetInfo &targetInfo);
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 7625 int32_t AudioPolicyService::FetchTargetInfoForSessionAdd(const SessionInfo sessionInfo, StreamPropInfo &targetInfo, in FetchTargetInfoForSessionAdd() argument 7655 targetInfo = targetStreamPropInfo; in FetchTargetInfoForSessionAdd() 7664 targetInfo.channelLayout_ == PC_MIC_CHANNEL_NUM) { in FetchTargetInfoForSessionAdd() 7666 targetInfo.channelLayout_ = HEADPHONE_CHANNEL_NUM; in FetchTargetInfoForSessionAdd() 7673 static_cast<AudioSampleFormat>(formatFromParserStrToEnum[targetInfo.format_])); in FetchTargetInfoForSessionAdd() 7674 targetInfo.bufferSize_ = BUFFER_CALC_20MS * targetInfo.sampleRate_ / static_cast<uint32_t>(MS_PER_S) in FetchTargetInfoForSessionAdd() 7675 * targetInfo.channelLayout_ * sampleFormatBits; in FetchTargetInfoForSessionAdd() 7747 StreamPropInfo targetInfo; in OnCapturerSessionAdded() local 7749 int32_t res = FetchTargetInfoForSessionAdd(sessionInfo, targetInfo, targetSourc in OnCapturerSessionAdded() 7773 PrepareAndOpenNormalSource(SessionInfo &sessionInfo, StreamPropInfo &targetInfo, SourceType targetSource) PrepareAndOpenNormalSource() argument 7938 StreamPropInfo targetInfo; ReloadSourceForSession() local 8153 UpdateStreamCommonInfo(AudioModuleInfo &moduleInfo, StreamPropInfo &targetInfo, SourceType sourceType) UpdateStreamCommonInfo() argument [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/ |
H A D | audio_policy_service.h | 777 int32_t FetchTargetInfoForSessionAdd(const SessionInfo sessionInfo, StreamPropInfo &targetInfo, 958 void UpdateStreamCommonInfo(AudioModuleInfo &moduleInfo, StreamPropInfo &targetInfo, SourceType sourceType); 1038 void PrepareAndOpenNormalSource(SessionInfo &sessionInfo, StreamPropInfo &targetInfo, SourceType targetSource);
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 642 TargetInfo targetInfo = { windowInfo->privacyMode, windowInfo->id, windowInfo->agentWindowId }; in GetPidAndUpdateTarget() local 643 secSubWindows.emplace_back(std::make_pair(windowInfo->pid, targetInfo)); in GetPidAndUpdateTarget() 648 targetInfo.privacyMode = item.privacyMode; in GetPidAndUpdateTarget() 649 targetInfo.id = item.id; in GetPidAndUpdateTarget() 650 targetInfo.agentWindowId = item.agentWindowId; in GetPidAndUpdateTarget() 651 secSubWindows.emplace_back(std::make_pair(item.pid, targetInfo)); in GetPidAndUpdateTarget()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 2337 let targetInfo = this.pathArray.splice(index, 1); 2343 this.pathArray.push(targetInfo[0]);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_gesture_modifier.cpp | 865 arkUIGestureRecognizer->targetInfo.uiNode = reinterpret_cast<void*>(AceType::RawPtr(attachNode)); in CreateGestureRecognizer()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 5929 targetAbilityInfo.targetInfo.callingBundleNames.emplace_back(BUNDLE_NAME_TEST); in HWTEST_F() 5933 targetAbilityInfo.targetInfo.bundleName = BUNDLE_NAME_TEST; in HWTEST_F() 6027 EXPECT_EQ(targetAbilityInfo->targetInfo.callingAppType, CALLING_TYPE_HARMONY_VALUE); in HWTEST_F() 6037 EXPECT_EQ(targetAbilityInfo->targetInfo.callingAppType, CALLING_TYPE_HARMONY_VALUE); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 2908 ArkUIGestureEventTargetInfo targetInfo = {}; member
|