app_id_ = app_id;
}
+/* LCOV_EXCL_START */
const std::string& GetAppId() const {
return app_id_;
}
+/* LCOV_EXCL_STOP */
void SetPackageId(const std::string& package_id) {
package_id_ = package_id;
bool IsPermanent() const {
return permanent_;
}
-
+/* LCOV_EXCL_START */
void SetFgSignal(bool fg_signal) {
fg_signal_ = fg_signal;
}
bool IsFgSignal() const {
return fg_signal_;
}
+/* LCOV_EXCL_STOP */
int SendUpdateStatus(const std::string& class_id,
const std::string& instance_id, int status, int err,
return 0;
}
+/* LCOV_EXCL_START */
void WidgetContext::Impl::OnUpdate(bool force) {
parent_->OnUpdate(pending_content_.empty() ? tizen_base::Bundle() :
tizen_base::Bundle(pending_content_), force);
WIDGET_INSTANCE_EVENT_UPDATE, 0, nullptr);
_D("Updated: %s", id.c_str());
}
+/* LCOV_EXCL_STOP */
void WidgetContext::Impl::UpdateProcess(const tizen_base::Bundle& b) {
bool force;
}
}
+/* LCOV_EXCL_START */
void WidgetContext::Impl::SetPeriod(double period) {
period_ = period;
}
TimedOutCb, parent_);
}
}
+/* LCOV_EXCL_STOP */
void WidgetContext::Impl::UnsetPeriodicTimer() {
if (periodic_timer_) {
}
}
+/* LCOV_EXCL_START */
gboolean WidgetContext::Impl::TimedOutCb(gpointer user_data) {
WidgetContext* wc = reinterpret_cast<WidgetContext*>(user_data);
if (wc->IsResumed()) {
return G_SOURCE_CONTINUE;
}
+/* LCOV_EXCL_STOP */
WidgetContext::WidgetContext(std::string context_id, std::string inst_id,
AppCoreMultiWindowBase* app)
WidgetContext::~WidgetContext() = default;
+/* LCOV_EXCL_START */
void WidgetContext::OnPause() {
std::string id = GetInstId();
_D("WidgetContext(%s) is paused", id.c_str());
__context.SetFgSignal(true);
}
}
+/* LCOV_EXCL_STOP */
void WidgetContext::OnResize(int w, int h) {
}