Change NID_UI_CTRL to NID_SHELL
authorHeeJu Kang <mobum.kang@samsung.com>
Mon, 15 Apr 2013 11:13:46 +0000 (20:13 +0900)
committerHeeJu Kang <mobum.kang@samsung.com>
Mon, 15 Apr 2013 11:13:46 +0000 (20:13 +0900)
Change-Id: I8113fc739c7e37f22c233392be41ef5ae44ffeb3
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
20 files changed:
src/FShellAppWidgetFrame.cpp
src/FShellAppWidgetPopup.cpp
src/FShellAppWidgetView.cpp
src/FShellQuickPanelFrame.cpp
src/FShell_AppWidgetFrame.cpp
src/FShell_AppWidgetFrameImpl.cpp
src/FShell_AppWidgetLayer.cpp
src/FShell_AppWidgetPopup.cpp
src/FShell_AppWidgetPopupImpl.cpp
src/FShell_AppWidgetPopupPresenter.cpp
src/FShell_AppWidgetPopupView.cpp
src/FShell_AppWidgetPopupViewEvent.cpp
src/FShell_AppWidgetPopupViewPresenter.cpp
src/FShell_AppWidgetView.cpp
src/FShell_AppWidgetViewImpl.cpp
src/FShell_AppWidgetViewManager.cpp
src/FShell_AppWidgetViewModel.cpp
src/FShell_AppWidgetViewPresenter.cpp
src/FShell_QuickPanelFrame.cpp
src/FShell_QuickPanelFrameImpl.cpp

index 85174cb..e9154cc 100644 (file)
@@ -47,10 +47,10 @@ AppWidgetFrame::Construct(const FloatDimension& size)
        SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
        unique_ptr<_AppWidgetFrameImpl> pImpl(_AppWidgetFrameImpl::CreateAppWidgetFrameImplN(*this, null, null));
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pImpl->Initialize(size);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl.release();
 
@@ -64,10 +64,10 @@ AppWidgetFrame::Construct(const Layout& layout, const FloatDimension& size)
 
        unique_ptr<_AppWidgetFrameImpl> pImpl(_AppWidgetFrameImpl::CreateAppWidgetFrameImplN(*this, &layout, &layout));
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pImpl->Initialize(size);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl.release();
 
index 5ca91d7..3de92de 100644 (file)
@@ -48,10 +48,10 @@ AppWidgetPopup::Construct(const FloatDimension& size)
 
        unique_ptr<_AppWidgetPopupImpl> pImpl(_AppWidgetPopupImpl::CreateAppWidgetPopupImplN(*this, null, null));
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pImpl->Initialize(size);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl.release();
 
@@ -65,10 +65,10 @@ AppWidgetPopup::Construct(const Layout& layout, const FloatDimension& size)
 
        unique_ptr<_AppWidgetPopupImpl> pImpl(_AppWidgetPopupImpl::CreateAppWidgetPopupImplN(*this, &layout, &layout));
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pImpl->Initialize(size);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl.release();
 
@@ -92,7 +92,7 @@ AppWidgetPopup::GetClientAreaCanvasN(void) const
 
        Canvas* pCanvas = pImpl->GetClientAreaCanvasN();
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pCanvas, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pCanvas, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pCanvas;
 }
