/foundation/resourceschedule/device_standby/interfaces/innerkits/src/ |
H A D | standby_service_client.cpp | 42 STANDBYSERVICE_LOGE("get standby service proxy failed"); in SubscribeStandbyCallback() 46 STANDBYSERVICE_LOGE("subscriber is nullptr"); in SubscribeStandbyCallback() 56 STANDBYSERVICE_LOGE("get standby service proxy failed"); in UnsubscribeStandbyCallback() 60 STANDBYSERVICE_LOGE("subscriber is nullptr"); in UnsubscribeStandbyCallback() 70 STANDBYSERVICE_LOGE("get standby service proxy failed"); in ApplyAllowResource() 74 STANDBYSERVICE_LOGE("resource request is nullptr"); in ApplyAllowResource() 84 STANDBYSERVICE_LOGE("get standby service proxy failed"); in UnapplyAllowResource() 88 STANDBYSERVICE_LOGE("resource request is nullptr"); in UnapplyAllowResource() 99 STANDBYSERVICE_LOGE("get standby service proxy failed"); in GetAllowList() 113 STANDBYSERVICE_LOGE("ge in IsDeviceInStandby() [all...] |
H A D | allow_info.cpp | 34 STANDBYSERVICE_LOGE("read from parcel failed"); in Unmarshalling()
|
H A D | resourcce_request.cpp | 38 STANDBYSERVICE_LOGE("read from parcel failed"); in Unmarshalling()
|
/foundation/resourceschedule/device_standby/utils/common/include/ |
H A D | ipc_util.h | 28 STANDBYSERVICE_LOGE("Failed to read "#data); \ 36 STANDBYSERVICE_LOGE("Failed to read "#data); \ 44 STANDBYSERVICE_LOGE("Failed to write "#data); \ 52 STANDBYSERVICE_LOGE("Failed to write "#data); \
|
/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | json_utils.cpp | 36 STANDBYSERVICE_LOGE("content is empty"); in LoadJsonValueFromContent() 41 STANDBYSERVICE_LOGE("failed to parse content"); in LoadJsonValueFromContent() 45 STANDBYSERVICE_LOGE("the content is not an object"); in LoadJsonValueFromContent() 55 STANDBYSERVICE_LOGE("failed to load content from %{public}s", filePath.c_str()); in LoadJsonValueFromFile() 59 STANDBYSERVICE_LOGE("content of %{public}s is empty", filePath.c_str()); in LoadJsonValueFromFile() 64 STANDBYSERVICE_LOGE("failed to parse content from %{public}s", filePath.c_str()); in LoadJsonValueFromFile() 68 STANDBYSERVICE_LOGE("the content of %{public}s is not an object ", filePath.c_str()); in LoadJsonValueFromFile() 77 STANDBYSERVICE_LOGE("create file failed."); in DumpJsonValueToFile() 83 STANDBYSERVICE_LOGE("get real file path: %{public}s failed", filePath.c_str()); in DumpJsonValueToFile() 88 STANDBYSERVICE_LOGE("ope in DumpJsonValueToFile() [all...] |
H A D | standby_config_manager.cpp | 107 STANDBYSERVICE_LOGE("load config failed"); in GetAndParseStandbyConfig() 111 STANDBYSERVICE_LOGE("parse config failed"); in GetAndParseStandbyConfig() 120 STANDBYSERVICE_LOGE("load config file %{public}s failed", configFile.c_str()); in GetAndParseStandbyConfig() 124 STANDBYSERVICE_LOGE("parse config file %{public}s failed", configFile.c_str()); in GetAndParseStandbyConfig() 138 STANDBYSERVICE_LOGE("load config failed"); in GetAndParseStrategyConfig() 142 STANDBYSERVICE_LOGE("parse config failed"); in GetAndParseStrategyConfig() 150 STANDBYSERVICE_LOGE("load config file %{public}s failed", configFile.c_str()); in GetAndParseStrategyConfig() 154 STANDBYSERVICE_LOGE("parse config file %{public}s failed", configFile.c_str()); in GetAndParseStrategyConfig() 172 STANDBYSERVICE_LOGE("Decrypt errcode: %{public}d.", returnCode); in GetCloudConfig() 199 STANDBYSERVICE_LOGE("no in LoadGetExtConfigFunc() [all...] |
/foundation/resourceschedule/device_standby/services/notification/src/ |
H A D | standby_state_subscriber.cpp | 50 STANDBYSERVICE_LOGE("remote in subscriber is null"); in AddSubscriber() 60 STANDBYSERVICE_LOGE("subscriber has already exist"); in AddSubscriber() 74 STANDBYSERVICE_LOGE("subscriber is null"); in RemoveSubscriber() 79 STANDBYSERVICE_LOGE("remove subscriber failed, remote in subscriber is null"); in RemoveSubscriber() 89 STANDBYSERVICE_LOGE("request subscriber is not exists"); in RemoveSubscriber() 128 STANDBYSERVICE_LOGE("PublishCommonEvent for idle mode finished failed"); in NotifyIdleModeByCommonEvent() 186 STANDBYSERVICE_LOGE("PublishCommonEvent for exempt list update failed"); in NotifyAllowChangedByCommonEvent() 195 STANDBYSERVICE_LOGE("suscriber death, remote in suscriber is null"); in HandleSubscriberDeath() 200 STANDBYSERVICE_LOGE("get remote proxy failed"); in HandleSubscriberDeath()
|
/foundation/resourceschedule/device_standby/plugins/standby_state/src/ |
H A D | sleep_state.cpp | 48 STANDBYSERVICE_LOGE("%{public}s state init failed", STATE_NAME_LIST[GetCurState()].c_str()); in Init() 58 STANDBYSERVICE_LOGE("%{public}s init failed", STATE_NAME_LIST[GetCurState()].c_str()); in Init() 92 STANDBYSERVICE_LOGE("state manager adapter is nullptr"); in BeginState() 147 STANDBYSERVICE_LOGE("can not transit from sleep to nap"); in CheckTransitionValid() 185 STANDBYSERVICE_LOGE("sleep state set periodly task failed"); in SetPhaseTransitOrRepeatedTask()
|
H A D | working_state.cpp | 59 STANDBYSERVICE_LOGE("state manager adapter is nullptr"); in EndState() 69 STANDBYSERVICE_LOGE("can not transit from working to maintenance"); in CheckTransitionValid()
|
H A D | maintenance_state.cpp | 54 STANDBYSERVICE_LOGE("can not transit from maintenance to dark"); in CheckTransitionValid()
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service_impl.cpp | 72 STANDBYSERVICE_LOGE("dev standby service runner create failed"); in Init() 77 STANDBYSERVICE_LOGE("standby msg handler create failed"); in Init() 81 STANDBYSERVICE_LOGE("failed to init device standby config manager"); in Init() 86 STANDBYSERVICE_LOGE("register plugin failed"); in Init() 102 STANDBYSERVICE_LOGE("standby state manager init failed"); in InitReadyState() 106 STANDBYSERVICE_LOGE("strategy plugin init failed"); in InitReadyState() 110 STANDBYSERVICE_LOGE("constraint plugin init failed"); in InitReadyState() 114 STANDBYSERVICE_LOGE("listener plugin init failed"); in InitReadyState() 136 STANDBYSERVICE_LOGE("register common event observer failed"); in RegisterCommEventObserver() 140 STANDBYSERVICE_LOGE("SubscribeCommonEven in RegisterCommEventObserver() [all...] |
H A D | bundle_manager_helper.cpp | 99 STANDBYSERVICE_LOGE("get SystemAbilityManager failed"); in Connect() 105 STANDBYSERVICE_LOGE("get Bundle Manager failed"); in Connect() 111 STANDBYSERVICE_LOGE("get bundleMgr failed"); in Connect()
|
H A D | app_mgr_helper.cpp | 100 STANDBYSERVICE_LOGE("failed to get SystemAbilityManager"); in Connect() 106 STANDBYSERVICE_LOGE("failed to get App Manager Service"); in Connect() 112 STANDBYSERVICE_LOGE("failed to get app mgr proxy"); in Connect()
|
H A D | standby_service.cpp | 74 STANDBYSERVICE_LOGE("failed to init device standby service"); in OnStart() 86 STANDBYSERVICE_LOGE("standby service start failed!"); in OnStart() 243 STANDBYSERVICE_LOGE("set nat interval permission check fail"); in SetNatInterval() 329 STANDBYSERVICE_LOGE("Not Engineer mode"); in Dump() 345 STANDBYSERVICE_LOGE("StandbyService dump save string to fd failed!"); in Dump() 359 STANDBYSERVICE_LOGE("check processName failed,tokenType=%{public}d,processName=%{public}s", in CheckProcessNamePermission()
|
H A D | ability_manager_helper.cpp | 43 STANDBYSERVICE_LOGE("failed to GetRunningSystemProcess"); in GetRunningSystemProcess()
|
/foundation/resourceschedule/device_standby/plugins/message_listener/src/ |
H A D | background_task_listener.cpp | 30 STANDBYSERVICE_LOGE("backgroundTaskListener is nullptr"); in StartListener() 34 STANDBYSERVICE_LOGE("SubscribeBackgroundTask failed"); in StartListener() 44 STANDBYSERVICE_LOGE("backgroundTaskListener is nullptr"); in StopListener() 48 STANDBYSERVICE_LOGE("UnsubscribeBackgroundTask failed"); in StopListener()
|
/foundation/resourceschedule/device_standby/plugins/extend_constraints/src/ |
H A D | motion_sensor_monitor.cpp | 127 STANDBYSERVICE_LOGE("get all sensors failed, sensors are not available"); in Init() 132 STANDBYSERVICE_LOGE("do not find any usable sensor to detect motion"); in Init() 241 STANDBYSERVICE_LOGE("subscribe sensor failed for sensor ID %{public}d", sensorTypeId); in StartSensor() 248 STANDBYSERVICE_LOGE("activate sensor failed for sensor ID %{public}d", sensorTypeId); in StartSensor() 265 STANDBYSERVICE_LOGE("deactivate sensor failed for sensor ID %{public}d", sensorTypeId); in StopSensor() 268 STANDBYSERVICE_LOGE("unsubscribe sensor failed for sensor ID %{public}d", sensorTypeId); in StopSensor()
|
H A D | constraint_manager_adapter.cpp | 74 STANDBYSERVICE_LOGE("can not start evalution repeatedly"); in StartEvalution() 103 STANDBYSERVICE_LOGE("can not stop unused evalution"); in StopEvalution()
|
/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_subscriber_proxy.cpp | 53 STANDBYSERVICE_LOGE("OnDeviceIdleMode SendRequest failed, error code: %d", ret); in OnDeviceIdleMode() 82 STANDBYSERVICE_LOGE("OnAllowListChanged SendRequest failed, error code: %d", ret); in OnAllowListChanged() 109 STANDBYSERVICE_LOGE("OnPowerOverused SendRequest failed, error code: %d", ret); in OnPowerOverused()
|
/foundation/resourceschedule/device_standby/plugins/ext/src/ |
H A D | base_state.cpp | 44 STANDBYSERVICE_LOGE("%{public}s state init failed", STATE_NAME_LIST[GetCurState()].c_str()); in Init() 136 STANDBYSERVICE_LOGE("%{public}s state set timed task failed", STATE_NAME_LIST[nextState_].c_str()); in StartStateTransitionTimer() 204 STANDBYSERVICE_LOGE("standbyRunningLock_ is nullptr"); in ReleaseStandbyRunningLock() 224 STANDBYSERVICE_LOGE("maintenance interval config error, can not enter maintence state"); in CalculateMaintTimeOut()
|
/foundation/resourceschedule/device_standby/services/common/src/ |
H A D | time_provider.cpp | 51 STANDBYSERVICE_LOGE("localtime_r failed, can not get valid local time"); in ConvertTimeStampToLocalTime() 63 STANDBYSERVICE_LOGE("convert time stamp to local time failed"); in GetCondition() 93 STANDBYSERVICE_LOGE("gmtime_r failed, can not get valid utc time"); in DiffToFixedClock()
|
H A D | timed_task.cpp | 120 STANDBYSERVICE_LOGE("day and night switch observer start failed"); in StartDayNightSwitchTimer() 131 STANDBYSERVICE_LOGE("create timer failed"); in RegisterDayNightSwitchTimer()
|
H A D | background_task_helper.cpp | 51 STANDBYSERVICE_LOGE("Get transient task failed"); in GetTransientTaskApps()
|
/foundation/resourceschedule/device_standby/plugins/strategy/src/ |
H A D | base_network_strategy.cpp | 192 STANDBYSERVICE_LOGE("connect to app manager service failed"); in GetAllRunningAppInfo() 502 STANDBYSERVICE_LOGE("get deviceIdle netLimited list is failed"); in ResetFirewallAllowList() 507 STANDBYSERVICE_LOGE("handle device idle policy netLimited is false"); in ResetFirewallAllowList() 512 STANDBYSERVICE_LOGE("SetFirewallAllowedList failed"); in ResetFirewallAllowList() 526 STANDBYSERVICE_LOGE("Failed to enable powersaving firewall"); in SetFirewallStatus() 536 STANDBYSERVICE_LOGE("Failed to disable powersaving firewall"); in SetFirewallStatus()
|
H A D | strategy_manager_adapter.cpp | 40 STANDBYSERVICE_LOGE("standby service ptr is nullptr, init failed"); in Init()
|