platform/framework/web/chromium-efl.git
11 months ago[M120 Migration] Implement suspend resume & thread booster services 66/311566/5
Jakub Gajownik [Wed, 15 May 2024 14:28:50 +0000 (16:28 +0200)]
[M120 Migration] Implement suspend resume & thread booster services

This migrates all the changes done to following services
on Chromium M120:
- suspend resume,
- thread booster.
Note that those services do not depend on any other
component, so it might be introduced separately from their
clients to make porting process easier.

This patch is a migration for commits:
* (partially) only services part
  [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292774

* Split suspend-resume service from thread booster
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295065

* (partially) only services part
  [WebRTC][GS] Thread booster adjustments
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295822

* fixup! Use last state when allocating overlays
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298802

* [MM][WebRTC] Implement mojo service for suspend resume
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/310822

* [MM][WebRTC] Extend suspend resume with partial view
  https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/310890

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ib8028fd5b5dfc9ae6252ef3d1c75c41802d601ef
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months agofixup! [WRTjs] Enable WRTjs 08/311708/5
Adam Bujalski [Thu, 16 May 2024 16:37:00 +0000 (18:37 +0200)]
fixup! [WRTjs] Enable WRTjs

Disabling debug messages from GRD, as they distracts developers not
working with GRD directly.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: I078ce67c931ecec4aaa584611698f880f8d35704
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration] Fix focus will be changed when input a text 25/311525/3
jie [Wed, 22 May 2024 05:59:15 +0000 (13:59 +0800)]
[M120 Migration] Fix focus will be changed when input a text

Hide or show IME should consider the input type for old text and new text.
Or else, sometimes focus will be changed automatically.

Like: ALTBalaji(appid: 3201902017790), after input "1" in IME, focus will be
changed from "1" to "q" automatically.

Reference:
 - https://review.tizen.org/gerrit/#/c/300875/

Change-Id: I7986fa8f6a4058b833e31f741ec6516fcf54d9b1
Signed-off-by: jie <jie137.zhang@samsung.com>
11 months ago[M120 Migration] Fix svace warning 06/310906/3
wuxiaoliang [Thu, 9 May 2024 09:34:35 +0000 (17:34 +0800)]
[M120 Migration] Fix svace warning

Migrated from:
https://review.tizen.org/gerrit/#/c/297825/
https://review.tizen.org/gerrit/#/c/299726/

Change-Id: I4c364e804a741517904107cd638b4c3f9c51d631
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[WebRTC] Fixing compiler warnings 95/311595/4 submit/tizen/20240523.160551
Adam Bujalski [Thu, 16 May 2024 16:39:09 +0000 (18:39 +0200)]
[WebRTC] Fixing compiler warnings

Fixing compiler warning related to WebRTC component.

Note that some `-Wthread-safety-analysis` or
`-Wthread-safety-reference-return` was fixed by adding proper function
annotations (`RTC_RUN_ON`). However some of them had to be suppressed by
`RTC_NO_THREAD_SAFETY_ANALYSIS`.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: Ibaf8a641554572bf9028e65ef391e132bbfd4bd6
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[VD][RISCV] Fixed 'uint8_t' has not been declared issue when enable AC4 Codec 34/311634/3
jie [Thu, 23 May 2024 03:03:01 +0000 (11:03 +0800)]
[VD][RISCV] Fixed 'uint8_t' has not been declared issue when enable AC4 Codec

Change-Id: I0267bee8161d07d87bc6fb04aef6ec7c7f6bb1ed
Signed-off-by: huochangjun <changjun.huo@samsung.com>
11 months ago[M120 Migration][HBBTV] Dolby new cases implementation 54/310954/4
wuxiaoliang [Fri, 10 May 2024 07:04:40 +0000 (15:04 +0800)]
[M120 Migration][HBBTV] Dolby new cases implementation

Migrated from:
https://review.tizen.org/gerrit/#/c/294860

Refer to the requirement of Dolby new cases,
We need to support three new features.

1. Select audio tracks according to the preferred language.
2. If the audio tracks have preselection info, we need select it first
3. User can enable Audio Description func in system menu, we need inform
   MM side to change the audio stream.

In the above cases, the preferred language is the highest priority.
A: If the preferred language audio tracks do not exist, it will select the defalut audio track 0.
B: The preferred language audio track lists exist,
  a. Audio Description enable,if they do not have "Audio Description" info,
  b. Audio Description disable,if all they have "Audio Description" info,
We will select the first one in the list in the above cases.

The first time we will help MM side to choose the audio track.
During the playback we only need to inform the audio option change to the MM side,
they will change the audio stream.

Change-Id: If3cb4c2295bf73d197258711a3dae8310f16912d
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration] Add max resolution callback to web browser 22/311222/4
“xiaofang” [Thu, 16 May 2024 06:59:24 +0000 (14:59 +0800)]
[M120 Migration] Add max resolution callback to web browser

When max resolution changed, web media should notify to webbrowser.
Webbrowser will reload video.

Refer:
https://review.tizen.org/gerrit/305082

Change-Id: I68e442ba520a1bc9cc013b7579c6e8575d6eb0a2
Signed-off-by: xiaofang <fang.xiao@samsung.com>
11 months ago[M120 Migration][VD] Add waiting for RW image mount 98/311498/3
jiangyuwei [Wed, 22 May 2024 03:20:56 +0000 (11:20 +0800)]
[M120 Migration][VD] Add waiting for RW image mount

When UWE is used but RW image was not mounted yet,
Engine could wrongly dlopen RO package.

This patch adds additional waiting for RW mount
to prevent from opening RO package by mistake.

Max waiting time for RW mount: 10s

Reference:
  - https://review.tizen.org/gerrit/301389/
  - https://review.tizen.org/gerrit/301791/

Change-Id: I9178bcb4316030645c0a141ee01aecf53eb7ef6f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration][WRTjs][VD] Resize native evas object to app window size 71/311371/3
zhaosy [Mon, 20 May 2024 07:53:13 +0000 (15:53 +0800)]
[M120 Migration][WRTjs][VD] Resize native evas object to app window size

In ultra width screen products(21:9 or 32:9), connect time app size is
2580*1080 or 3840*1080, but native evas object still is 1920*1080,
so mouse event is only working in 1920*1080 area.

Mouse event is based on this evas object, so resize it to app window size.

Reference Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/311368/

Change-Id: I9936c38d1334c29b2b00e21394f5c0a3c5c5468c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration] Add tizen_tv_upstream_multimedia feature to GN 38/311538/2
Jakub Gajownik [Mon, 20 May 2024 16:48:53 +0000 (18:48 +0200)]
[M120 Migration] Add tizen_tv_upstream_multimedia feature to GN

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I28decbe6f4bd10b93fc940ea174f6416500e8d89
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Indicate a need for raw frame access in WebCodecs 39/311439/2
Jakub Gajownik [Thu, 16 May 2024 15:32:38 +0000 (17:32 +0200)]
[M120 Migration] Indicate a need for raw frame access in WebCodecs

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300423/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ided79d6cd69d9f3e3aacff9a990ac8fa7dda9563
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[WebRTC][HW Encoder] Disable software encoder forcing for low resolutions 58/311558/4
Michal Jurkiewicz [Tue, 21 May 2024 11:46:48 +0000 (13:46 +0200)]
[WebRTC][HW Encoder] Disable software encoder forcing for low resolutions

