Home
last modified time | relevance | path

Searched refs:ResSchedStatusAdapter (Results 1 - 17 of 17) sorted by relevance

/base/web/webview/test/unittest/ohos_adapter/res_sched_adapter_impl_test/
H A Dres_sched_adapter_impl_test.cpp61 bool result = resAdapter->ReportKeyThread(static_cast<ResSchedStatusAdapter>(-1), in HWTEST_F()
64 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
67 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
70 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
73 resAdapter->ReportNWebInit(ResSchedStatusAdapter::WEB_SCENE_ENTER, 1); in HWTEST_F()
74 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
79 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
83 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
87 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in HWTEST_F()
91 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter in HWTEST_F()
[all...]
/base/web/webview/test/fuzztest/ohos_adapter/resschedadapter_fuzzer/
H A Dresschedadapter_fuzz.cpp43 std::vector<ResSchedStatusAdapter> statuses = { ResSchedStatusAdapter::WEB_ACTIVE, in ResSchedAdapterFuzzTest()
44 ResSchedStatusAdapter::WEB_INACTIVE, ResSchedStatusAdapter::THREAD_CREATED, in ResSchedAdapterFuzzTest()
45 ResSchedStatusAdapter::THREAD_DESTROYED, ResSchedStatusAdapter::VIDEO_PLAYING_START, in ResSchedAdapterFuzzTest()
46 ResSchedStatusAdapter::VIDEO_PLAYING_STOP, ResSchedStatusAdapter::SCREEN_CAPTURE_START, in ResSchedAdapterFuzzTest()
47 ResSchedStatusAdapter::SCREEN_CAPTURE_STOP, ResSchedStatusAdapter in ResSchedAdapterFuzzTest()
[all...]
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dres_sched_client_adapter.h33 enum class ResSchedStatusAdapter : int32_t { class
75 ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid, ResSchedRoleAdapter roleAdapter);
77 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId = -1);
79 ResSchedStatusAdapter statusAdapter, ResSchedSceneAdapter sceneAdapter, int32_t nwebId = -1);
80 static bool ReportAudioData(ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid);
82 static void ReportNWebInit(ResSchedStatusAdapter statusAdapter, int32_t nwebId);
83 static void ReportRenderProcessStatus(ResSchedStatusAdapter statusAdapter, pid_t pid);
84 static bool ReportScreenCapture(ResSchedStatusAdapter statusAdapter, pid_t pid);
85 static bool ReportVideoPlaying(ResSchedStatusAdapter statusAdapter, pid_t pid);
H A Daafwk_browser_client_adapter.h31 ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, ResSchedRoleAdapter role) = 0;
/base/web/webview/ohos_adapter/res_sched_adapter/src/
H A Dres_sched_client_adapter_impl.cpp48 const std::unordered_map<ResSchedStatusAdapter, int64_t> RES_STATUS_MAP = {
49 { ResSchedStatusAdapter::THREAD_CREATED, ResType::ReportChangeStatus::CREATE },
50 { ResSchedStatusAdapter::THREAD_DESTROYED, ResType::ReportChangeStatus::REMOVE },
51 { ResSchedStatusAdapter::WEB_ACTIVE, ResType::WindowStates::ACTIVE },
52 { ResSchedStatusAdapter::WEB_INACTIVE, ResType::WindowStates::INACTIVE },
53 { ResSchedStatusAdapter::WEB_SCENE_ENTER, ResType::SceneControl::SCENE_IN },
54 { ResSchedStatusAdapter::WEB_SCENE_EXIT, ResType::SceneControl::SCENE_OUT },
55 { ResSchedStatusAdapter::AUDIO_STATUS_START, ResType::AudioStatus::START },
56 { ResSchedStatusAdapter::AUDIO_STATUS_STOP, ResType::AudioStatus::STOP },
57 { ResSchedStatusAdapter
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_res_sched_client_adapter_impl.cpp26 (NWeb::ResSchedStatusAdapter)statusAdapter, pid, tid, (NWeb::ResSchedRoleAdapter)roleAdapter); in ReportKeyThread()
32 (NWeb::ResSchedStatusAdapter)statusAdapter, pid, windowId, nwebId); in ReportWindowStatus()
38 (NWeb::ResSchedStatusAdapter)statusAdapter, (NWeb::ResSchedSceneAdapter)sceneAdapter, nwebId); in ReportScene()
43 return NWeb::ResSchedClientAdapter::ReportAudioData((NWeb::ResSchedStatusAdapter)statusAdapter, pid, tid); in ReportAudioData()
53 NWeb::ResSchedClientAdapter::ReportNWebInit((NWeb::ResSchedStatusAdapter)statusAdapter, nweb_id); in ReportNWebInit()
58 NWeb::ResSchedClientAdapter::ReportRenderProcessStatus((NWeb::ResSchedStatusAdapter)statusAdapter, pid); in ReportRenderProcessStatus()
63 return NWeb::ResSchedClientAdapter::ReportScreenCapture((NWeb::ResSchedStatusAdapter)statusAdapter, pid); in ReportScreenCapture()
68 return NWeb::ResSchedClientAdapter::ReportVideoPlaying((NWeb::ResSchedStatusAdapter)statusAdapter, pid); in ReportVideoPlaying()
H A Dark_aafwk_browser_client_adapter_impl.cpp31 real_->ReportThread((NWeb::ResSchedStatusAdapter)status, process_id, thread_id, (NWeb::ResSchedRoleAdapter)role); in ReportThread()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_res_sched_client_adapter_wrapper.cpp22 ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid, ResSchedRoleAdapter roleAdapter) in ReportKeyThread()
29 ResSchedStatusAdapter statusAdapter, pid_t pid, uint32_t windowId, int32_t nwebId) in ReportWindowStatus()
35 ResSchedStatusAdapter statusAdapter, ResSchedSceneAdapter sceneAdapter, int32_t nwebId) in ReportScene()
40 bool ResSchedClientAdapter::ReportAudioData(ResSchedStatusAdapter statusAdapter, pid_t pid, pid_t tid) in ReportAudioData()
50 void ResSchedClientAdapter::ReportNWebInit(ResSchedStatusAdapter statusAdapter, int32_t nweb_id) in ReportNWebInit()
55 void ResSchedClientAdapter::ReportRenderProcessStatus(ResSchedStatusAdapter statusAdapter, pid_t pid) in ReportRenderProcessStatus()
60 bool ResSchedClientAdapter::ReportScreenCapture(ResSchedStatusAdapter statusAdapter, pid_t pid) in ReportScreenCapture()
65 bool ResSchedClientAdapter::ReportVideoPlaying(ResSchedStatusAdapter statusAdapter, pid_t pid) in ReportVideoPlaying()
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.h29 void ReportThread(NWeb::ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id,
/base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkbrowserclientadapter_fuzzer/
H A Daafwkbrowserclientadapter_fuzzer.cpp92 ResSchedStatusAdapter newstatus = ResSchedStatusAdapter::THREAD_CREATED; in AafwkBrowserClientAdapterFuzzTest()
/base/web/webview/ohos_adapter/graphic_adapter/src/
H A Dvsync_adapter_impl.cpp47 ResSchedClientAdapter::ReportKeyThread(ResSchedStatusAdapter::THREAD_DESTROYED, in ~VSyncAdapterImpl()
100 ResSchedClientAdapter::ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in RequestVsync()
103 AafwkBrowserClientAdapterImpl::GetInstance().ReportThread(ResSchedStatusAdapter::THREAD_CREATED, in RequestVsync()
/base/web/webview/ohos_adapter/aafwk_adapter/include/
H A Daafwk_browser_client_adapter_impl.h56 void ReportThread(ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id,
/base/web/webview/ohos_adapter/aafwk_adapter/src/
H A Daafwk_browser_host_impl.cpp143 ResSchedStatusAdapter resSchedStatus = static_cast<ResSchedStatusAdapter>(status); 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/ohos_adapter/flowbuffer_adapter/src/
H A Dflowbuffer_adapter_impl.cpp63 OHOS::NWeb::ResSchedStatusAdapter::WEB_SCENE_ENTER, OHOS::NWeb::ResSchedSceneAdapter::KEY_TASK); in StartPerformanceBoost()
/base/web/webview/test/unittest/aafwk_app_client_adapter/
H A Dnweb_aafwk_adapter_test.cpp546 ResSchedStatusAdapter status = ResSchedStatusAdapter::THREAD_CREATED; in HWTEST_F()

Completed in 6 milliseconds