Skip to content

Commit

Permalink
Renaming WPEFramework to Thunder (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul committed Jun 3, 2024
1 parent f59afcb commit bb02972
Show file tree
Hide file tree
Showing 175 changed files with 331 additions and 331 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
cmake_minimum_required(VERSION 3.3)
project(NanoServicesRDK)

find_package(WPEFramework)
find_package(Thunder)

option(PLUGIN_DEVICEIDENTIFICATION "Include DeviceIdentification plugin" OFF)
option(PLUGIN_DEVICEINFO "Include DeviceInfo plugin" OFF)
Expand Down
2 changes: 1 addition & 1 deletion DeviceIdentification/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(DeviceIdentification)

cmake_minimum_required(VERSION 3.3)

find_package(WPEFramework)
find_package(Thunder)

project_version(1.0.0)

Expand Down
4 changes: 2 additions & 2 deletions DeviceIdentification/DeviceIdentification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "IdentityProvider.h"
#include <interfaces/IConfiguration.h>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

namespace {
Expand Down Expand Up @@ -202,4 +202,4 @@ namespace Plugin {
}
}
} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder
4 changes: 2 additions & 2 deletions DeviceIdentification/DeviceIdentification.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "Module.h"
#include <interfaces/json/JsonData_DeviceIdentification.h>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DeviceIdentification : public PluginHost::IPlugin, public PluginHost::JSONRPC {
Expand Down Expand Up @@ -108,4 +108,4 @@ namespace Plugin {
};

} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder
2 changes: 1 addition & 1 deletion DeviceIdentification/DeviceIdentificationJsonRpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "DeviceIdentification.h"

