As requested explicitly by Visual Display Division.
Change-Id: I54d18b426d0fc1f65d92352036e660ed6310736d
return ret;
}
*method = static_cast<enum cynara_client_creds>(cachedMethodCode);
- LOGD("cynara_creds_get_default_client_method, cachedMethodCode = %d", cachedMethodCode);
+ LOGW("cynara_creds_get_default_client_method, cachedMethodCode = %d", cachedMethodCode);
return CYNARA_API_SUCCESS;
}
}
*method = static_cast<enum cynara_user_creds>(cachedMethodCode);
- LOGD("cynara_creds_get_default_user_method, cachedMethodCode = %d", cachedMethodCode);
+ LOGW("cynara_creds_get_default_user_method, cachedMethodCode = %d", cachedMethodCode);
return CYNARA_API_SUCCESS;
}
return CYNARA_API_UNKNOWN_ERROR;
- LOGD("Calling %s on %s", dbusMethod, dbusName);
+ LOGW("Calling %s on %s", dbusMethod, dbusName);
m_reply = dbus_connection_send_with_reply_and_block(connection, m_message,
DBUS_TIMEOUT_USE_DEFAULT, nullptr);
- LOGD("%s returned", dbusMethod);
+ LOGW("%s returned", dbusMethod);
if (m_reply == nullptr)
return CYNARA_API_UNKNOWN_ERROR;
}
Credentials credentials;
- LOGD("Attempting to initialize Credentials");
+ LOGW("Attempting to initialize Credentials");
ret = credentials.init(connection, uniqueName);
if (ret != CYNARA_API_SUCCESS)
return ret;
default:
return CYNARA_API_METHOD_NOT_SUPPORTED;
}
- LOGD("cynara_creds_dbus_get_client returns %d", ret);
+ LOGW("cynara_creds_dbus_get_client returns %d", ret);
return ret;
}
}
int init(GDBusConnection *connection, const gchar *uniqueId) {
GError *err = nullptr;
- LOGD("Calling GetConnectionCredentials on org.freedesktop.DBus");
+ LOGW("Calling GetConnectionCredentials on org.freedesktop.DBus");
GVariant *reply = g_dbus_connection_call_sync(connection,
"org.freedesktop.DBus", "/org/freedesktop/DBus", "org.freedesktop.DBus",
"GetConnectionCredentials", g_variant_new("(s)", uniqueId),
G_VARIANT_TYPE("(a{sv})"), G_DBUS_CALL_FLAGS_NONE, -1, NULL, &err);
- LOGD("GetConnectionCredentials returned");
+ LOGW("GetConnectionCredentials returned");
if (reply == nullptr) {
if (err != nullptr) {
LOGE("Getting client credentials by calling dbus method GetConnectionCredentials "
}
Credentials credentials;
- LOGD("Attempting to initialize Credentials");
+ LOGW("Attempting to initialize Credentials");
ret = credentials.init(connection, uniqueName);
if (ret != CYNARA_API_SUCCESS)
return ret;
default:
return CYNARA_API_METHOD_NOT_SUPPORTED;
}
- LOGD("cynara_creds_gdbus_get_client returns %d", ret);
+ LOGW("cynara_creds_gdbus_get_client returns %d", ret);
return ret;
}