/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/ |
H A D | continuous_task_param.cpp | 27 BGTASK_LOGE("Failed to read the flag which indicate whether is called from newApi");
in ReadFromParcel() 32 BGTASK_LOGE("Failed to read request background mode info");
in ReadFromParcel() 40 BGTASK_LOGE("Failed to read wantAgent");
in ReadFromParcel() 47 BGTASK_LOGE("Failed to read ability name");
in ReadFromParcel() 54 BGTASK_LOGE("Failed to read app name");
in ReadFromParcel() 60 BGTASK_LOGE("Failed to read the flag isBatchApi");
in ReadFromParcel() 65 BGTASK_LOGE("read parce bgmodes error");
in ReadFromParcel() 71 BGTASK_LOGE("Failed to read the abilityId");
in ReadFromParcel() 80 BGTASK_LOGE("Failed to read the flag which indicate keep or stop running background");
in ReadFromParcel() 85 BGTASK_LOGE("Faile in ReadFromParcel() [all...] |
H A D | continuous_task_callback_info.cpp | 74 BGTASK_LOGE("Failed to write typeId");
in Marshalling() 79 BGTASK_LOGE("Failed to write creator uid");
in Marshalling() 84 BGTASK_LOGE("Failed to write creator pid");
in Marshalling() 89 BGTASK_LOGE("Failed to write the flag which indicates from webview");
in Marshalling() 95 BGTASK_LOGE("Failed to write ability name");
in Marshalling() 99 BGTASK_LOGE("Failed to write isBatchApi_");
in Marshalling() 104 BGTASK_LOGE("Failed to write typeIds_");
in Marshalling() 108 BGTASK_LOGE("Failed to write abilityId_");
in Marshalling() 112 BGTASK_LOGE("Failed to write tokenId_");
in Marshalling() 132 BGTASK_LOGE("rea in ReadFromParcel() [all...] |
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_subscriber_proxy.cpp | 33 BGTASK_LOGE("OnConnected remote is dead."); in OnConnected() 38 BGTASK_LOGE("OnConnected write interface token failed."); in OnConnected() 47 BGTASK_LOGE("OnConnected SendRequest failed, error code: %d", ret); in OnConnected() 55 BGTASK_LOGE("OnDisconnected remote is dead."); in OnDisconnected() 60 BGTASK_LOGE("OnDisconnected write interface token failed."); in OnDisconnected() 69 BGTASK_LOGE("OnDisconnected SendRequest failed, error code: %d", ret); in OnDisconnected() 77 BGTASK_LOGE("OnTransientTaskStart remote is dead."); in OnTransientTaskStart() 81 BGTASK_LOGE("OnTransientTaskStart TransientTaskAppInfo is null."); in OnTransientTaskStart() 88 BGTASK_LOGE("OnTransientTaskStart write descriptor failed."); in OnTransientTaskStart() 92 BGTASK_LOGE("OnTransientTaskStar in OnTransientTaskStart() [all...] |
H A D | background_task_mgr_proxy.cpp | 36 BGTASK_LOGE("RequestSuspendDelay callback is null"); in RequestSuspendDelay() 44 BGTASK_LOGE("RequestSuspendDelay write descriptor failed"); in RequestSuspendDelay() 48 BGTASK_LOGE("RequestSuspendDelay write reason failed"); in RequestSuspendDelay() 52 BGTASK_LOGE("RequestSuspendDelay write callback failed"); in RequestSuspendDelay() 58 BGTASK_LOGE("RequestSuspendDelay transact ErrCode=%{public}d", result); in RequestSuspendDelay() 62 BGTASK_LOGE("RequestSuspendDelay fail: read result failed."); in RequestSuspendDelay() 67 BGTASK_LOGE("RequestSuspendDelay read result failed"); in RequestSuspendDelay() 79 BGTASK_LOGE("RequestSuspendDelay write descriptor failed"); in CancelSuspendDelay() 83 BGTASK_LOGE("RequestSuspendDelay write requestId failed"); in CancelSuspendDelay() 90 BGTASK_LOGE("RequestSuspendDela in CancelSuspendDelay() [all...] |
H A D | background_task_mgr_stub.cpp | 38 BGTASK_LOGE("BackgroundTaskMgrStub: Local descriptor not match remote."); in OnRemoteRequest() 67 BGTASK_LOGE("code is error"); in HandleContinuousTask() 93 BGTASK_LOGE("code is error"); in HandleTransientTask() 138 BGTASK_LOGE("BackgroundTaskMgrStub: code is not match"); in HandleOnRemoteResquestFunc() 149 BGTASK_LOGE("HandleRequestSuspendDelay Read callback fail."); in HandleRequestSuspendDelay() 156 BGTASK_LOGE("HandleRequestSuspendDelay Write result failed, ErrCode=%{public}d", result); in HandleRequestSuspendDelay() 161 BGTASK_LOGE("HandleRequestSuspendDelay Write result fail."); in HandleRequestSuspendDelay() 172 BGTASK_LOGE("HandleCancelSuspendDelay Write result failed, ErrCode=%{public}d", result); in HandleCancelSuspendDelay() 184 BGTASK_LOGE("HandleGetRemainingDelayTime Write result failed, ErrCode=%{public}d", result); in HandleGetRemainingDelayTime() 188 BGTASK_LOGE("HandleGetRemainingDelayTim in HandleGetRemainingDelayTime() [all...] |
H A D | background_task_subscriber_stub.cpp | 40 BGTASK_LOGE("BackgroundTaskSubscriberStub Local descriptor not match remote."); in OnRemoteRequest() 46 BGTASK_LOGE("BackgroundTaskSubscriberStub OnRemoteRequest failed, illegal calling uid %d.", uid); in OnRemoteRequest() 139 BGTASK_LOGE("HandleOnTransientTaskStart Read parcel failed."); in HandleOnTransientTaskStart() 150 BGTASK_LOGE("HandleOnTransientTaskEnd Read parcel failed."); in HandleOnTransientTaskEnd() 161 BGTASK_LOGE("HandleOnTransientTaskErr Read parcel failed."); in HandleOnTransientTaskErr() 172 BGTASK_LOGE("HandleOnAppTransientTaskStart Read parcel failed."); in HandleOnAppTransientTaskStart() 183 BGTASK_LOGE("HandleOnAppTransientTaskEnd Read parcel failed."); in HandleOnAppTransientTaskEnd() 195 BGTASK_LOGE("HandleOnContinuousTaskStart ContinuousTaskCallbackInfo ReadParcelable failed"); in HandleOnContinuousTaskStart() 208 BGTASK_LOGE("HandleOnContinuousTaskUpdate ContinuousTaskCallbackInfo ReadParcelable failed"); in HandleOnContinuousTaskUpdate() 221 BGTASK_LOGE("HandleOnContinuousTaskCance in HandleOnContinuousTaskCancel() [all...] |
H A D | background_task_manager.cpp | 34 BGTASK_LOGE("GetBackgroundTaskManager Proxy failed."); \ 54 BGTASK_LOGE("callbackSptr is nullptr"); in RequestSuspendDelay() 77 BGTASK_LOGE("Failed to create continuous task param"); in RequestStartBackgroundRunning() 98 BGTASK_LOGE("Failed to create continuous task param"); in RequestUpdateBackgroundRunning() 116 BGTASK_LOGE("Failed to create continuous task param"); in RequestBackgroundRunningForInner() 141 BGTASK_LOGE("subscriberSptr is nullptr"); in SubscribeBackgroundTask() 154 BGTASK_LOGE("subscriberSptr is nullptr"); in UnsubscribeBackgroundTask() 191 BGTASK_LOGE("Failed to create efficiency resource info"); in ApplyEfficiencyResources() 222 BGTASK_LOGE("GetBackgroundTaskManagerProxy GetSystemAbilityManager failed."); in GetBackgroundTaskManagerProxy() 229 BGTASK_LOGE("GetBackgroundTaskManagerProx in GetBackgroundTaskManagerProxy() [all...] |
H A D | expired_callback_proxy.cpp | 33 BGTASK_LOGE("OnExpired remote is dead."); in OnExpired() 42 BGTASK_LOGE("OnExpired write descriptor failed."); in OnExpired()
|
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bgtask_config.cpp | 35 BGTASK_LOGE("already init config!"); in Init() 49 BGTASK_LOGE("LoadConfigFile failed"); in LoadConfigFile() 60 BGTASK_LOGE("jsonObj null"); in ParseTransientTaskExemptedQuatoList() 65 BGTASK_LOGE("no key %{public}s", TRANSIENT_ERR_DELAYED_FROZEN_LIST.c_str()); in ParseTransientTaskExemptedQuatoList() 82 BGTASK_LOGE("jsonObj parse fail"); in AddExemptedQuatoData() 86 BGTASK_LOGE("jsonObj null"); in AddExemptedQuatoData() 95 BGTASK_LOGE("no key %{public}s", TRANSIENT_ERR_DELAYED_FROZEN_LIST.c_str()); in AddExemptedQuatoData() 110 BGTASK_LOGE("no key %{public}s", TRANSIENT_ERR_DELAYED_FROZEN_TIME.c_str()); in AddExemptedQuatoData() 122 BGTASK_LOGE("no key %{public}s", CONFIG_JSON_INDEX_TOP.c_str()); in SetCloudConfigParam() 129 BGTASK_LOGE("n in SetCloudConfigParam() [all...] |
H A D | data_storage_helper.cpp | 100 BGTASK_LOGE("Create file failed."); in SaveJsonValueToFile() 106 BGTASK_LOGE("SaveJsonValueToFile Get real file path: %{private}s failed", filePath.c_str()); in SaveJsonValueToFile() 111 BGTASK_LOGE("Open file: %{private}s failed.", filePath.c_str()); in SaveJsonValueToFile() 158 BGTASK_LOGE("Get real path failed"); in ParseJsonValueFromFile() 163 BGTASK_LOGE("cannot open file %{private}s", realPath.c_str()); in ParseJsonValueFromFile() 174 BGTASK_LOGE("failed due to data is discarded"); in ParseJsonValueFromFile() 188 BGTASK_LOGE("Fail to open file: %{private}s", filePath.c_str()); in CreateNodeFile() 198 BGTASK_LOGE("relativePath is empty"); in GetConfigFileAbsolutePath() 205 BGTASK_LOGE("get file fail."); in GetConfigFileAbsolutePath() 253 BGTASK_LOGE("ca in DivideJsonToMap() [all...] |
H A D | bundle_manager_helper.cpp | 64 BGTASK_LOGE("CheckPermission: %{public}s failed", permission.c_str());
in CheckPermission() 122 BGTASK_LOGE("get SystemAbilityManager failed");
in Connect() 128 BGTASK_LOGE("get Bundle Manager failed");
in Connect() 137 BGTASK_LOGE("get bundleMgr failed");
in Connect()
|
H A D | app_state_observer.cpp | 50 BGTASK_LOGE("handler_ null.");
in OnAbilityStateChanged() 72 BGTASK_LOGE("%{public}s : validate app state data failed!", __func__);
in OnAppStopped() 81 BGTASK_LOGE("handler_ null.");
in OnAppStopped()
|
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | bg_continuous_task_napi_module.cpp | 104 BGTASK_LOGE("Failed to get native ability instance");
in GetAbilityContext() 109 BGTASK_LOGE("get FA model ability context failed");
in GetAbilityContext() 117 BGTASK_LOGE("get context failed");
in GetAbilityContext() 122 BGTASK_LOGE("get Stage model ability context failed");
in GetAbilityContext() 134 BGTASK_LOGE("get SystemAbilityManager failed");
in GetMainAbilityLabel() 140 BGTASK_LOGE("get Bundle Manager object failed");
in GetMainAbilityLabel() 146 BGTASK_LOGE("get Bundle Manager Proxy failed");
in GetMainAbilityLabel() 163 BGTASK_LOGE("request background mode id: %{public}u out of range", asyncCallbackInfo->bgMode);
in CheckBackgroundMode() 171 BGTASK_LOGE("request background mode id: %{public}u out of range", asyncCallbackInfo->bgModes[i]);
in CheckBackgroundMode() 184 BGTASK_LOGE("asyncCallbackInf in StartBackgroundRunningCheckParam() [all...] |
H A D | efficiency_resources_operation.cpp | 38 BGTASK_LOGE("ParseParameters failed, %{public}s not exist, is nullptr", utf8name); in GetNamedBoolValue() 46 BGTASK_LOGE("ParseParameters failed, %{public}s is nullptr", utf8name); in GetNamedBoolValue() 59 BGTASK_LOGE("ParseParameters failed, %{public}s not exist, is nullptr", utf8name); in GetNamedInt32Value() 64 BGTASK_LOGE("ParseParameters failed, %{public}s is nullptr", utf8name); in GetNamedInt32Value() 68 BGTASK_LOGE("%{public}s can't be a negtive number: %{public}d", utf8name, result); in GetNamedInt32Value() 80 BGTASK_LOGE("ParseParameters failed, reason not exist, is nullptr"); in GetNamedStringValue() 85 BGTASK_LOGE("ParseParameters failed, reason is nullptr"); in GetNamedStringValue()
|
H A D | request_suspend_delay.cpp | 83 BGTASK_LOGE("DeleteNapiRef new work failed"); in DeleteNapiRef() 104 BGTASK_LOGE("UvQueueWorkOnExpired work is null"); in UvQueueWorkOnExpired() 110 BGTASK_LOGE("UvQueueWorkOnExpired dataWorkerData is null"); in UvQueueWorkOnExpired() 143 BGTASK_LOGE("expired callback unset"); in OnExpired() 151 BGTASK_LOGE("loop instance is nullptr"); in OnExpired() 158 BGTASK_LOGE("new dataWorker failed"); in OnExpired() 220 BGTASK_LOGE("ParseParameters failed, reason is nullptr."); in ParseParameters() 234 BGTASK_LOGE("ExpiredCallback parse failed"); in ParseParameters()
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | resources_subscriber_mgr.cpp | 41 BGTASK_LOGE("remote in subscriber is null"); in AddSubscriber() 46 BGTASK_LOGE("create death recipient failed"); in AddSubscriber() 53 BGTASK_LOGE("subscriber has already exist"); in AddSubscriber() 68 BGTASK_LOGE("deathRecipient is null"); in RemoveSubscriber() 72 BGTASK_LOGE("subscriber is null"); in RemoveSubscriber() 77 BGTASK_LOGE("apply efficiency resources failed, remote in subscriber is null"); in RemoveSubscriber() 86 BGTASK_LOGE("request subscriber is not exists"); in RemoveSubscriber() 142 BGTASK_LOGE("ResourceCallbackInfo is null"); in HiSysEventResources() 175 BGTASK_LOGE("suscriber death, remote in suscriber is null"); in HandleSubscriberDeath() 180 BGTASK_LOGE("ge in HandleSubscriberDeath() [all...] |
H A D | resource_application_record.cpp | 90 BGTASK_LOGE("value is empty");
in ParseFromJson() 96 BGTASK_LOGE("checkJsonValue of value is failed");
in ParseFromJson() 108 BGTASK_LOGE("resourceVal.at(%{public}d) is null or is not object", i);
in ParseFromJson() 115 BGTASK_LOGE("checkJsonValue of persistTime is failed");
in ParseFromJson() 126 BGTASK_LOGE("resourceUnitList error");
in ParseFromJson()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | bg_transient_task_mgr.cpp | 74 BGTASK_LOGE("Failed to init due to create runner error"); in Init() 79 BGTASK_LOGE("Failed to init due to create handler error"); in Init() 112 BGTASK_LOGE("Fail to make inputManager"); in InitNecessaryState() 127 BGTASK_LOGE("Fail to get system ability mgr"); in GetBundleNamesForUid() 133 BGTASK_LOGE("Fail to get bundle manager proxy"); in GetBundleNamesForUid() 139 BGTASK_LOGE("Bundle mgr proxy is nullptr"); in GetBundleNamesForUid() 144 BGTASK_LOGE("Get bundle name failed"); in GetBundleNamesForUid() 154 BGTASK_LOGE("pid or uid is invalid."); in IsCallingInfoLegal() 159 BGTASK_LOGE("GetBundleNamesForUid fail."); in IsCallingInfoLegal() 164 BGTASK_LOGE("callbac in IsCallingInfoLegal() [all...] |
H A D | decision_maker.cpp | 45 BGTASK_LOGE("GetAppMgrProxy failed"); in DecisionMaker() 70 BGTASK_LOGE("GetSystemAbilityManager failed."); in GetAppMgrProxy() 77 BGTASK_LOGE("GetSystemAbility failed."); in GetAppMgrProxy() 83 BGTASK_LOGE("iface_cast remoteObject failed."); in GetAppMgrProxy() 176 BGTASK_LOGE("Request not allow by its info"); in CheckQuotaTime() 186 BGTASK_LOGE("Invalid key or delayInfo"); in Decide() 237 BGTASK_LOGE("pkgname: %{public}s, uid: %{public}d is foreground applicaion.", name.c_str(), uid); in PauseTransientTaskTimeForInner() 242 BGTASK_LOGE("pkgname: %{public}s, uid: %{public}d not request transient task.", name.c_str(), uid); in PauseTransientTaskTimeForInner() 256 BGTASK_LOGE("pkgname: %{public}s, uid: %{public}d is foreground applicaion.", name.c_str(), uid); in StartTransientTaskTimeForInner() 261 BGTASK_LOGE("pkgnam in StartTransientTaskTimeForInner() [all...] |
H A D | watchdog.cpp | 62 BGTASK_LOGE("fail to get bgTask service."); in ProcessEvent() 71 BGTASK_LOGE("fail to kill running application"); in ProcessEvent() 83 BGTASK_LOGE("failed to get appMgrClient"); in KillApplicationByUid() 89 BGTASK_LOGE("Fail to kill application by uid."); in KillApplicationByUid()
|
H A D | input_manager.cpp | 38 BGTASK_LOGE("Failed to register event"); in RegisterEventHub() 71 BGTASK_LOGE("Listener not found"); in UnRegisterEventListener() 86 BGTASK_LOGE("Invailed event info, eventId: %{public}d", eventId); in ProcessEvent()
|
/foundation/resourceschedule/background_task_mgr/frameworks/common/include/ |
H A D | ipc_util.h | 30 BGTASK_LOGE("Failed to read "#data); \ 38 BGTASK_LOGE("Failed to read "#data); \ 46 BGTASK_LOGE("Failed to write "#data); \ 54 BGTASK_LOGE("Failed to write "#data); \
|
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/mock/src/ |
H A D | mock_background_task_mgr_proxy.cpp | 44 BGTASK_LOGE("InnerTransact get Remote fail code %{public}d", code); in InnerTransact() 53 BGTASK_LOGE("[InnerTransact] fail: ipcErr=%{public}d code %{public}u", err, code); in InnerTransact() 57 BGTASK_LOGE("[InnerTransact] fail: ipcErr=%{public}d code %{public}u", err, code); in InnerTransact()
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | bg_continuous_task_mgr.cpp | 105 BGTASK_LOGE("BgContinuousTaskMgr runner create failed!");
in Init() 110 BGTASK_LOGE("BgContinuousTaskMgr handler create failed!");
in Init() 136 BGTASK_LOGE("BgContinuousTaskMgr ReclaimProcessMemory open file failed!");
in ReclaimProcessMemory() 141 BGTASK_LOGE("BgContinuousTaskMgr ReclaimProcessMemory write file failed!");
in ReclaimProcessMemory() 176 BGTASK_LOGE("RegisterNotificationSubscriber failed");
in InitNecessaryState() 180 BGTASK_LOGE("RegisterAppStateObserver failed");
in InitNecessaryState() 184 BGTASK_LOGE("RegisterSysCommEventListener failed");
in InitNecessaryState() 188 BGTASK_LOGE("RegisterConfigurationObserver failed");
in InitNecessaryState() 203 BGTASK_LOGE("connect to app mgr service failed");
in HandlePersistenceData() 207 BGTASK_LOGE("ge in HandlePersistenceData() [all...] |
H A D | config_change_observer.cpp | 33 BGTASK_LOGE("ConfigChangeObserver handler expired"); in CheckExpired() 37 BGTASK_LOGE("ConfigChangeObserver taskMgr expired"); in CheckExpired()
|