drm_hwcomposer: use CamelCase in source/header files related to class
Main goal is to increase readability of file names.
AOSP uses camelcase for files in many projects.
Lets do the same for drm_hwcomposer.
Keep platform/ directory as is, since class names is different from file names.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Change-Id: I7e992357851c2a86711f4da1241c4d507359e56b
diff --git a/backend/backend.cpp b/backend/Backend.cpp
similarity index 98%
rename from backend/backend.cpp
rename to backend/Backend.cpp
index e36c47e..50ef900 100644
--- a/backend/backend.cpp
+++ b/backend/Backend.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include "backend.h"
-#include "backendmanager.h"
+#include "Backend.h"
+
+#include "BackendManager.h"
namespace android {
diff --git a/backend/backend.h b/backend/Backend.h
similarity index 98%
rename from backend/backend.h
rename to backend/Backend.h
index cd9d8cd..898fece 100644
--- a/backend/backend.h
+++ b/backend/Backend.h
@@ -17,7 +17,7 @@
#ifndef ANDROID_BACKEND_H
#define ANDROID_BACKEND_H
-#include "drmhwctwo.h"
+#include "DrmHwcTwo.h"
namespace android {
diff --git a/backend/backendclient.cpp b/backend/BackendClient.cpp
similarity index 94%
rename from backend/backendclient.cpp
rename to backend/BackendClient.cpp
index a9418da..033a35c 100644
--- a/backend/backendclient.cpp
+++ b/backend/BackendClient.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include "backendclient.h"
-#include "backendmanager.h"
+#include "BackendClient.h"
+
+#include "BackendManager.h"
namespace android {
diff --git a/backend/backendclient.h b/backend/BackendClient.h
similarity index 95%
rename from backend/backendclient.h
rename to backend/BackendClient.h
index 361160f..13543f1 100644
--- a/backend/backendclient.h
+++ b/backend/BackendClient.h
@@ -17,8 +17,7 @@
#ifndef ANDROID_BACKEND_CLIENT_H
#define ANDROID_BACKEND_CLIENT_H
-#include "backend.h"
-#include "drmhwctwo.h"
+#include "Backend.h"
namespace android {
diff --git a/backend/backendmanager.cpp b/backend/BackendManager.cpp
similarity index 98%
rename from backend/backendmanager.cpp
rename to backend/BackendManager.cpp
index 03ad704..b7601ee 100644
--- a/backend/backendmanager.cpp
+++ b/backend/BackendManager.cpp
@@ -16,7 +16,7 @@
#define LOG_TAG "hwc-backend"
-#include "backendmanager.h"
+#include "BackendManager.h"
#include <cutils/properties.h>
#include <log/log.h>
diff --git a/backend/backendmanager.h b/backend/BackendManager.h
similarity index 97%
rename from backend/backendmanager.h
rename to backend/BackendManager.h
index f18637d..e86c098 100644
--- a/backend/backendmanager.h
+++ b/backend/BackendManager.h
@@ -22,8 +22,7 @@
#include <string>
#include <vector>
-#include "backend.h"
-#include "drmhwctwo.h"
+#include "Backend.h"
#define REGISTER_BACKEND(name_str_, backend_) \
static int \
diff --git a/backend/backendrcardu.cpp b/backend/BackendRCarDu.cpp
similarity index 95%
rename from backend/backendrcardu.cpp
rename to backend/BackendRCarDu.cpp
index d6fe7bf..d52f0c3 100644
--- a/backend/backendrcardu.cpp
+++ b/backend/BackendRCarDu.cpp
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-#include "backendrcardu.h"
-#include "backendmanager.h"
+#include "BackendRCarDu.h"
+
+#include "BackendManager.h"
#include "drm_fourcc.h"
namespace android {
diff --git a/backend/backendrcardu.h b/backend/BackendRCarDu.h
similarity index 95%
rename from backend/backendrcardu.h
rename to backend/BackendRCarDu.h
index 29ccea9..8a1011a 100644
--- a/backend/backendrcardu.h
+++ b/backend/BackendRCarDu.h
@@ -17,8 +17,7 @@
#ifndef HWC_DISPLAY_BACKEND_RCAR_DU_H
#define HWC_DISPLAY_BACKEND_RCAR_DU_H
-#include "backend.h"
-#include "drmhwctwo.h"
+#include "Backend.h"
namespace android {