This commit prevents fallbacking to software encoder for low stream
resolutions when HW encoder is available.

On Tizen TV we need to utilize HW resources as much as possible
to assure encoding performance.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I7a6c1fe41ec7b1f9a8bde22c006475604fd4809c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC][HW Encoder] Port video encoder from Tizen 8.0 44/311544/2
Michal Jurkiewicz [Tue, 6 Jun 2023 15:18:56 +0000 (17:18 +0200)]
[M120 Migration][WebRTC][HW Encoder] Port video encoder from Tizen 8.0

Port of the following patches:
* [MM][WebRTC] Introduce video encoder using standard pipeline
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294460
* [WebRTC][HW Encoder] Upstream architecture VideoEncoder code cleaning
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297814
* [WebRTC][HW Encoder] Properly identify HW encoder IDR frame
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297815
* [WebRTC][HW Encoder] Upstream architecture - Force Keyframe and GoP Size
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297814
* [WebRTC][HW Encoder] Upstream architecture - Bitrate change support
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298926
* [WebRTC][HW Encoder] Properly deallocate HW Encoder external memory
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306657
* [WebRTC][HW Encoder] Report bitrate change when needed
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306698
* [WebRTC][HW Encoder] Notify about platform encoder capabilities
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308071
* [WebRTC][HW Encoder] Return proper QP for encoded frame
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308125
* [WebRTC][HW Encoder] Force keyframe when no output buffer is available
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308189

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: Ida2284960f995c2ab17f8d25f33a4c031723d2da
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Fix simulcast functionality when VP8 encoder is used 33/311533/6
Michal Jurkiewicz [Mon, 20 May 2024 11:10:52 +0000 (13:10 +0200)]
[M120 Migration][WebRTC] Fix simulcast functionality when VP8 encoder is used

Ported changes of upstream part of the commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/303290

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I0646a245b2e9b988f66c4c06afe660e604763ed8
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] Fix crash on tracing initialization 73/311473/4
Robert Bycul [Mon, 13 May 2024 10:32:50 +0000 (12:32 +0200)]
[M120 Migration] Fix crash on tracing initialization

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292707

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I02a02328be78bd0a73c5967f2e310ec6c8c6b8ea
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WebRTC] Prefer H264 codec when available 37/311537/3
Michal Jurkiewicz [Mon, 5 Jun 2023 12:19:47 +0000 (14:19 +0200)]
[M120 Migration][WebRTC] Prefer H264 codec when available

Port of the following patch:
[WebRTC] Prefer H264 codec when available
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293893

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: Id9846bb5eb8f6bb2bf82d7ff50bc740a8523ef09
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration] WEBRTC_TIZEN_TV and WEBRTC_USE_HEVC defines 80/311480/6
Michal Jurkiewicz [Mon, 20 May 2024 12:44:53 +0000 (14:44 +0200)]
[M120 Migration] WEBRTC_TIZEN_TV and WEBRTC_USE_HEVC defines

Port of the following patch:
fixup! [M108 Aura Migration][WebRTC][GS] Port WebRTC Game Streaming from Tizen 7.0
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296590

Notice:
Base patch, apart from adding `WEBRTC_TIZEN_TV` and `WEBRTC_USE_HEVC`
defines, also replaces all usages of `BUILDFLAG(IS_TIZEN_TV)` and
`BUILDFLAG(ENABLE_PLATFORM_HEVC)`. Currently there are no such usages
inside `third_party/webrtc` directory, so no replace is being performed.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I667d7ec946156bba521ee0a8bc2bfe0b44f2f33f
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][WebRTC] Support camera to canvas feature 01/310201/8 submit/tizen/20240522.160018
hongyanting [Wed, 24 Apr 2024 05:35:06 +0000 (13:35 +0800)]
[M120 Migration][WebRTC] Support camera to canvas feature

Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292666/

Following patch is needed in Renderer side (crash issue):
  https://review.tizen.org/gerrit/#/c/292745/

Change-Id: Ica157c7d09cc290010a87b0575d9f3ea87feeb17
Signed-off-by: hongyanting <yanting.hong@samsung.com>
11 months ago[MM] Fix EME Crash for DecryptingDemuxerStream 89/311389/6
yangzw [Mon, 20 May 2024 10:05:47 +0000 (18:05 +0800)]
[MM] Fix EME Crash for DecryptingDemuxerStream

Issue: crash happened when call
  DecryptingDemuxerStream::GetDecryptorStreamType in
  DecryptingDemuxerStream::~DecryptingDemuxerStream()

Why: current the DecryptingDemuxerStream destroyed in
  dtor of PipelineImpl::RendererWrapper,
  and demuxer_stream_ detoryed in dtor of DemuxerManager
  in WebMediaPlayerImpl::~WebMediaPlayerImpl()

  A task posted to media thread to destroy DemuxerManager
  while PipelineImpl::RendererWrapper will be destroyed after
  WebMediaPlayerImpl::~WebMediaPlayerImpl() in main thread
  So, the destroy of DemuxerManager could be earlier than
  PipelineImpl::RendererWrapper.

Solution: destruct DecryptingDemuxerStream first

Change-Id: I28b2bf382cc87c982303228878de91cab77f9436
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months ago[M120 Migration][VD] Support Mouse and Touch separately 92/311392/2
fangfengrong [Mon, 20 May 2024 10:41:45 +0000 (18:41 +0800)]
[M120 Migration][VD] Support Mouse and Touch separately

WebAPP need set mouse and touch enable/disable separately for Premier.
So we need support mouse and touch separately.

For mouse/touch down/up/move event, EFL provide the same event callback;
there may be cases where the mouse and touch settings are different,
We can not unregister these event callback according one set.

1. Register event callabck
For mouse/touch down/up/move event(is common for mouse and touch), we register the event callback by default;
For mouse in/out/wheel event, register the event callback according mouseEnable
For multitouch event,register the event callback according touchEnable

2. the default value:
mouse: enable
touch: set default value according isSupportTouch product

3. when receive the mouse/touch common event callback:
if touch device and touch enable, handle as touch event,
if Mouse device and mouse enable, handle as mouse event,
other case, don't handle.

4. api:
provide internal api to wrt:
RWHVAuraCommonHelperEfl::SetMouseEventsEnabled
RWHVAuraCommonHelperEfl::SetTouchEventsEnabled

provide ewk api to other runtime:
Eina_Bool ewk_view_mouse_pointer_support_set(Evas_Object *view, Eina_Bool support)
Eina_Bool ewk_view_touch_events_enabled_set(Evas_Object *view, Eina_Bool enabled)

Reference:
  - https://review.tizen.org/gerrit/308707

Change-Id: I2725da163f2846f8270873ca177e3d53265fdeec
Signed-off-by: fangfengrong <fr.fang@samsung.com>
11 months ago[WRTjs][VD] Remove WRT media suspend logic 86/311486/2
zhaosy [Wed, 22 May 2024 01:10:19 +0000 (09:10 +0800)]
[WRTjs][VD] Remove WRT media suspend logic