namespace WPEFramework {
namespace Thunder {

namespace Plugin {

Expand Down
2 changes: 1 addition & 1 deletion DeviceIdentification/Implementation/Amlogic/Amlogic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <fstream>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {
class DeviceImplementation : public PluginHost::ISubSystem::IIdentifier {
static constexpr const TCHAR* ChipsetInfo= _T("T962X3");
Expand Down
2 changes: 1 addition & 1 deletion DeviceIdentification/Implementation/Broadcom/Broadcom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include <fstream>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DeviceImplementation : public PluginHost::ISubSystem::IIdentifier {
Expand Down
4 changes: 2 additions & 2 deletions DeviceIdentification/Implementation/Linux/Linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <fstream>
#include <sys/utsname.h>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {
class DeviceImplementation : public PluginHost::ISubSystem::IIdentifier, public Exchange::IConfiguration {
private:
Expand Down Expand Up @@ -51,7 +51,7 @@ namespace Plugin {
};

private:
class AdapterObserver : public WPEFramework::Core::AdapterObserver::INotification {
class AdapterObserver : public Thunder::Core::AdapterObserver::INotification {
public:
static int32_t constexpr WaitTime = 5000; //Just wait for 5 seconds

Expand Down
2 changes: 1 addition & 1 deletion DeviceIdentification/Implementation/MFR/MFR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {
#include <mfrApi.h>
}

namespace WPEFramework {
namespace Thunder {
namespace Plugin {
class DeviceImplementation : public PluginHost::ISubSystem::IIdentifier {

Expand Down
4 changes: 2 additions & 2 deletions DeviceIdentification/Implementation/RPI/RPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <bcm_host.h>
#include <fstream>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DeviceImplementation : public PluginHost::ISubSystem::IIdentifier {
Expand Down Expand Up @@ -92,7 +92,7 @@ namespace Plugin {
}
inline void UpdateDeviceIdentifier(string& identifier) const
{
WPEFramework::Core::File serialFile(SerialInfoPath);
Thunder::Core::File serialFile(SerialInfoPath);
if (serialFile.Open(true) == true) {
uint8_t* serialInfo = static_cast<uint8_t*>(ALLOCA(serialFile.Size()));
uint32_t size = serialFile.Read(serialInfo, static_cast<uint32_t>(serialFile.Size()));
Expand Down
2 changes: 1 addition & 1 deletion DeviceIdentification/Implementation/Realtek/Realtek.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <fstream>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DeviceImplementation : public PluginHost::ISubSystem::IIdentifier {
Expand Down
2 changes: 1 addition & 1 deletion DeviceIdentification/doc/DeviceIdentificationPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The table below provides and overview of terms and abbreviations used in this do
| <a name="ref.HTTP">[HTTP](http://www.w3.org/Protocols)</a> | HTTP specification |
| <a name="ref.JSON-RPC">[JSON-RPC](https://www.jsonrpc.org/specification)</a> | JSON-RPC 2.0 specification |
| <a name="ref.JSON">[JSON](http://www.json.org/)</a> | JSON specification |
| <a name="ref.Thunder">[Thunder](https://github.com/WebPlatformForEmbedded/Thunder/blob/master/doc/WPE%20-%20API%20-%20WPEFramework.docx)</a> | Thunder API Reference |
| <a name="ref.Thunder">[Thunder](https://github.com/WebPlatformForEmbedded/Thunder/blob/master/doc/WPE%20-%20API%20-%20Thunder.docx)</a> | Thunder API Reference |

<a name="head.Description"></a>
# Description
Expand Down
2 changes: 1 addition & 1 deletion DeviceInfo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(DeviceInfo)

cmake_minimum_required(VERSION 3.3)

find_package(WPEFramework)
find_package(Thunder)

project_version(1.0.0)

Expand Down
10 changes: 5 additions & 5 deletions DeviceInfo/DeviceInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "DeviceInfo.h"

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

namespace {
Expand Down Expand Up @@ -203,7 +203,7 @@ namespace Plugin {

void DeviceInfo::AddressInfo(Core::JSON::ArrayType<JsonData::DeviceInfo::AddressesData>& addressInfo) const
{
// Get the point of entry on WPEFramework..
// Get the point of entry on Thunder..
Core::AdapterIterator interfaces;

while (interfaces.Next() == true) {
Expand Down Expand Up @@ -314,7 +314,7 @@ namespace Plugin {
while (audioIt->Next(audioOutput)) {
JsonData::DeviceInfo::DeviceaudiocapabilitiesData::AudiooutputcapabilitiesData audiocapabilities;
audiocapabilities.AudioPort =
static_cast<WPEFramework::JsonData::DeviceInfo::AudioportType>(audioOutput);
static_cast<Thunder::JsonData::DeviceInfo::AudioportType>(audioOutput);

AudioCapabilities(audioOutput, audiocapabilities.Audiocapabilities);
Ms12Capabilities(audioOutput, audiocapabilities.Ms12capabilities);
Expand Down Expand Up @@ -413,7 +413,7 @@ namespace Plugin {
while (videoIt->Next(videoOutput) == true) {
JsonData::DeviceInfo::DevicevideocapabilitiesData::VideooutputcapabilitiesData videocapabilities;
videocapabilities.VideoDisplay =
static_cast<WPEFramework::JsonData::DeviceInfo::VideodisplayType>(videoOutput);
static_cast<Thunder::JsonData::DeviceInfo::VideodisplayType>(videoOutput);

Hdcp(videoOutput, videocapabilities.Hdcp);

Expand Down Expand Up @@ -500,4 +500,4 @@ namespace Plugin {
}
}
} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder
4 changes: 2 additions & 2 deletions DeviceInfo/DeviceInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <interfaces/IDeviceInfo.h>
#include <interfaces/json/JsonData_DeviceInfo.h>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DeviceInfo : public PluginHost::IPlugin, public PluginHost::IWeb, public PluginHost::JSONRPC {
Expand Down Expand Up @@ -245,6 +245,6 @@ namespace Plugin {
};

} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder

#endif // DEVICEINFO_DEVICEINFO_H
2 changes: 1 addition & 1 deletion DeviceInfo/DeviceInfoImplementation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "DeviceInfoImplementation.h"

namespace WPEFramework {
namespace Thunder {
namespace Plugin {
SERVICE_REGISTRATION(DeviceInfoImplementation, 1, 0)

Expand Down
4 changes: 2 additions & 2 deletions DeviceInfo/DeviceInfoImplementation.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "Module.h"
#include <interfaces/IDeviceInfo.h>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {
class DeviceInfoImplementation : public Exchange::IDeviceInfo,
public Exchange::IDeviceAudioCapabilities,
Expand Down Expand Up @@ -237,5 +237,5 @@ namespace Plugin {
string _sku;
string _platformName;
};
} //namespace WPEFramework
} //namespace Thunder
} //namespace Plugin
2 changes: 1 addition & 1 deletion DeviceInfo/DeviceInfoJsonRpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "DeviceInfo.h"
#include <interfaces/json/JsonData_DeviceInfo.h>

namespace WPEFramework {
namespace Thunder {

namespace Plugin {

Expand Down
2 changes: 1 addition & 1 deletion DeviceInfo/DeviceInfoPlugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Device Info Plugin",
"callsign": "DeviceInfo",
"locator": "libWPEFrameworkDeviceInfo.so",
"locator": "libThunderDeviceInfo.so",
"status": "production",
"description": "The DeviceInfo plugin allows retrieving of various device-related information.",
"version": "1.0"
Expand Down
4 changes: 2 additions & 2 deletions DeviceInfo/doc/DeviceInfoPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The table below provides and overview of terms and abbreviations used in this do
| <a name="ref.HTTP">[HTTP](http://www.w3.org/Protocols)</a> | HTTP specification |
| <a name="ref.JSON-RPC">[JSON-RPC](https://www.jsonrpc.org/specification)</a> | JSON-RPC 2.0 specification |
| <a name="ref.JSON">[JSON](http://www.json.org/)</a> | JSON specification |
| <a name="ref.Thunder">[Thunder](https://github.com/WebPlatformForEmbedded/Thunder/blob/master/doc/WPE%20-%20API%20-%20WPEFramework.docx)</a> | Thunder API Reference |
| <a name="ref.Thunder">[Thunder](https://github.com/WebPlatformForEmbedded/Thunder/blob/master/doc/WPE%20-%20API%20-%20Thunder.docx)</a> | Thunder API Reference |

<a name="head.Description"></a>
# Description
Expand All @@ -74,7 +74,7 @@ The table below lists configuration options of the plugin.
| :-------- | :-------- | :-------- |
| callsign | string | Plugin instance name (default: *DeviceInfo*) |
| classname | string | Class name: *DeviceInfo* |
| locator | string | Library name: *libWPEFrameworkDeviceInfo.so* |
| locator | string | Library name: *libThunderDeviceInfo.so* |
| startmode | string | Determines if the plugin shall be started automatically along with the framework |
| hdr | boolean | Does the device support HDR (true or false) |
| atmos | boolean | Does the device support Dolby Atmos (true or false) |
Expand Down
2 changes: 1 addition & 1 deletion DisplayInfo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(DisplayInfo)

cmake_minimum_required(VERSION 3.3)

find_package(WPEFramework)
find_package(Thunder)

project_version(1.0.0)

Expand Down
2 changes: 1 addition & 1 deletion DisplayInfo/DeviceSettings/Broadcom/SoC_abstraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define PROC_BRCM_DISPLAY_PATH "/proc/brcm/display"

using namespace std;
using namespace WPEFramework;
using namespace Thunder;

/**
* Sanitizeline
Expand Down
2 changes: 1 addition & 1 deletion DisplayInfo/DeviceSettings/PlatformImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#define EDID_MAX_HORIZONTAL_SIZE 21
#define EDID_MAX_VERTICAL_SIZE 22

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DisplayInfoImplementation :
Expand Down
4 changes: 2 additions & 2 deletions DisplayInfo/DisplayInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "DisplayInfo.h"

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

namespace {
Expand Down Expand Up @@ -246,4 +246,4 @@ namespace Plugin {
}

} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder
4 changes: 2 additions & 2 deletions DisplayInfo/DisplayInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <interfaces/json/JDisplayProperties.h>
#include <interfaces/IConfiguration.h>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DisplayInfo : public PluginHost::IPlugin, public PluginHost::IWeb, public PluginHost::JSONRPC {
Expand Down Expand Up @@ -125,4 +125,4 @@ namespace Plugin {
};

} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder
2 changes: 1 addition & 1 deletion DisplayInfo/DisplayInfoPlugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Display Info Plugin",
"callsign": "DisplayInfo",
"locator": "libWPEFrameworkDisplayInfo.so",
"locator": "libThunderDisplayInfo.so",
"status": "production",
"description": "The DisplayInfo plugin allows retrieving of various display-related information.",
"version": "1.0"
Expand Down
4 changes: 2 additions & 2 deletions DisplayInfo/DisplayInfoTracing.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class HDCPDetailedInfo {
Expand Down Expand Up @@ -66,4 +66,4 @@ namespace Plugin {
};

} // namespace Plugin
} // namespace WPEFramework
} // namespace Thunder
2 changes: 1 addition & 1 deletion DisplayInfo/ExtendedDisplayIdentification.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class ExtendedDisplayIdentification {
Expand Down
2 changes: 1 addition & 1 deletion DisplayInfo/Linux/DRMConnector.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <string>
#include <vector>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {
namespace Linux {

Expand Down
2 changes: 1 addition & 1 deletion DisplayInfo/Linux/PlatformImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <mutex>
#include <string>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

std::string getLine(const std::string& filepath)
Expand Down
4 changes: 2 additions & 2 deletions DisplayInfo/RPI/PlatformImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <bcm_host.h>
#include <fstream>

namespace WPEFramework {
namespace Thunder {
namespace Plugin {

class DisplayInfoImplementation : public Exchange::IHDRProperties,
Expand Down Expand Up @@ -344,7 +344,7 @@ class DisplayInfoImplementation : public Exchange::IHDRProperties,
index++;
}

result = WPEFramework::Core::NumberType<VALUE>(WPEFramework::Core::TextFragment(start, (index - start))).Value();
result = Thunder::Core::NumberType<VALUE>(Thunder::Core::TextFragment(start, (index - start))).Value();

// Convert into bytes, if necessary.
if ( (*index == 'M') && (index[1] == '\0') ) {
Expand Down
Loading

0 comments on commit bb02972

Please sign in to comment.