index c96142c..2f3eff9 100644 (file)
@@ -53,16 +53,16 @@ AppWidgetView::Construct(const AppId& appId, const String& providerName, const F
 result
 AppWidgetView::Construct(const AppId& appId, const String& providerName, const FloatRectangle& rect, const String& userInfo)
 {
-       SysTryReturnResult(NID_UI_CTRL, _Aul::IsInstalled(appId) == true, E_APP_NOT_INSTALLED, "The application is not installed.");
+       SysTryReturnResult(NID_SHELL, _Aul::IsInstalled(appId) == true, E_APP_NOT_INSTALLED, "The application is not installed.");
 
        SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
 
        unique_ptr<_AppWidgetViewImpl> pImpl(_AppWidgetViewImpl::CreateAppWidgetViewImplN(*this));
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pImpl->Initialize(appId, providerName, rect, userInfo);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl.release();
 
@@ -77,7 +77,7 @@ AppWidgetView::GetAppWidgetProviderInfoN(void) const
 
        AppWidgetProviderInfo* pProviderInfo = pImpl->GetAppWidgetProviderInfoN();
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pProviderInfo, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pProviderInfo, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pProviderInfo;
 }
@@ -89,7 +89,7 @@ AppWidgetView::AddAppWidgetViewEventListener(IAppWidgetViewEventListener& listen
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
 
        result r = pImpl->AddAppWidgetViewEventListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -101,7 +101,7 @@ AppWidgetView::RemoveAppWidgetViewEventListener(IAppWidgetViewEventListener& lis
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
 
        result r = pImpl->RemoveAppWidgetViewEventListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
index 4e564f4..81a0ad7 100644 (file)
@@ -46,18 +46,18 @@ result
 QuickPanelFrame::Construct(int height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-       SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
        _QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::CreateQuickPanelFrameImplN(*this, null, null);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl;
 
        float heightF = static_cast<float>(height);
        r = pImpl->Initialize(heightF);
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 
@@ -74,15 +74,15 @@ QuickPanelFrame::Construct(const Tizen::Base::String& resourceId)
        ClearLastResult();
 
         result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-        SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+        SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        // Parse UiBuilder XML file
        unique_ptr<_UiBuilder> pBuilder(new (std::nothrow) _UiBuilder());
-       SysTryReturn(NID_UI_CTRL, pBuilder, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pBuilder, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
        r = pBuilder->Construct(resourceId, this);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
        r = pBuilder->Parse();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -91,10 +91,10 @@ result
 QuickPanelFrame::Construct(const Layout& layout, int height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-       SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        r = Construct(layout, layout, height);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -103,18 +103,18 @@ result
 QuickPanelFrame::Construct(const Layout& portraitLayout, const Layout& landscapeLayout, int height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-       SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
        _QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::CreateQuickPanelFrameImplN(*this, &portraitLayout, &landscapeLayout);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl;
 
        float heightF = static_cast<float>(height);
        r = pImpl->Initialize(heightF);
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 
@@ -129,17 +129,17 @@ result
 QuickPanelFrame::Construct(float height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-       SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
        _QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::CreateQuickPanelFrameImplN(*this, null, null);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl;
 
        r = pImpl->Initialize(height);
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 
@@ -154,10 +154,10 @@ result
 QuickPanelFrame::Construct(const Layout& layout, float height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-       SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        r = Construct(layout, layout, height);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -166,17 +166,17 @@ result
 QuickPanelFrame::Construct(const Layout& portraitLayout, const Layout& landscapeLayout, float height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
-       SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
+       SysTryReturnResult(NID_SHELL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
        SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
        _QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::CreateQuickPanelFrameImplN(*this, &portraitLayout, &landscapeLayout);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pImpl, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _pControlImpl = pImpl;
 
        r = pImpl->Initialize(height);
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 
@@ -194,7 +194,7 @@ QuickPanelFrame::AddOrientationEventListener(IOrientationEventListener& listener
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
 
        result r  = pImpl->AddOrientationEventListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -206,7 +206,7 @@ QuickPanelFrame::RemoveOrientationEventListener(IOrientationEventListener& liste
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
 
        result r  = pImpl->RemoveOrientationEventListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -219,7 +219,7 @@ QuickPanelFrame::SetHeight(int height)
 
        float heightF = static_cast<float>(height);
        result r  = pImpl->SetHeight(heightF);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -231,7 +231,7 @@ QuickPanelFrame::SetHeight(float height)
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
 
        result r  = pImpl->SetHeight(height);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
index 63afc95..4fd1d70 100644 (file)
@@ -46,13 +46,13 @@ _AppWidgetFrame::_AppWidgetFrame(void)
        , __pAppWidgetFrameRootVisualElement(null)
        , __pEventManager(null)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, __pAppWidgetFramePresenter, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pAppWidgetFramePresenter, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        _UiEventManager* pEventManager = _UiEventManager::GetInstance();
-       SysTryReturnVoidResult(NID_UI_CTRL, pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        __pEventManager = pEventManager->GetEventManager();
-       SysTryReturnVoidResult(NID_UI_CTRL, __pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 }
 
 _AppWidgetFrame::~_AppWidgetFrame(void)
@@ -70,10 +70,10 @@ _AppWidgetFrame*
 _AppWidgetFrame::CreateAppWidgetFrameN(void)
 {
        unique_ptr<_AppWidgetFrame> pAppWidgetFrame(new (std::nothrow) _AppWidgetFrame());
-       SysTryReturn(NID_UI_CTRL, pAppWidgetFrame, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pAppWidgetFrame, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pAppWidgetFrame->AcquireHandle();
 
@@ -106,14 +106,14 @@ _AppWidgetFrame::Initialize(const FloatDimension& size)
        __appwidgetSize = size;
 
        r = CreateRootVisualElement();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        FloatRectangle bounds(0.0f, 0.0f, appwidgetSize.width, appwidgetSize.height);
        r = SetBounds(bounds);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = __pAppWidgetFramePresenter->Initialize();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pAppWidgetLayer->SetLayerBounds(bounds);
        __pAppWidgetLayer->SetShowState(false);
@@ -126,7 +126,7 @@ _AppWidgetFrame::Initialize(const FloatDimension& size)
        SetBackgroundColor(Color(0, 0, 0, 0));
 
        r = __pEventManager->RegisterTouchEventHandler(*this);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -137,7 +137,7 @@ _AppWidgetFrame::SetProviderId(const String& providerId)
        __pAppWidgetFramePresenter->SetProviderId(providerId);
 
        result r = __pAppWidgetLayer->SetProviderId(providerId);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -156,10 +156,10 @@ _AppWidgetFrame::SetLayerShowState(bool showState)
        if (__pAppWidgetFrameRootVisualElement)
        {
                _AppWidgetLayer* pLayer = dynamic_cast<_AppWidgetLayer*>(__pAppWidgetFrameRootVisualElement->GetNativeLayer());
-               SysTryReturn(NID_UI_CTRL, pLayer, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturn(NID_SHELL, pLayer, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                r = pLayer->SetShowState(showState);
-               SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                __pAppWidgetFrameRootVisualElement->SetShowState(showState);
        }
@@ -176,7 +176,7 @@ _AppWidgetFrame::SetLayerBounds(const FloatRectangle& bounds)
        {
                _AppWidgetLayer* pLayer = dynamic_cast<_AppWidgetLayer*>(__pAppWidgetFrameRootVisualElement->GetNativeLayer());
                r = GetLastResult();
-               SysTryReturn(NID_UI_CTRL, pLayer, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, pLayer, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                pLayer->SetLayerBounds(bounds);
                __pAppWidgetFrameRootVisualElement->SetBounds(bounds);
@@ -189,10 +189,10 @@ result
 _AppWidgetFrame::CreateLayer(void)
 {
        unique_ptr<_AppWidgetLayer> pLayer(new (std::nothrow) _AppWidgetLayer(__appwidgetSize));
-       SysTryReturn(NID_UI_CTRL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pLayer->Construct();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pAppWidgetLayer = pLayer.release();
        __pAppWidgetFrameRootVisualElement = __pAppWidgetLayer->GetRootVisualElement();
@@ -207,7 +207,7 @@ void
 _AppWidgetFrame::OnActivated(void)
 {
        result r = SetLayerShowState(true);
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 void
index 8380e59..d3b4188 100644 (file)
@@ -45,15 +45,15 @@ _AppWidgetFrameImpl::CreateAppWidgetFrameImplN(AppWidgetFrame& appwidgetFrame, c
 {
        unique_ptr<_AppWidgetFrame> pCore(_AppWidgetFrame::CreateAppWidgetFrameN());
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        unique_ptr<_AppWidgetFrameImpl> pImpl(new (std::nothrow) _AppWidgetFrameImpl(&appwidgetFrame, pCore.get(), pPortraitLayout, pLandscapeLayout));
-       SysTryReturn(NID_UI_CTRL, pImpl, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pImpl, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pCore.release();
 
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pImpl.release();
 }
@@ -101,7 +101,7 @@ result
 _AppWidgetFrameImpl::Initialize(const FloatDimension& size)
 {
        result r = GetCore().Initialize(size);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -110,7 +110,7 @@ result
 _AppWidgetFrameImpl::SetProviderId(const String& providerId)
 {
        result r = GetCore().SetProviderId(providerId);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
index 37c4ee9..10107c4 100644 (file)
@@ -53,7 +53,7 @@ void*
 AllocRenderBuffer(void* pData, int size)
 {
        _AppWidgetLayer* pAppWidgetLayer = static_cast<_AppWidgetLayer*>(pData);
-       SysTryReturn(NID_UI_CTRL, pAppWidgetLayer, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pAppWidgetLayer, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        return pAppWidgetLayer->AllocCanvas(size);
 }
@@ -61,10 +61,10 @@ AllocRenderBuffer(void* pData, int size)
 void
 FreeRenderBuffer(void* pData, void* pCanvas)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pCanvas, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pCanvas, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetLayer* pAppWidgetLayer = static_cast<_AppWidgetLayer*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetLayer, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetLayer, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        pAppWidgetLayer->FreeCanvas(pCanvas);
 }
@@ -73,7 +73,7 @@ void
 PostRender(void* pData, Evas* pEvas, void* pEventInfo)
 {
        _AppWidgetLayer* pAppWidgetLayer = static_cast<_AppWidgetLayer*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetLayer, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetLayer, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        pAppWidgetLayer->OnRendered();
 }
@@ -108,7 +108,7 @@ _AppWidgetLayer::OnConstructed(void)
        result r = E_SUCCESS;
 
        unique_ptr<Ecore_Evas, _EcoreEvasDeleter> pEcoreEvas(ecore_evas_buffer_allocfunc_new(__size.width, __size.height, AllocRenderBuffer, FreeRenderBuffer, this));
-       SysTryReturn(NID_UI_CTRL, pEcoreEvas, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pEcoreEvas, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        ecore_evas_alpha_set(pEcoreEvas.get(), EINA_TRUE);
        ecore_evas_manual_render_set(pEcoreEvas.get(), EINA_FALSE);
@@ -116,18 +116,18 @@ _AppWidgetLayer::OnConstructed(void)
        ecore_evas_activate(pEcoreEvas.get());
 
        Evas* pEvas = ecore_evas_get(pEcoreEvas.get());
-       SysTryReturn(NID_UI_CTRL, pEvas, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pEvas, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        evas_event_callback_add(pEvas, EVAS_CALLBACK_RENDER_POST, PostRender, this);
 
        unique_ptr<Evas_Object, _EvasObjectDeleter> pEvasObject(evas_object_rectangle_add(pEvas));
-       SysTryReturn(NID_UI_CTRL, pEvasObject, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pEvasObject, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        evas_object_resize(pEvasObject.get(), __size.width, __size.height);
        evas_object_color_set(pEvasObject.get(), 0, 0, 0, 255);
 
        r = Initialize(pEvasObject.get());
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pEcoreEvas = move(pEcoreEvas);
        __pEvasObject = move(pEvasObject);
@@ -144,12 +144,12 @@ _AppWidgetLayer::SetProviderId(const String& providerId)
        __providerId = providerId;
 
        __pixmapId = AcquirePixmap();
-       SysTryReturn(NID_UI_CTRL, __pixmapId != -1, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, __pixmapId != -1, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
-       SysLog(NID_UI_CTRL, "pixmapId (%d)", __pixmapId);
+       SysLog(NID_SHELL, "pixmapId (%d)", __pixmapId);
 
        result r = RegisterTouchEventListener();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -182,15 +182,15 @@ _AppWidgetLayer::SetLayerBounds(const FloatRectangle& bounds)
 void*
 _AppWidgetLayer::AllocCanvas(int size)
 {
-       SysTryReturn(NID_UI_CTRL, size > 0, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, size > 0, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        __bufferSize = size;
        void* pBuffer =  malloc(__bufferSize);
-       SysTryReturn(NID_UI_CTRL, pBuffer, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pBuffer, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        __pRenderBuffer = pBuffer;
 
-       SysLog(NID_UI_CTRL, "buffer (0x%x) size (%d)", pBuffer, __bufferSize);
+       SysLog(NID_SHELL, "buffer (0x%x) size (%d)", pBuffer, __bufferSize);
 
        __isReleased = false;
 
@@ -218,12 +218,12 @@ _AppWidgetLayer::FreeCanvas(void* pCanvas)
 result
 _AppWidgetLayer::SyncPixmap(const FloatDimension& size)
 {
-       SysTryReturn(NID_UI_CTRL, __pRenderBuffer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, __pRenderBuffer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
-       SysLog(NID_UI_CTRL, "buffer (0x%x) size (%d) pixmapId (%d) width(%f) height(%f)", __pRenderBuffer, __bufferSize, __pixmapId, size.width, size.height);
+       SysLog(NID_SHELL, "buffer (0x%x) size (%d) pixmapId (%d) width(%f) height(%f)", __pRenderBuffer, __bufferSize, __pixmapId, size.width, size.height);
 
        Display* pDisplay = static_cast<Display*>(ecore_x_display_get());
-       SysTryReturn(NID_UI_CTRL, pDisplay, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pDisplay, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = E_SUCCESS;
        XShmSegmentInfo xShmSegmentInfo;
@@ -235,27 +235,27 @@ _AppWidgetLayer::SyncPixmap(const FloatDimension& size)
        Visual* pVisual = null;
 
        xShmSegmentInfo.shmid = shmget(IPC_PRIVATE, __bufferSize, IPC_CREAT | 0666);
-       SysTryReturn(NID_UI_CTRL,  xShmSegmentInfo.shmid >= 0, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL,  xShmSegmentInfo.shmid >= 0, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        xShmSegmentInfo.readOnly = False;
        xShmSegmentInfo.shmaddr = static_cast<char*>(shmat(xShmSegmentInfo.shmid, null, 0));
-       SysTryCatch(NID_UI_CTRL, xShmSegmentInfo.shmaddr != (void *)-1, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryCatch(NID_SHELL, xShmSegmentInfo.shmaddr != (void *)-1, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pScreen = DefaultScreenOfDisplay(pDisplay);
-       SysTryCatch(NID_UI_CTRL, pScreen, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryCatch(NID_SHELL, pScreen, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pVisual = DefaultVisualOfScreen(pScreen);
-       SysTryCatch(NID_UI_CTRL, pVisual, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryCatch(NID_SHELL, pVisual, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pXImage = XShmCreateImage(pDisplay, pVisual, 32, ZPixmap, null, &xShmSegmentInfo, size.width, size.height);
-       SysTryCatch(NID_UI_CTRL, pXImage, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryCatch(NID_SHELL, pXImage, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pXImage->data = xShmSegmentInfo.shmaddr;
        XShmAttach(pDisplay, &xShmSegmentInfo);
        XSync(pDisplay, False);
 
        gc = XCreateGC(pDisplay, static_cast<Pixmap>(__pixmapId), 0, null);
-       SysTryCatch(NID_UI_CTRL, gc, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryCatch(NID_SHELL, gc, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        memcpy(pXImage->data, __pRenderBuffer, __bufferSize);
 
@@ -270,11 +270,11 @@ _AppWidgetLayer::SyncPixmap(const FloatDimension& size)
                {
                        fwrite(__pRenderBuffer, __bufferSize, 1, pFile);
                        fclose(pFile);
-                       SysLog(NID_UI_CTRL, "_BUFFER_TEST: buffer (0x%x) size (%d) pixmapId (%d) width(%f) height(%f)", __pRenderBuffer, __bufferSize, __pixmapId, size.width, size.height);
+                       SysLog(NID_SHELL, "_BUFFER_TEST: buffer (0x%x) size (%d) pixmapId (%d) width(%f) height(%f)", __pRenderBuffer, __bufferSize, __pixmapId, size.width, size.height);
                }
                else
                {
-                       SysLog(NID_UI_CTRL, "File open failed: (%s) buffer (0x%x) size (%d) pixmapId (%d)", strerror(errno), __pRenderBuffer, __bufferSize, __pixmapId);
+                       SysLog(NID_SHELL, "File open failed: (%s) buffer (0x%x) size (%d) pixmapId (%d)", strerror(errno), __pRenderBuffer, __bufferSize, __pixmapId);
                }
        }
 #endif // _BUFFER_TEST
@@ -335,28 +335,28 @@ _AppWidgetLayer::OnRendered(void)
 {
        if (!__rendered)
        {
-               SysLog(NID_UI_CTRL, "do not sync");
+               SysLog(NID_SHELL, "do not sync");
                return;
        }
 
        if (__pixmapId == -1)
        {
                __pixmapId = AcquirePixmap();
-               SysTryReturnVoidResult(NID_UI_CTRL, __pixmapId >= 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, __pixmapId >= 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
        }
 
        result r = SyncPixmap(__size);
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = Sync(__size);
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 result
 _AppWidgetLayer::RegisterTouchEventListener(void)
 {
        result r = _AppWidgetProviderManagerImpl::GetInstance()->SetAppWidgetTouchEventListener(__providerId, *this);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -364,14 +364,14 @@ _AppWidgetLayer::RegisterTouchEventListener(void)
 int
 _AppWidgetLayer::AcquirePixmap(void)
 {
-       SysTryReturn(NID_UI_CTRL, !__providerId.IsEmpty(), -1, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, !__providerId.IsEmpty(), -1, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        int pixmapId = -1;
 
        result r = _AppWidgetProviderManagerImpl::GetInstance()->RequestSharedMemoryId(__providerId, __size.width, __size.height, pixmapId);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
 
-       SysLog(NID_UI_CTRL, "pixmapId(%d) size(%f %f)", pixmapId, __size.width, __size.height);
+       SysLog(NID_SHELL, "pixmapId(%d) size(%f %f)", pixmapId, __size.width, __size.height);
 
        return pixmapId;
 }
@@ -379,10 +379,10 @@ _AppWidgetLayer::AcquirePixmap(void)
 result
 _AppWidgetLayer::Sync(const FloatDimension& size)
 {
-       SysTryReturn(NID_UI_CTRL, !__providerId.IsEmpty(), E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, !__providerId.IsEmpty(), E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        result r = _AppWidgetProviderManagerImpl::GetInstance()->RequestSyncSharedMemory(__providerId, size.width, size.height);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -390,7 +390,7 @@ _AppWidgetLayer::Sync(const FloatDimension& size)
 void
 _AppWidgetLayer::ReleasePixmap(void)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, !__providerId.IsEmpty(), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, !__providerId.IsEmpty(), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetProviderManagerImpl::GetInstance()->RequestReleaseSharedMemory(__providerId);
 }
@@ -398,13 +398,13 @@ _AppWidgetLayer::ReleasePixmap(void)
 int
 _AppWidgetLayer::OnTouchEventRecevied(int eventType, double timestamp, double x, double y)
 {
-       SysLog(NID_UI_CTRL, "eventType (%d) timestamp (%f) (%f, %f)", eventType, timestamp, x, y);
+       SysLog(NID_SHELL, "eventType (%d) timestamp (%f) (%f, %f)", eventType, timestamp, x, y);
 
        int xPos = __size.width * x;
        int yPos = __size.height * y;
 
        Evas* pEvas = ecore_evas_get(__pEcoreEvas.get());
-       SysTryReturn(NID_UI_CTRL, pEvas, 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pEvas, 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        switch (eventType)
        {
index 005656c..9a3c643 100644 (file)
@@ -84,7 +84,7 @@ result
 _AppWidgetPopupLayer::RegisterTouchEventListener(void)
 {
        result r = _AppWidgetProviderManagerImpl::GetInstance()->SetAppWidgetPopupEventListener(*this);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -94,17 +94,17 @@ _AppWidgetPopupLayer::AcquirePixmap(void)
 {
        long long ticks = 0;
        SystemTime::GetTicks(ticks);
-       SysLog(NID_UI_CTRL, "%lld", ticks);
+       SysLog(NID_SHELL, "%lld", ticks);
 
        int pixmapId = -1;
 
        result r = _AppWidgetProviderManagerImpl::GetInstance()->RequestSharedMemoryIdForPD(GetProviderId(), __size.width, __size.height, pixmapId);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
 
        SystemTime::GetTicks(ticks);
-       SysLog(NID_UI_CTRL, "%lld", ticks);
+       SysLog(NID_SHELL, "%lld", ticks);
 
-       SysLog(NID_UI_CTRL, "pixmapId(%d) size(%f %f)", pixmapId, __size.width, __size.height);
+       SysLog(NID_SHELL, "pixmapId(%d) size(%f %f)", pixmapId, __size.width, __size.height);
 
        return pixmapId;
 }
@@ -113,7 +113,7 @@ result
 _AppWidgetPopupLayer::Sync(const FloatDimension& size)
 {
        result r = _AppWidgetProviderManagerImpl::GetInstance()->RequestSyncSharedMemoryForPD(GetProviderId());
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -130,13 +130,13 @@ _AppWidgetPopup::_AppWidgetPopup(void)
        , __pAppWidgetPopupRootVisualElement(null)
        , __pEventManager(null)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, __pAppWidgetPopupPresenter, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pAppWidgetPopupPresenter, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        _UiEventManager* pEventManager = _UiEventManager::GetInstance();
-       SysTryReturnVoidResult(NID_UI_CTRL, pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        __pEventManager = pEventManager->GetEventManager();
-       SysTryReturnVoidResult(NID_UI_CTRL, __pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pEventManager, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 }
 
 _AppWidgetPopup::~_AppWidgetPopup(void)
@@ -154,10 +154,10 @@ _AppWidgetPopup*
 _AppWidgetPopup::CreateAppWidgetPopupN(void)
 {
        unique_ptr<_AppWidgetPopup> pAppWidgetPopup(new (std::nothrow) _AppWidgetPopup());
-       SysTryReturn(NID_UI_CTRL, pAppWidgetPopup, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pAppWidgetPopup, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pAppWidgetPopup->AcquireHandle();
 
@@ -172,7 +172,7 @@ _AppWidgetPopup::Initialize(const FloatDimension& size)
        long long ticks = 0;
        SystemTime::GetTicks(ticks);
 
-       SysLog(NID_UI_CTRL, "(%d %d) %lld", size.width, size.height, ticks);
+       SysLog(NID_SHELL, "(%d %d) %lld", size.width, size.height, ticks);
 
        result r = E_SUCCESS;
 
@@ -181,14 +181,14 @@ _AppWidgetPopup::Initialize(const FloatDimension& size)
        SetSystemWindow(true);
 
        r = CreateRootVisualElement();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        FloatRectangle bounds(0.0f, 0.0f, size.width, size.height);
        r = SetBounds(bounds);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = __pAppWidgetPopupPresenter->Initialize();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pAppWidgetPopupLayer->SetLayerBounds(bounds);
        __pAppWidgetPopupLayer->SetShowState(false);
@@ -202,7 +202,7 @@ _AppWidgetPopup::Initialize(const FloatDimension& size)
 
        __pEventManager->RegisterTouchEventHandler(*this);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -213,7 +213,7 @@ _AppWidgetPopup::SetProviderId(const String& providerId)
        __pAppWidgetPopupPresenter->SetProviderId(providerId);
 
        result r = __pAppWidgetPopupLayer->SetProviderId(providerId);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -241,7 +241,7 @@ _AppWidgetPopup::GetClientAreaCanvasN(void) const
 {
        Canvas* pCanvas = GetCanvasN(GetClientBoundsF());
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pCanvas, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pCanvas, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pCanvas;
 }
@@ -270,10 +270,10 @@ _AppWidgetPopup::SetLayerShowState(bool showState)
        if (__pAppWidgetPopupRootVisualElement)
        {
                _AppWidgetPopupLayer* pLayer = dynamic_cast<_AppWidgetPopupLayer*>(__pAppWidgetPopupRootVisualElement->GetNativeLayer());
-               SysTryReturn(NID_UI_CTRL, pLayer, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturn(NID_SHELL, pLayer, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                r = pLayer->SetShowState(showState);
-               SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                __pAppWidgetPopupRootVisualElement->SetShowState(showState);
        }
@@ -290,7 +290,7 @@ _AppWidgetPopup::SetLayerBounds(const FloatRectangle& bounds)
        {
                _AppWidgetPopupLayer* pLayer = dynamic_cast<_AppWidgetPopupLayer*>(__pAppWidgetPopupRootVisualElement->GetNativeLayer());
                r = GetLastResult();
-               SysTryReturn(NID_UI_CTRL, pLayer, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, pLayer, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                pLayer->SetLayerBounds(bounds);
                __pAppWidgetPopupRootVisualElement->SetBounds(bounds);
@@ -317,7 +317,7 @@ _AppWidgetPopup::GetAppWidgetPopupClientBounds(void) const
 
        FloatRectangle clientBounds(bounds.x + leftMargin, bounds.y + topMargin, bounds.width - leftMargin - rightMargin, bounds.height - topMargin - bottomMargin);
 
-       SysLog(NID_UI_CTRL, "[%d %d %d %d]", clientBounds.x, clientBounds.y, clientBounds.width, clientBounds.height);
+       SysLog(NID_SHELL, "[%d %d %d %d]", clientBounds.x, clientBounds.y, clientBounds.width, clientBounds.height);
 
        return clientBounds;
 }
@@ -332,10 +332,10 @@ result
 _AppWidgetPopup::CreateLayer(void)
 {
        unique_ptr<_AppWidgetPopupLayer> pLayer(new (std::nothrow) _AppWidgetPopupLayer(__appwidgetSize));
-       SysTryReturn(NID_UI_CTRL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pLayer->Construct();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pAppWidgetPopupLayer = pLayer.release();
        __pAppWidgetPopupRootVisualElement = __pAppWidgetPopupLayer->GetRootVisualElement();
@@ -350,7 +350,7 @@ void
 _AppWidgetPopup::OnActivated(void)
 {
        result r = SetLayerShowState(true);
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 void
index 92b530f..f137bc8 100644 (file)
@@ -45,15 +45,15 @@ _AppWidgetPopupImpl::CreateAppWidgetPopupImplN(AppWidgetPopup& appwidgetPopup, c
 {
        unique_ptr<_AppWidgetPopup> pCore(_AppWidgetPopup::CreateAppWidgetPopupN());
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        unique_ptr<_AppWidgetPopupImpl> pImpl(new (std::nothrow) _AppWidgetPopupImpl(&appwidgetPopup, pCore.get(), pPortraitLayout, pLandscapeLayout));
-       SysTryReturn(NID_UI_CTRL, pImpl, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pImpl, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pCore.release();
 
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pImpl.release();
 }
@@ -101,7 +101,7 @@ result
 _AppWidgetPopupImpl::Initialize(const FloatDimension& size)
 {
        result r = GetCore().Initialize(size);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -110,7 +110,7 @@ result
 _AppWidgetPopupImpl::SetProviderId(const String& providerId)
 {
        result r = GetCore().SetProviderId(providerId);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
index fbc5db4..999c46b 100644 (file)
@@ -52,17 +52,17 @@ _AppWidgetPopupPresenter::Initialize(void)
        Bitmap* pBitmap = null;
 
        result r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        std::unique_ptr<Bitmap> pBackgroundBitmap(pBitmap);
 
        r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_UP, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        std::unique_ptr<Bitmap> pArrowUpBitmap(pBitmap);
 
        r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_DOWN, BITMAP_PIXEL_FORMAT_ARGB8888, pBitmap);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pBackgroundBitmap = move(pBackgroundBitmap);
        __pArrowUpBitmap = move(pArrowUpBitmap);
@@ -99,7 +99,7 @@ void
 _AppWidgetPopupPresenter::Draw(void)
 {
        unique_ptr<Canvas> pCanvas(__pAppWidgetPopup->GetCanvasN());
-       SysTryReturnVoidResult(NID_UI_CTRL, pCanvas, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pCanvas, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        DrawBackground(*pCanvas);
        DrawAnchor(*pCanvas);
index b16916a..5252aaf 100644 (file)
@@ -87,16 +87,16 @@ _AppWidgetPopupView::~_AppWidgetPopupView(void)
 _AppWidgetPopupView*
 _AppWidgetPopupView::CreateAppWidgetPopupN(_AppWidgetView& appwidgetView)
 {
-       SysTryReturn(NID_UI_CTRL, livebox_has_pd(appwidgetView.__pAppWidget), null, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturn(NID_SHELL, livebox_has_pd(appwidgetView.__pAppWidget), null, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        unique_ptr<_AppWidgetPopupView> pAppWidgetPopup(new (std::nothrow) _AppWidgetPopupView(appwidgetView));
-       SysTryReturn(NID_UI_CTRL, pAppWidgetPopup, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pAppWidgetPopup, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pAppWidgetPopup->CreateRootVisualElement();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pAppWidgetPopup->AcquireHandle();
 
@@ -123,15 +123,15 @@ _AppWidgetPopupView::Initialize(const FloatRectangle& bounds)
                y = 1.0f;
        }
 
-       SysLog(NID_UI_CTRL, "[%f %f %f %f]", bounds.x, bounds.y, bounds.width, bounds.height);
-       SysLog(NID_UI_CTRL, "[%f %f %f %f]", viewAbsoluteBounds.x, viewAbsoluteBounds.y, viewAbsoluteBounds.width, viewAbsoluteBounds.height);
-       SysLog(NID_UI_CTRL, "[%f %f]", x, y);
+       SysLog(NID_SHELL, "[%f %f %f %f]", bounds.x, bounds.y, bounds.width, bounds.height);
+       SysLog(NID_SHELL, "[%f %f %f %f]", viewAbsoluteBounds.x, viewAbsoluteBounds.y, viewAbsoluteBounds.width, viewAbsoluteBounds.height);
+       SysLog(NID_SHELL, "[%f %f]", x, y);
 
        int ret = livebox_create_pd_with_position(__pAppWidgetView->__pAppWidget, x, y, OnAppWidgetPopupCreated, this);
-       SysTryReturn(NID_UI_CTRL, ret == 0, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+       SysTryReturn(NID_SHELL, ret == 0, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
        result r = SetBounds(bounds);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        SetBackgroundColor(Color(0, 0, 0, 0));
 
@@ -142,7 +142,7 @@ result
 _AppWidgetPopupView::AddAppWidgetPopupEventListener(const _IAppWidgetPopupViewEventListener& listener)
 {
        result r = __pAppWidgetPopupViewEvent->AddListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -151,7 +151,7 @@ result
 _AppWidgetPopupView::RemoveAppWidgetPopupEventListener(const _IAppWidgetPopupViewEventListener& listener)
 {
        result r = __pAppWidgetPopupViewEvent->RemoveListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -185,7 +185,7 @@ _AppWidgetPopupView::SetPopupBounds(const FloatDimension& size)
 
        SetBounds(popupBounds);
 
-       SysLog(NID_UI_CTRL, "[%f %f %f %f]", popupBounds.x, popupBounds.y, popupBounds.width, popupBounds.height);
+       SysLog(NID_SHELL, "[%f %f %f %f]", popupBounds.x, popupBounds.y, popupBounds.width, popupBounds.height);
 }
 
 void
@@ -195,7 +195,7 @@ _AppWidgetPopupView::FireAppWidgetPopupEvent(bool open)
        {
                IEventArg* pEventArg = _AppWidgetPopupViewEvent::CreateAppWidgetPopupViewEventArgN(open);
                result r = GetLastResult();
-               SysTryReturnVoidResult(NID_UI_CTRL, pEventArg != null, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturnVoidResult(NID_SHELL, pEventArg != null, r, "[%s] Propagating.", GetErrorMessage(r));
 
                __pAppWidgetPopupViewEvent->Fire(*pEventArg);
        }
@@ -217,7 +217,7 @@ _AppWidgetPopupView::PlayAnimation(bool open)
 
        _VisualElement* pVisualElement = GetVisualElement();
        result r = GetLastResult();
-       SysTryReturnVoidResult(NID_UI_CTRL, pVisualElement, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, pVisualElement, r, "[%s] Propagating.", GetErrorMessage(r));
 
        VisualElementAnimationGroup animationGroup;
 
@@ -272,16 +272,16 @@ _AppWidgetPopupView::OnAttached(void)
                if (__pPixmapObject)
                {
                        _VisualElement* pVisualElement = GetVisualElement();
-                       SysTryReturn(NID_UI_CTRL, pVisualElement, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+                       SysTryReturn(NID_SHELL, pVisualElement, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                        _EflNode* pEflNode = dynamic_cast<_EflNode*>(pVisualElement->GetNativeNode());
-                       SysTryReturn(NID_UI_CTRL, pEflNode, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+                       SysTryReturn(NID_SHELL, pEflNode, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                        Evas_Object* pSmartObject = (Evas_Object*)pEflNode->GetGroupContainer();
-                       SysTryReturn(NID_UI_CTRL, pSmartObject, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+                       SysTryReturn(NID_SHELL, pSmartObject, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                        Evas* pEvas = evas_object_evas_get(pSmartObject);
-                       SysTryReturn(NID_UI_CTRL, pEvas, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+                       SysTryReturn(NID_SHELL, pEvas, E_SYSTEM, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                        pEflNode->AddNativeSmartObject(*pVisualElement, __pPixmapObject.get());
 
@@ -371,7 +371,7 @@ _AppWidgetPopupView::OnVisualElementAnimationFinished(const Tizen::Ui::Animation
 {
        if (keyName == CLOSE_ANIMATION)
        {
-               SysLog(NID_UI_CTRL, "Close AppWidgetPopup");
+               SysLog(NID_SHELL, "Close AppWidgetPopup");
                Close();
                FireAppWidgetPopupEvent(false);
        }
@@ -451,7 +451,7 @@ _AppWidgetPopupView::OnAppWidgetUpdated(const Tizen::Graphics::Bitmap& bitmap, c
        long long ticks = 0;
        SystemTime::GetTicks(ticks);
 
-       SysLog(NID_UI_CTRL, "(%f %f) %lld", size.width, size.height, ticks);
+       SysLog(NID_SHELL, "(%f %f) %lld", size.width, size.height, ticks);
 
        if (size != GetSizeF())
        {
@@ -481,25 +481,25 @@ _AppWidgetPopupView::OnAppWidgetUpdated(int pixmap)
        int height = 0;
 
        ecore_x_pixmap_geometry_get(pixmap, &x, &y, &width, &height);
-       SysTryReturnVoidResult(NID_UI_CTRL, (width > 0) && (height > 0), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
+       SysTryReturnVoidResult(NID_SHELL, (width > 0) && (height > 0), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
 
        if (__pixmap != pixmap )
        {
                _VisualElement* pVisualElement = GetVisualElement();
 //             _VisualElement* pVisualElement = __pAppWidgetView->GetVisualElement();
-               SysTryReturnVoidResult(NID_UI_CTRL, pVisualElement, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pVisualElement, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                _EflNode* pEflNode = dynamic_cast<_EflNode*>(pVisualElement->GetNativeNode());
-               SysTryReturnVoidResult(NID_UI_CTRL, pEflNode, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pEflNode, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                Evas_Object* pSmartObject = (Evas_Object*)pEflNode->GetGroupContainer();
-               SysTryReturnVoidResult(NID_UI_CTRL, pSmartObject, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pSmartObject, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                Evas* pEvas = evas_object_evas_get(pSmartObject);
-               SysTryReturnVoidResult(NID_UI_CTRL, pEvas, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pEvas, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                __pPixmapObject.reset(evas_object_image_filled_add(pEvas));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapObject.get(), E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, __pPixmapObject.get(), E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                pEflNode->AddNativeSmartObject(*pVisualElement, __pPixmapObject.get());
 
@@ -520,15 +520,15 @@ _AppWidgetPopupView::OnAppWidgetUpdated(int pixmap)
                evas_object_image_native_surface_set(__pPixmapObject.get(), &surface);
 
                /*__pixmapDamage.reset(ecore_x_damage_new(pixmap, ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pixmapDamage.get() != 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, __pixmapDamage.get() != 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                __pPixmapEventHandler.reset(ecore_event_handler_add(ECORE_X_EVENT_DAMAGE_NOTIFY, OnPixmapDamaged, (void*)this));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");*/
+               SysTryReturnVoidResult(NID_SHELL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");*/
 
-               SysLog(NID_UI_CTRL, "[0x%x]", surface.data.x11.pixmap);
+               SysLog(NID_SHELL, "[0x%x]", surface.data.x11.pixmap);
        }
 
-       SysLog(NID_UI_CTRL, "[%d %d %d %d]", x, y, width, height);
+       SysLog(NID_SHELL, "[%d %d %d %d]", x, y, width, height);
 
        evas_object_image_size_set(__pPixmapObject.get(), width, height);
        evas_object_image_pixels_dirty_set(__pPixmapObject.get(), EINA_TRUE);
@@ -554,34 +554,34 @@ _AppWidgetPopupView::OnAppWidgetUpdated(int pixmap)
 void
 _AppWidgetPopupView::OnAppWidgetPopupCreated(struct livebox *pAppWidget, int ret, void* pData)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-       SysTryReturnVoidResult(NID_UI_CTRL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetPopupView* pAppWidgetViewManager = static_cast<_AppWidgetPopupView*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 }
 
 void
 _AppWidgetPopupView::OnAppWidgetPopupDestroyed(struct livebox *pAppWidget, int ret, void* pData)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-       SysTryReturnVoidResult(NID_UI_CTRL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetPopupView* pAppWidgetViewManager = static_cast<_AppWidgetPopupView*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 }
 
 Eina_Bool
 _AppWidgetPopupView::OnPixmapDamaged(void* pData, int type, void* pEvent)
 {
        _AppWidgetPopupView* pPopupView = static_cast<_AppWidgetPopupView*>(pData);
-       SysTryReturn(NID_UI_CTRL, pPopupView != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pPopupView != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[[E_INVALID_ARG] The argument is invalid.");
 
        Ecore_X_Event_Damage* pDamageEvent = static_cast<Ecore_X_Event_Damage*>(pEvent);
-       SysTryReturn(NID_UI_CTRL, pDamageEvent != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pDamageEvent != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        unsigned int pixmap = static_cast<unsigned int>(pPopupView->__pixmap);
-       SysTryReturn(NID_UI_CTRL, pDamageEvent->drawable == pixmap, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [%d %d].", pDamageEvent->drawable, pixmap);
+       SysTryReturn(NID_SHELL, pDamageEvent->drawable == pixmap, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [%d %d].", pDamageEvent->drawable, pixmap);
 
        int x = 0;
        int y = 0;
@@ -589,16 +589,16 @@ _AppWidgetPopupView::OnPixmapDamaged(void* pData, int type, void* pEvent)
        int height = 0;
 
        ecore_x_pixmap_geometry_get(pixmap, &x, &y, &width, &height);
-       SysTryReturn(NID_UI_CTRL, (width > 0) && (height > 0), ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
+       SysTryReturn(NID_SHELL, (width > 0) && (height > 0), ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
 
        Evas_Object* pPixmapObject = pPopupView->__pPixmapObject.get();
-       SysTryReturn(NID_UI_CTRL, pPixmapObject, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pPixmapObject, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        evas_object_image_pixels_dirty_set(pPixmapObject, EINA_TRUE);
        evas_object_image_fill_set(pPixmapObject, 0, 0, width, height);
        evas_object_image_data_update_add(pPixmapObject, 0, 0, width, height);
 
-       SysLog(NID_UI_CTRL, "[%d %d %d]", pixmap, width, height);
+       SysLog(NID_SHELL, "[%d %d %d]", pixmap, width, height);
 
        return ECORE_CALLBACK_DONE;
 }
index 7eb8843..b4cea60 100644 (file)
@@ -66,7 +66,7 @@ _AppWidgetPopupViewEvent::_AppWidgetPopupViewEvent(const _Control& source)
        : __pSource(null)
 {
        result r = _Event::Initialize();
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pSource = &source;
        SetLastResult(E_SUCCESS);
@@ -80,7 +80,7 @@ _AppWidgetPopupViewEvent*
 _AppWidgetPopupViewEvent::CreateInstanceN(const _Control& source)
 {
        _AppWidgetPopupViewEvent* pAppWidgetPopupEvent = new (std::nothrow) _AppWidgetPopupViewEvent(source);
-       SysTryReturn(NID_UI_CTRL, pAppWidgetPopupEvent, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory shortage.");
+       SysTryReturn(NID_SHELL, pAppWidgetPopupEvent, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory shortage.");
 
        return pAppWidgetPopupEvent;
 }
@@ -95,10 +95,10 @@ void
 _AppWidgetPopupViewEvent::FireImpl(IEventListener& pListener, const IEventArg& arg)
 {
        _IAppWidgetPopupViewEventListener* pAppWidgetPopupViewEventListener = dynamic_cast<_IAppWidgetPopupViewEventListener*>(&pListener);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetPopupViewEventListener, E_INVALID_ARG, "[E_INVALID_ARG] The invalid listener was given.\n");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetPopupViewEventListener, E_INVALID_ARG, "[E_INVALID_ARG] The invalid listener was given.\n");
 
        const _AppWidgetPopupEventArg* pAppWidgetPopupEventArg = dynamic_cast <const _AppWidgetPopupEventArg*>(&arg);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetPopupEventArg, E_INVALID_ARG, "[E_INVALID_ARG] The invalid Event Argument was given.\n");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetPopupEventArg, E_INVALID_ARG, "[E_INVALID_ARG] The invalid Event Argument was given.\n");
 
        if ( pAppWidgetPopupEventArg->IsOpened() )
        {
@@ -114,7 +114,7 @@ IEventArg*
 _AppWidgetPopupViewEvent::CreateAppWidgetPopupViewEventArgN(bool open)
 {
        _AppWidgetPopupEventArg* pEventArg = new (std::nothrow) _AppWidgetPopupEventArg(open);
-       SysTryReturn(NID_UI_CTRL, pEventArg != null, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory shortage.");
+       SysTryReturn(NID_SHELL, pEventArg != null, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory shortage.");
 
        return pEventArg;
 }
index 1c3e024..8366b11 100644 (file)
@@ -46,10 +46,10 @@ void
 _AppWidgetPopupViewPresenter::Draw(void)
 {
        Bitmap* pBitmap = __pAppWidgetPopupView->GetBitmap();
-       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_SYSTEM, "Bitmap is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_SYSTEM, "Bitmap is invalid.");
 
        unique_ptr<Canvas> pCanvas(__pAppWidgetPopupView->GetCanvasN());
-       SysTryReturnVoidResult(NID_UI_CTRL, pCanvas, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pCanvas, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pCanvas->SetBackgroundColor(Color(0, 0, 0, 0));
        pCanvas->Clear();
index 9b7f64c..cf70284 100644 (file)
@@ -77,7 +77,7 @@ _AppWidgetView::_AppWidgetView(void)
        , __pAppWidgetViewEventListenerList(new (std::nothrow) LinkedListT<_IAppWidgetViewEventListener*>)
 {
        __pAppWidgetViewManager = _AppWidgetViewManager::GetInstance();
-       SysTryReturnVoidResult(NID_UI_CTRL, __pAppWidgetViewManager, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+       SysTryReturnVoidResult(NID_SHELL, __pAppWidgetViewManager, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 }
 
 _AppWidgetView::~_AppWidgetView(void)
@@ -99,10 +99,10 @@ _AppWidgetView*
 _AppWidgetView::CreateAppWidgetViewN(void)
 {
        unique_ptr<_AppWidgetView> pAppWidgetView(new (std::nothrow) _AppWidgetView());
-       SysTryReturn(NID_UI_CTRL, pAppWidgetView, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pAppWidgetView, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pAppWidgetView->AcquireHandle();
 
@@ -114,16 +114,16 @@ _AppWidgetView::CreateAppWidgetViewN(void)
 result
 _AppWidgetView::Initialize(const AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::FloatRectangle& rect, const String& userInfo)
 {
-       SysLog(NID_UI_CTRL, "appId [%ls]", appId.GetPointer());
-       SysLog(NID_UI_CTRL, "providerName [%ls]", providerName.GetPointer());
-       SysLog(NID_UI_CTRL, "[%d %d %d %d]", rect.x, rect.y, rect.width, rect.height);
-       SysLog(NID_UI_CTRL, "userInfo [%ls]", userInfo.GetPointer());
+       SysLog(NID_SHELL, "appId [%ls]", appId.GetPointer());
+       SysLog(NID_SHELL, "providerName [%ls]", providerName.GetPointer());
+       SysLog(NID_SHELL, "[%d %d %d %d]", rect.x, rect.y, rect.width, rect.height);
+       SysLog(NID_SHELL, "userInfo [%ls]", userInfo.GetPointer());
 
        result r = SetBounds(rect);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = __pAppWidgetViewPresenter->Initialize(appId, providerName);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        int width = 0;
        int height = 0;
@@ -135,21 +135,21 @@ _AppWidgetView::Initialize(const AppId& appId, const Tizen::Base::String& provid
 
        __pAppWidget = __pAppWidgetViewManager->AddAppWidgetView(this, userInfo);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, __pAppWidget, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, __pAppWidget, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        if (!IsTouchEventEnabled())
        {
                unique_ptr<_TouchFlickGestureDetector> pTouchFlickGestureDetector(new (std::nothrow) _TouchFlickGestureDetector());
-               SysTryReturn(NID_UI_CTRL, pTouchFlickGestureDetector, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturn(NID_SHELL, pTouchFlickGestureDetector, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                pTouchFlickGestureDetector->SetDelayTouchEventEnabled(true);
                pTouchFlickGestureDetector->SetCancelTouchEventOnSuccessEnabled(true);
 
                r = AddGestureDetector(*pTouchFlickGestureDetector.get());
-               SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                r = pTouchFlickGestureDetector->AddGestureListener(*this);
-               SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                __pTouchFlickGestureDetector = move(pTouchFlickGestureDetector);
        }
@@ -157,12 +157,12 @@ _AppWidgetView::Initialize(const AppId& appId, const Tizen::Base::String& provid
        Bitmap* pResourceBitmap = null;
 
        r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_UP, BITMAP_PIXEL_FORMAT_ARGB8888, pResourceBitmap);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        std::unique_ptr<Bitmap> pArrowUpBitmap(pResourceBitmap);
 
        r = GET_BITMAP_CONFIG_N(LIVEBOX::POPUP_BG_ARROW_DOWN, BITMAP_PIXEL_FORMAT_ARGB8888, pResourceBitmap);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pArrowUpBitmap = move(pArrowUpBitmap);
        __pArrowDownBitmap.reset(pResourceBitmap);
@@ -175,7 +175,7 @@ _AppWidgetView::GetAppWidgetProviderInfoN(void) const
 {
        AppWidgetProviderInfo* pProviderInfo = _AppWidgetManagerImpl::GetInstance()->GetAppWidgetProviderInfoN(GetAppId(), GetProviderName());
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pProviderInfo, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pProviderInfo, null, r, "[%s] Propagating.", GetErrorMessage(r));
        
        return pProviderInfo;
 }
@@ -184,7 +184,7 @@ result
 _AppWidgetView::AddAppWidgetViewEventListener(_IAppWidgetViewEventListener& listener)
 {
        bool exist = __pAppWidgetViewEventListenerList->Contains(&listener);
-       SysTryReturn(NID_UI_CTRL, exist == false, E_OBJ_ALREADY_EXIST, E_OBJ_ALREADY_EXIST, "[%s] Propagating.", GetErrorMessage(E_OBJ_ALREADY_EXIST));
+       SysTryReturn(NID_SHELL, exist == false, E_OBJ_ALREADY_EXIST, E_OBJ_ALREADY_EXIST, "[%s] Propagating.", GetErrorMessage(E_OBJ_ALREADY_EXIST));
 
        __pAppWidgetViewEventListenerList->Add(&listener);
 
@@ -195,7 +195,7 @@ result
 _AppWidgetView::RemoveAppWidgetViewEventListener(_IAppWidgetViewEventListener& listener)
 {
        result r = __pAppWidgetViewEventListenerList->Remove(&listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, E_OBJ_NOT_FOUND, E_OBJ_NOT_FOUND, "[%s] Propagating.", GetErrorMessage(E_OBJ_NOT_FOUND));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, E_OBJ_NOT_FOUND, E_OBJ_NOT_FOUND, "[%s] Propagating.", GetErrorMessage(E_OBJ_NOT_FOUND));
 
        return E_SUCCESS;
 }
@@ -295,7 +295,7 @@ _AppWidgetView::OpenAppWidgetPopup(void)
 
        const _Control* pParent = GetParent();
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pParent, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pParent, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        FloatDimension size = __pAppWidgetViewManager->GetAppWidgetPopupSize(__pAppWidget);
        FloatRectangle popupBounds(0, 0, size.width, size.height);
@@ -317,19 +317,19 @@ _AppWidgetView::OpenAppWidgetPopup(void)
                popupBounds.y = absoluteBounds.y + absoluteBounds.height - anchorSize.height;
        }
 
-       SysLog(NID_UI_CTRL, "[%d %d]", popupBounds.y, size.height);
+       SysLog(NID_SHELL, "[%d %d]", popupBounds.y, size.height);
 
        if (!__pAppWidgetPopupView)
        {
                unique_ptr<_AppWidgetPopupView> pAppWidgetPopupView(_AppWidgetPopupView::CreateAppWidgetPopupN(*this));
                r = GetLastResult();
-               SysTryReturn(NID_UI_CTRL, pAppWidgetPopupView, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, pAppWidgetPopupView, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                r = pAppWidgetPopupView->Initialize(popupBounds);
-               SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                r = pAppWidgetPopupView->AddAppWidgetPopupEventListener(*this);
-               SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
                __pAppWidgetPopupView = move(pAppWidgetPopupView);
        }
@@ -337,7 +337,7 @@ _AppWidgetView::OpenAppWidgetPopup(void)
        __pAppWidgetPopupView->SetOwner(this);
 
        r = __pAppWidgetPopupView->Open();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -362,7 +362,7 @@ _AppWidgetView::PlayClickAnimation(void)
 
        _VisualElement* pVisualElement = GetVisualElement();
        result r = GetLastResult();
-       SysTryReturnVoidResult(NID_UI_CTRL, pVisualElement, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, pVisualElement, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pVisualElement->AddAnimation(CLICK_ANIMATION, animation);
 }
@@ -374,7 +374,7 @@ _AppWidgetView::PlayFlickAnimation(void)
 
        _VisualElement* pVisualElement = GetVisualElement();
        result r = GetLastResult();
-       SysTryReturnVoidResult(NID_UI_CTRL, pVisualElement, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, pVisualElement, r, "[%s] Propagating.", GetErrorMessage(r));
 
        FloatRectangle startBounds(pVisualElement->GetBounds());
        FloatRectangle endBounds(startBounds);
@@ -396,7 +396,7 @@ _AppWidgetView::GetRemainingSpace(int& lower, int& upper) const
 {
        const _Control* pParent = GetParent();
        result r = GetLastResult();
-       SysTryReturnVoidResult(NID_UI_CTRL, pParent, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, pParent, r, "[%s] Propagating.", GetErrorMessage(r));
 
        FloatRectangle parentClientBounds = pParent->GetClientBoundsF();
        FloatRectangle viewBounds = GetBoundsF();
@@ -404,7 +404,7 @@ _AppWidgetView::GetRemainingSpace(int& lower, int& upper) const
        lower = viewBounds.y;
        upper = parentClientBounds.height - viewBounds.y - viewBounds.height;
 
-       SysLog(NID_UI_CTRL, "[%d %d]", lower, upper);
+       SysLog(NID_SHELL, "[%d %d]", lower, upper);
 }
 
 bool
@@ -640,26 +640,26 @@ _AppWidgetView::OnAppWidgetUpdated(int pixmap)
        int height = 0;
 
        ecore_x_pixmap_geometry_get(pixmap, &x, &y, &width, &height);
-       SysTryReturnVoidResult(NID_UI_CTRL, (width > 0) && (height > 0), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
+       SysTryReturnVoidResult(NID_SHELL, (width > 0) && (height > 0), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
 
        if (__pixmap != pixmap )
        {
                SetBackgroundColor(Color(0, 0, 0, 0));
 
                _VisualElement* pVisualElement = GetVisualElement();
-               SysTryReturnVoidResult(NID_UI_CTRL, pVisualElement, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pVisualElement, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                _EflNode* pEflNode = dynamic_cast<_EflNode*>(pVisualElement->GetNativeNode());
-               SysTryReturnVoidResult(NID_UI_CTRL, pEflNode, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pEflNode, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                Evas_Object* pSmartObject = (Evas_Object*)pEflNode->GetGroupContainer();
-               SysTryReturnVoidResult(NID_UI_CTRL, pSmartObject, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pSmartObject, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                Evas* pEvas = evas_object_evas_get(pSmartObject);
-               SysTryReturnVoidResult(NID_UI_CTRL, pEvas, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnVoidResult(NID_SHELL, pEvas, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                __pPixmapObject.reset(evas_object_image_filled_add(pEvas));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapObject, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, __pPixmapObject, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                pEflNode->AddNativeSmartObject(*pVisualElement, __pPixmapObject.get());
 
@@ -683,15 +683,15 @@ _AppWidgetView::OnAppWidgetUpdated(int pixmap)
                evas_object_image_native_surface_set(__pPixmapObject.get(), &surface);
 /*
                __pixmapDamage.reset(ecore_x_damage_new(pixmap, ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pixmapDamage.get() != 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, __pixmapDamage.get() != 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                __pPixmapEventHandler.reset(ecore_event_handler_add(ECORE_X_EVENT_DAMAGE_NOTIFY, OnPixmapDamaged, (void*)this));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 */
-               SysLog(NID_UI_CTRL, "[0x%x][%d %d]", surface.data.x11.pixmap, absoluteBounds.x, absoluteBounds.y);
+               SysLog(NID_SHELL, "[0x%x][%d %d]", surface.data.x11.pixmap, absoluteBounds.x, absoluteBounds.y);
        }
 
-       SysLog(NID_UI_CTRL, "[%d %d %d %d]", x, y, width, height);
+       SysLog(NID_SHELL, "[%d %d %d %d]", x, y, width, height);
 
        evas_object_image_size_set(__pPixmapObject.get(), width, height);
        evas_object_image_pixels_dirty_set(__pPixmapObject.get(), EINA_TRUE);
@@ -711,13 +711,13 @@ Eina_Bool
 _AppWidgetView::OnPixmapDamaged(void* pData, int type, void* pEvent)
 {
        _AppWidgetView* pAppWidgetView = static_cast<_AppWidgetView*>(pData);
-       SysTryReturn(NID_UI_CTRL, pAppWidgetView != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pAppWidgetView != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[[E_INVALID_ARG] The argument is invalid.");
 
        Ecore_X_Event_Damage* pDamageEvent = static_cast<Ecore_X_Event_Damage*>(pEvent);
-       SysTryReturn(NID_UI_CTRL, pDamageEvent != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pDamageEvent != null, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        unsigned int pixmap = static_cast<unsigned int>(pAppWidgetView->__pixmap);
-       SysTryReturn(NID_UI_CTRL, pDamageEvent->drawable == pixmap, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [%d %d].", pDamageEvent->drawable, pixmap);
+       SysTryReturn(NID_SHELL, pDamageEvent->drawable == pixmap, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [%d %d].", pDamageEvent->drawable, pixmap);
 
        int x = 0;
        int y = 0;
@@ -725,16 +725,16 @@ _AppWidgetView::OnPixmapDamaged(void* pData, int type, void* pEvent)
        int height = 0;
 
        ecore_x_pixmap_geometry_get(pixmap, &x, &y, &width, &height);
-       SysTryReturn(NID_UI_CTRL, (width > 0) && (height > 0), ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
+       SysTryReturn(NID_SHELL, (width > 0) && (height > 0), ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
 
        Evas_Object* pPixmapObject = pAppWidgetView->__pPixmapObject.get();
-       SysTryReturn(NID_UI_CTRL, pPixmapObject, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pPixmapObject, ECORE_CALLBACK_PASS_ON, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        evas_object_image_pixels_dirty_set(pPixmapObject, EINA_TRUE);
        evas_object_image_fill_set(pPixmapObject, 0, 0, width, height);
        evas_object_image_data_update_add(pPixmapObject, 0, 0, width, height);
 
-       SysLog(NID_UI_CTRL, "[%d %d %d]", pixmap, width, height);
+       SysLog(NID_SHELL, "[%d %d %d]", pixmap, width, height);
 
        return ECORE_CALLBACK_DONE;
 }
index a6b3764..577ca0b 100644 (file)
@@ -51,15 +51,15 @@ _AppWidgetViewImpl::CreateAppWidgetViewImplN(AppWidgetView& appWidgetView)
 {
        unique_ptr<_AppWidgetView> pCore(_AppWidgetView::CreateAppWidgetViewN());
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        unique_ptr<_AppWidgetViewImpl> pImpl(new (std::nothrow) _AppWidgetViewImpl(&appWidgetView, pCore.get()));
-       SysTryReturn(NID_UI_CTRL, pImpl, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pImpl, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pCore.release();
 
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pImpl.release();
 }
@@ -128,7 +128,7 @@ result
 _AppWidgetViewImpl::Initialize(const AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::FloatRectangle& rect, const String& userInfo)
 {
        result r = GetCore().Initialize(appId, providerName, rect, userInfo);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = GetCore().AddAppWidgetViewEventListener(*this);
 
@@ -140,7 +140,7 @@ _AppWidgetViewImpl::GetAppWidgetProviderInfoN(void) const
 {
        AppWidgetProviderInfo* pProviderInfo = GetCore().GetAppWidgetProviderInfoN();
        result r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pProviderInfo, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pProviderInfo, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return pProviderInfo;
 }
@@ -149,7 +149,7 @@ result
 _AppWidgetViewImpl::AddAppWidgetViewEventListener(IAppWidgetViewEventListener& listener)
 {
        bool exist = __pAppWidgetViewEventListenerList->Contains(&listener);
-       SysTryReturn(NID_UI_CTRL, exist, E_OBJ_ALREADY_EXIST, E_OBJ_ALREADY_EXIST, "[%s] Propagating.", GetErrorMessage(E_OBJ_ALREADY_EXIST));
+       SysTryReturn(NID_SHELL, exist, E_OBJ_ALREADY_EXIST, E_OBJ_ALREADY_EXIST, "[%s] Propagating.", GetErrorMessage(E_OBJ_ALREADY_EXIST));
 
        __pAppWidgetViewEventListenerList->Add(&listener);
 
@@ -160,7 +160,7 @@ result
 _AppWidgetViewImpl::RemoveAppWidgetViewEventListener(IAppWidgetViewEventListener& listener)
 {
        result r = __pAppWidgetViewEventListenerList->Remove(&listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, E_OBJ_NOT_FOUND, E_OBJ_NOT_FOUND, "[%s] Propagating.", GetErrorMessage(E_OBJ_NOT_FOUND));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, E_OBJ_NOT_FOUND, E_OBJ_NOT_FOUND, "[%s] Propagating.", GetErrorMessage(E_OBJ_NOT_FOUND));
 
        return E_SUCCESS;
 }
index 1d85662..924d14f 100644 (file)
@@ -126,7 +126,7 @@ dump_bmp(const char* pFileName, const void* pData, int width, int height)
        FILE* pFile = fopen(pFileName, "w+");
        if (pFile == null)
        {
-               SysLog(NID_UI_CTRL, "failed to fopen [%s]", pFileName);
+               SysLog(NID_SHELL, "failed to fopen [%s]", pFileName);
                return;
        }
        else
@@ -168,29 +168,29 @@ bufmgr_get(Display* pDisplay, Pixmap pixmap)
        /* DRI2 */
        if (!DRI2QueryExtension (pDisplay, &eventBase, &errorBase))
        {
-               SysLog(NID_UI_CTRL, "!!Error : DRI2QueryExtension !!\n");
+               SysLog(NID_SHELL, "!!Error : DRI2QueryExtension !!\n");
                return null;
        }
 
        if (!DRI2QueryVersion (pDisplay, &dri2Major, &dri2Minor))
        {
-               SysLog(NID_UI_CTRL, "!!Error : DRI2QueryVersion !!\n");
+               SysLog(NID_SHELL, "!!Error : DRI2QueryVersion !!\n");
                return null;
        }
 
        if (!DRI2Connect (pDisplay, RootWindow(pDisplay, screen), &pDriverName, &pDeviceName))
        {
-               SysLog(NID_UI_CTRL, "!!Error : DRI2Connect !!\n");
+               SysLog(NID_SHELL, "!!Error : DRI2Connect !!\n");
                return null;
        }
 
-       SysLog(NID_UI_CTRL, "Open drm device : %s\n", pDeviceName);
+       SysLog(NID_SHELL, "Open drm device : %s\n", pDeviceName);
 
        /* get the drm_fd though opening the deviceName */
        drm_fd = open (pDeviceName, O_RDWR);
        if (drm_fd < 0)
        {
-               SysLog(NID_UI_CTRL, "!!Error : cannot open drm device (%s)\n", pDeviceName);
+               SysLog(NID_SHELL, "!!Error : cannot open drm device (%s)\n", pDeviceName);
                return null;
        }
 
@@ -200,7 +200,7 @@ bufmgr_get(Display* pDisplay, Pixmap pixmap)
 
        if (!DRI2Authenticate(pDisplay, RootWindow(pDisplay, screen), magic))
        {
-               SysLog(NID_UI_CTRL, "!!Error : DRI2Authenticate !!\n");
+               SysLog(NID_SHELL, "!!Error : DRI2Authenticate !!\n");
                close (drm_fd);
                return null;
        }
@@ -209,7 +209,7 @@ bufmgr_get(Display* pDisplay, Pixmap pixmap)
        bufmgr = drm_slp_bufmgr_init (drm_fd, null);
        if (!bufmgr)
        {
-               SysLog(NID_UI_CTRL, "!!Error : failed to init buffer manager \n");
+               SysLog(NID_SHELL, "!!Error : failed to init buffer manager \n");
                close (drm_fd);
                return null;
        }
@@ -238,22 +238,22 @@ pixmap_update(Display* pDisplay, drm_slp_bufmgr bufmgr, Pixmap pixmap, int x, in
 
        if (!pDri2_buffers)
        {
-               SysLog(NID_UI_CTRL, "[Error] : failed to get buffers\n");
+               SysLog(NID_SHELL, "[Error] : failed to get buffers\n");
                goto update_done;
        }
 
        if (!pDri2_buffers[0].name)
        {
-               SysLog(NID_UI_CTRL, "[Error] : a handle of the dri2 buffer is null \n ");
+               SysLog(NID_SHELL, "[Error] : a handle of the dri2 buffer is null \n ");
                goto update_done;
        }
 
-       SysLog(NID_UI_CTRL, "pDri2_buffers[0].name : %d", pDri2_buffers[0].name);
+       SysLog(NID_SHELL, "pDri2_buffers[0].name : %d", pDri2_buffers[0].name);
 
        bo = drm_slp_bo_import(bufmgr, pDri2_buffers[0].name);
        if (!bo)
        {
-               SysLog(NID_UI_CTRL, "[Error] : cannot import bo (key:%d)\n", pDri2_buffers[0].name);
+               SysLog(NID_SHELL, "[Error] : cannot import bo (key:%d)\n", pDri2_buffers[0].name);
                goto update_done;
        }
 
@@ -263,7 +263,7 @@ pixmap_update(Display* pDisplay, drm_slp_bufmgr bufmgr, Pixmap pixmap, int x, in
        pVirtualBuf = (void*)drm_slp_bo_map (bo, DRM_SLP_DEVICE_CPU, opt);
        if (!pVirtualBuf)
        {
-               SysLog(NID_UI_CTRL, "[Error] : failed to map \n");
+               SysLog(NID_SHELL, "[Error] : failed to map \n");
                goto update_done;
        }
 
@@ -289,7 +289,7 @@ DumpPixmap(int pixmap)
        int height = 0;
 
        ecore_x_pixmap_geometry_get(pixmap, &x, &y, &width, &height);
-       SysTryReturnVoidResult(NID_UI_CTRL, (width > 0) && (height > 0), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
+       SysTryReturnVoidResult(NID_SHELL, (width > 0) && (height > 0), E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid [0x%x %d %d].", pixmap, width , height);
 
        if (__bufMgr)
        {
@@ -305,9 +305,9 @@ DumpPixmap(int pixmap)
                pixmap_update((Display*)ecore_x_display_get(), __bufMgr, pixmap, 0, 0, width, height);
        }
        else
-               SysLog(NID_UI_CTRL, "can't get pixmap __bufMgr");
+               SysLog(NID_SHELL, "can't get pixmap __bufMgr");
 
-       SysLog(NID_UI_CTRL, "dump pixmap [%d]", pixmap);
+       SysLog(NID_SHELL, "dump pixmap [%d]", pixmap);
 }
 
 #endif // _PIXMAP_TEST
@@ -354,13 +354,13 @@ _AppWidgetViewManager::GetInstance(void)
 livebox*
 _AppWidgetViewManager::AddAppWidgetView(_AppWidgetView* pAppWidgetView, const String& userInfo)
 {
-       SysTryReturn(NID_UI_CTRL, pAppWidgetView, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pAppWidgetView, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        unique_ptr<char[]> pAppWidgetId(_StringConverter::CopyToCharArrayN(pAppWidgetView->GetAppWidgetId()));
-       SysTryReturn(NID_UI_CTRL, pAppWidgetId, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pAppWidgetId, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        unique_ptr<char[]> pContent(_StringConverter::CopyToCharArrayN(userInfo));
-       SysTryReturn(NID_UI_CTRL, pContent, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pContent, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        const char* pCluster = "user,created";
        const char* pCategory = "default";
@@ -368,7 +368,7 @@ _AppWidgetViewManager::AddAppWidgetView(_AppWidgetView* pAppWidgetView, const St
        int sizeType = GetAppWidgetSizeType(pAppWidgetView->GetSizeF());
 
        livebox* pAppWidget = livebox_add_with_size(pAppWidgetId.get(), pContent.get(), pCluster, pCategory, period, sizeType, OnAppWidgetAdded, this);
-       SysTryReturn(NID_UI_CTRL, pAppWidget, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pAppWidget, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        __pViewMap->Add(pAppWidget, pAppWidgetView);
 
@@ -378,10 +378,10 @@ _AppWidgetViewManager::AddAppWidgetView(_AppWidgetView* pAppWidgetView, const St
 void
 _AppWidgetViewManager::RemoveAppWidgetView(_AppWidgetView* pAppWidgetView)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetView, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetView, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        livebox* pAppWidget = pAppWidgetView->GetNativeAppWidget();
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        __pViewMap->Remove(pAppWidget);
 
@@ -402,7 +402,7 @@ _AppWidgetViewManager::GetAppWidgetView(livebox* pAppWidget) const
 FloatDimension
 _AppWidgetViewManager::GetAppWidgetSize(livebox* pAppWidget) const
 {
-       SysTryReturn(NID_UI_CTRL, pAppWidget, FloatDimension(0, 0), E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+       SysTryReturn(NID_SHELL, pAppWidget, FloatDimension(0, 0), E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
        int width = 0;
        int height = 0;
@@ -410,7 +410,7 @@ _AppWidgetViewManager::GetAppWidgetSize(livebox* pAppWidget) const
        int type = livebox_size(pAppWidget);
        livebox_service_get_size(type, &width, &height);
 
-//     SysLog(NID_UI_CTRL, "size [%d %d]", width, height);
+//     SysLog(NID_SHELL, "size [%d %d]", width, height);
 
        return FloatDimension(width, height);
 }
@@ -418,14 +418,14 @@ _AppWidgetViewManager::GetAppWidgetSize(livebox* pAppWidget) const
 FloatDimension
 _AppWidgetViewManager::GetAppWidgetPopupSize(livebox* pAppWidget) const
 {
-       SysTryReturn(NID_UI_CTRL, pAppWidget, FloatDimension(0, 0), E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+       SysTryReturn(NID_SHELL, pAppWidget, FloatDimension(0, 0), E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
        int width = 0;
        int height = 0;
 
        livebox_get_pdsize(pAppWidget, &width, &height);
 
-//     SysLog(NID_UI_CTRL, "size [%d %d]", width, height);
+//     SysLog(NID_SHELL, "size [%d %d]", width, height);
 
        return FloatDimension(width, height);
 }
@@ -434,7 +434,7 @@ void
 _AppWidgetViewManager::SetAppWidgetSize(const _AppWidgetView& appwidgetView, const FloatDimension& size)
 {
        livebox* pAppWidget = appwidgetView.GetNativeAppWidget();
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        int sizeType = GetAppWidgetSizeType(size);
 
@@ -447,10 +447,10 @@ _AppWidgetViewManager::AddFrameEventListener(void)
        if (!__pFrameEventListener)
        {
                unique_ptr<_FrameEventListener> pFrameEventListener(new (std::nothrow) _FrameEventListener());
-               SysTryReturnVoidResult(NID_UI_CTRL, pFrameEventListener, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, pFrameEventListener, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                _Window* pWindow = _ControlManager::GetInstance()->GetCurrentFrame();
-               SysTryReturnVoidResult(NID_UI_CTRL, pWindow, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+               SysTryReturnVoidResult(NID_SHELL, pWindow, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
                __pFrameEventListener = move(pFrameEventListener);
 
@@ -477,7 +477,7 @@ _AppWidgetViewManager::GetAppWidgetSizeType(const Tizen::Graphics::FloatDimensio
                }
        }
 
-       SysLog(NID_UI_CTRL, "[%d %d] type [%d][%d]", size.width, size.height, sizeType, sizetypeCount);
+       SysLog(NID_SHELL, "[%d %d] type [%d][%d]", size.width, size.height, sizeType, sizetypeCount);
 
        return sizeType;
 }
@@ -492,22 +492,22 @@ _AppWidgetViewManager::_AppWidgetViewManager(void)
        livebox_subscribe_group("*", "*");
 
        __eventHandler.reset(livebox_set_event_handler(OnAppWidgetEventReceived, this));
-       SysTryReturnVoidResult(NID_UI_CTRL, __eventHandler == 0, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturnVoidResult(NID_SHELL, __eventHandler == 0, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        __faultEventHandler.reset(livebox_set_fault_handler(OnAppWidgetFaultReceived, this));
-       SysTryReturnVoidResult(NID_UI_CTRL, __faultEventHandler == 0, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturnVoidResult(NID_SHELL, __faultEventHandler == 0, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        unique_ptr<HashMapT<livebox*, _AppWidgetView*> > pViewMap(new (std::nothrow) HashMapT<livebox*, _AppWidgetView*>);
-       SysTryReturnVoidResult(NID_UI_CTRL, pViewMap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pViewMap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pViewMap->Construct();
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pViewMap = move(pViewMap);
        __glMode = IsGlMode();
 
 //     r = _CreateCoordinateTransformer(__pCoordinateTransformer, sourceResolution, BASE_SCREEN_SIZE_NORMAL, destResolution, BASE_SCREEN_SIZE_NORMAL);
-//     SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+//     SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 _AppWidgetViewManager::~_AppWidgetViewManager(void)
@@ -562,10 +562,10 @@ _AppWidgetViewManager::GetBitmapN(const String& fileName) const
        MediaPixelFormat format = GetPixelFormat(BITMAP_PIXEL_FORMAT_ARGB8888);
 
        unique_ptr<ByteBuffer> pByteBuffer(_ImageDecoder::DecodeToBufferN(fileName, format, width, height));
-       SysTryReturn(NID_UI_CTRL, pByteBuffer, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pByteBuffer, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        unique_ptr<Bitmap> pBitmap(_BitmapImpl::GetNonScaledBitmapN(*pByteBuffer, Dimension(width, height), BITMAP_PIXEL_FORMAT_ARGB8888));
-       SysTryReturn(NID_UI_CTRL, pBitmap, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pBitmap, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        return pBitmap.release();
 }
@@ -573,7 +573,7 @@ _AppWidgetViewManager::GetBitmapN(const String& fileName) const
 Bitmap*
 _AppWidgetViewManager::GetBitmapN(void* pBuffer, const FloatDimension& size) const
 {
-       SysTryReturn(NID_UI_CTRL, pBuffer, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pBuffer, null, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        byte* pTempBuffer = static_cast<byte*>(pBuffer);
        const int BITS_PER_PIXEL = 32;
@@ -590,23 +590,23 @@ _AppWidgetViewManager::GetBitmapN(void* pBuffer, const FloatDimension& size) con
                {
                        fwrite(pBuffer, length, 1, pFile);
                        fclose(pFile);
-                       SysLog(NID_UI_CTRL, "_BUFFER_TEST: buffer (0x%x) size (%d) width(%f) height(%f)", pBuffer, length, size.width, size.height);
+                       SysLog(NID_SHELL, "_BUFFER_TEST: buffer (0x%x) size (%d) width(%f) height(%f)", pBuffer, length, size.width, size.height);
                }
                else
                {
-                       SysLog(NID_UI_CTRL, "File open failed: (%s) buffer (0x%x) size (%d)", strerror(errno), pBuffer, length);
+                       SysLog(NID_SHELL, "File open failed: (%s) buffer (0x%x) size (%d)", strerror(errno), pBuffer, length);
                }
        }
 #endif // _BUFFER_TEST
 
        unique_ptr<ByteBuffer> pByteBuffer(new (std::nothrow) ByteBuffer());
-       SysTryReturn(NID_UI_CTRL, pByteBuffer, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pByteBuffer, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pByteBuffer->Construct(pTempBuffer, 0, length, length);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        unique_ptr<Bitmap> pBitmap(_BitmapImpl::GetNonScaledBitmapN(*pByteBuffer.get(), Dimension(size.width, size.height), BITMAP_PIXEL_FORMAT_ARGB8888));
-       SysTryReturn(NID_UI_CTRL, pBitmap, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pBitmap, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        return pBitmap.release();
 }
@@ -637,7 +637,7 @@ _AppWidgetViewManager::IsGlMode(void) const
                }
        }
 
-       SysLog(NID_UI_CTRL, "[%d %d]", mode, glMode);
+       SysLog(NID_SHELL, "[%d %d]", mode, glMode);
 
        return glMode;
 }
@@ -651,18 +651,18 @@ void
 _AppWidgetViewManager::OnAppWidgetUpdated(livebox* pAppWidget)
 {
        _AppWidgetView* pAppWidgetView = GetAppWidgetView(pAppWidget);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        int type = livebox_lb_type(pAppWidget);
 
-//     SysLog(NID_UI_CTRL, "type (%d)", type);
+//     SysLog(NID_SHELL, "type (%d)", type);
 
        switch (type)
        {
        case LB_TYPE_IMAGE:
                {
                        unique_ptr<Bitmap> pBitmap(GetBitmapN(livebox_filename(pAppWidget)));
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+                       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                        pAppWidgetView->OnAppWidgetUpdated(*pBitmap.get(), GetAppWidgetSize(pAppWidget));
                        pBitmap.release();
@@ -672,13 +672,13 @@ _AppWidgetViewManager::OnAppWidgetUpdated(livebox* pAppWidget)
        case LB_TYPE_BUFFER:
                {
                        void* pBuffer = livebox_acquire_fb(pAppWidget);
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+                       SysTryReturnVoidResult(NID_SHELL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
                        FloatDimension sourceSize = GetAppWidgetSize(pAppWidget);
-                       SysLog(NID_UI_CTRL, "size [%d %d]", sourceSize.width, sourceSize.height);
+                       SysLog(NID_SHELL, "size [%d %d]", sourceSize.width, sourceSize.height);
 
                        unique_ptr<Bitmap> pBitmap(GetBitmapN(pBuffer, sourceSize));
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+                       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                        pAppWidgetView->OnAppWidgetUpdated(*pBitmap.get(), sourceSize);
                        livebox_release_fb(pBuffer);
@@ -698,12 +698,12 @@ _AppWidgetViewManager::OnAppWidgetUpdated(livebox* pAppWidget)
                else
                {
                        void* pBuffer = livebox_acquire_fb(pAppWidget);
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+                       SysTryReturnVoidResult(NID_SHELL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
                        FloatDimension sourceSize = GetAppWidgetSize(pAppWidget);
 
                        unique_ptr<Bitmap> pBitmap(GetBitmapN(pBuffer, sourceSize));
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+                       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                        pAppWidgetView->OnAppWidgetUpdated(*pBitmap.get(), sourceSize);
                        livebox_release_fb(pBuffer);
@@ -720,7 +720,7 @@ void
 _AppWidgetViewManager::OnAppWidgetDeleted(livebox* pAppWidget)
 {
        _AppWidgetView* pAppWidgetView = GetAppWidgetView(pAppWidget);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        pAppWidgetView->CallProviderRemoved();
 }
@@ -734,26 +734,26 @@ void
 _AppWidgetViewManager::OnAppWidgetPopupUpdated(livebox* pAppWidget)
 {
        _AppWidgetView* pAppWidgetView = GetAppWidgetView(pAppWidget);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        _AppWidgetPopupView* pAppWidgetPopupView = pAppWidgetView->GetAppWidgetPopup();
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetPopupView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetPopupView, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
        int type = livebox_pd_type(pAppWidget);
 
-//     SysLog(NID_UI_CTRL, "type (%d)", type);
+//     SysLog(NID_SHELL, "type (%d)", type);
 
        switch (type)
        {
        case PD_TYPE_BUFFER:
                {
                        void* pBuffer = livebox_acquire_pdfb(pAppWidget);
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+                       SysTryReturnVoidResult(NID_SHELL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
                        FloatDimension sourceSize = GetAppWidgetPopupSize(pAppWidget);
 
                        unique_ptr<Bitmap> pBitmap(GetBitmapN(pBuffer, sourceSize));
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+                       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                        pAppWidgetPopupView->OnAppWidgetUpdated(*pBitmap.get(), sourceSize);
                        livebox_release_pdfb(pBuffer);
@@ -772,12 +772,12 @@ _AppWidgetViewManager::OnAppWidgetPopupUpdated(livebox* pAppWidget)
                else
                {
                        void* pBuffer = livebox_acquire_pdfb(pAppWidget);
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
+                       SysTryReturnVoidResult(NID_SHELL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
                        FloatDimension sourceSize = GetAppWidgetPopupSize(pAppWidget);
 
                        unique_ptr<Bitmap> pBitmap(GetBitmapN(pBuffer, sourceSize));
-                       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+                       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                        pAppWidgetPopupView->OnAppWidgetUpdated(*pBitmap.get(), sourceSize);
                        livebox_release_pdfb(pBuffer);
@@ -793,10 +793,10 @@ _AppWidgetViewManager::OnAppWidgetPopupUpdated(livebox* pAppWidget)
 int
 _AppWidgetViewManager::OnAppWidgetEventReceived(livebox* pAppWidget, livebox_event_type eventType, void* pData)
 {
-       SysTryReturn(NID_UI_CTRL, pAppWidget, EXIT_SUCCESS, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pAppWidget, EXIT_SUCCESS, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetViewManager* pAppWidgetViewManager = static_cast<_AppWidgetViewManager*>(pData);
-       SysTryReturn(NID_UI_CTRL, pAppWidgetViewManager, EXIT_SUCCESS, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturn(NID_SHELL, pAppWidgetViewManager, EXIT_SUCCESS, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        switch (eventType)
        {
@@ -827,7 +827,7 @@ _AppWidgetViewManager::OnAppWidgetEventReceived(livebox* pAppWidget, livebox_eve
                break;
 
        default:
-               SysLog(NID_UI_CTRL, "Not supported event type: %d", eventType);
+               SysLog(NID_SHELL, "Not supported event type: %d", eventType);
                break;
        }
 
@@ -839,7 +839,7 @@ _AppWidgetViewManager::OnAppWidgetFaultReceived(livebox_fault_type faultType, co
 {
        if (faultType == LB_FAULT_DEACTIVATED)
        {
-               SysLog(NID_UI_CTRL, "type (%d) packageName (%s) fileName (%s) funcName (%s)", faultType, pAppWidgetId, pFilename, pFuncName);
+               SysLog(NID_SHELL, "type (%d) packageName (%s) fileName (%s) funcName (%s)", faultType, pAppWidgetId, pFilename, pFuncName);
                livebox_activate(pAppWidgetId, OnAppWidgetActivated, pData);
        }
 
@@ -849,41 +849,41 @@ _AppWidgetViewManager::OnAppWidgetFaultReceived(livebox_fault_type faultType, co
 void
 _AppWidgetViewManager::OnAppWidgetActivated(livebox* pAppWidget, int ret, void* pData)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-       SysTryReturnVoidResult(NID_UI_CTRL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetViewManager* pAppWidgetViewManager = static_cast<_AppWidgetViewManager*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 }
 
 void
 _AppWidgetViewManager::OnAppWidgetAdded(livebox* pAppWidget, int ret, void* pData)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-       SysTryReturnVoidResult(NID_UI_CTRL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetViewManager* pAppWidgetViewManager = static_cast<_AppWidgetViewManager*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 }
 
 void
 _AppWidgetViewManager::OnAppWidgetDeleted(livebox* pAppWidget, int ret, void* pData)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-       SysTryReturnVoidResult(NID_UI_CTRL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetViewManager* pAppWidgetViewManager = static_cast<_AppWidgetViewManager*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 }
 
 void
 _AppWidgetViewManager::OnAppWidgetResized(livebox* pAppWidget, int ret, void* pData)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-       SysTryReturnVoidResult(NID_UI_CTRL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidget, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, ret == 0, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
        _AppWidgetViewManager* pAppWidgetViewManager = static_cast<_AppWidgetViewManager*>(pData);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetViewManager, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
 //     pAppWidgetViewManager->OnAppWidgetUpdated(pAppWidget);
 }
@@ -892,14 +892,14 @@ void
 _AppWidgetViewManager::_FrameEventListener::OnFrameActivated(const Tizen::Ui::Controls::_Frame& source)
 {
        int ret = livebox_client_resumed();
-       SysLog(NID_UI_CTRL, "ret (%d)", ret);
+       SysLog(NID_SHELL, "ret (%d)", ret);
 }
 
 void
 _AppWidgetViewManager::_FrameEventListener::OnFrameDeactivated(const Tizen::Ui::Controls::_Frame& source)
 {
        int ret = livebox_client_paused();
-       SysLog(NID_UI_CTRL, "ret (%d)", ret);
+       SysLog(NID_SHELL, "ret (%d)", ret);
 }
 
 void
index 8ed7a41..d39c427 100644 (file)
@@ -48,16 +48,16 @@ _AppWidgetViewModel::Initialize(const AppId& appId, const Tizen::Base::String& p
        __providerName = providerName;
        __appwidgetId = _AppWidgetManagerImpl::MakeProviderName(appId, providerName);
 
-       SysLog(NID_UI_CTRL, "(%ls %ls %ls)", __appId.GetPointer(), __providerName.GetPointer(), __appwidgetId.GetPointer());
+       SysLog(NID_SHELL, "(%ls %ls %ls)", __appId.GetPointer(), __providerName.GetPointer(), __appwidgetId.GetPointer());
 
        AppWidgetProviderInfo* pAppWidgetProviderInfo = AppWidgetManager::GetInstance()->GetAppWidgetProviderInfoN(appId, providerName);
-       SysTryReturnVoidResult(NID_UI_CTRL, pAppWidgetProviderInfo, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pAppWidgetProviderInfo, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        __pAppWidgetProviderInfo.reset(pAppWidgetProviderInfo);
 
-       SysLog(NID_UI_CTRL, "(%ls %ls)", __appId.GetPointer(), __providerName.GetPointer());
+       SysLog(NID_SHELL, "(%ls %ls)", __appId.GetPointer(), __providerName.GetPointer());
 
-       SysLog(NID_UI_CTRL, "ProviderInfo(%ls %ls %ls %ls)", __pAppWidgetProviderInfo->GetName().GetPointer(), __pAppWidgetProviderInfo->GetDisplayName().GetPointer(),
+       SysLog(NID_SHELL, "ProviderInfo(%ls %ls %ls %ls)", __pAppWidgetProviderInfo->GetName().GetPointer(), __pAppWidgetProviderInfo->GetDisplayName().GetPointer(),
                __pAppWidgetProviderInfo->GetIconPath().GetPointer(), __pAppWidgetProviderInfo->GetConfigurationAppControlAppId().GetPointer());
 }
 
index dfc1fa9..7f6cda0 100644 (file)
@@ -45,7 +45,7 @@ _AppWidgetViewPresenter::_AppWidgetViewPresenter(const _AppWidgetView& appwidget
        , __pAppWidgetViewModel(new (std::nothrow) _AppWidgetViewModel())
        , __pSimpleText(null)
 {
-       SysTryReturnVoidResult(NID_UI_CTRL, __pAppWidgetViewModel, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pAppWidgetViewModel, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 }
 
 _AppWidgetViewPresenter::~_AppWidgetViewPresenter(void)
@@ -61,16 +61,16 @@ _AppWidgetViewPresenter::Initialize(const AppId& appId, const Tizen::Base::Strin
        __pAppWidgetViewModel->Initialize(appId, providerName);
 
        unique_ptr<Font> pFont(new (std::nothrow) Font());
-       SysTryReturn(NID_UI_CTRL, pFont, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pFont, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pFont->Construct(FONT_STYLE_BOLD, FONT_SIZE);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        std::unique_ptr<TextObject> pTextObject(new (std::nothrow) TextObject());
-       SysTryReturn(NID_UI_CTRL, pTextObject, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pTextObject, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        r = pTextObject->Construct();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pTextObject->SetWrap(TEXT_OBJECT_WRAP_TYPE_WORD);
        pTextObject->SetAction(TEXT_OBJECT_ACTION_TYPE_ABBREV);
@@ -126,7 +126,7 @@ _AppWidgetViewPresenter::Draw(void)
                pBitmap = __pAppWidgetView->GetAppIconBitmap();
        }
 
-       SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_SYSTEM, "Bitmap is invalid (%d).", imageDone);
+       SysTryReturnVoidResult(NID_SHELL, pBitmap, E_SYSTEM, "Bitmap is invalid (%d).", imageDone);
 
        Dimension appwidgetSize = __pAppWidgetView->GetSize();
        int bitmapWidth = pBitmap->GetWidth();
@@ -148,7 +148,7 @@ _AppWidgetViewPresenter::Draw(void)
        }
 
        unique_ptr<Canvas> pCanvas(__pAppWidgetView->GetCanvasN());
-       SysTryReturnVoidResult(NID_UI_CTRL, pCanvas, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, pCanvas, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pCanvas->SetBackgroundColor(Color(0, 0, 0, 0));
        pCanvas->Clear();
@@ -182,10 +182,10 @@ _AppWidgetViewPresenter::DrawText(Canvas& canvas)
        if (!__pSimpleText)
        {
                unique_ptr<TextSimple> pSimpleText(new (std::nothrow) TextSimple(appName.GetPointer(), appName.GetLength()));
-               SysTryReturnVoidResult(NID_UI_CTRL, pSimpleText, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_SHELL, pSimpleText, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                r = __pTextObject->AppendElement(*pSimpleText);
-               SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
                __pSimpleText = pSimpleText.release();
        }
@@ -197,10 +197,10 @@ _AppWidgetViewPresenter::DrawText(Canvas& canvas)
        __pTextObject->SetFont(__pFont.get(), 0, __pTextObject->GetTextLength());
 
        r = __pTextObject->Compose();
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = __pTextObject->Draw(*_CanvasImpl::GetInstance(canvas));
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
 }} // Tizen::Shell
index fa41ab5..b49e5e8 100644 (file)
@@ -76,13 +76,13 @@ public:
                notiCount++;
 
                char* pName = _StringConverter::CopyToCharArrayN(name);
-               SysTryReturnResult(NID_UI_CTRL, pName, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryReturnResult(NID_SHELL, pName, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                pWindow = minicontrol_win_add((const char*)pName);
-               SysTryCatch(NID_UI_CTRL, pWindow, , E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+               SysTryCatch(NID_SHELL, pWindow, , E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
                r = Initialize(pWindow);
-               SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+               SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
                delete [] pName;
 
@@ -125,15 +125,15 @@ _QuickPanelFrame::_QuickPanelFrame(void)
        _UiEventManager* pEventManager = null;
 
        __pQuickPanelFramePresenter = new (std::nothrow) _QuickPanelFramePresenter(*this);
-       SysTryReturnVoidResult(NID_UI_CTRL, __pQuickPanelFramePresenter, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pQuickPanelFramePresenter, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = E_SUCCESS;
 
        pEventManager = _UiEventManager::GetInstance();
-       SysTryCatch(NID_UI_CTRL, pEventManager, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, pEventManager, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        __pEventManager = pEventManager->GetEventManager();
-       SysTryCatch(NID_UI_CTRL, __pEventManager, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, __pEventManager, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        // SetSystemWindow
        SetSystemWindow(true);
@@ -167,13 +167,13 @@ _QuickPanelFrame*
 _QuickPanelFrame::CreateQuickPanelFrameN(void)
 {
        _QuickPanelFrame* pQuickPanelFrame = new (std::nothrow) _QuickPanelFrame();
-       SysTryReturn(NID_UI_CTRL, pQuickPanelFrame, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturn(NID_SHELL, pQuickPanelFrame, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = GetLastResult();
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = pQuickPanelFrame->CreateRootVisualElement();
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        pQuickPanelFrame->AcquireHandle();
 
@@ -189,13 +189,13 @@ CATCH:
 result
 _QuickPanelFrame::Initialize(float height)
 {
-       SysTryReturn(NID_UI_CTRL, height >= 0, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The height %d is out of height range(0 ~ ).", height);
+       SysTryReturn(NID_SHELL, height >= 0, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The height %d is out of height range(0 ~ ).", height);
 
        result r = E_SUCCESS;
 
        _ControlManager* pControlManager = _ControlManager::GetInstance();
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pControlManager, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pControlManager, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        Dimension size = pControlManager->GetScreenSize();
 
@@ -206,7 +206,7 @@ _QuickPanelFrame::Initialize(float height)
 
        __pLayer = dynamic_cast<_QuickPanelFrameLayer*>(pRootVE->GetNativeLayer());
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, __pLayer, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, __pLayer, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        FloatDimension phySize = _CoordinateSystemUtils::Transform(sizeF);
        FloatRectangle fPhyBounds(0.0f, 0.0f, phySize.width, phySize.height);
@@ -222,7 +222,7 @@ _QuickPanelFrame::Initialize(float height)
 
        _VisualElement* pVisualElement = GetVisualElement();
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pVisualElement, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pVisualElement, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        pVisualElement->SetShowState(true);
 
@@ -230,10 +230,10 @@ _QuickPanelFrame::Initialize(float height)
 
        __pEventManager->RegisterTouchEventHandler(*this);
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        r = SetBounds(FloatRectangle(0.0f, 0.0f, sizeF.width, sizeF.height));
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        SetMovable(false);
        SetResizable(false);
@@ -244,7 +244,7 @@ _QuickPanelFrame::Initialize(float height)
 result
 _QuickPanelFrame::SetHeight(float height)
 {
-       SysTryReturn(NID_UI_CTRL, height >= 0, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The height %d is out of height range(0 ~ ).", height);
+       SysTryReturn(NID_SHELL, height >= 0, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The height %d is out of height range(0 ~ ).", height);
 
        result r = E_SUCCESS;
 
@@ -273,7 +273,7 @@ _QuickPanelFrame::CreateLayer(void)
        _EflLayer* pEflLayer = null;
 
        result r = pLayer->Construct();
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage );
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage );
 
        SetLayer(*pLayer);
        SetRootVisualElement(*(pLayer->GetRootVisualElement()));
index f3fd94d..e1a6db0 100644 (file)
@@ -57,11 +57,11 @@ _QuickPanelFrameImpl::CreateQuickPanelFrameImplN(QuickPanelFrame& quickpanelFram
 
        _QuickPanelFrame* pCore = _QuickPanelFrame::CreateQuickPanelFrameN();
        r = GetLastResult();
-       SysTryReturn(NID_UI_CTRL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, pCore, null, r, "[%s] Propagating.", GetErrorMessage(r));
 
        _QuickPanelFrameImpl* pImpl = new (std::nothrow) _QuickPanelFrameImpl(&quickpanelFrame, pCore, pPortraitLayout, pLandscapeLayout);
        r = GetLastResult();
-       SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryCatch(NID_SHELL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
 
        SetLastResult(E_SUCCESS);
 
@@ -86,7 +86,7 @@ _QuickPanelFrameImpl::_QuickPanelFrameImpl(QuickPanelFrame* pPublic, _QuickPanel
        , __rotation(_CONTROL_ROTATION_0)
 {
        __pOrientationEvent = _PublicOrientationEvent::CreateInstanceN(*pPublic);
-       SysTryReturnVoidResult(NID_UI_CTRL, __pOrientationEvent, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+       SysTryReturnVoidResult(NID_SHELL, __pOrientationEvent, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 }
 
 _QuickPanelFrameImpl::~_QuickPanelFrameImpl(void)
@@ -132,7 +132,7 @@ result
 _QuickPanelFrameImpl::Initialize(float height)
 {
        result r = GetCore().Initialize(height);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -141,7 +141,7 @@ result
 _QuickPanelFrameImpl::AddOrientationEventListener(IOrientationEventListener& listener)
 {
        result r = __pOrientationEvent->AddListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -150,7 +150,7 @@ result
 _QuickPanelFrameImpl::RemoveOrientationEventListener(IOrientationEventListener& listener)
 {
        result r = __pOrientationEvent->RemoveListener(listener);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -159,7 +159,7 @@ result
 _QuickPanelFrameImpl::SetHeight(float height)
 {
        result r  = GetCore().SetHeight(height);
-       SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturn(NID_SHELL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
@@ -204,7 +204,7 @@ _QuickPanelFrameImpl::OnChangeLayout(_ControlOrientation orientation)
 {
        _ContainerImpl::OnChangeLayout(orientation);
        result r = GetLastResult();
-       SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+       SysTryReturnVoidResult(NID_SHELL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
        bool resizable = IsResizable();
        SetResizable(true);
@@ -385,7 +385,7 @@ protected:
                float quickpanelFrameHeight = 0.0f;
 
                QuickPanelFrame* pQuickPanelFrame = dynamic_cast <QuickPanelFrame*>(GetContainer());
-               SysTryReturn(NID_UI_CTRL, pQuickPanelFrame != null, null, E_SYSTEM, "[E_SYSTEM] This instance is not constructed.");
+               SysTryReturn(NID_SHELL, pQuickPanelFrame != null, null, E_SYSTEM, "[E_SYSTEM] This instance is not constructed.");
 
                GetProperty(pControl, &pControlProperty);
 
@@ -459,7 +459,7 @@ protected:
 
                if (r != E_SUCCESS)
                {
-                       SysLog(NID_UI_CTRL, "Failed to create QuickPanelFrame.");
+                       SysLog(NID_SHELL, "Failed to create QuickPanelFrame.");
                        return null;
                }