Media implement the same logic in SetPageVisibility,
so remove related code in WRT.

Reference Patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310854/

Change-Id: I7f6b53144d05656b55d3ea831cefbb160b46a860
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
11 months ago[M120 Migration][MM] Replace presentable range with last dts 70/311470/5
Jakub Gajownik [Fri, 17 May 2024 10:30:13 +0000 (12:30 +0200)]
[M120 Migration][MM] Replace presentable range with last dts

Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300279

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1542
Change-Id: Ia707c7fdf5f737ffaeb36c8595067c4bdb0178be
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser 34/311334/4
wangjing [Fri, 17 May 2024 12:56:55 +0000 (20:56 +0800)]
[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser

For Tizen WebBrowser customization.
1. The root frame viewport use the specific scrollbar for the TV web browser.
2. The other frame use the traditional scrollbar to avoid some content
be covered by scrollbar.

refer:
https://review.tizen.org/gerrit/#/c/292169/

Change-Id: I4f5eced384c38ebe4224f11cba65c25b9afe9c84
Signed-off-by: wangjing <jing124.wang@samsung.com>
11 months ago[M120 Migration] Fix for new window not opening 88/308388/4
Rohit Kumar [Tue, 21 May 2024 09:44:37 +0000 (15:14 +0530)]
[M120 Migration] Fix for new window not opening

When clicked on linkedin Google Auth signin button,
window is not opening. This patch fixes this issue.

Reference: https://review.tizen.org/gerrit/304184

Change-Id: Ic9eafe415ecee01eb53aa19bb2229ef26ba8003d
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
11 months agoFixup! [M120 Migration] Support Dash high bitrate 67/311367/2
wuxiaoliang [Mon, 20 May 2024 06:32:22 +0000 (14:32 +0800)]
Fixup! [M120 Migration] Support Dash high bitrate

use std::string + to catenate string.

Change-Id: I19c9be512a4c2c914d6c6d385a1e49659451d8a9
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration][WebMedia]Report right status and currenttime to app 96/310896/4
peng1xiao [Thu, 9 May 2024 08:37:51 +0000 (16:37 +0800)]
[M120 Migration][WebMedia]Report right status and currenttime to app

1.Update video display aspect ratio and add error handle
Migrate from:
https://review.tizen.org/gerrit/#/c/293074/

2.Report right status and currenttime to app
Migrate from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295396/

3.refine SetAppInfo logic
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298626/

