diff --git a/services/abilitymgr/src/ability_connect_manager.cpp b/services/abilitymgr/src/ability_connect_manager.cpp index c3afff7354763fe7ff4d4d711edaebae8892ce9b..c76766e4b3c88a3ed9d8653eac278a218a2505c5 100644 --- a/services/abilitymgr/src/ability_connect_manager.cpp +++ b/services/abilitymgr/src/ability_connect_manager.cpp @@ -589,7 +589,7 @@ int AbilityConnectManager::PreloadUIExtensionAbilityInner(const AbilityRequest & int AbilityConnectManager::UnloadUIExtensionAbility(const std::shared_ptr &abilityRecord, std::string &hostBundleName) { - TAG_LOGD(AAFwkTag::ABILITYMGR, "call"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "UnloadUIExtensionAbility"); //Get preLoadUIExtensionInfo CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); auto preLoadUIExtensionInfo = std::make_tuple(abilityRecord->GetWant().GetElement().GetAbilityName(), @@ -718,7 +718,7 @@ int AbilityConnectManager::ConnectAbilityLocked(const AbilityRequest &abilityReq void AbilityConnectManager::HandleActiveAbility(std::shared_ptr &targetService, std::shared_ptr &connectRecord) { - TAG_LOGI(AAFwkTag::SERVICE_EXT, "called"); + TAG_LOGI(AAFwkTag::SERVICE_EXT, "HandleActiveAbility"); if (targetService == nullptr) { TAG_LOGW(AAFwkTag::SERVICE_EXT, "null targetService"); return; diff --git a/services/abilitymgr/src/ability_manager_service.cpp b/services/abilitymgr/src/ability_manager_service.cpp index 35ecb6a39b928b2f69c16e6364249ced0d196072..9efa8c4cf1d13e39d5cc72b7d6cede0474997b22 100644 --- a/services/abilitymgr/src/ability_manager_service.cpp +++ b/services/abilitymgr/src/ability_manager_service.cpp @@ -841,7 +841,7 @@ int AbilityManagerService::StartAbilityOnlyUIAbility(const Want &want, const spt return ERR_INVALID_CONTINUATION_FLAG; } - TAG_LOGI(AAFwkTag::ABILITYMGR, + TAG_LOGD(AAFwkTag::ABILITYMGR, "start, ability: %{public}s, userId: %{public}d, specifyTokenId: %{public}u", want.GetElement().GetAbilityName().c_str(), DEFAULT_INVAL_VALUE, specifyTokenId); @@ -3114,7 +3114,7 @@ int AbilityManagerService::PreloadUIExtensionAbilityInner(const Want &want, std: int AbilityManagerService::UnloadUIExtensionAbility(const std::shared_ptr &abilityRecord, std::string &hostBundleName) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "call"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "call"); CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); auto connectManager = GetConnectManagerByToken(abilityRecord->GetToken()); if (connectManager == nullptr) { @@ -4512,8 +4512,7 @@ int32_t AbilityManagerService::ConnectAbilityCommon( { HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__); XCOLLIE_TIMER_LESS(__PRETTY_FUNCTION__); - TAG_LOGI(AAFwkTag::SERVICE_EXT, - "elementUri:%{public}s", want.GetElement().GetURI().c_str()); + TAG_LOGI(AAFwkTag::SERVICE_EXT, "elementUri:%{public}s", want.GetElement().GetURI().c_str()); CheckExtensionRateLimit(); CHECK_POINTER_AND_RETURN(connect, ERR_INVALID_VALUE); CHECK_POINTER_AND_RETURN(connect->AsObject(), ERR_INVALID_VALUE); @@ -4664,7 +4663,7 @@ int AbilityManagerService::ConnectUIExtensionAbility(const Want &want, const spt { HITRACE_METER_NAME(HITRACE_TAG_ABILITY_MANAGER, __PRETTY_FUNCTION__); XCOLLIE_TIMER_LESS(__PRETTY_FUNCTION__); - TAG_LOGI(AAFwkTag::UI_EXT, + TAG_LOGD(AAFwkTag::UI_EXT, "ConnectUIExtensionAbility bundlename: %{public}s, ability is %{public}s, userId is %{private}d", want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId); CheckExtensionRateLimit(); @@ -5362,7 +5361,7 @@ sptr AbilityManagerService::GetWantSender( int AbilityManagerService::SendWantSender(sptr target, SenderInfo &senderInfo) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "call"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "SendWantSender"); auto pendingWantManager = GetCurrentPendingWantManager(); CHECK_POINTER_AND_RETURN(pendingWantManager, ERR_INVALID_VALUE); CHECK_POINTER_AND_RETURN(target, ERR_INVALID_VALUE); @@ -5371,7 +5370,7 @@ int AbilityManagerService::SendWantSender(sptr target, SenderInfo & int AbilityManagerService::SendLocalWantSender(const SenderInfo &senderInfo) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "call"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "SendLocalWantSender"); auto pendingWantManager = GetCurrentPendingWantManager(); CHECK_POINTER_AND_RETURN(pendingWantManager, ERR_INVALID_VALUE); if (!PermissionVerification::GetInstance()->VerifyPermissionByTokenId(senderInfo.tokenId, @@ -11866,7 +11865,7 @@ int32_t AbilityManagerService::ExecuteIntent(uint64_t key, const sptr &targetRecord) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "onExecuteIntent"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "onExecuteIntent"); if (targetRecord == nullptr || targetRecord->GetScheduler() == nullptr) { TAG_LOGE(AAFwkTag::ABILITYMGR, "null scheduler"); return ERR_INVALID_VALUE; @@ -11986,7 +11985,7 @@ int32_t AbilityManagerService::StartExtensionAbilityWithInsightIntent(const Want int32_t AbilityManagerService::StartAbilityByCallWithInsightIntent(const Want &want, const sptr &callerToken, const InsightIntentExecuteParam ¶m) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "called"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "called"); sptr connect = sptr::MakeSptr(); if (connect == nullptr) { TAG_LOGE(AAFwkTag::ABILITYMGR, "invalid connect"); @@ -13610,7 +13609,7 @@ int AbilityManagerService::StartUIAbilityByPreInstallInner(sptr ses void AbilityManagerService::NotifySCBToHandleAtomicServiceException(const std::string& sessionId, int32_t errCode, const std::string& reason) { - TAG_LOGI(AAFwkTag::ABILITYMGR, "call"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "call"); sptr sessionInfo = nullptr; { std::lock_guard guard(preStartSessionMapLock_); @@ -13744,7 +13743,7 @@ ErrCode AbilityManagerService::OpenLinkInner(const Want& want, sptr(want)); std::string callerBundleName; Want convertedWant = want; @@ -14169,7 +14168,7 @@ int AbilityManagerService::StartSelfUIAbilityInner(StartSelfUIAbilityParam param int AbilityManagerService::StartSelfUIAbility(const Want &want) { XCOLLIE_TIMER_LESS(__PRETTY_FUNCTION__); - TAG_LOGI(AAFwkTag::ABILITYMGR, "called"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "called"); StartSelfUIAbilityParam param; param.want = want; @@ -14179,7 +14178,7 @@ int AbilityManagerService::StartSelfUIAbility(const Want &want) int AbilityManagerService::StartSelfUIAbilityWithStartOptions(const Want &want, const StartOptions &options) { XCOLLIE_TIMER_LESS(__PRETTY_FUNCTION__); - TAG_LOGI(AAFwkTag::ABILITYMGR, "called"); + TAG_LOGD(AAFwkTag::ABILITYMGR, "called"); if(options.processOptions != nullptr) { options.processOptions->isStartFromNDK = true; @@ -14317,7 +14316,7 @@ int32_t AbilityManagerService::CheckStartPlugin(const Want& want, sptr &infos) { - TAG_LOGI(AAFwkTag::INTENT, "GetAllInsightIntentInfo"); + TAG_LOGD(AAFwkTag::INTENT, "GetAllInsightIntentInfo"); int32_t ret = DelayedSingleton::GetInstance()->CheckGetInsightIntenInfoPermission(); if (ret != ERR_OK) { TAG_LOGD(AAFwkTag::INTENT, "not system app or permission denied"); @@ -14407,7 +14406,7 @@ int32_t AbilityManagerService::GetInsightIntentInfoByBundleName( const std::string &bundleName, std::vector &infos) { - TAG_LOGI(AAFwkTag::INTENT, "GetInsightIntentInfoByBundleName"); + TAG_LOGD(AAFwkTag::INTENT, "GetInsightIntentInfoByBundleName"); int32_t ret = DelayedSingleton::GetInstance()->CheckGetInsightIntenInfoPermission(); if (ret != ERR_OK) { TAG_LOGD(AAFwkTag::INTENT, "not system app or permission denied"); @@ -14472,7 +14471,7 @@ int32_t AbilityManagerService::GetInsightIntentInfoByIntentName( const std::string &intentName, InsightIntentInfoForQuery &info) { - TAG_LOGI(AAFwkTag::INTENT, "GetInsightIntentInfoByIntentName"); + TAG_LOGD(AAFwkTag::INTENT, "GetInsightIntentInfoByIntentName"); int32_t ret = DelayedSingleton::GetInstance()->CheckGetInsightIntenInfoPermission(); if (ret != ERR_OK) { TAG_LOGD(AAFwkTag::INTENT, "not system app or permission denied"); diff --git a/services/appmgr/src/app_mgr_service_inner.cpp b/services/appmgr/src/app_mgr_service_inner.cpp index d096db2f29af72a414d3fd4c555ead06c08de468..ec9a2af1f1f2c12f940766b9d78055bb0669673a 100644 --- a/services/appmgr/src/app_mgr_service_inner.cpp +++ b/services/appmgr/src/app_mgr_service_inner.cpp @@ -1293,7 +1293,7 @@ bool AppMgrServiceInner::GetBundleAndHapInfo(const AbilityInfo &abilityInfo, void AppMgrServiceInner::AttachApplication(const pid_t pid, const sptr &appScheduler) { - TAG_LOGI(AAFwkTag::APPMGR, "called"); + TAG_LOGD(AAFwkTag::APPMGR, "AttachApplication called"); if (pid <= 0) { TAG_LOGE(AAFwkTag::APPMGR, "invalid pid:%{public}d", pid); return; diff --git a/services/appmgr/src/app_running_record.cpp b/services/appmgr/src/app_running_record.cpp index 1915f7764bd23a5157bc89ca44e36010e9414213..4d3a796cb5f6397185753078d3024022219c75a7 100644 --- a/services/appmgr/src/app_running_record.cpp +++ b/services/appmgr/src/app_running_record.cpp @@ -525,7 +525,7 @@ void AppRunningRecord::ScheduleTerminate() void AppRunningRecord::LaunchPendingAbilities() { - TAG_LOGI(AAFwkTag::APPMGR, "Launch pending abilities."); + TAG_LOGD(AAFwkTag::APPMGR, "Launch pending abilities."); AddAppLifecycleEvent("AppRunningRecord::LaunchPendingAbilities"); auto moduleRecordList = GetAllModuleRecord(); if (moduleRecordList.empty()) {