Home
last modified time | relevance | path

Searched refs:ResSchedRoleAdapter (Results 1 - 16 of 16) sorted by relevance

/base/web/webview/test/fuzztest/ohos_adapter/resschedadapter_fuzzer/
H A Dresschedadapter_fuzz.cpp51 std::vector<ResSchedRoleAdapter> roles = { ResSchedRoleAdapter::USER_INTERACT, ResSchedRoleAdapter::NORMAL_DISPLAY, in ResSchedAdapterFuzzTest()
52 ResSchedRoleAdapter::IMPORTANT_DISPLAY, ResSchedRoleAdapter::NORMAL_AUDIO, ResSchedRoleAdapter::IMPORTANT_AUDIO, in ResSchedAdapterFuzzTest()
53 ResSchedRoleAdapter::IMAGE_DECODE }; in ResSchedAdapterFuzzTest()
78 adapter.ReportKeyThread(statuses[0], pid, tid, static_cast<ResSchedRoleAdapter>(-1)); in ResSchedAdapterFuzzTest()
83 adapter.ReportKeyThread(statuses[0], -1, tid, ResSchedRoleAdapter::USER_INTERACT); in ResSchedAdapterFuzzTest()
/base/web/webview/test/unittest/ohos_adapter/res_sched_adapter_impl_test/
H A Dres_sched_adapter_impl_test.cpp62 1, 1, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
65 1, 1, static_cast<ResSchedRoleAdapter>(-1)); in HWTEST_F()
68 1, 1, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
71 1, 0, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
75 1, 0, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
80 1, 0, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
84 1, 0, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
88 1, 0, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
92 1, 0, ResSchedRoleAdapter::IMPORTANT_AUDIO); in HWTEST_F()
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dres_sched_client_adapter.h48 enum class ResSchedRoleAdapter : int32_t { class
75 ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid, ResSchedRoleAdapter roleAdapter);
H A Daafwk_browser_client_adapter.h31 ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, ResSchedRoleAdapter role) = 0;
/base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkbrowserclientadapter_fuzzer/
H A Daafwkbrowserclientadapter_fuzzer.cpp93 ResSchedRoleAdapter newrole = ResSchedRoleAdapter::USER_INTERACT; in AafwkBrowserClientAdapterFuzzTest()
/base/web/webview/ohos_adapter/res_sched_adapter/src/
H A Dres_sched_client_adapter_impl.cpp63 const std::unordered_map<ResSchedRoleAdapter, ResType::ThreadRole> RES_ROLE_MAP = {
64 { ResSchedRoleAdapter::USER_INTERACT, ResType::ThreadRole::USER_INTERACT },
65 { ResSchedRoleAdapter::NORMAL_DISPLAY, ResType::ThreadRole::NORMAL_DISPLAY },
66 { ResSchedRoleAdapter::IMPORTANT_DISPLAY, ResType::ThreadRole::IMPORTANT_DISPLAY },
67 { ResSchedRoleAdapter::NORMAL_AUDIO, ResType::ThreadRole::NORMAL_AUDIO },
68 { ResSchedRoleAdapter::IMPORTANT_AUDIO, ResType::ThreadRole::IMPORTANT_AUDIO },
69 { ResSchedRoleAdapter::IMAGE_DECODE, ResType::ThreadRole::IMAGE_DECODE },
263 ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid, ResSchedRoleAdapter roleAdapter) in ReportKeyThread()
/base/web/webview/ohos_adapter/graphic_adapter/src/
H A Dvsync_adapter_impl.cpp48 getprocpid(), runner->GetKernelThreadId(), ResSchedRoleAdapter::USER_INTERACT); in ~VSyncAdapterImpl()
101 getprocpid(), runner->GetKernelThreadId(), ResSchedRoleAdapter::USER_INTERACT); in RequestVsync()
104 getprocpid(), runner->GetKernelThreadId(), ResSchedRoleAdapter::USER_INTERACT); in RequestVsync()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_aafwk_browser_client_adapter_wrapper.cpp32 NWeb::ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, NWeb::ResSchedRoleAdapter role) in ReportThread()
H A Dark_aafwk_browser_client_adapter_wrapper.h30 NWeb::ResSchedRoleAdapter role) override;
H A Dark_res_sched_client_adapter_wrapper.cpp22 ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid, ResSchedRoleAdapter roleAdapter) in ReportKeyThread()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_aafwk_browser_client_adapter_impl.cpp31 real_->ReportThread((NWeb::ResSchedStatusAdapter)status, process_id, thread_id, (NWeb::ResSchedRoleAdapter)role); in ReportThread()
H A Dark_res_sched_client_adapter_impl.cpp26 (NWeb::ResSchedStatusAdapter)statusAdapter, pid, tid, (NWeb::ResSchedRoleAdapter)roleAdapter); in ReportKeyThread()
/base/web/webview/ohos_adapter/aafwk_adapter/include/
H A Daafwk_browser_client_adapter_impl.h57 ResSchedRoleAdapter role) override;
/base/web/webview/ohos_adapter/aafwk_adapter/src/
H A Daafwk_browser_host_impl.cpp144 ResSchedRoleAdapter resSchedRole = static_cast<ResSchedRoleAdapter>(role); in ReportThread()
H A Daafwk_browser_client_adapter_impl.cpp173 ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, ResSchedRoleAdapter role) in ReportThread()
/base/web/webview/test/unittest/aafwk_app_client_adapter/
H A Dnweb_aafwk_adapter_test.cpp549 ResSchedRoleAdapter role = ResSchedRoleAdapter::USER_INTERACT; in HWTEST_F()

Completed in 10 milliseconds