Change-Id: I11db13129af07352f88121a679c74d865c000ec6
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder. 04/311404/5
Jakub Gajownik [Thu, 16 May 2024 15:26:01 +0000 (17:26 +0200)]
[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder.

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310749/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I53b1e6fa09288754d5e940bbfb88ad75819e1c3c
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Support AC-4 audio codec 69/310869/6 submit/tizen/20240521.160018
yangzw [Thu, 9 May 2024 06:41:05 +0000 (14:41 +0800)]
[M120 Migration] Support AC-4 audio codec

HbbTV uses AC-4 encrypted audio stream.
This patch is verified by HbbTV MediaSource/AC-4 TCs.

ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299413/

Change-Id: I62876758e84c9f35386f5388466846b76b504c15
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months agofixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames 03/311403/3
Jakub Gajownik [Mon, 20 May 2024 10:21:55 +0000 (12:21 +0200)]
fixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I80540e12877640bb5eabfc820c9321cef754a2f8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture 98/311398/7
Jakub Gajownik [Thu, 16 May 2024 11:42:49 +0000 (13:42 +0200)]
[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308958/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Id57594cce10141973d0dba9fa56046f283b0c282
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict 81/311381/7
Jakub Gajownik [Thu, 16 May 2024 10:21:07 +0000 (12:21 +0200)]
[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308147/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Iddcef4861926abe9f67cd74f202b409d8cdf89e4
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Don't override demuxer for upstream arch 80/311380/6
Jakub Gajownik [Thu, 16 May 2024 10:11:20 +0000 (12:11 +0200)]
[M120 Migration][MM] Don't override demuxer for upstream arch

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307093/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ia0ab6a51d640e9a371c1c9c6fe87ae02b62dc0ce
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Restart player after hardware context reset 79/311379/6
Jakub Gajownik [Thu, 16 May 2024 09:41:24 +0000 (11:41 +0200)]
[M120 Migration][MM][WebRTC][GS] Restart player after hardware context reset

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306733/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I40f178459c6bbc2a702185c8b71dabf28fe706d1

11 months ago[M120 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI 78/311378/8
Michal Jurkiewicz [Thu, 30 Apr 2020 06:25:28 +0000 (08:25 +0200)]
[M120 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI

This patch ports Tizen TV WASM namespace (including versioning)
WebAPIs. This is a base for further WASM (and WebRTC, which also uses
versioning mechanism) ports.

The scope of porting included Tizen TV WASM core features.

Ported patches:
- https://review.tizen.org/gerrit/291864
- https://review.tizen.org/gerrit/292540
- https://review.tizen.org/gerrit/296072

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I2b0adea4452872c99f169a5dc8c11b16d221c76c

11 months ago[M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger 77/311377/2
Jakub Gajownik [Wed, 15 May 2024 11:06:58 +0000 (13:06 +0200)]
[M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger

Ported commits:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292141/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294275/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300090/
(partially) https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306460/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307840/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-501
Change-Id: Idb7f09ead3b56ad4b1e97bacbacf2999e4435d12
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months agoOptimize chromium rebuilds - icu build 76/311376/5
Michal Jurkiewicz [Wed, 15 May 2024 14:14:59 +0000 (16:14 +0200)]
Optimize chromium rebuilds - icu build

On tizen 9.0, as `icu_copy_icudata_to_root_build_dir` flag
is set, `icudtl.dat` is copied to output dir by `copy_icudata`
action (`third_party/icu/BUILD.gn`) and does not need to be
copied manually.

`common/icudtl.dat` and `android/icudtl.dat` are the same files,
so this patch removes unneeded copy of `android/icudtl.dat`
to output dir.

Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Change-Id: I46eb1ad3c4d91633f3d1544ed53e2b3ed7faebd9
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Prefer GL fence for presentation notification 75/311375/5
Jakub Gajownik [Thu, 16 May 2024 09:36:58 +0000 (11:36 +0200)]
[M120 Migration][MM][WebRTC][GS] Prefer GL fence for presentation notification

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/305359/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I740dcd322ab61cb937631213476a89d7e06e58d3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Add workarounds related to decoder 74/311374/5
Jakub Gajownik [Thu, 16 May 2024 09:24:19 +0000 (11:24 +0200)]
[M120 Migration] Add workarounds related to decoder

Note that workarounds usages are ported with separate
patches. Here we've definitions from:
* [MM][WebRTC][GS] Workaround for wrong clip geometry setting
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309086/
* [MM][WebRTC][GS] Use HV flip instead of rotate 180
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309305/
* [MM][WebRTC][GS] Limit rotation support on KantSU2e
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309306/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2e5c16762fa704fa21d9f37912fcc21a362d525a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Support machine model name under gpu info 73/311373/5
Jakub Gajownik [Thu, 16 May 2024 09:17:40 +0000 (11:17 +0200)]
[M120 Migration] Support machine model name under gpu info

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309039/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ibbff25ac91b913c7919bcc3d23d8ae2a89900434
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Add new api for webbrowser to set default audio input device 47/310847/4
wuxiaoliang [Thu, 9 May 2024 03:18:55 +0000 (11:18 +0800)]
[M120 Migration] Add new api for webbrowser to set default audio input device

void ewk_settings_default_audio_input_device_set(Ewk_Settings* settings, const char* device_id);

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295162/

Change-Id: I9b2cb049bd28ae8b11af7a12a7a2768b16c29ef4
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months ago[M120 Migration] Remove duplicate function definition 61/311361/2
jiangyuwei [Mon, 20 May 2024 05:17:44 +0000 (13:17 +0800)]
[M120 Migration] Remove duplicate function definition

Below function have duplicate definition:
ewk_check_chromium_ready
ewk_wait_chromium_ready

Reference:
  - https://review.tizen.org/gerrit/289662/

Change-Id: I06437556545edcb34c7e045f8974e3cf17b95c83
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[HBBTV] Add TS stream judgement 48/310848/6
yangzw [Thu, 9 May 2024 03:29:12 +0000 (11:29 +0800)]
[HBBTV] Add TS stream judgement

Add TS judgment when url is .ts

ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298300/

Change-Id: I6709a156438844e09a2390fd23c996ce9cbb03aa
Signed-off-by: yangzw <zw714.yang@samsung.com>
11 months agoRevert "[M120 Migration][VD] Add waiting for RW image mount" 72/311372/2
jiang yuwei [Mon, 20 May 2024 07:56:51 +0000 (07:56 +0000)]
Revert "[M120 Migration][VD] Add waiting for RW image mount"

This reverts commit 36e4fa72efc2fa71ab28e3c3d00c5790ef8d9c50.

Change-Id: I197ec029fb2420e8d2fe1182e1e9129ef9c77d02

11 months ago[M120 Migration][MM] Suspend/Resume according to webview visibility 54/310854/4
zhishun.zhou [Thu, 9 May 2024 04:10:16 +0000 (12:10 +0800)]
[M120 Migration][MM] Suspend/Resume according to webview visibility

The suspend/resume message delivery to redner process too late.
Let's call player suspend/resume according webview visibility.

Patch from:
https://review.tizen.org/gerrit/#/c/301466/

Change-Id: Ia7e6f51c301e0502e2f3b7e723cae387cb1c4ee2
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
11 months ago[M120 Migration] Enable symbolize on local build by default 55/311355/2 submit/tizen/20240520.160019
chenhuasheng [Mon, 20 May 2024 01:12:07 +0000 (09:12 +0800)]
[M120 Migration] Enable symbolize on local build by default

This enables symbolize on local build for debugging to use backtracing
log.

Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291142/

Change-Id: I647a858898fc70a123a5e6a7acd3bd3a2c919baa
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
11 months ago[M120 Migration][MM][HBBTV] Support Hbbtv Auto Play 98/310698/3
xiaofang [Mon, 8 May 2023 01:13:32 +0000 (09:13 +0800)]
[M120 Migration][MM][HBBTV] Support Hbbtv Auto Play

when hbbtv load resource complete,state is FutureData.
let paused = false to make "play" is called.

Migration from:
https://review.tizen.org/gerrit/292422/

Change-Id: I739a898420f003fd94d0f6610e69cca47a57afd6
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
11 months ago[Chrome] Fix for chrome://apps load failure 42/311242/3
Chandan Padhi [Thu, 16 May 2024 13:35:11 +0000 (19:05 +0530)]
[Chrome] Fix for chrome://apps load failure

chrome://apps failed to load as the corresponding pak file
was not getting generated. This commit enables the same.

Change-Id: I1aaafd3d436cf055c2f92087acb61958170aebfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
11 months ago[M120 Migration][MM] Clear glibc's malloc cache periodically 37/310937/3
wuxiaoliang [Fri, 10 May 2024 02:36:51 +0000 (10:36 +0800)]
[M120 Migration][MM] Clear glibc's malloc cache periodically

Migrated from:
https://review.tizen.org/gerrit/#/c/297241/
https://review.tizen.org/gerrit/#/c/298636/

Change-Id: Iad29a6b3b090170aee2ceafd95633ad93923f3b5
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months agoFixup! [M120 Migration] Support HDR10+ property 25/311125/2
wuxiaoliang [Tue, 14 May 2024 09:17:35 +0000 (17:17 +0800)]
Fixup! [M120 Migration] Support HDR10+ property

remove repeated log.

Change-Id: Ia961a1c1d95f84715b1e3c4b9c282c76c2966b96
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
11 months agofixup! [Tizen] Fix for Compiler and linker errors 25/311325/5 submit/tizen/20240519.160016
Adam Bujalski [Thu, 16 May 2024 09:30:44 +0000 (11:30 +0200)]
fixup! [Tizen] Fix for Compiler and linker errors

Setting `use_atk=false` in `gn_chromiumefl.sh` has no effect, due to a
way `use_atk` variable is defined in `//build/config/ui.gni` it only
causes that triggering following warning message:

```
  WARNING at the command-line "--args":1:869: Build argument has no effect.
    use_libjpeg_turbo=true rtc_enable_sctp=true use_alsa=false ....

  Did you mean "use_gtk"?

  The variable "use_atk" was set as a build argument
  but never appeared in a declare_args() block in any buildfile.
```

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: I4d9757a61ccf94820e3364d94c8f676721455bb2
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Recreate renderer for upstream architecture 29/311329/5
Jakub Gajownik [Wed, 15 May 2024 10:31:13 +0000 (12:31 +0200)]
[M120 Migration][MM][WebRTC][GS] Recreate renderer for upstream architecture

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/303066/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Icf146f1cfea03f37a6e650883ddbb706afde3b37
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM][WebRTC][GS] Disable video hole for upstream architecture 27/311327/6
Jakub Gajownik [Wed, 15 May 2024 10:24:54 +0000 (12:24 +0200)]
[M120 Migration][MM][WebRTC][GS] Disable video hole for upstream architecture

Ported commits:
* [MM][WebRTC][GS] Disable video hole for upstream architecture
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300798/
* fixup! [MM][WebRTC][GS] Disable video hole for upstream architecture
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301044/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I9f1fac5dd3353860dcf1dd0fceeb4ffb1cb25af3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Adding default values for features 30/311330/2
Adam Bujalski [Tue, 18 Apr 2023 08:06:38 +0000 (10:06 +0200)]
[M120 Migration] Adding default values for features

There were variables set in `gn_chromiumefl.sh` but not declared in GN
files, which caused following warning:

  WARNING at the command-line "--args":1:510: Build argument has no effect.

  The variable "SOME_VAR" was set as a build argument
  but never appeared in a declare_args() block in any buildfile.

This patch provides default values for them or avoids providing
value them for TV build in gn_chromiumefl.sh script.

Ref: https://review.tizen.org/gerrit/291865
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I4bcaa92138f692b88c84d17400e94a64d4b1789c

11 months ago[M120 Migration] Optimize chromium rebuilds 28/311328/2
Michal Jurkiewicz [Wed, 15 May 2024 12:02:01 +0000 (14:02 +0200)]
[M120 Migration] Optimize chromium rebuilds

Port the following patch from tizen 7.5:

  * [M108 Migration] Optimize chromium rebuilds
    https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/290585

Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Change-Id: I50fef0b948d3f265d36e41b7019ae81687f689fc

11 months ago[M120 Migration][MM][WebRTC][GS] Adjust software fallback mechanism 21/311321/4
Jakub Gajownik [Wed, 15 May 2024 10:11:57 +0000 (12:11 +0200)]
[M120 Migration][MM][WebRTC][GS] Adjust software fallback mechanism

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299146/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2563e5c323b098e6dda23f679bb43edbf16cf5da
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration][MM] Use video surfaces when upstream architecture enabled 90/311290/4
Jakub Gajownik [Wed, 15 May 2024 10:03:02 +0000 (12:03 +0200)]
[M120 Migration][MM] Use video surfaces when upstream architecture enabled

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294858/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I876372dc1c20442f9836df00cd2ed5ed18b38280
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Introduce dedicated functions to check modes 89/311289/3
Jakub Gajownik [Thu, 16 May 2024 14:43:30 +0000 (16:43 +0200)]
[M120 Migration] Introduce dedicated functions to check modes

Ported commits:
* Introduce dedicated funtion to check upstream architecture
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308361/
* [MM] Introduce dedicated function to check game mode
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309473/

There is no using of those functions yet ported, but it
should be easier to do later. Decreases number of patches
needed to be done manually.

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I5b1de2e1cb0548cb15fa9611780939d4ea2ed45a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] Fixing compiler warnings 63/311263/9
Adam Bujalski [Tue, 29 Aug 2023 11:44:09 +0000 (13:44 +0200)]
[M120 Migration] Fixing compiler warnings

Porting patches related to fixing compiler warnings for Chromium code
or suppressing them for 3rd party libraries.

Ported patches:
- https://review.tizen.org/gerrit/290586
- https://review.tizen.org/gerrit/290747
- https://review.tizen.org/gerrit/290748
- https://review.tizen.org/gerrit/291197
- https://review.tizen.org/gerrit/298149

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I00ef221014189c1275613fcec9984dfb52efcdd8

11 months ago[M120 Migration][VD] Add waiting for RW image mount 84/311184/2 submit/tizen/20240517.160021
jiangyuwei [Thu, 16 May 2024 01:56:08 +0000 (09:56 +0800)]
[M120 Migration][VD] Add waiting for RW image mount

When UWE is used but RW image was not mounted yet,
Engine could wrongly dlopen RO package.

This patch adds additional waiting for RW mount
to prevent from opening RO package by mistake.

Max waiting time for RW mount: 10s

Reference:
  - https://review.tizen.org/gerrit/301389/

Change-Id: Ie83cde9ac0fe41391ecc6f01887da52d3d431c89
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
11 months ago[M120 Migration][VD] Implement the specific scrollbar for the TV web browser. 49/310949/5
wangjing [Fri, 10 May 2024 05:44:39 +0000 (13:44 +0800)]
[M120 Migration][VD] Implement the specific scrollbar for the TV web browser.

The web browser team wants specific scrollbar to the TV.
So we implemented the scrollbar based on the GUI guideline document.

If you want test it, need enable with the command as below.
(eg. ubrowser --enable-features=NativeScrollbar)

refer:
https://review.tizen.org/gerrit/#/c/291989/

Change-Id: I5b26519be7f05fa78e6a86e816c4f96e3fb47ace
Signed-off-by: wangjing <jing124.wang@samsung.com>
11 months ago[M120 Migration][WASM] Adding flag indicating builds for Tizen TV to V8 40/311240/4
Robert Bycul [Thu, 9 May 2024 10:53:13 +0000 (12:53 +0200)]
[M120 Migration][WASM] Adding flag indicating builds for Tizen TV to V8

Ported patch:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/291875

There are some additional V8 features added for Tizen TVs only, so flag
indicating build for such platform is required in V8.

Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I5a59e989bf5c40c4bbc9e3cc99c4730981ce8a70
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
11 months ago[M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames 39/311239/3
Jakub Gajownik [Wed, 15 May 2024 08:50:51 +0000 (10:50 +0200)]
[M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames

Ported commits:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296944/
(partially) https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297919/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301487/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I3f6a487283613a6bef176ee260c7cca25c6bc9d8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] fixup! [MM] Handle buffering and playback 38/311238/3
Jakub Gajownik [Wed, 15 May 2024 05:43:53 +0000 (07:43 +0200)]
[M120 Migration] fixup! [MM] Handle buffering and playback

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294072/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2f37f454d03943c4b1659d56a2280213f05ec8c5
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[M120 Migration] fixup! [M108 Migration][MM] Introduce renderer seek 37/311237/3
Jakub Gajownik [Wed, 15 May 2024 05:31:41 +0000 (07:31 +0200)]
[M120 Migration] fixup! [M108 Migration][MM] Introduce renderer seek

Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294071/

Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I1016ea89f12f3f5081364601476d45e457f19f82
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
11 months ago[Coverage] Patch for UnitTest coverage 08/311208/5 submit/tizen/20240516.160022
nishitha [Thu, 16 May 2024 06:08:56 +0000 (11:38 +0530)]
[Coverage] Patch for UnitTest coverage

Improve line and function coverage percentages.

Coverage result with the patch-
Lines    : 86.8%
Functions: 85.1%

Reference: https://review.tizen.org/gerrit/309202

Change-Id: Ic13957441e962216404b322145608b2e1bf664fe
Signed-off-by: nishitha <n.saravanan@samsung.com>
11 months ago[M120 Migration] Fix availWidth/availHeight is not work 24/311224/1
v-saha [Thu, 16 May 2024 07:56:09 +0000 (13:26 +0530)]
[M120 Migration] Fix availWidth/availHeight is not work

availWidth/availHeight is based on work area, it was set
while init display info, and this is platform dependence.

Reference: https://review.tizen.org/gerrit/293023

Change-Id: Ie5ffc5dc0669780beb330b762098895ebbc4ce67
Signed-off-by: v-saha <v.saha@samsung.com>
11 months ago[WRTjs][VD] Clear cache in native side directly in low memory case 88/310788/4
zhaosy [Wed, 8 May 2024 06:38:40 +0000 (14:38 +0800)]
[WRTjs][VD] Clear cache in native side directly in low memory case

In low memory case, send event from native side -> wrtjs -> native side to clear cache.
But sometimes, it costs too much time to send event, then app maybe is dead-lock.
So clear cache in native side directly.

Change-Id: Ibfeb32ab4ba9d8c3b8327e3a57e68bdb3d9c2dfe
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
12 months ago[WRTjs][Service] Add Service app status mechanism 48/309848/8 submit/tizen/20240515.160016
Chunling Ye [Wed, 17 Apr 2024 07:19:15 +0000 (15:19 +0800)]
[WRTjs][Service] Add Service app status mechanism

Depend on patch:
https://review.tizen.org/gerrit/309855/

Change-Id: I677bf5cbd60e52314762fb2c56a8e6d555f5f07d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
12 months agofixup! [M120 Migration] Refactor CookieManager 51/311151/1 accepted/tizen/unified/20240516.031732 accepted/tizen/unified/x/20240516.064103
jiangyuwei [Wed, 15 May 2024 07:28:55 +0000 (15:28 +0800)]
fixup! [M120 Migration] Refactor CookieManager

1.Implement CookieManager functions via network::mojom::CookieManager
2.Delete cookies on UI thread
3.Remove UrlRequestContextGetter related code
4.Fix code style issue

References:
 - https://review.tizen.org/gerrit/293007/

Change-Id: Iaef9935b1ff60bc4f29d3f92b06730137fe8e1c3
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 migration][MM][HBBTV] Add video_id for JS and EWK API 39/311039/4
zhishun.zhou [Mon, 13 May 2024 08:00:04 +0000 (16:00 +0800)]
[M120 migration][MM][HBBTV] Add video_id for JS and EWK API

Support js interface that used to get video id of video element.
It's used by HBBTV.

Patch from:
https://review.tizen.org/gerrit/#/c/293421/
https://review.tizen.org/gerrit/#/c/294255/

Some part of the original patch have been merged by:
https://review.tizen.org/gerrit/#/c/309217/

Change-Id: I49de03056f0ddc79df13a42b880a28dc1e479812
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration][VD] Force sync level database file on low end 05/311105/2
feifei08.liu [Tue, 14 May 2024 06:10:11 +0000 (14:10 +0800)]
[M120 Migration][VD] Force sync level database file on low end

Vdfs4 filesystem can't sync timely. Checked with tizen linux kernel team,
kernel need to wait 30s then do auto sync after last write operation by user.
For HbbTV power cycle test, the new content is not really write done.
Since these exception cases, WebEngine do force sync for level database file.

Refer: https://review.tizen.org/gerrit/297841/

Change-Id: I142d33bf3476cf7cdf2dfb1f1c24b58bf0b0c961
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
12 months ago[M120 Migration][VD] Ignore "p2p" port message notified by system kernel 84/311084/3
jingjieli [Tue, 14 May 2024 02:17:12 +0000 (10:17 +0800)]
[M120 Migration][VD] Ignore "p2p" port message notified by system kernel

NetLink sends RTM_NEWADDR message for "p2p" port,
this causes WebEngine close all unfinished requests.
user APP should skip its events.

References:
https://review.tizen.org/gerrit/#/c/296054/

Change-Id: Ia430b7a2dded1618585128a72cfe21296132f40b
Signed-off-by: jingjieli <jingjie.li@samsung.com>
12 months ago[M120 Migration] Update libdir and include dir 38/311138/2
Qiang Ji [Tue, 14 May 2024 10:48:18 +0000 (18:48 +0800)]
[M120 Migration] Update libdir and include dir

Don't use fixed dir for lib and include dir, use
_libdir to instead.

refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/275831/

Change-Id: I1c632fea09a3915fd90c3cc05f25fbf5d75d4c78
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
12 months ago[WRTjs][VD] Change the Json format for camera info api for service app 40/311140/1
liwei90727 [Tue, 14 May 2024 03:18:34 +0000 (11:18 +0800)]
[WRTjs][VD] Change the Json format for camera info api for service app

This camera api is for devicehome, and there is nested redundant array,
change JS format from
"camera_device_list" :
[
        [
                {
                        "name" : "C922 Pro Stream Webcam",
                        "type" : 12
                }
        ]
],
"device_count" :
[
       "1"
]

to
"camera_device_list": [
    {
      "name": "C922 Pro Stream Webcam",
      "type": "1"
    }
],
"device_count": "1"

Change-Id: I729b5f08d46cc5e8fb043e814812eed2cc49a39e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
12 months ago[M120 Migration]Make WebContentsViewAuraHelperEfl also work for onscreen mode. 86/311086/3 submit/tizen/20240514.160017
fangfengrong [Tue, 14 May 2024 02:42:21 +0000 (10:42 +0800)]
[M120 Migration]Make WebContentsViewAuraHelperEfl also work for onscreen mode.

While onscreen mode, such as WRT also need use the WebContentsViewAuraHelperEfl
class to route some calls to wrt efl delegate classes.

So remove offscreen mode check,
make WebContentsViewAuraHelperEfl work for both onscreen and offscreen mode.

Reference:
https://review.tizen.org/gerrit/#/c/291598

Change-Id: I9e3ae81b59b208a0209799c7c8aff7b8fe2f44a8
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][HBBTV] Set DynamicPlugin when Network service enable. 23/311023/3
fang fengrong [Mon, 13 May 2024 02:58:16 +0000 (10:58 +0800)]
[M120 Migration][HBBTV] Set DynamicPlugin when Network service enable.

Now the Network service is default enabled. When it's enabled,
URLRequestContextGetter is not created,
URLRequestInterceptor with DynamicPlugin is not created.
This patch implement it when Network service is enabled.
Because there is no interceptor, we parse url in ThrottlingURLLoader now.

Reference:
https://review.tizen.org/gerrit/#/c/290763

Change-Id: I6b812b06ab3c5e4a3f4db606209e309795fac74e
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] When vd_gcov is set, enable g++ as the default compiler 50/311050/2
zhaodan [Mon, 13 May 2024 08:21:37 +0000 (16:21 +0800)]
[M120 Migration][VD] When vd_gcov is set, enable g++ as the default compiler

ref:https://review.tizen.org/gerrit/#/c/293981/

Change-Id: I90a6663941f3fe4b3487fc93b97d21e0a21377af
Signed-off-by: zhaodan <danys.zhao@samsung.com>
12 months ago[M120 Migration] Fix lfd/iwb device shows black screen while launching webbrowser 79/311079/3
Qiang Ji [Tue, 14 May 2024 00:45:06 +0000 (08:45 +0800)]
[M120 Migration] Fix lfd/iwb device shows black screen while launching webbrowser

From M108, gpu thread and main thread need to share texture id, so we used
virtualized gl context. Gpu thread called egl interface to create gl context,
we need to pass a shared context to it. So we should create gpu thread context
after GLSharedContextEflPrivate which was created when a web view was added.

We modified the startup sequence for LFD/IWB device.
1. Create GPU channel host
2. Create GLSharedContextEflPrivate
3. EstablishGpuChannel
4. Create egl context based on GLSharedContextEflPrivate as shared context

while orig sequence on LFD/IWB is
1. Create GPU channel host
2. EstablishGpuChannel
3. Create egl context without shared context
4. Create GLSharedContextEflPrivate

refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297077/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301030/

Change-Id: Id2dd854dfbf677b0340896d9b8553b49b30daa57
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
12 months ago[M120 Migration] Fixes svace issues 49/311049/2 submit/tizen/20240513.160016
jiangyuwei [Mon, 13 May 2024 08:22:37 +0000 (16:22 +0800)]
[M120 Migration] Fixes svace issues

This patch fixes the following issues:
Return value of a function 'evas_device_name_get' is dereferenced
at efl_event_handler.cc:983 without checking for NULL.

Add null check for the device_name.

References:
  - https://review.tizen.org/gerrit/302969/

Change-Id: I3df82fec4d639e5a5e3b61355f3b1b48feef905c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Add a check for layout_object in LoadPlugin. 45/311045/2
jiangyuwei [Mon, 13 May 2024 08:00:19 +0000 (16:00 +0800)]
[M120 Migration] Add a check for layout_object in LoadPlugin.

The check for layout_object is removed in upstream.
But it may still be null, so add a check for it.

References:
  - https://review.tizen.org/gerrit/291492/

Change-Id: I9067a94ad5ffccc884bb636cd37e3963d11d1221
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months agoFix datetime and time input boxes 11/309511/4
Daniil Ruban [Thu, 11 Apr 2024 14:43:10 +0000 (16:43 +0200)]
Fix datetime and time input boxes

- Fixes 'time-tizen-test's
- Due to EFL 'date-time box' returns time in ISO8601 format, chromium blink
  can't parse it. For such reason was added simple offset to the input datetime
  string (ISO8601_TIME_OFFSET).
- Almost the same story with datetime input box (not datetime-local),
  due to there is no TZ in EFL output, blink wasn't able to parse the string.
  As solution - use the same parsing as datetime-local,
  if string shorter then ISO8601 + TZ, then use old one.

Change-Id: Id1bac3a738179d543d19b1165fe76e8233a5cd4a
Signed-off-by: Daniil Ruban <intx82@gmail.com>
12 months ago[M120 Migration][VD] Support radio and checkbox input 08/310908/5
fangfengrong [Thu, 9 May 2024 09:45:33 +0000 (17:45 +0800)]
[M120 Migration][VD] Support radio and checkbox input

Support radio and checkbox input.
Converting 'Enter' key of RC to 'space' key,
for Support select radio and checkbox by Remote Control 'Enter' key.

Refer:
https://review.tizen.org/gerrit/#/c/305530

Change-Id: I950292037832e89eb6671abe9df753cd7cf04578
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration]Fix Mouse Position Issue in miniplayer 27/310927/4
fang fengrong [Thu, 9 May 2024 09:21:57 +0000 (17:21 +0800)]
[M120 Migration]Fix Mouse Position Issue in miniplayer

