Home
last modified time | relevance | path

Searched refs:BackgroundTaskMgr (Results 1 – 25 of 197) sorted by relevance

12345678

/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dbackground_task_observer.cpp61 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnProcEfficiencyResourcesApply()
71 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnProcEfficiencyResourcesReset()
81 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnAppEfficiencyResourcesApply()
87 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnAppEfficiencyResourcesReset()
94 std::vector<std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo>> continuousTasks; in GetContinuousTaskApps()
95 …ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetContinuousTaskApps(continuousTasks… in GetContinuousTaskApps()
109 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> appList; in GetEfficiencyResourcesTaskApps()
110 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> procList; in GetEfficiencyResourcesTaskApps()
111 …ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, … in GetEfficiencyResourcesTaskApps()
122 if ((info->GetResourceNumber() & BackgroundTaskMgr::ResourceType::WORK_SCHEDULER) != 0) { in GetEfficiencyResourcesTaskApps()
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dscheduler_bg_task_subscriber.cpp24 using namespace OHOS::BackgroundTaskMgr;
26 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnProcEfficiencyResourcesApply()
29 …if (!resourceInfo || (resourceInfo->GetResourceNumber() & BackgroundTaskMgr::ResourceType::WORK_SC… in OnProcEfficiencyResourcesApply()
38 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnProcEfficiencyResourcesReset()
41 …if (!resourceInfo || (resourceInfo->GetResourceNumber() & BackgroundTaskMgr::ResourceType::WORK_SC… in OnProcEfficiencyResourcesReset()
50 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnAppEfficiencyResourcesApply()
56 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) in OnAppEfficiencyResourcesReset()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/include/
H A Dbackground_task_observer.h28 using OHOS::BackgroundTaskMgr::BackgroundTaskSubscriber;
29 using OHOS::BackgroundTaskMgr::ContinuousTaskCallbackInfo;
30 using OHOS::BackgroundTaskMgr::TransientTaskAppInfo;
45 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
47 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
49 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
51 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
59 …const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo, nlohmann::json &payl…
72 && eventData->GetTypeId() <= BackgroundTaskMgr::BackgroundMode::TASK_KEEPING; in ValidateTaskInfo()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dbackground_task_observer.h27 class BackgroundTaskObserver : public BackgroundTaskMgr::BackgroundTaskSubscriber,
39 void OnContinuousTaskStart(const std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo>
42 void OnContinuousTaskStop(const std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo>
46 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
49 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
52 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
55 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dscheduler_bg_task_subscriber.h24 class SchedulerBgTaskSubscriber : public BackgroundTaskMgr::BackgroundTaskSubscriber {
28 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
30 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
32 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
34 const std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo> &resourceInfo) override;
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/event/
H A Dbg_task_observer.h23 class BgTaskObserver : public BackgroundTaskMgr::BackgroundTaskSubscriber {
26 const std::shared_ptr<BackgroundTaskMgr::TransientTaskAppInfo>& ttInfo) override;
28 const std::shared_ptr<BackgroundTaskMgr::TransientTaskAppInfo>& ttInfo) override;
30 const std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo> &ctInfo) override;
32 const std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo> &ctInfo) override;
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dbundle_active_continuous_task_observer.h33 class BundleActiveContinuousTaskObserver : public OHOS::BackgroundTaskMgr::BackgroundTaskSubscriber…
36 …void OnContinuousTaskStart(const std::shared_ptr<OHOS::BackgroundTaskMgr::ContinuousTaskCallbackIn…
38 …void OnContinuousTaskStop(const std::shared_ptr<OHOS::BackgroundTaskMgr::ContinuousTaskCallbackInf…
47 …void ReportContinuousTaskEvent(const std::shared_ptr<OHOS::BackgroundTaskMgr::ContinuousTaskCallba…
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dbg_task_observer.cpp27 const std::shared_ptr<BackgroundTaskMgr::TransientTaskAppInfo>& ttInfo) in OnTransientTaskStart()
43 const std::shared_ptr<BackgroundTaskMgr::TransientTaskAppInfo>& ttInfo) in OnTransientTaskEnd()
59 const std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo>& ctInfo) in OnContinuousTaskStart()
77 const std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo>& ctInfo) in OnContinuousTaskStop()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dbackground_task_helper_ohos.cpp35 uint32_t backgroundMode = BackgroundTaskMgr::BackgroundMode::AUDIO_PLAYBACK; in HasBackgroundTask()
37 std::vector<std::shared_ptr<BackgroundTaskMgr::ContinuousTaskCallbackInfo>> continuousTaskList; in HasBackgroundTask()
38 …ErrCode code = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetContinuousTaskApps(continuousTaskLis… in HasBackgroundTask()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskapplyefficiencyresources_fuzzer/
H A Dbgtaskapplyefficiencyresources_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskbackgroundrunningforinner_fuzzer/
H A Dbgtaskbackgroundrunningforinner_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
60 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
76 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskcancelsuspenddelay_fuzzer/
H A Dbgtaskcancelsuspenddelay_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskgetcontinuoustaskapps_fuzzer/
H A Dbgtaskgetcontinuoustaskapps_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskgetefficiencyresourcesinfos_fuzzer/
H A Dbgtaskgetefficiencyresourcesinfos_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskgetremainingdelaytime_fuzzer/
H A Dbgtaskgetremainingdelaytime_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskgettransienttaskapps_fuzzer/
H A Dbgtaskgettransienttaskapps_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskrequestsuspenddelay_fuzzer/
H A Dbgtaskrequestsuspenddelay_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskresetallefficiencyresources_fuzzer/
H A Dbgtaskresetallefficiencyresources_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtasksetbgtaskconfig_fuzzer/
H A Dbgtasksetbgtaskconfig_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskstartbackgroundrunning_fuzzer/
H A Dbgtaskstartbackgroundrunning_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskstopbackgroundrunning_fuzzer/
H A Dbgtaskstopbackgroundrunning_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskstopcontinuoustask_fuzzer/
H A Dbgtaskstopcontinuoustask_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskupdatebackgroundrunning_fuzzer/
H A Dbgtaskupdatebackgroundrunning_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
59 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
75 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtasksubscribebackgroundtask_fuzzer/
H A Dbgtasksubscribebackgroundtask_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
61 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
77 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
/ohos5.0/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskunsubscribebackgroundtask_fuzzer/
H A Dbgtaskunsubscribebackgroundtask_fuzzer.cpp23 namespace BackgroundTaskMgr { namespace
61 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
77 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()

12345678