Skip to content

Commit

Permalink
Merge pull request #1 from rdkcentral/master
Browse files Browse the repository at this point in the history
Sync on 07/15/2020
  • Loading branch information
sborushevsky authored Jul 15, 2020
2 parents 33b55ac + 31826f7 commit 61af279
Show file tree
Hide file tree
Showing 106 changed files with 10,979 additions and 396 deletions.
1 change: 1 addition & 0 deletions AVInput/doc/AVInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[AVInput Docs](https://wiki.rdkcentral.com/display/RDK/AV+Input)
1 change: 1 addition & 0 deletions ActivityMonitor/doc/ActivityMonitor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Activity Monitor docs](https://wiki.rdkcentral.com/display/RDK/ActivityMonitor)
2 changes: 2 additions & 0 deletions Bluetooth/doc/Bluetooth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Bluetooth](https://wiki.rdkcentral.com/display/RDK/Bluetooth)

13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ option(PLUGIN_CONTROLSERVICE "Include ControlService plugin" ON)
option(PLUGIN_VIDEOAPPLICATIONEVENTS "Include video application events plugin" OFF)
option(PLUGIN_INACTIVITYNOTIFIER "Include InactivityNotifier plugin" OFF)
option(PLUGIN_RDKSHELL "Include RDKShell plugin" OFF)
option(PLUGIN_TEXTTOSPEECH "Include TextToSpeech plugin" OFF)

# Library installation section
string(TOLOWER ${NAMESPACE} STORAGE_DIRECTORY)
Expand Down Expand Up @@ -151,6 +152,10 @@ endif()
add_subdirectory(HdmiCec)
endif()

if(HAS_API_HDMI_CEC_2)
add_subdirectory(HdmiCec_2)
endif()

if(ENABLE_LOCATION_SYNC)
add_subdirectory(LocationSync)
endif()
Expand Down Expand Up @@ -283,6 +288,14 @@ endif()
add_subdirectory(WebKitBrowser)
endif()

if(PLUGIN_TEXTTOSPEECH)
add_subdirectory(TextToSpeech)
endif()

if(PLUGIN_PERSISTENT_STORE)
add_subdirectory(PersistentStore)
endif()

if(WPEFRAMEWORK_CREATE_IPKG_TARGETS)
set(CPACK_GENERATOR "DEB")
set(CPACK_DEB_COMPONENT_INSTALL ON)
Expand Down
2 changes: 2 additions & 0 deletions ContinueWatching/doc/ContinueWatching.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Continue Watching](https://wiki.rdkcentral.com/display/RDK/Continue+Watching)

11 changes: 11 additions & 0 deletions ControlService/ControlService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ namespace WPEFramework {
ControlService::_instance = this;

registerMethod("getApiVersionNumber", &ControlService::getApiVersionNumber, this);
registerMethod("getQuirks", &ControlService::getQuirks, this);

registerMethod("getAllRemoteData", &ControlService::getAllRemoteDataWrapper, this);
registerMethod("getSingleRemoteData", &ControlService::getSingleRemoteDataWrapper, this);
Expand Down Expand Up @@ -722,6 +723,15 @@ namespace WPEFramework {
returnResponse(true);
}

uint32_t ControlService::getQuirks(const JsonObject& parameters, JsonObject& response)
{
LOGINFOMETHOD();
JsonArray array;
array.Add("DELIA-43686");
response["quirks"] = array;
returnResponse(true);
}

uint32_t ControlService::getAllRemoteDataWrapper(const JsonObject& parameters, JsonObject& response)
{
LOGINFOMETHOD();
Expand Down Expand Up @@ -1953,6 +1963,7 @@ namespace WPEFramework {
remoteInfo["linkQuality"] = JsonValue((int)ctrlStatus.status.link_quality);
remoteInfo["bHasCheckedIn"] = JsonValue((bool)ctrlStatus.status.checkin_for_device_update);
remoteInfo["bIrdbDownloadSupported"] = JsonValue((bool)ctrlStatus.status.ir_db_code_download_supported);
remoteInfo["securityType"] = JsonValue((int)ctrlStatus.status.security_type);

remoteInfo["bHasBattery"] = JsonValue((bool)ctrlStatus.status.has_battery);
remoteInfo["batteryChangedTimestamp"] = JsonValue((long long)(ctrlStatus.status.time_battery_changed * 1000LL));
Expand Down
1 change: 1 addition & 0 deletions ControlService/ControlService.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ namespace WPEFramework {

//Begin methods
uint32_t getApiVersionNumber(const JsonObject& parameters, JsonObject& response);
uint32_t getQuirks(const JsonObject& parameters, JsonObject& response);

uint32_t getAllRemoteDataWrapper(const JsonObject& parameters, JsonObject& response);
uint32_t getSingleRemoteDataWrapper(const JsonObject& parameters, JsonObject& response);
Expand Down
2 changes: 2 additions & 0 deletions ControlService/doc/ControlService.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Control Service](https://wiki.rdkcentral.com/display/RDK/Control+Service)

2 changes: 2 additions & 0 deletions DataCapture/doc/DataCapture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[DataCapture](https://wiki.rdkcentral.com/display/RDK/DataCapture)

2 changes: 2 additions & 0 deletions DeviceDiagnostics/doc/DeviceDiagnostics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[DeviceDiagnostics](https://wiki.rdkcentral.com/display/RDK/Device+Diagnostics)

Loading

0 comments on commit 61af279

Please sign in to comment.