1. On miniplayer window, the window x position is not from 0,
need minus x offset, or else will cause the screen position wrong.

2. When mouse in, set focus to efl window to fix miniplayer without focus issue.

refer:
https://review.tizen.org/gerrit/#/c/299719/

Change-Id: I5abb5e3f496ac417cee82f7f347dec81887af778
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[WRTjs][VD] Add lock for preload extension handle map 97/310997/2
Chunling Ye [Sat, 11 May 2024 07:37:37 +0000 (15:37 +0800)]
[WRTjs][VD] Add lock for preload extension handle map

To avoid crash happenend when set preload handle map in
defect DF240509-01457.

Change-Id: I4c9cff243826e34a47a0a56166d8656b2ed5d691
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
12 months ago[M120 Migration]Fix hbbtv failed to lose window focus issue. 34/310934/3 submit/tizen/20240512.160015
fangfengrong [Fri, 10 May 2024 02:20:31 +0000 (10:20 +0800)]
[M120 Migration]Fix hbbtv failed to lose window focus issue.

Disable lostFocus cause document.hasFocus value is wrong.
So let hbbtv call set focus when they use.

refer:
https://review.tizen.org/gerrit/#/c/302132/

Change-Id: I975a6d532ba4bc5481236bad87dc87432d014dab
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][MM] Support Media Sync feature 83/310983/5
yangzw [Fri, 10 May 2024 11:09:25 +0000 (19:09 +0800)]
[M120 Migration][MM] Support Media Sync feature

