/base/web/webview/test/fuzztest/ohos_adapter/resschedadapter_fuzzer/ |
H A D | resschedadapter_fuzz.cpp | 51 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 D | res_sched_adapter_impl_test.cpp | 62 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 D | res_sched_client_adapter.h | 48 enum class ResSchedRoleAdapter : int32_t { class 75 ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid, ResSchedRoleAdapter roleAdapter);
|
H A D | aafwk_browser_client_adapter.h | 31 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 D | aafwkbrowserclientadapter_fuzzer.cpp | 93 ResSchedRoleAdapter newrole = ResSchedRoleAdapter::USER_INTERACT; in AafwkBrowserClientAdapterFuzzTest()
|
/base/web/webview/ohos_adapter/res_sched_adapter/src/ |
H A D | res_sched_client_adapter_impl.cpp | 63 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 D | vsync_adapter_impl.cpp | 48 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 D | ark_aafwk_browser_client_adapter_wrapper.cpp | 32 NWeb::ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, NWeb::ResSchedRoleAdapter role) in ReportThread()
|
H A D | ark_aafwk_browser_client_adapter_wrapper.h | 30 NWeb::ResSchedRoleAdapter role) override;
|
H A D | ark_res_sched_client_adapter_wrapper.cpp | 22 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 D | ark_aafwk_browser_client_adapter_impl.cpp | 31 real_->ReportThread((NWeb::ResSchedStatusAdapter)status, process_id, thread_id, (NWeb::ResSchedRoleAdapter)role); in ReportThread()
|
H A D | ark_res_sched_client_adapter_impl.cpp | 26 (NWeb::ResSchedStatusAdapter)statusAdapter, pid, tid, (NWeb::ResSchedRoleAdapter)roleAdapter); in ReportKeyThread()
|
/base/web/webview/ohos_adapter/aafwk_adapter/include/ |
H A D | aafwk_browser_client_adapter_impl.h | 57 ResSchedRoleAdapter role) override;
|
/base/web/webview/ohos_adapter/aafwk_adapter/src/ |
H A D | aafwk_browser_host_impl.cpp | 144 ResSchedRoleAdapter resSchedRole = static_cast<ResSchedRoleAdapter>(role); in ReportThread()
|
H A D | aafwk_browser_client_adapter_impl.cpp | 173 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 D | nweb_aafwk_adapter_test.cpp | 549 ResSchedRoleAdapter role = ResSchedRoleAdapter::USER_INTERACT; in HWTEST_F()
|