Home
last modified time | relevance | path

Searched refs:OnSystemloadLevel (Results 1 - 25 of 26) sorted by relevance

12

/foundation/ability/form_fwk/test/unittest/fms_form_systemload_listener_test/
H A Dfms_form_systemload_listener_test.cpp30 static void OnSystemloadLevel(int32_t level);
39 void FmsFormSystemloadListenerTest::OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in __anon1407::FmsFormSystemloadListenerTest
41 GTEST_LOG_(INFO) << "OnSystemloadLevel call back"; in OnSystemloadLevel()
46 * @tc.name: OnSystemloadLevel.
47 * @tc.desc: Verify that the OnSystemloadLevel interface executes normally and exits without exception.
53 formSystemloadListener.OnSystemloadLevel(0); in HWTEST_F()
59 * @tc.name: OnSystemloadLevel.
60 * @tc.desc: Verify that the OnSystemloadLevel interface executes normally and exits without exception.
65 OnSystemloadLevel(2); in HWTEST_F()
66 FormSystemloadListener formSystemloadListener(OnSystemloadLevel); in HWTEST_F()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/
H A Dsystem_load_test.cpp85 * @tc.desc: Verify the OnSystemloadLevel function
94 SystemLoadListener_->OnSystemloadLevel(level); in HWTEST_F()
104 * @tc.desc: Verify the OnSystemloadLevel function
115 SystemLoadListener_->OnSystemloadLevel(level); in HWTEST_F()
125 * @tc.desc: Verify the OnSystemloadLevel function
137 SystemLoadListener_->OnSystemloadLevel(level); in HWTEST_F()
147 * @tc.desc: Verify the OnSystemloadLevel function
159 SystemLoadListener_->OnSystemloadLevel(level); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_systemload_listener.cpp27 void FormSystemloadListener::OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::AppExecFwk::FormSystemloadListener
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include/
H A Dres_sched_systemload_notifier_client.h29 virtual void OnSystemloadLevel(int32_t level) = 0;
H A Dires_sched_systemload_notifier.h32 virtual void OnSystemloadLevel(int32_t level) = 0;
H A Dres_sched_systemload_notifier_proxy.h31 void OnSystemloadLevel(int32_t level) override;
H A Dres_sched_client.h156 void OnSystemloadLevel(int32_t level) override;
/foundation/ability/form_fwk/services/include/
H A Dform_systemload_listener.h31 void OnSystemloadLevel(int32_t level) override;
H A Dform_mgr_service.h634 void OnSystemloadLevel(int32_t level);
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/
H A Dres_sched_systemload_notifier_proxy.cpp29 void ResSchedSystemloadNotifierProxy::OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::ResSchedSystemloadNotifierProxy
31 RESSCHED_LOGD("ResSchedSystemloadNotifierProxy OnSystemloadLevel"); in OnSystemloadLevel()
H A Dres_sched_systemload_notifier_stub.cpp60 OnSystemloadLevel(level); in OnSystemloadLevelInner()
H A Dres_sched_client.cpp430 void ResSchedClient::SystemloadLevelListener::OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::ResSchedClient::SystemloadLevelListener
442 notifier->OnSystemloadLevel(level); in OnSystemloadLevel()
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/include/
H A Djs_systemload_listener.h34 void OnSystemloadLevel(int32_t level) override;
H A Djs_systemload.h66 void OnSystemloadLevel(napi_env env, napi_value callbackObj, int32_t level);
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Dsystem_load.h54 void OnSystemloadLevel(int32_t level) override;
/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/
H A Dres_sched_client_test.cpp79 void OnSystemloadLevel(int32_t level) override
233 ResSchedClient::GetInstance().systemloadLevelListener_->OnSystemloadLevel(2); in HWTEST_F()
253 ResSchedClient::GetInstance().systemloadLevelListener_->OnSystemloadLevel(2); in HWTEST_F()
H A Dnotifier_mgr_test.cpp35 void OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::TestNotifierSystemloadListener
H A Dres_sched_service_mock_test.cpp153 void OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::TestMockResSchedSystemloadListener
H A Dres_sched_service_test.cpp56 void OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::TestResSchedSystemloadListener
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/src/
H A Djs_systemload_listener.cpp53 void SystemloadListener::OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::SystemloadListener
H A Djs_systemload.cpp59 void Systemload::OnSystemloadLevel(napi_env env, napi_value callbackObj, int32_t level) in OnSystemloadLevel() function in OHOS::ResourceSchedule::Systemload
61 RESSCHED_LOGI("OnSystemloadLevel asyncCallback."); in OnSystemloadLevel()
64 RESSCHED_LOGE("OnSystemloadLevel cb type has not register yet."); in OnSystemloadLevel()
82 RESSCHED_LOGE("OnSystemloadLevel cbInfo null."); in OnSystemloadLevel()
88 napi_create_string_latin1(env, "OnSystemloadLevel", NAPI_AUTO_LENGTH, &resourceName)); in OnSystemloadLevel()
102 RESSCHED_LOGI("OnSystemloadLevel asyncCallback end"); in OnSystemloadLevel()
135 Systemload::GetInstance().OnSystemloadLevel(env, callbackObj, level); in RegisterSystemloadCallback()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/
H A Dsystem_load.cpp40 void SystemLoadListener::OnSystemloadLevel(int32_t level) in OnSystemloadLevel() function in OHOS::FileManagement::CloudSync::SystemLoadListener
44 LOGI("OnSystemloadLevel over warm"); in OnSystemloadLevel()
48 LOGI("OnSystemloadLevel is normal, level:%{public}d", level); in OnSystemloadLevel()
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dnotifier_mgr.cpp256 proxy->OnSystemloadLevel(level); in HandleDeviceLevelChange()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp1026 * @tc.name: test OnSystemloadLevel function.
1027 * @tc.desc: Verify that the OnSystemloadLevel interface is called normally.
1034 formMgrService.OnSystemloadLevel(level); in HWTEST_F()
1040 * @tc.name: test OnSystemloadLevel function.
1041 * @tc.desc: Verify that the OnSystemloadLevel interface is called normally.
1048 formMgrService.OnSystemloadLevel(level); in HWTEST_F()
/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/
H A Dressched_fuzzer.cpp335 resSchedSystemloadNotifierProxy->OnSystemloadLevel(level); in OnSystemloadLevelFuzzTest()

Completed in 15 milliseconds

12