cec: add rpi hal implementation

* TODO: Convert to AIDL.
This commit is contained in:
Konsta
2025-02-04 20:18:32 +02:00
parent 9b0ddfd25d
commit 07e066812c
17 changed files with 207 additions and 170 deletions

5
cec/HdmiCecPort.cpp Executable file → Normal file
View File

@@ -1,5 +1,6 @@
/*
* Copyright (C) 2021 The Android Open Source Project
* Copyright (C) 2025 KonstaKANG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -13,7 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "android.hardware.tv.cec@1.0-impl"
#define LOG_TAG "android.hardware.tv.cec@1.0-service.rpi"
#include <android-base/logging.h>
#include <errno.h>
@@ -93,6 +95,7 @@ Return<void> HdmiCecPort::release() {
}
return Void();
}
} // namespace implementation
} // namespace V1_0
} // namespace cec