Add 6 APIs for JS to get/set media info
Add API and callback for mrsurl and contentId

ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293176/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298300/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299955/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299805/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297224/

Change-Id: I1bf8600eb43d0ff35cd81e8590a3a8ed3b816255
Signed-off-by: yangzw <zw714.yang@samsung.com>
12 months ago[M120 Migration][VD] Handle some key on IME for HBBTV 09/310909/3
fang fengrong [Thu, 9 May 2024 10:01:29 +0000 (18:01 +0800)]
[M120 Migration][VD] Handle some key on IME for HBBTV

1.[VD] handle Up key on top of IME as same as Return Back key for HBBTV

It's a new requirement for HBBTV from tizen 4.0:
Press up key on the top of IME behavior should handled as same as
press Return Back key behavior.

The requirement is same with webbrowser and wrt, so remove the macro,
handle ConvertUpToReturnBackIfNeeded as common.

Add some log on OnInputPanelStateChanged for debug IME show/hide state.

2.[VD] Modify keycode of IME Cancel key and IME Done key for HBBTV

It's a new requirement for HBBTV:
HBBTV need support IME as same as webapp(WRT).

Make the key/keycode on HBBTV as same as on the webapp(WRT):
IME Cancel:
key:"Cancel", keyCode:65385

IME Done/Go/Search:
key:"Select", keyCode:65376

