Skip to content

Commit

Permalink
Merge pull request #2083 from AKalinich-Luxoft/fix/fix_sdl_preloaded_pt
Browse files Browse the repository at this point in the history
Update preloaded PT with PROJECTION HMI type
  • Loading branch information
LuxoftAKutsan authored and BSolonenko committed Mar 26, 2018
2 parents f6b345a + a6dde5a commit 12866af
Show file tree
Hide file tree
Showing 13 changed files with 591 additions and 588 deletions.
1 change: 1 addition & 0 deletions src/appMain/sdl_preloaded_pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"notifications_per_minute_by_priority": {
"EMERGENCY": 60,
"NAVIGATION": 15,
"PROJECTION": 15,
"VOICECOM": 20,
"COMMUNICATION": 6,
"NORMAL": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"notifications_per_minute_by_priority": {
"EMERGENCY": 60,
"NAVIGATION": 15,
"PROJECTION": 15,
"COMMUNICATION": 6,
"NORMAL": 4,
"NONE": 0
Expand Down
1 change: 1 addition & 0 deletions src/components/application_manager/test/sdl_pt_update.json
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,7 @@
"COMMUNICATION" : 6,
"EMERGENCY" : 60,
"NAVIGATION" : 15,
"PROJECTION": 15,
"NONE" : 0,
"NORMAL" : 4,
"VOICECOMM" : 10
Expand Down
580 changes: 290 additions & 290 deletions src/components/dbus/codegen/introspection_xml.cc

Large diffs are not rendered by default.

580 changes: 290 additions & 290 deletions src/components/dbus/src/introspection_xml.cc

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ namespace test {
namespace components {
namespace dbus_test {

class MockDBusMessageController
: public ::dbus::DBusMessageController {
class MockDBusMessageController : public ::dbus::DBusMessageController {
public:
MOCK_METHOD1(Recv, void(std::string&));

Expand Down
3 changes: 1 addition & 2 deletions src/components/hmi_message_handler/src/websocket_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ bool WebsocketSession::checkMessage(Json::Value& root, Json::Value& error) {
return false;
}

if (root.isMember("id") &&
(root["id"].isArray() || root["id"].isObject())) {
if (root.isMember("id") && (root["id"].isArray() || root["id"].isObject())) {
error["id"] = Json::Value::null;
error["jsonrpc"] = "2.0";
err["code"] = hmi_message_handler::INVALID_REQUEST;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ typedef Map<URL, 1, 255> URLList;
typedef Map<URLList, 1, 255> ServiceEndpoints;

typedef uint8_t NumberOfNotificationsType;
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 6>
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 7>
NumberOfNotificationsPerMinute;

typedef Array<Integer<uint16_t, 1, 1000>, 0, 5> SecondsBetweenRetries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
minsize="1" maxsize="255" />

<typedef name="NumberOfNotificationsPerMinute" type="Integer"
map="true" maxsize="6" minvalue="0" maxvalue="255" />
map="true" maxsize="7" minvalue="0" maxvalue="255" />

<typedef name="SecondsBetweenRetries" type="Integer" array="true"
maxsize="10" minvalue="1" maxvalue="1000" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"notifications_per_minute_by_priority": {
"EMERGENCY": 60,
"NAVIGATION": 15,
"PROJECTION": 15,
"COMMUNICATION": 6,
"NORMAL": 4,
"NONE": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ typedef Map<URL, 1, 255> URLList;
typedef Map<URLList, 1, 255> ServiceEndpoints;

typedef uint8_t NumberOfNotificationsType;
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 6>
typedef Map<Integer<NumberOfNotificationsType, 0, 255>, 0, 7>
NumberOfNotificationsPerMinute;

typedef Array<Integer<uint16_t, 1, 1000>, 0, 5> SecondsBetweenRetries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
minsize="1" maxsize="255" />

<typedef name="NumberOfNotificationsPerMinute" type="Integer"
map="true" maxsize="6" minvalue="0" maxvalue="255" />
map="true" maxsize="7" minvalue="0" maxvalue="255" />

<typedef name="SecondsBetweenRetries" type="Integer" array="true"
maxsize="10" minvalue="1" maxvalue="1000" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"notifications_per_minute_by_priority": {
"EMERGENCY": 60,
"NAVIGATION": 15,
"PROJECTION": 15,
"COMMUNICATION": 6,
"NORMAL": 4,
"NONE": 0
Expand Down

0 comments on commit 12866af

Please sign in to comment.