/ohos5.0/base/web/webview/test/unittest/ohos_adapter/res_sched_adapter_impl_test/ |
H A D | res_sched_adapter_impl_test.cpp | 64 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 67 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 70 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 73 resAdapter->ReportNWebInit(ResSchedStatusAdapter::WEB_SCENE_ENTER, 1); 74 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 79 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 83 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 87 result = resAdapter->ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, 125 resAdapter->ReportNWebInit(ResSchedStatusAdapter::WEB_SCENE_ENTER, 1); 134 resAdapter->ReportNWebInit(ResSchedStatusAdapter::WEB_SCENE_EXIT, 1); [all …]
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/resschedadapter_fuzzer/ |
H A D | resschedadapter_fuzz.cpp | 43 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::AUDIO_STATUS_START, in ResSchedAdapterFuzzTest() 48 ResSchedStatusAdapter::AUDIO_STATUS_STOP, ResSchedStatusAdapter::WEB_SCENE_ENTER, in ResSchedAdapterFuzzTest() 49 ResSchedStatusAdapter::WEB_SCENE_EXIT }; in ResSchedAdapterFuzzTest() 86 adapter.ReportNWebInit(ResSchedStatusAdapter::WEB_SCENE_EXIT, -1); in ResSchedAdapterFuzzTest()
|
/ohos5.0/base/web/webview/ohos_adapter/res_sched_adapter/src/ |
H A D | res_sched_client_adapter_impl.cpp | 48 const std::unordered_map<ResSchedStatusAdapter, int64_t> RES_STATUS_MAP = { 51 { ResSchedStatusAdapter::WEB_ACTIVE, ResType::WindowStates::ACTIVE }, 52 { ResSchedStatusAdapter::WEB_INACTIVE, ResType::WindowStates::INACTIVE }, 138 bool ConvertStatus(ResSchedStatusAdapter statusAdapter, int64_t& status) in ConvertStatus() 195 if (statusAdapter == ResSchedStatusAdapter::WEB_INACTIVE) { in IsSameSourceWebSiteActive() 198 if (it.second == ResSchedStatusAdapter::WEB_ACTIVE) { in IsSameSourceWebSiteActive() 209 void ReportStatusData(ResSchedStatusAdapter statusAdapter, in ReportStatusData() 251 if (statusAdapter == ResSchedStatusAdapter::WEB_ACTIVE) { in ReportStatusData() 359 if (statusAdapter == ResSchedStatusAdapter::WEB_ACTIVE) { in ReportWindowStatus() 404 if (statusAdapter == ResSchedStatusAdapter::WEB_SCENE_ENTER) { in ReportNWebInit() [all …]
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | res_sched_client_adapter.h | 33 enum class ResSchedStatusAdapter : int32_t { enum 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 D | aafwk_browser_client_adapter.h | 31 …ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, ResSchedRoleAdapter role) = 0;
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_res_sched_client_adapter_wrapper.cpp | 22 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 t… in ReportAudioData() 50 void ResSchedClientAdapter::ReportNWebInit(ResSchedStatusAdapter statusAdapter, int32_t nweb_id) in ReportNWebInit() 55 void ResSchedClientAdapter::ReportRenderProcessStatus(ResSchedStatusAdapter statusAdapter, pid_t pi… 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 D | ark_aafwk_browser_client_adapter_wrapper.h | 29 void ReportThread(NWeb::ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id,
|
H A D | ark_aafwk_browser_client_adapter_wrapper.cpp | 32 …NWeb::ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, NWeb::ResSchedRoleAdapt… in ReportThread()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_res_sched_client_adapter_impl.cpp | 26 … (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, pi… in ReportAudioData() 53 … NWeb::ResSchedClientAdapter::ReportNWebInit((NWeb::ResSchedStatusAdapter)statusAdapter, nweb_id); in ReportNWebInit() 58 …NWeb::ResSchedClientAdapter::ReportRenderProcessStatus((NWeb::ResSchedStatusAdapter)statusAdapter,… in ReportRenderProcessStatus() 63 …return NWeb::ResSchedClientAdapter::ReportScreenCapture((NWeb::ResSchedStatusAdapter)statusAdapter… in ReportScreenCapture() 68 …return NWeb::ResSchedClientAdapter::ReportVideoPlaying((NWeb::ResSchedStatusAdapter)statusAdapter,… in ReportVideoPlaying()
|
H A D | ark_aafwk_browser_client_adapter_impl.cpp | 31 …real_->ReportThread((NWeb::ResSchedStatusAdapter)status, process_id, thread_id, (NWeb::ResSchedRol… in ReportThread()
|
/ohos5.0/base/web/webview/ohos_adapter/graphic_adapter/src/ |
H A D | vsync_adapter_impl.cpp | 40 ResSchedClientAdapter::ReportKeyThread(ResSchedStatusAdapter::THREAD_DESTROYED, in ~VSyncAdapterImpl() 93 ResSchedClientAdapter::ReportKeyThread(ResSchedStatusAdapter::THREAD_CREATED, in RequestVsync() 96 … AafwkBrowserClientAdapterImpl::GetInstance().ReportThread(ResSchedStatusAdapter::THREAD_CREATED, in RequestVsync()
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkbrowserclientadapter_fuzzer/ |
H A D | aafwkbrowserclientadapter_fuzzer.cpp | 92 ResSchedStatusAdapter newstatus = ResSchedStatusAdapter::THREAD_CREATED; in AafwkBrowserClientAdapterFuzzTest()
|
/ohos5.0/base/web/webview/ohos_adapter/aafwk_adapter/src/ |
H A D | aafwk_browser_host_impl.cpp | 143 ResSchedStatusAdapter resSchedStatus = static_cast<ResSchedStatusAdapter>(status); in ReportThread()
|
H A D | aafwk_browser_client_adapter_impl.cpp | 169 ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id, ResSchedRoleAdapter role) in ReportThread()
|
/ohos5.0/base/web/webview/ohos_adapter/aafwk_adapter/include/ |
H A D | aafwk_browser_client_adapter_impl.h | 56 void ReportThread(ResSchedStatusAdapter status, int32_t process_id, int32_t thread_id,
|
/ohos5.0/base/web/webview/ohos_adapter/flowbuffer_adapter/src/ |
H A D | flowbuffer_adapter_impl.cpp | 63 … OHOS::NWeb::ResSchedStatusAdapter::WEB_SCENE_ENTER, OHOS::NWeb::ResSchedSceneAdapter::KEY_TASK); in StartPerformanceBoost()
|
/ohos5.0/base/web/webview/test/unittest/aafwk_app_client_adapter/ |
H A D | nweb_aafwk_adapter_test.cpp | 550 ResSchedStatusAdapter status = ResSchedStatusAdapter::THREAD_CREATED;
|