Also deliver these keys to js for js handle.

refer:
https://review.tizen.org/gerrit/#/c/299729/
https://review.tizen.org/gerrit/#/c/301193/

Change-Id: I57f83b1ffc5fb1da664aea4464f08ed0acaf6d5b
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD]Support use floating IME for webapp 12/310912/2 submit/tizen/20240510.160015
fangfengrong [Thu, 9 May 2024 10:57:08 +0000 (18:57 +0800)]
[M120 Migration][VD]Support use floating IME for webapp

It's a new requirement for webapp on 22/23/24 year product,
webapp can decided use floating IME or not,default is don't use.

If app set use floating IME, then WebEngine need deliver app's set to IME
by ecore_imf_context_input_panel_imdata_set api with action=floating_ui
for IME to floating IME UI.

refer:
https://review.tizen.org/gerrit/#/c/300199/

Change-Id: Ib0ad11b7bbcd3ffd4fa5e359dfd9ac27cecc6c25
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration]Fix an issue which Service worker crash in BBC certification tests 33/310933/2
fangfengrong [Fri, 10 May 2024 02:15:58 +0000 (10:15 +0800)]
[M120 Migration]Fix an issue which Service worker crash in BBC certification tests

Produce2024 BBC certification test need verify service  worker.
HbbTV crashed when running the service worker tests.

testcase:
ACT-1490 Service Worker: Non blocking, run off the main thread
ACT-1493 Service Worker: Intercept and cache fetch requests
ACT-1494 Service Worker: Register/unregister

When GetLoaderFactoryForBrowserInitiatedRequest call WillCreateURLLoaderFactory pass a nullptr(frame).
Then  WillCreateURLLoaderFactory pass frame->GetFrameTreeNodeId() as functional parameter caused crash.

solution:
When RenderFrameHost is null, do not create any URLLoaderFactory.

refer:
https://review.tizen.org/gerrit/#/c/296941/
https://review.tizen.org/gerrit/#/c/297918

Change-Id: Ia3f4512cba0ec295dd0c3685ece89a0923a929b2
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration] Disable DoH as default 08/310808/2
shayh [Wed, 8 May 2024 10:43:56 +0000 (18:43 +0800)]
[M120 Migration] Disable DoH as default

DoH is DNS over HTTPs, to improve security of DNS, but need time to query
clearall app will appear some unreasonable url request.
like https://dns.google/dns-query?dns=AAABAAABAAAAAAABA3d3dwdnc3RhdGljA2NvbQAAAQABAAApEAAAAAAAAFQADABQAAAAAA

DoH will effect app loading performance, so disable as default

Change-Id: I2bc3e884a6d56692feb5d9a155ef2a9fe4722778
Signed-off-by: shayh <yuhong.sha@samsung.com>
12 months ago[M120 Migration][VD] Skip flushAndSubmit sync for bbc app 35/310935/3
fangfengrong [Fri, 10 May 2024 02:23:57 +0000 (10:23 +0800)]
[M120 Migration][VD] Skip flushAndSubmit sync for bbc app

bbc loadpage was block by flushAndSubmit.
skip the function for hbbtv app.

refer:
https://review.tizen.org/gerrit/#/c/300042/

Change-Id: I398df0fc8b38e2d634e1952ce109ad63297beb68
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[WRTjs][VD] Enable Cookie and DiskCache feature 89/310889/2
zhaosy [Thu, 9 May 2024 07:44:12 +0000 (15:44 +0800)]
[WRTjs][VD] Enable Cookie and DiskCache feature

Enable Cookie and DiskCache feature

Change-Id: I89b305188211d274e3b2ca04fa41a99c142f203c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
12 months agoFix for chrome crash issue. 11/310911/3
Rohit Kumar [Thu, 9 May 2024 10:48:20 +0000 (16:18 +0530)]
Fix for chrome crash issue.

This change will fix the chrome crashes.
Crashes were happening while accessing the settings from
the context menu, importing bookmarks and clicking on the
about chromium tabs on chrome tab.

The crash was happening because the settings page html
was looking for searchEngineChoiceEntryPointSubtitle and
this key vaule was not getting populated because of the
ENABLE_SEARCH_ENGINE_CHOICE flag. build_chrome needed to
be enabled for this.

Change-Id: I78227ae547e998c18c3023208bb11a0a3928f11a
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
12 months agoFix for web inspector not working on tizen 9.0 19/310919/4 accepted/tizen/unified/20240510.095755 accepted/tizen/unified/toolchain/20240515.061122 accepted/tizen/unified/x/20240513.060310
uzair [Thu, 9 May 2024 14:06:09 +0000 (19:36 +0530)]
Fix for web inspector not working on tizen 9.0

Issue was reported on emulator and rpi4 headed profiles, during debugging a
web application, web socket connection failure occurs and hence not able
to connect to chrome devtools console. This is due to error checking introduced
in open source [1] and mentions to use --remote-origin-allow flag explicitly
but even after which we see white screen in chrome developer console.
Hence for now temporarily we are disabling the error checking to allow web
application debugging to work as expected as [1] was not present in M108 as well.

[1]https://chromium-review.googlesource.com/c/chromium/src/+/4106102

Change-Id: If0a53754bacdc7f5a59122e348a4fdbde8dcd9c4
Signed-off-by: uzair <uzair.jaleel@samsung.com>
12 months agoFixup! [M120 Migration][MM] Merge tizen tv audio input device patches 52/310852/2 submit/tizen/20240509.160027
peng.yin [Thu, 9 May 2024 01:05:55 +0000 (09:05 +0800)]
Fixup! [M120 Migration][MM] Merge tizen tv audio input device patches

pick related logic from:
https://review.tizen.org/gerrit/#/c/295121/

Change-Id: I7a038107c0717f1097c3f90af04dfc762221ca19
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months ago[M120 Migration][VD]Fix wrong key and text issue 53/310853/2
fang fengrong [Thu, 9 May 2024 03:49:03 +0000 (11:49 +0800)]
[M120 Migration][VD]Fix wrong key and text issue

1.[VD]Fix wrong key issue

The keys after IME filtered, WebEngine can only receive text on
callback, then WebEngine make fake key event with the text;
compared with the original key event, the fake event lost many
key properties(such as without the modifiers).

If get the DomKey from DomCode, will get wrong key,such as:
input uppercase letter "A" with IME, the key of key up event is lowercase key "a";
input "+" with IME, the key of key up event is "=".

So keep same with M94, if there is no key value, return empty directly,
don't get the DomKey from DomCode, for avoid getting wrong key value.

2.[EFL] Fix wrong text and wrong unmodifiedText issue

For EFL key event,keep same with M94, should get the text and unmodifiedText
from evt->string, not from evt->key.

On most case, the evt->string same with the evt->key;
but on some case, the evt->string may not same with the evt->key, such as:
when number lock, press the number key on the Numeric keypad area of the
usb-keboard, the evt->string is empty, it not same with the evt->key.
And press the number key when number lock, should not show the number.

refer:
https://review.tizen.org/gerrit/#/c/295521/
https://review.tizen.org/gerrit/#/c/295328/

Change-Id: I114db7a08244ef9ce38a18ac43c3f2f9501813b0
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] update client position of mouse when webview move 51/310851/2
fangfengrong [Thu, 9 May 2024 03:46:46 +0000 (11:46 +0800)]
[M120 Migration][VD] update client position of mouse when webview move

On webbrowser/knox-browser fullscreen to non-fullscreen switch case,
the webview will been moved from (0,0) to (0,144) or from (0,144)
to (0,0), the client position of the mouse which corresponds to the
webview location, should been moved as the webview moved.

So when webview move, trigger a fake mouse move event based on the
current mouse position, then the client position of mouse will been
update according the webview position.

refer:
https://review.tizen.org/gerrit/#/c/296284/

Change-Id: Ia9c762d4f31b0581e0cf8c7697b46cec730134bc
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Reset ime context when mouse click or touch on editable node 50/310850/2
fangfengrong [Thu, 9 May 2024 03:43:36 +0000 (11:43 +0800)]
[M120 Migration][VD] Reset ime context when mouse click or touch on editable node

When mouse click or touch on editable node(the IME status is focus in),
need reset ime context, to commit previous preedit text,
or else will cause the new input text been inputed on the last position,
not on the mouse or touch moved position.

refer:
https://review.tizen.org/gerrit/#/c/294848

Change-Id: I48fd54eea1ee887f8ca551ca0dd2f8e7f03b4962
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][MM] Enable logging for playback 34/310734/5
yanqing.lu [Tue, 7 May 2024 08:34:54 +0000 (16:34 +0800)]
[M120 Migration][MM] Enable logging for playback

1. Enable important log for suspend resume issue
   https://review.tizen.org/gerrit/299080

2. Add necessary debug info for espp player
   normally, there're several players created scenario
   add necessary info for these players id, obj addr,
   for easier debugging
   https://review.tizen.org/gerrit/301400

3. [VD] Add debug logs for suspend/resume
   WebView and LocalFrame staus will change during
   tab changes in webbrowser. At this time, if webview
   exist media element, will notify current status to
   media element, but hard to analyze this kind issues
   due to lack useful logs.
   https://review.tizen.org/gerrit/303204

4. Add debug logs for url request and append data
   https://review.tizen.org/gerrit/272717

Change-Id: I2bf76ce89ffd9e29e44658cebba685b8902a9030
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>